/* ==========================================================================
   NelcByte public site — design system
   Hostinger-inspired, token-driven stylesheet.
   JS/PHP hooks (IDs, classes, data-* attributes and DOM order) are preserved:
   see assets/js/main.js and inc/templates/partials/*.php before restructuring.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --brand: #673de6;
  --brand-hover: #5025d1;
  --brand-soft: #efeaff;
  --brand-soft-2: #f4f5ff;
  --brand-faint: #f8f6ff;

  /* Surfaces */
  --white: #ffffff;
  --surface: #f8f9fa;
  --surface-alt: #f4f5ff;
  --dark: #1f1346;
  --dark-2: #1d1e2c;

  /* Text */
  --ink: #1d1e2c;
  --body: #54577a;
  --muted: #7b7f9e;
  --on-dark: #ecebfb;
  --on-dark-muted: #b9b6d9;

  /* Lines & accents */
  --line: #e2e5f1;
  --line-strong: #cdd2e8;
  --green: #00b090;
  --green-soft: #e6faf5;
  --amber: #f59e0b;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-14: 56px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-28: 112px;

  /* Layout */
  --container: 1240px;
  --container-pad: 24px;
  --nav-h: 76px;
  --section-y: var(--sp-24);

  /* Type */
  --font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extra: 800;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(31, 19, 70, 0.04);
  --shadow-md: 0 10px 30px rgba(31, 19, 70, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 19, 70, 0.13);
  --shadow-brand: 0 12px 30px rgba(103, 61, 230, 0.24);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.25s var(--ease);

  /* Z-index */
  --z-fab: 900;
  --z-chat: 1005;
  --z-overlay: 1001;
  --z-menu: 1002;
  --z-nav: 1000;
  --z-preloader: 9999;

  /* Banner clearance (see main.js: --banner-offset is measured at runtime) */
  --hero-nav-clearance: 16px;
  --banner-fallback: 0px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  font-family: var(--font);
  font-size: 15px;
  font-weight: var(--fw-regular);
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t);
}

a:hover {
  color: var(--brand);
}

img,
picture,
svg {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: var(--fw-extra);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

:focus-visible {
  outline: 3px solid rgba(103, 61, 230, 0.55);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection {
  background: var(--brand-soft);
  color: var(--brand-hover);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.hide-mobile {
  display: inline;
}

.pt-0 {
  padding-top: 0 !important;
}

.section-first-gap {
  margin-top: var(--sp-10);
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   3. Preloader (IDs and .hidden are used by main.js)
   -------------------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--white);
  transition: opacity 0.45s ease, visibility 0.45s ease;
  animation: preloaderOut 0.4s ease 0.85s forwards;
}

@keyframes preloaderOut {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  #preloader { animation-duration: 0.01s; animation-delay: 0.01s; }
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  font-size: 1.35rem;
  font-weight: var(--fw-extra);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.preloader-logo span {
  color: var(--brand);
}

.preloader-ring {
  width: 42px;
  height: 42px;
  border: 3px solid var(--brand-soft);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   4. Header, banners, mega menu & mobile drawer
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t), border-color var(--t);
}

/* Must remain a plain block box: .container is centred with auto margins and
   would shrink-wrap if the navbar were turned into a flex container. */
.navbar.scrolled {
  box-shadow: 0 8px 30px rgba(31, 19, 70, 0.08);
  border-color: transparent;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  height: var(--nav-h);
}

.navbar .logo,
.mobile-menu-header .logo,
.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
}

.navbar .logo:hover,
.mobile-menu-header .logo:hover,
.footer-brand .logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 11px;
  background: var(--brand-soft);
  padding: 5px;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: var(--fw-extra);
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.navbar .nav-links > a,
.navbar .nav-links .dropdown > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.navbar .nav-links > a:hover,
.navbar .nav-links .dropdown > a:hover,
.navbar .nav-links > a.active,
.navbar .nav-links .dropdown > a.active {
  color: var(--brand);
  background: var(--brand-soft-2);
}

.navbar .nav-links .dropdown > a i {
  font-size: 0.62rem;
  color: var(--muted);
  transition: transform var(--t);
}

.navbar .nav-links .dropdown:hover > a i,
.navbar .nav-links .dropdown:focus-within > a i {
  transform: rotate(180deg);
  color: var(--brand);
}

/* Dropdown / mega menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 4px;
  width: max-content;
  min-width: 440px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s var(--ease), visibility 0.22s;
}

/* Small label above the columns. Purely decorative; no links are invented. */
.dropdown-menu::before {
  content: 'EXPLORE SERVICES';
  grid-column: 1 / -1;
  margin: 0 0 8px 12px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: var(--fw-extra);
  letter-spacing: 0.14em;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar .nav-links .dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  color: var(--body);
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  text-transform: none;
  letter-spacing: -0.01em;
}

.navbar .nav-links .dropdown-menu a::before {
  content: '\f054';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.55rem;
  color: var(--brand);
  opacity: 0.55;
  transition: transform var(--t), opacity var(--t);
}

.navbar .nav-links .dropdown-menu a:hover,
.navbar .nav-links .dropdown-menu a.active {
  background: var(--brand-soft-2);
  color: var(--brand-hover);
}

.navbar .nav-links .dropdown-menu a:hover::before {
  transform: translateX(3px);
  opacity: 1;
}

/* Header actions: existing account icon link + new CTA to an existing route. */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar .nav-links .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-hover) !important;
  font-size: 0.95rem;
}

.navbar .nav-links .btn-icon::before,
.navbar .nav-links .btn-icon::after {
  display: none;
}

.navbar .nav-links .btn-icon:hover {
  background: var(--brand);
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-nav-cta {
  padding: 11px 20px;
  font-size: 0.82rem;
  border-radius: var(--r-pill);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 1.1rem;
}

/* Promo / maintenance strips live inside the fixed navbar. */
.promo-banner {
  padding: 10px 24px;
  text-align: center;
  background: linear-gradient(90deg, var(--brand-hover), var(--brand));
  color: #fff;
  font-size: 0.86rem;
  font-weight: var(--fw-medium);
}

.promo-banner p { font-size: inherit; font-weight: inherit; }
.promo-banner strong { font-weight: var(--fw-extra); text-decoration: underline; text-underline-offset: 3px; }

.promo-banner .promo-code {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.14);
  font-weight: var(--fw-extra);
  letter-spacing: 0.06em;
}

.maintenance-banner {
  width: 100%;
  padding: 12px 24px;
  text-align: center;
  color: #fff;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.maintenance-banner__title {
  font-size: 0.95rem;
  font-weight: var(--fw-bold);
  margin-bottom: 2px;
}

.maintenance-banner__title i { margin-right: 6px; }
.maintenance-banner__message { font-size: 0.82rem; opacity: 0.95; }
.maintenance-banner__message a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.maintenance-banner--warning { background: linear-gradient(90deg, #a16207, #b45309); }
.maintenance-banner--urgent { background: linear-gradient(90deg, #991b1b, #b91c1c); }
.maintenance-banner--info { background: linear-gradient(90deg, var(--brand-hover), var(--brand)); }

/* Banner clearance — keep selectors and variable behaviour. */
body > header.hero:first-of-type,
body > section:first-of-type {
  margin-top: var(--hero-nav-clearance, 0px);
}

body.has-promo-banner { --banner-fallback: 3.25rem; }
body.has-maintenance-banner { --banner-fallback: 4.25rem; }
body.has-promo-banner.has-maintenance-banner { --banner-fallback: 7.5rem; }

body.has-promo-banner > header.hero:first-of-type,
body.has-promo-banner > section:first-of-type,
body.has-maintenance-banner > header.hero:first-of-type,
body.has-maintenance-banner > section:first-of-type {
  margin-top: calc(
    var(--banner-offset, var(--banner-fallback, 0px)) + var(--hero-nav-clearance, 0px)
  );
}

/* Mobile drawer */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(29, 30, 44, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.open { display: block; opacity: 1; }

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: var(--z-menu);
  width: 320px;
  max-width: 86vw;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-header .logo-text { color: var(--ink); }
.mobile-menu .close-btn { border: 0; background: transparent; }
.mobile-menu-header .close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--body);
  font-size: 1rem;
  transition: var(--t);
}

.mobile-menu-header .close-btn:hover { background: var(--brand-soft); color: var(--brand); }

.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 12px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: var(--fw-semibold);
  transition: var(--t);
}

.mobile-nav a i {
  width: 24px;
  text-align: center;
  color: var(--brand);
}

.mobile-nav a:hover { background: var(--brand-soft-2); color: var(--brand-hover); }

.mobile-menu-footer {
  display: grid;
  gap: 10px;
  padding: 18px 20px 24px;
  border-top: 1px solid var(--line);
}

.mobile-account-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-weight: var(--fw-bold);
  font-size: 0.88rem;
}

.mobile-account-btn:hover { border-color: var(--brand); color: var(--brand); }

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #fff;
  font-weight: var(--fw-bold);
  font-size: 0.88rem;
}

.mobile-cta-btn:hover { background: var(--brand-hover); color: #fff; }

/* --------------------------------------------------------------------------
   5. Buttons, sections & shared headings
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: var(--fw-bold);
  line-height: 1.2;
  white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover { background: var(--brand-hover); color: #fff; box-shadow: 0 16px 36px rgba(103, 61, 230, 0.3); }

.btn-secondary {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-secondary:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-sm); }

.section {
  position: relative;
  padding: var(--section-y) 0;
}

.section--alt { background: var(--surface); }

.section-header {
  max-width: 720px;
  margin: 0 auto var(--sp-14, 56px);
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid var(--brand-soft);
  border-radius: var(--r-pill);
  background: var(--brand-soft-2);
  color: var(--brand-hover);
  font-size: 0.7rem;
  font-weight: var(--fw-extra);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.section-header h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.12;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--body);
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
}

.guarantee-badges,
.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.guarantee-badges { justify-content: center; margin-top: 20px; }

.guarantee-badge {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--body);
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  box-shadow: var(--shadow-sm);
}

.guarantee-badge i { color: var(--green); }
.guarantee-badge--blue { background: var(--brand-soft-2); border-color: var(--brand-soft); color: var(--brand-hover); }
.guarantee-badge--blue i { color: var(--brand); }

/* --------------------------------------------------------------------------
   6. Home hero & domain search
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 6vw, 96px) 0 var(--sp-10);
  background:
    radial-gradient(circle at 88% 8%, rgba(103, 61, 230, 0.09), transparent 34%),
    linear-gradient(180deg, var(--brand-faint) 0%, var(--white) 78%);
}

.hero::before {
  content: '';
  position: absolute;
  right: -180px;
  top: -220px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(103, 61, 230, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: start;
  gap: clamp(40px, 6vw, 90px);
}

.hero-left { max-width: 660px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: 100%;
  gap: 9px;
  margin-bottom: 20px;
  padding: 7px 15px;
  border: 1px solid var(--brand-soft);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand-hover);
  font-size: 0.74rem;
  font-weight: var(--fw-extra);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badge .dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.hero-badge .dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--green);
  border-radius: 50%;
  opacity: 0.45;
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero h1 {
  font-size: clamp(2.6rem, 4.9vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  margin-bottom: 20px;
}

.hero h1 .highlight { color: var(--brand); }

.hero-sub {
  max-width: 570px;
  margin-bottom: 26px;
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-domain-search {
  position: relative;
  max-width: 560px;
  margin-bottom: 14px;
}

.hds-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: border-color var(--t), box-shadow var(--t);
}

.hds-inner:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(103, 61, 230, 0.12), var(--shadow-md);
}

.hds-icon {
  color: var(--brand);
  font-size: 1.05rem;
  flex: none;
}

.hds-inner input[type='text'] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: var(--fw-medium);
  padding: 9px 0;
}

.hds-inner input::placeholder { color: var(--muted); font-weight: var(--fw-regular); }

/* Existing forms have no submit button; this rule covers any future one
   without changing current markup or the JS submit interception. */
.hds-inner button {
  flex: none;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #fff;
  font-weight: var(--fw-bold);
}

.hds-inner button:hover { background: var(--brand-hover); color: #fff; }

.domain-check-status {
  margin: 8px 4px 0;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--body);
  font-size: 0.82rem;
  font-weight: var(--fw-medium);
}

.domain-check-status:empty { display: none; }
.domain-check-status a { color: var(--brand-hover); font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 3px; }
.domain-check-status i { margin-right: 5px; }
.domain-check-status.available { background: var(--green-soft); color: #087a63; }
.domain-check-status.available i { color: var(--green); }
.domain-check-status.taken { background: #fff1f2; color: #be123c; }
.domain-check-status.taken i { color: #e11d48; }
.domain-check-status.checking { color: var(--brand-hover); }
.domain-check-status.checking i { color: var(--brand); }
.domain-check-status.error { background: #fff7ed; color: #b45309; }
.domain-check-status.error i { color: var(--amber); }
.domain-check-status.unknown { background: var(--brand-soft-2); color: var(--brand-hover); }
.domain-check-status.unknown i { color: var(--brand); }

.hero-tlds {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.tld-item {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: var(--fw-medium);
}

.tld-item .tld {
  margin-right: 4px;
  color: var(--ink);
  font-weight: var(--fw-extra);
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: 100%;
  gap: 9px;
  flex-wrap: wrap;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.9);
  color: var(--body);
  font-size: 0.78rem;
}

.hero-trust i { color: var(--brand); }
.hero-trust .stars { color: var(--amber); letter-spacing: 1px; }
.hero-trust strong { color: var(--ink); font-weight: var(--fw-extra); }
.hero-trust .separator { width: 1px; height: 16px; background: var(--line-strong); }

.hero-benefits {
  display: grid;
  gap: 9px;
  margin: 22px 0 26px;
  padding: 0;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
}

.hero-benefits i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.7rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}

@media (min-width: 901px) {
  .hero-left {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  .hero-cta {
    margin: auto 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }
}

.hero-right {
  position: relative;
  min-width: 0;
}

.hero-illustration {
  position: relative;
  isolation: isolate;
  padding: 10px;
}

.hero-illustration::before {
  content: '';
  position: absolute;
  inset: -8% -6% 6%;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(ellipse at 60% 35%, rgba(103, 61, 230, 0.18), transparent 65%);
  filter: blur(26px);
  pointer-events: none;
}

.hero-dashboard {
  position: relative;
  border: 1px solid rgba(226, 229, 241, 0.95);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--white), var(--brand-faint));
  box-shadow: 0 24px 60px rgba(31, 19, 70, 0.14), 0 4px 14px rgba(31, 19, 70, 0.06);
}

.hd-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  background: rgba(255, 255, 255, 0.75);
}

.hd-dots { display: inline-flex; gap: 5px; flex: none; }
.hd-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.hd-dots i:first-child { background: #ff7a7a; }
.hd-dots i:nth-child(2) { background: #f7b731; }
.hd-dots i:last-child { background: var(--green); }

.hd-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--body);
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  white-space: nowrap;
}
.hd-title i { color: var(--brand); font-size: 0.68rem; }

.hd-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid rgba(0, 176, 144, 0.2);
  border-radius: var(--r-pill);
  background: var(--green-soft);
  color: #087a63;
  font-size: 0.66rem;
  font-weight: var(--fw-extra);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hd-live span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }

.hd-stage {
  position: relative;
  padding: 12px;
  border-radius: 0 0 18px 18px;
  background:
    radial-gradient(circle at 78% 12%, rgba(103, 61, 230, 0.12), transparent 42%),
    radial-gradient(rgba(103, 61, 230, 0.11) 1px, transparent 1px);
  background-size: auto, 18px 18px;
}

.hero-illustration svg { position: relative; z-index: 1; width: 100%; height: auto; }

.hd-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 28px rgba(31, 19, 70, 0.13);
  color: var(--body);
  font-size: 0.72rem;
  line-height: 1.2;
  white-space: nowrap;
  animation: floatChip 5s ease-in-out infinite;
}
.hd-chip strong { display: block; color: var(--ink); font-size: 0.8rem; font-weight: var(--fw-extra); }
.hd-chip i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.78rem;
}
.hd-chip--uptime { top: 8%; left: 6px; }
.hd-chip--ssl { right: 6px; bottom: 6%; animation-delay: -2.5s; }
.hd-chip--ssl i { background: var(--green-soft); color: var(--green); }

@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-cards {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 0 10px;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr auto 20px;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid rgba(226, 229, 241, 0.95);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(31, 19, 70, 0.09);
  color: var(--ink);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.hero-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  bottom: 13px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand);
}
.hero-card:nth-child(2)::before { background: var(--green); }
.hero-card:nth-child(3)::before { background: var(--amber); }

.hero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 61, 230, 0.4);
  box-shadow: 0 18px 38px rgba(31, 19, 70, 0.14);
  color: var(--ink);
}
.hero-card:nth-child(2):hover { border-color: rgba(0, 176, 144, 0.4); }
.hero-card:nth-child(3):hover { border-color: rgba(245, 158, 11, 0.4); }

.hero-card .hc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1rem;
}

.hero-card .hc-info h4 { font-size: 0.9rem; font-weight: var(--fw-bold); }
.hero-card .hc-info p { color: var(--muted); font-size: 0.75rem; line-height: 1.4; }
.hero-card .hc-price { text-align: right; white-space: nowrap; }
.hero-card .hc-price .amount { display: block; color: var(--brand-hover); font-size: 1.05rem; font-weight: var(--fw-extra); line-height: 1.1; }
.hero-card .hc-price .label { display: block; color: var(--muted); font-size: 0.65rem; }
.hero-card .hc-arrow { color: var(--brand); font-size: 0.78rem; opacity: 0.55; transition: transform var(--t), opacity var(--t); }
.hero-card:hover .hc-arrow { transform: translateX(3px); opacity: 1; }

/* Centred domain hero */
.hero-domains {
  padding: 90px 0 100px;
  text-align: center;
}

.hero-domains .container {
  display: block;
  max-width: 860px;
}

.hero-content { margin: 0 auto; }
.hero-domains h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.hero-domains .hero-sub { margin: 0 auto 28px; }
.hero-domains .hero-domain-search { max-width: 680px; margin: 0 auto 16px; }
.hero-domains .hds-inner { padding: 8px 10px 8px 24px; border-radius: var(--r-lg); }
.hero-domains .hero-tlds { justify-content: center; }
.hero-domains .domain-check-status { max-width: 680px; margin: 10px auto 0; text-align: left; }

/* --------------------------------------------------------------------------
   7. Trust bar, stats, features, services
   -------------------------------------------------------------------------- */
.trust-bar {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
  text-align: center;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  flex-wrap: wrap;
}

.trust-bar.trust-bar--card {
  margin-top: var(--sp-12);
  padding: 20px 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: var(--fw-semibold);
}

.trust-item i { color: var(--green); font-size: 1rem; }

.stats-section { padding: var(--sp-16) 0 var(--sp-20); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat-item {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}

.stat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.05rem;
}

.stat-number { color: var(--ink); font-size: 2rem; font-weight: var(--fw-extra); line-height: 1.1; letter-spacing: -0.05em; }
.stat-unit { color: var(--brand); font-size: 1.15rem; }
.stat-label { color: var(--body); font-size: 0.8rem; font-weight: var(--fw-semibold); }

.feature-highlights { padding: var(--sp-4) 0 var(--sp-20); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.section-header + .feature-grid,
.section-header + .mission-vision,
.section-header + .pricing-toggle {
  margin-top: var(--sp-12);
}

.feature-item {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.feature-item:hover {
  transform: translateY(-5px);
  border-color: rgba(103, 61, 230, 0.35);
  box-shadow: var(--shadow-md);
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.2rem;
}

.feature-item h3,
.feature-item h4 {
  margin-bottom: 9px;
  font-size: 1.06rem;
  font-weight: var(--fw-bold);
}

.feature-item p { font-size: 0.88rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.service-card::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--brand-soft-2);
  opacity: 0;
  transition: opacity var(--t);
}

.service-card:hover { transform: translateY(-5px); border-color: rgba(103, 61, 230, 0.35); box-shadow: var(--shadow-md); }
.service-card:hover::after { opacity: 1; }

.service-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.2rem;
}

.service-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.service-card p { font-size: 0.9rem; margin-bottom: 18px; }
.service-card .guarantee-badge { align-self: flex-start; margin-bottom: 16px; font-size: 0.72rem; }
.service-card .card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--brand-hover); font-size: 0.86rem; font-weight: var(--fw-bold); }
.service-card .card-link i { transition: transform var(--t); }
.service-card:hover .card-link i { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   8. Pricing
   -------------------------------------------------------------------------- */
.pricing-toggle {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 14px;
  padding: 9px 18px;
  margin: 0 auto var(--sp-10);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.pricing-toggle > span {
  color: var(--body);
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  cursor: pointer;
  transition: color var(--t);
}

.pricing-toggle > span.active { color: var(--brand-hover); }

.toggle-switch {
  position: relative;
  width: 50px;
  height: 28px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--line-strong);
  transition: background var(--t);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(29, 30, 44, 0.2);
  transition: transform 0.28s var(--ease);
}

.toggle-switch.yearly { background: var(--brand); }
.toggle-switch.yearly::after { transform: translateX(22px); }

.pricing-toggle .save-badge {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--green-soft);
  color: #06785f;
  font-size: 0.64rem;
  font-weight: var(--fw-extra);
  white-space: nowrap;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.pricing-grid.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing-grid.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(103, 61, 230, 0.4);
  box-shadow: var(--shadow-md);
}

.pricing-card.popular {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-brand);
}

.pricing-card.popular::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-size: 0.64rem;
  font-weight: var(--fw-extra);
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.pricing-card.popular:hover { box-shadow: 0 20px 50px rgba(103, 61, 230, 0.25); }

.pricing-card .tier-label {
  color: var(--brand);
  font-size: 0.67rem;
  font-weight: var(--fw-extra);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pricing-card h3 { margin: 8px 0 4px; font-size: 1.3rem; }
.pricing-card .subtitle { color: var(--muted); font-size: 0.78rem; line-height: 1.5; }

.pricing-card .price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 20px 0 6px;
  color: var(--ink);
  line-height: 1;
}

.pricing-card .price .currency { align-self: flex-start; margin-top: 6px; font-size: 1.2rem; font-weight: var(--fw-bold); }
.pricing-card .price .price-amount { font-size: clamp(2.2rem, 3vw, 2.9rem); font-weight: var(--fw-extra); letter-spacing: -0.06em; }
.pricing-card .price .period { margin-left: 3px; color: var(--muted); font-size: 0.82rem; font-weight: var(--fw-medium); }

.pricing-card .price-yearly-total {
  margin-bottom: 2px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
}

.pricing-card .price-note {
  margin-bottom: 18px;
  font-size: 0.72rem !important;
}

.pricing-card .features {
  display: grid;
  gap: 10px;
  margin: 18px 0 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.pricing-card .features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--body);
  font-size: 0.82rem;
  line-height: 1.45;
}

.pricing-card .features li i {
  margin-top: 3px;
  color: var(--green);
  font-size: 0.76rem;
}

.pricing-card .btn { width: 100%; margin-top: auto; }

/* --------------------------------------------------------------------------
   9. Comparison, CTA band, testimonials
   -------------------------------------------------------------------------- */
.comparison { padding: var(--section-y) 0; background: var(--surface-alt); }

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.83rem;
  vertical-align: middle;
}

.comparison-table thead th {
  background: var(--white);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: var(--fw-extra);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.comparison-table tbody tr:last-child td { border-bottom: 0; }
.comparison-table tbody tr:hover { background: var(--brand-faint); }

.comparison-table td:first-child {
  color: var(--ink);
  font-weight: var(--fw-semibold);
}

.comparison-table .highlight {
  background: var(--brand-soft-2);
  color: var(--brand-hover);
}

.comparison-table i.fa-check { color: var(--green); }
.comparison-table i.fa-times { color: #e11d48; }
.comparison-table .panel-note { display: block; color: var(--muted); font-size: 0.7rem; }

.migration-cta { padding: var(--sp-8) 0 var(--sp-24); }

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 46px 52px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 85% 20%, rgba(103, 61, 230, 0.5), transparent 45%),
    linear-gradient(120deg, var(--dark), #2c1d63);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-tag { color: #c8bcff; font-size: 0.72rem; font-weight: var(--fw-extra); letter-spacing: 0.12em; text-transform: uppercase; }
.cta-content h2 { margin: 6px 0 8px; color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.cta-content p { max-width: 620px; color: var(--on-dark-muted); font-size: 0.93rem; }
.cta-inner .btn { flex: none; background: #fff; color: var(--brand-hover); box-shadow: none; }
.cta-inner .btn:hover { background: var(--brand-soft); color: var(--brand-hover); }

.testimonials { background: var(--surface); padding: var(--section-y) 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.testimonial-card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  right: 20px;
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: 4rem;
  opacity: 0.09;
}

.testimonial-card .stars { color: var(--amber); font-size: 0.8rem; }
.testimonial-card blockquote { margin: 14px 0 22px; color: var(--ink); font-size: 0.9rem; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .author-avatar { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: var(--fw-extra); }
.testimonial-card .author-info { display: grid; }
.testimonial-card .author-info strong { color: var(--ink); font-size: 0.84rem; }
.testimonial-card .author-info span { color: var(--muted); font-size: 0.73rem; }

/* --------------------------------------------------------------------------
   10. Page header, domains, about, contact, portfolio, legal, 404
   -------------------------------------------------------------------------- */
.page-header {
  padding: calc(var(--nav-h) + var(--sp-16)) 0 var(--sp-16);
  background:
    radial-gradient(circle at 50% 0%, rgba(103, 61, 230, 0.11), transparent 55%),
    linear-gradient(180deg, var(--brand-soft-2), var(--white));
  text-align: center;
}

.page-header h1 { font-size: clamp(2.4rem, 4.5vw, 3.7rem); line-height: 1.08; }
.page-header p { max-width: 680px; margin: 14px auto 0; color: var(--body); font-size: 1rem; }

.features-grid,
.feature-grid { margin-top: 0; }

.feature-grid[style*='margin-top'] { margin-top: var(--sp-12); }

.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mv-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.mv-modern { transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.mv-modern:hover { transform: translateY(-4px); border-color: rgba(103, 61, 230, 0.35); box-shadow: var(--shadow-md); }

.mv-card .icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 15px;
  font-size: 1.25rem;
}

.mv-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.mv-card p { font-size: 0.88rem; }
.mv-card a { color: var(--brand-hover); font-weight: var(--fw-semibold); }

/* Domains FAQ cards are progressively enhanced by assets/js/ui.js. */
.faq-accordion h3 { cursor: pointer; }
.faq-accordion h3 i { color: var(--brand); font-size: 0.72rem; margin-left: 8px; transition: transform var(--t); }
.faq-accordion h3.is-open i { transform: rotate(180deg); }
.faq-panel { display: none; overflow: hidden; padding-top: 10px; }
.faq-panel.is-open { display: block; }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { margin-bottom: 8px; font-size: 1.02rem; }
.faq-item h3.faq-spaced { margin-top: 24px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  margin-bottom: var(--sp-20);
}

.about-story-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: var(--fw-extra);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-story-badge .line { width: 30px; height: 2px; border-radius: 2px; background: var(--brand); }
.about-heading { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 18px; }
.about-text { font-size: 0.98rem; margin-bottom: 26px; }
.about-signature { display: flex; align-items: center; gap: 14px; }
.about-signature .avatar { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: var(--fw-extra); }
.about-signature .name { color: var(--ink); font-weight: var(--fw-bold); }
.about-signature .role { color: var(--muted); font-size: 0.78rem; }

.about-image-col { position: relative; padding: 24px; }
.about-image-col .orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.about-image-col .orb-1 { width: 180px; height: 180px; top: -20px; right: -10px; background: rgba(103, 61, 230, 0.1); }
.about-image-col .orb-2 { width: 110px; height: 110px; left: -10px; bottom: 0; background: rgba(0, 176, 144, 0.1); }
.about-image-col .img-wrap { position: relative; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--brand-soft-2); overflow: hidden; box-shadow: var(--shadow-md); }
.about-image-col .img-wrap img { width: 100%; height: auto; }

.about-founded-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.about-founded-badge .icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.about-founded-badge .label { color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
.about-founded-badge .year { color: var(--ink); font-size: 1.05rem; font-weight: var(--fw-extra); line-height: 1.1; }

.why-us-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: var(--sp-10); }

.why-us-modern {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  text-align: center;
  transition: transform var(--t), box-shadow var(--t);
}

.why-us-modern:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-us-modern .wu-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; font-size: 1.1rem; }
.why-us-modern h4 { font-size: 0.92rem; }

/* Contact */
.contact-intro { max-width: 600px; margin: 0 auto 48px; text-align: center; }
.contact-intro-pill {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: var(--brand-soft-2);
  color: var(--brand-hover);
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
}
.contact-intro-text { color: var(--body); font-size: 1rem; line-height: 1.7; }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 960px; margin: 0 auto; }
.contact-card {
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.contact-card:hover { transform: translateY(-5px); border-color: rgba(103, 61, 230, 0.4); box-shadow: var(--shadow-md); }
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: var(--r-md);
  font-size: 1.25rem;
  transition: transform var(--t);
}
.contact-card:hover .contact-icon { transform: scale(1.06); }
.contact-card h4 { margin-bottom: 4px; font-size: 1rem; font-weight: var(--fw-bold); }
.contact-note { margin-bottom: 12px; color: var(--muted); font-size: 0.82rem; }
.contact-card-link { color: var(--brand-hover); font-weight: var(--fw-bold); font-size: 1rem; }
.contact-card-value { color: var(--ink); font-weight: var(--fw-semibold); font-size: 1rem; }

.whatsapp-banner {
  max-width: 960px;
  margin: var(--sp-12) auto 0;
  padding: 38px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--dark), #2c1d63);
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform var(--t), box-shadow var(--t);
}
.whatsapp-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.whatsapp-banner--brand { background: linear-gradient(120deg, var(--brand-hover), var(--brand)); }
.whatsapp-banner h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.whatsapp-banner p { color: var(--on-dark-muted); font-size: 0.92rem; }
.whatsapp-banner a { transition: transform var(--t), opacity var(--t); }
.whatsapp-banner a:hover { transform: translateY(-2px); opacity: 0.9; }
.whatsapp-banner--brand a { background: #fff; color: var(--brand-hover); }
.whatsapp-banner--brand a:hover { background: var(--brand-soft); color: var(--brand-hover); }

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  background: #25d366;
  color: #fff;
  font-weight: var(--fw-bold);
  white-space: nowrap;
}
.btn-light:hover { color: #fff; background: #20bd5b; }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.portfolio-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.portfolio-card:hover { transform: translateY(-5px); border-color: rgba(103, 61, 230, 0.35); box-shadow: var(--shadow-md); }
.portfolio-card .cat-badge { padding: 5px 12px; border-radius: var(--r-pill); background: var(--brand-soft); color: var(--brand-hover); font-size: 0.68rem; font-weight: var(--fw-extra); letter-spacing: 0.06em; text-transform: uppercase; }
.portfolio-card .cat-premium { background: var(--green-soft); color: #06785f; }
.portfolio-card .cat-enterprise { background: #fff4e5; color: #b45309; }
.portfolio-card h3 { margin: 18px 0 4px; font-size: 1.2rem; }
.portfolio-card .price-tag { color: var(--brand-hover); font-size: 1rem; font-weight: var(--fw-extra); }
.portfolio-card .visit-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 18px; color: var(--ink); font-size: 0.84rem; font-weight: var(--fw-bold); }
.portfolio-card .visit-link i { color: var(--brand); transition: transform var(--t); }
.portfolio-card:hover .visit-link i { transform: translate(3px, -3px); }

/* Legal */
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 0 0 var(--sp-20); }
.legal-updated { display: inline-block; margin-bottom: var(--sp-10); padding: 7px 14px; border-radius: var(--r-pill); background: var(--brand-soft-2); color: var(--brand-hover); font-size: 0.76rem; font-weight: var(--fw-bold); }
.legal-block { padding: 26px 0; border-bottom: 1px solid var(--line); }
.legal-block h2 { margin-bottom: 12px; font-size: 1.35rem; }
.legal-block h3 { margin: 18px 0 8px; font-size: 1.08rem; }
.legal-block p { margin-bottom: 12px; font-size: 0.92rem; }
.legal-block ul { margin: 10px 0 14px 18px; list-style: disc; }
.legal-block li { margin-bottom: 6px; }
.legal-block a { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }
.legal-block strong { color: var(--ink); }
.legal-contact { margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-alt); }
.legal-contact-title { display: block; margin-bottom: 6px; color: var(--ink); font-weight: var(--fw-bold); }

/* Editorial headers for the about story and legal documents. Scoped with
   :has() so the shared page-header partial needs no extra PHP markup. */
body:has(.about-grid) .page-header {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--sp-12));
  background:
    radial-gradient(circle at 86% 18%, rgba(103, 61, 230, 0.16), transparent 34%),
    linear-gradient(120deg, var(--brand-soft-2), var(--white) 72%);
  text-align: left;
}
body:has(.about-grid) .page-header::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 8%;
  width: 220px;
  height: 220px;
  transform: translateY(-50%);
  border: 1px solid rgba(103, 61, 230, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(103, 61, 230, 0.04), 0 0 0 68px rgba(103, 61, 230, 0.03);
  pointer-events: none;
}
body:has(.about-grid) .page-header .container { position: relative; z-index: 1; }
body:has(.about-grid) .page-header h1 { max-width: 760px; }
body:has(.about-grid) .page-header p { margin-left: 0; }

body:has(.legal-wrap) .page-header {
  padding: calc(var(--nav-h) + var(--sp-10)) 0 var(--sp-10);
  background:
    radial-gradient(circle at 85% 0%, rgba(124, 92, 255, 0.28), transparent 38%),
    linear-gradient(120deg, var(--dark), #2c1d63);
  text-align: left;
}
body:has(.legal-wrap) .page-header h1 { color: #fff; }
body:has(.legal-wrap) .page-header p { margin-left: 0; color: var(--on-dark-muted); }

body:has(.about-grid) .section-header { margin-top: var(--sp-12); }

.about-grid {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.about-heading { position: relative; padding-left: 18px; }
.about-heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: var(--brand);
}
.about-image-col .img-wrap { border-radius: 22px; box-shadow: var(--shadow-lg); }
.about-image-col .img-wrap img { display: block; }
.mv-card { position: relative; overflow: hidden; }
.mv-modern::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--green));
}
.mv-card .icon-wrap { box-shadow: var(--shadow-sm); }
.why-us-modern { border-color: rgba(226, 229, 241, 0.9); box-shadow: var(--shadow-sm); }
.why-us-modern:hover { border-color: rgba(103, 61, 230, 0.35); }

.legal-wrap { max-width: 960px; }
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: var(--sp-10) 0 22px;
  padding: 8px 16px;
  border: 1px solid var(--brand-soft);
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.legal-updated::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(103, 61, 230, 0.12);
}
.legal-block {
  position: relative;
  padding: 26px 30px 26px 34px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.legal-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand);
}
.legal-block h2 { padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
.legal-block > p:last-child { margin-bottom: 0; }

/* 404 */
.error-page { min-height: 68vh; display: flex; align-items: center; justify-content: center; padding: calc(var(--nav-h) + var(--sp-16)) 0 var(--sp-20); text-align: center; }
.error-icon { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; margin-bottom: 18px; border-radius: 26px; background: var(--brand-soft); color: var(--brand); font-size: 2rem; }
.error-code { color: var(--brand); font-size: clamp(5rem, 12vw, 8rem); font-weight: var(--fw-extra); letter-spacing: -0.07em; line-height: 0.95; }
.error-page h1 { margin: 10px 0; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.error-sub { max-width: 580px; margin: 0 auto 28px; font-size: 1.02rem; }
.error-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; max-width: 820px; margin: 0 auto 30px; }
.error-links .btn { padding: 11px 20px; font-size: 0.82rem; }
.error-help { margin-bottom: 20px; color: var(--muted); }

/* --------------------------------------------------------------------------
   11. Footer, floating actions & chatbot
   -------------------------------------------------------------------------- */
.footer {
  padding: var(--sp-20) 0 0;
  background: var(--dark);
  color: var(--on-dark-muted);
}

.footer > .container:first-child {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(150px, 1fr));
  gap: 48px;
  padding-bottom: var(--sp-16);
}

.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-mark { background: rgba(255, 255, 255, 0.1); }
.footer-brand p { max-width: 320px; margin-top: 18px; font-size: 0.85rem; }
.footer-social { display: flex; gap: 9px; margin-top: 20px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; color: var(--on-dark); font-size: 0.85rem; transition: var(--t); }
.footer-social a:hover { border-color: var(--brand); background: var(--brand); color: #fff; transform: translateY(-2px); }
.footer h4 { margin-bottom: 18px; color: #fff; font-size: 0.85rem; font-weight: var(--fw-bold); letter-spacing: 0.02em; }
.footer ul li + li { margin-top: 9px; }
.footer ul a { color: var(--on-dark-muted); font-size: 0.81rem; }
.footer ul a:hover { color: #fff; }

/* Assurance strip: an inset panel makes the four promises read as one set. */
.footer-trust {
  padding: 24px 0 0;
}

.footer-trust .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.045);
}

.footer-trust span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 4px 14px;
  color: #dedcf5;
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}

.footer-trust span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-trust span i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid rgba(0, 176, 144, 0.28);
  border-radius: 50%;
  background: rgba(0, 176, 144, 0.13);
  color: var(--green);
  font-size: 0.78rem;
}

/* Legal bar: calmer hierarchy, with gently separated links. */
.footer-bottom {
  margin-top: 20px;
  padding: 22px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: #cbc8e8;
  font-size: 0.78rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.01em;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  position: relative;
  padding: 3px 12px;
  color: var(--on-dark-muted);
  font-size: 0.78rem;
  font-weight: var(--fw-medium);
  transition: color var(--t);
}

.footer-bottom-links a + a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 13px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.16);
}

.footer-bottom-links a:hover { color: #fff; }

/* Floating contact stack. Child order (WhatsApp, Chat, launcher) is required
   by main.js and by the nth-child offsets below. */
.fab-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: var(--z-fab);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.fab-launcher {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: var(--shadow-brand);
  transition: transform var(--t), background var(--t);
}

.fab-launcher:hover { background: var(--brand-hover); transform: scale(1.05); }

.fab-item {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.25s;
}

.fab-stack.open .fab-item { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-stack .fab-item:nth-child(1) { bottom: 128px; }
.fab-stack .fab-item:nth-child(2) { bottom: 66px; }
.fab-stack.open .fab-item:nth-child(2) { transition-delay: 0.05s; }

.fab-label {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--white);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.whatsapp-widget,
.chatbot-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--t), filter var(--t);
}

.whatsapp-widget { background: #25d366; }
.chatbot-toggle { background: var(--brand); }
.whatsapp-widget:hover,
.chatbot-toggle:hover { transform: scale(1.06); filter: brightness(1.05); }

.fab-item .whatsapp-widget,
.fab-item .chatbot-toggle { position: static; }

.chatbot-panel {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: var(--z-chat);
  display: none;
  flex-direction: column;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 540px;
  max-height: calc(100vh - var(--nav-h) - 132px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-origin: bottom right;
  animation: chatSlideUp 0.28s var(--ease);
}

.chatbot-panel.open { display: flex; }

@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: linear-gradient(120deg, var(--dark), #2c1d63); color: #fff; }
.chatbot-header .ch-info { display: flex; align-items: center; gap: 12px; }
.chatbot-header .ch-avatar { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); font-size: 1rem; }
.chatbot-header h3 { color: #fff; font-size: 0.92rem; font-weight: var(--fw-bold); }
.chatbot-header .ch-status { display: flex; align-items: center; gap: 6px; color: var(--on-dark-muted); font-size: 0.7rem; }
.chatbot-header .ch-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 176, 144, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(0, 176, 144, 0); }
}

.chatbot-header .ch-close-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 0.8rem; }
.chatbot-header .ch-close-btn:hover { background: rgba(255, 255, 255, 0.18); }
.chatbot-messages { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px; overflow-y: auto; background: var(--surface); }
.chatbot-message { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 0.8rem; line-height: 1.55; animation: msgIn 0.2s ease; }
.chatbot-message.bot { align-self: flex-start; border-bottom-left-radius: 4px; background: var(--white); color: var(--body); box-shadow: var(--shadow-sm); }
.chatbot-message.user { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--brand); color: #fff; }
.chatbot-message.bot .chat-line,
.chatbot-message.bot .chat-bullet { display: block; }
.chatbot-message.bot .chat-bullet { padding-left: 12px; text-indent: -10px; }

@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.chatbot-typing { display: flex; gap: 4px; align-self: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-sm); }
.chatbot-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: 0.5; animation: typingBounce 1s infinite; }
.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }

.chatbot-questions { padding: 10px 14px; border-top: 1px solid var(--line); background: var(--white); }
.chatbot-questions-select {
  width: 100%;
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--brand-soft);
  border-radius: var(--r-sm);
  background: var(--brand-soft-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23673DE6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--brand-hover);
  font: inherit;
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t);
}
.chatbot-questions-select:hover { border-color: var(--brand); }
.chatbot-questions-select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(103, 61, 230, 0.1); }
.chatbot-questions-select option { background: var(--white); color: var(--ink); }

.chatbot-input-area { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line); background: var(--white); }
.chatbot-input-area input { flex: 1; min-width: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-sm); outline: 0; font-size: 0.82rem; }
.chatbot-input-area input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(103, 61, 230, 0.1); }
.chatbot-input-area button { display: flex; align-items: center; justify-content: center; width: 44px; border: 0; border-radius: var(--r-sm); background: var(--brand); color: #fff; }
.chatbot-input-area button:hover { background: var(--brand-hover); }

/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  :root { --container-pad: 28px; }

  .navbar .nav-links > a,
  .navbar .nav-links .dropdown > a { padding: 8px; font-size: 0.78rem; }
  .navbar .nav-links { gap: 0; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 44px; }
  .hero-left { max-width: 720px; }
  .hero-right { max-width: 620px; }
  .feature-grid,
  .services-grid,
  .testimonials-grid,
  .portfolio-grid,
  .contact-grid,
  .why-us-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer > .container:first-child { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-col { max-width: 560px; }

  /* Mobile GPUs can struggle with a live-blurred fixed bar scrolling over the
     hero's blurred glow, which shows up as white/dim flashing. Keep the bar
     opaque and drop the heavy filter/shadow layers on small screens. */
  .navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero-illustration::before { filter: none; opacity: 0.85; }
  .hero-dashboard {
    box-shadow: 0 10px 24px rgba(31, 19, 70, 0.1), 0 2px 8px rgba(31, 19, 70, 0.05);
  }
  .hero-illustration svg [filter] { filter: none !important; }
  .hd-chip,
  .hd-live span,
  .hero-badge .dot::before { animation: none; }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 68px;
    --section-y: 72px;
    --hero-nav-clearance: 24px;
  }

  body.has-promo-banner { --banner-fallback: 3.5rem; }
  body.has-maintenance-banner { --banner-fallback: 4.75rem; }
  body.has-promo-banner.has-maintenance-banner { --banner-fallback: 8.25rem; }

  .navbar .nav-links,
  .nav-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .dropdown-menu { min-width: 300px; width: min(92vw, 440px); }

  .hero { padding: 72px 0 64px; }
  .hero .container { gap: 36px; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-trust { width: auto; justify-content: flex-start; }
  .hero-illustration { padding: 14px; }
  .hero-card { grid-template-columns: 38px 1fr auto; gap: 10px; }
  .hero-card .hc-arrow { display: none; }
  .hero-card .hc-icon { width: 38px; height: 38px; }

  .hero-domains { padding: 70px 0 80px; }
  .trust-bar .container { gap: 14px 24px; }
  .mission-vision,
  .feature-grid,
  .services-grid,
  .testimonials-grid,
  .portfolio-grid,
  .contact-grid,
  .why-us-grid,
  .pricing-grid,
  .pricing-grid.grid-3,
  .pricing-grid.grid-2 { grid-template-columns: 1fr; }

  .pricing-card.popular { margin-top: 12px; }
  .footer > .container:first-child { gap: 32px; }
  .footer-trust { padding-top: 20px; }
  .footer-trust .container {
    /* Inset the panel itself, not just its contents, so it lines up with
       the padded footer link columns on phones. */
    width: calc(100% - (var(--container-pad) * 2));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 0;
    padding: 14px 12px;
  }
  .footer-trust span { justify-content: flex-start; padding: 6px 12px; font-size: 0.75rem; }
  .footer-trust span:nth-child(odd) { border-left: 0; }
  .footer-trust span:nth-child(n+3) {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-bottom { margin-top: 18px; padding: 20px 0 22px; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 12px; }
  .footer-bottom-links { justify-content: center; }
  .whatsapp-banner { flex-direction: column; text-align: center; padding: 30px 24px; }
  .legal-wrap { padding-bottom: 64px; }
  .error-links .btn { padding: 10px 16px; }
  .chatbot-panel { left: 24px; right: 24px; bottom: 96px; width: auto; height: 66vh; max-height: calc(100vh - var(--nav-h) - 132px); }
}

@media (max-width: 520px) {
  .fab-label { font-size: 0.66rem; padding: 4px 7px; }
}

@media (max-width: 480px) {
  .footer-trust .container { grid-template-columns: 1fr; gap: 0; padding: 10px 12px; }
  .footer-trust span { padding: 10px 6px; }
  .footer-trust span + span {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-trust span:first-child { border-top: 0; }
  .footer-bottom-links { gap: 0 4px; }
  .footer-bottom-links a { padding: 4px 8px; font-size: 0.74rem; }

  :root {
    --container-pad: 18px;
    --hero-nav-clearance: 32px;
  }

  body.has-promo-banner { --banner-fallback: 4.5rem; }
  body.has-maintenance-banner { --banner-fallback: 5.75rem; }
  body.has-promo-banner.has-maintenance-banner { --banner-fallback: 10.25rem; }

  .promo-banner { padding: 12px 16px; font-size: 0.78rem; }
  .promo-banner p { font-size: inherit; }
  .maintenance-banner { padding: 12px 16px; }
  .maintenance-banner__title { font-size: 0.85rem; }
  .maintenance-banner__message { font-size: 0.76rem; }

  .hero { padding: 60px 0 52px; }
  .hero-badge { font-size: 0.66rem; }
  .hero h1 { font-size: 2.1rem; }
  .hero-sub { font-size: 0.9rem; }
  .hds-inner { flex-wrap: wrap; padding: 7px 8px 8px 14px; }
  .hds-inner input[type='text'] { flex-basis: calc(100% - 30px); width: 100%; font-size: 0.9rem; }
  .hds-icon { font-size: 0.9rem; }
  .tld-item { font-size: 0.7rem; }
  .hero-trust { font-size: 0.7rem; padding: 7px 12px; gap: 7px; }
  .hero-cta .btn { flex: 1 1 auto; padding: 12px 16px; font-size: 0.85rem; }
  .hero-illustration { padding: 10px; }
  .hero-card { padding: 11px 12px; }
  .hero-card .hc-info h4 { font-size: 0.82rem; }
  .hero-card .hc-info p { font-size: 0.68rem; }
  .hero-card .hc-price .amount { font-size: 0.92rem; }
  .hero-card .hc-price .label { font-size: 0.6rem; }

  .section-header h2,
  .page-header h1 { font-size: 1.9rem; }
  .page-header { padding-top: calc(var(--nav-h) + 56px); }
  .page-header p { font-size: 0.9rem; }
  .pricing-toggle { width: 100%; justify-content: center; gap: 9px; padding: 8px 10px; }
  .pricing-toggle > span { font-size: 0.76rem; }
  .pricing-card { padding: 28px 20px 24px; }
  .cta-inner { padding: 28px 22px; }
  .cta-inner .btn { width: 100%; }
  .about-image-col { display: none; }
  .about-founded-badge { position: static; margin-top: 16px; }
  .whatsapp-banner { padding: 26px 20px; }
  .whatsapp-banner a { width: 100%; justify-content: center; }
  .chatbot-panel { left: 12px; right: 12px; bottom: 84px; width: auto; max-width: none; height: 72vh; max-height: calc(100vh - var(--nav-h) - 108px); }
  .fab-stack { right: 16px; bottom: 16px; }
}

@media (max-width: 768px) {
  body:has(.about-grid) .page-header::after { right: -60px; width: 160px; height: 160px; }
  .about-grid { padding: 22px; }
  .legal-block { padding: 22px 20px 22px 24px; }
  .legal-block::before { top: 18px; bottom: 18px; }
}

@media (max-width: 768px) {
  .hero-illustration { padding: 8px; }
  .hd-topbar { padding: 10px 12px; gap: 8px; }
  .hd-title { font-size: 0.68rem; }
  .hd-stage { padding: 8px; }
  .hd-chip { padding: 6px 9px 6px 6px; font-size: 0.66rem; }
  .hd-chip strong { font-size: 0.72rem; }
  .hd-chip i { width: 24px; height: 24px; font-size: 0.7rem; }
  .hd-chip--uptime { top: 5px; left: 4px; }
  .hd-chip--ssl { right: 4px; bottom: 5px; }
  .hero-cards { margin-top: 16px; padding: 0 6px; }
}

@media (max-width: 480px) {
  .hd-title { font-size: 0.62rem; }
  .hd-live { padding: 3px 7px; font-size: 0.6rem; }
  .hd-chip { font-size: 0.62rem; }
  .hd-chip strong { font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
