/* ============================================
   Wonder Ads Landing — style.css
   Design tokens, layout, components, responsive
   ============================================ */

:root {
  /* Brand colors — deep teal / navy (not purple) */
  --color-primary: #0f766e;
  --color-primary-dark: #0d5c56;
  --color-primary-light: #14b8a6;
  --color-navy: #0c4a6e;
  --color-accent: #ea580c;
  --color-accent-hover: #c2410c;
  --color-accent-soft: #fff7ed;

  /* Neutrals */
  --color-bg: #f8fafc;
  --color-bg-alt: #f0fdfa;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;

  /* Typography */
  --font-sans: "Be Vietnam Pro", system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: clamp(2.25rem, 5vw, 3.25rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius & shadow */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.05);
  --shadow-md: 0 4px 16px rgb(15 23 42 / 0.08);
  --shadow-lg: 0 12px 40px rgb(15 23 42 / 0.12);
  --shadow-hover: 0 16px 48px rgb(15 35 42 / 0.14);

  /* Layout */
  --container: 1120px;
  --container-narrow: 720px;
  --header-h: 72px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, var(--container-narrow));
}

/* ---------- Icons ---------- */
.icon-sm {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

[data-lucide] {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1.2;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: var(--text-base);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgb(15 118 110 / 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgb(15 118 110 / 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgb(255 255 255 / 0.55);
}

.btn-outline:hover {
  background: rgb(255 255 255 / 0.12);
  border-color: #fff;
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgb(234 88 12 / 0.35);
}

.btn-accent:hover {
  background: var(--color-accent-hover);
}

.btn-ghost {
  background: var(--color-surface);
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: #fff;
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px rgb(15 23 42 / 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
  font-size: var(--text-lg);
  position: relative;
  z-index: 210;
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-navy));
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 800;
}

.logo-text {
  color: #fff;
  transition: color 0.25s ease;
}

.site-header.is-scrolled .logo-text,
.site-header.nav-open .logo-text {
  color: var(--color-text);
}

.nav-drawer-head {
  display: none;
}

.nav-backdrop {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: block;
  padding: var(--space-2) 0.65rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgb(255 255 255 / 0.9);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgb(255 255 255 / 0.12);
}

/* Desktop: nav lives on body (JS) but sits in the fixed header strip */
@media (min-width: 1025px) {
  body > .nav {
    position: fixed;
    top: 0;
    right: max(var(--space-4), calc((100vw - var(--container)) / 2));
    left: auto;
    height: var(--header-h);
    z-index: 205;
    margin: 0;
  }

  body.is-header-scrolled > .nav .nav-link {
    color: var(--color-text-muted);
  }

  body.is-header-scrolled > .nav .nav-link:hover,
  body.is-header-scrolled > .nav .nav-link.is-active {
    color: var(--color-primary);
    background: var(--color-bg-alt);
  }

  /* Fallback before JS moves nav out of header */
  .site-header.is-scrolled .nav .nav-link {
    color: var(--color-text-muted);
  }

  .site-header.is-scrolled .nav .nav-link:hover,
  .site-header.is-scrolled .nav .nav-link.is-active {
    color: var(--color-primary);
    background: var(--color-bg-alt);
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  position: relative;
  z-index: 210;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled .menu-bar,
.site-header.nav-open .menu-bar {
  background: var(--color-text);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--space-8)) 0 var(--space-16);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgb(14 165 233 / 0.25), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgb(245 158 11 / 0.15), transparent),
    linear-gradient(155deg, #0c4a6e 0%, #0f766e 48%, #134e4a 100%);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-brand {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--space-4);
  animation: heroFadeUp 0.7s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 0.9rem;
  margin-bottom: var(--space-5);
  background: rgb(245 158 11 / 0.2);
  border: 1px solid rgb(245 158 11 / 0.45);
  border-radius: var(--radius-sm);
  color: #fcd34d;
  font-size: var(--text-sm);
  font-weight: 600;
  animation: heroFadeUp 0.7s ease 0.1s both;
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: var(--space-5);
  animation: heroFadeUp 0.7s ease 0.15s both;
}

.hero-title-accent {
  color: #5eead4;
  font-weight: 700;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgb(255 255 255 / 0.78);
  max-width: 34rem;
  margin-bottom: var(--space-8);
  animation: heroFadeUp 0.7s ease 0.25s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  animation: heroFadeUp 0.7s ease 0.35s both;
}

.hero-visual {
  display: flex;
  justify-content: center;
  animation: heroFadeUp 0.8s ease 0.3s both;
}

.hero-illustration {
  width: min(100%, 480px);
  height: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 24px 48px rgb(0 0 0 / 0.25));
}

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

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

/* ---------- Sections ---------- */
.section {
  padding: var(--space-20) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.section-desc {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

/* ---------- Why Choose Us ---------- */
.why {
  background: var(--color-surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.why-item {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

.why-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-bg-alt), #ccfbf1);
  color: var(--color-primary);
}

.why-icon [data-lucide] {
  width: 1.5rem;
  height: 1.5rem;
}

.why-item h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.why-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ---------- Pricing cards ---------- */
.pricing {
  background:
    radial-gradient(ellipse at top, rgb(15 118 110 / 0.06), transparent 60%),
    var(--color-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary-light);
}

.price-card.is-popular {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
  z-index: 1;
}

.price-card.is-popular:hover {
  transform: scale(1.04) translateY(-6px);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.85rem;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
}

.price-name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.price-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  min-height: 2.6em;
}

.price-amount {
  margin-bottom: var(--space-6);
}

.price-original {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-bottom: var(--space-1);
}

.price-current {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.price-unit {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

.price-features {
  flex: 1;
  margin-bottom: var(--space-6);
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.price-features .check {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.price-card .btn {
  width: 100%;
}

.price-note-inline {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
}

.pricing-note {
  text-align: center;
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.website {
  background: var(--color-surface);
}

/* ---------- Kho website / Gallery ---------- */
.gallery {
  background:
    radial-gradient(ellipse at bottom, rgb(15 118 110 / 0.06), transparent 55%),
    var(--color-bg);
  overflow: hidden;
  padding-bottom: var(--space-16);
}

.gallery-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.gallery-viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.gallery-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.gallery-track {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-2) var(--space-2) var(--space-4);
  width: max-content;
}

.gallery-card {
  flex: 0 0 min(72vw, 520px);
  scroll-snap-align: center;
  transition: transform var(--transition);
}

.gallery-frame {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-card:hover .gallery-frame {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.gallery-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #e2e8f0;
}

.gallery-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.gallery-chrome span:nth-child(1) { background: #f87171; }
.gallery-chrome span:nth-child(2) { background: #fbbf24; }
.gallery-chrome span:nth-child(3) { background: #34d399; }

.gallery-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  display: block;
  user-select: none;
  pointer-events: none;
}

.gallery-meta {
  padding: var(--space-4) var(--space-1) 0;
}

.gallery-category {
  display: inline-block;
  margin-bottom: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gallery-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

.gallery-nav {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  z-index: 2;
}

.gallery-nav:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}

.gallery-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.gallery-dots {
  display: flex;
  gap: var(--space-2);
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border-strong);
  transition: background var(--transition), transform var(--transition);
}

.gallery-dot.is-active {
  background: var(--color-primary);
  transform: scale(1.25);
}

/* ---------- Domain ---------- */
.domain {
  background: var(--color-bg-alt);
}

.domain-search {
  display: flex;
  gap: var(--space-3);
  max-width: 640px;
  margin: 0 auto var(--space-3);
  padding: var(--space-2);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.domain-search input {
  flex: 1;
  min-width: 0;
  padding: var(--space-3) var(--space-4);
  border: none;
  outline: none;
  background: transparent;
}

.domain-search-msg {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  min-height: 1.5em;
  margin-bottom: var(--space-10);
}

.domain-search-msg.is-success {
  color: var(--color-primary);
}

.domain-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.domain-group-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-navy);
}

.domain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.domain-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.domain-item:hover {
  border-color: var(--color-primary-light);
  background: #fff;
  transform: translateY(-2px);
}

.domain-tld {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
}

.domain-price {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ---------- Promo banner ---------- */
.promo {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.promo-banner {
  padding: var(--space-12) var(--space-8);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 90% 20%, rgb(245 158 11 / 0.35), transparent 50%),
    linear-gradient(135deg, #0c4a6e 0%, #0f766e 55%, #115e59 100%);
  color: #fff;
  text-align: center;
}

.promo-eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fcd34d;
  margin-bottom: var(--space-3);
}

.promo-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: var(--space-6);
}

.promo-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.promo-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  color: rgb(255 255 255 / 0.9);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.countdown-item {
  min-width: 72px;
  padding: var(--space-3) var(--space-4);
  background: rgb(0 0 0 / 0.25);
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: var(--radius-md);
}

.countdown-num {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.countdown-label {
  font-size: var(--text-xs);
  color: rgb(255 255 255 / 0.65);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--color-surface);
}

.testimonial-slider {
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: var(--space-8);
  text-align: center;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-5);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--color-bg-alt);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-4);
  color: #f59e0b;
}

.testimonial-stars [data-lucide] {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.testimonial-quote {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-navy);
}

.testimonial-role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.testimonial-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.testimonial-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.testimonial-dots {
  display: flex;
  gap: var(--space-2);
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border-strong);
  transition: background var(--transition), transform var(--transition);
}

.testimonial-dot.is-active {
  background: var(--color-primary);
  transform: scale(1.25);
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--color-bg);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) 0;
  text-align: left;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  transition: transform var(--transition);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: #fff;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding-bottom: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ---------- Final CTA / Contact ---------- */
.final-cta {
  padding: var(--space-16) 0;
}

.final-cta-inner {
  padding: var(--space-12) var(--space-8);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 10% 90%, rgb(14 165 233 / 0.2), transparent 45%),
    linear-gradient(160deg, #0c4a6e, #0f766e);
  color: #fff;
  text-align: center;
}

.final-cta-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.final-cta-desc {
  color: rgb(255 255 255 / 0.8);
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgb(255 255 255 / 0.2);
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  margin-bottom: var(--space-3);
}

.form-row input,
.form-row select {
  margin-bottom: 0;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgb(255 255 255 / 0.5);
}

.contact-form select option {
  color: var(--color-text);
  background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #fcd34d;
  background: rgb(255 255 255 / 0.15);
}

.contact-form .btn {
  width: 100%;
  margin-top: var(--space-2);
}

.form-status {
  margin-top: var(--space-4);
  text-align: center;
  font-size: var(--text-sm);
  min-height: 1.5em;
}

.form-status.is-success {
  color: #6ee7b7;
}

.form-status.is-error {
  color: #fca5a5;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0a1628;
  color: rgb(255 255 255 / 0.75);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr) 1.2fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-brand .logo {
  margin-bottom: var(--space-4);
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: var(--space-2);
}

.social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}

.social-link:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer-col h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col a {
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.65);
}

.footer-col a:hover {
  color: var(--color-primary-light);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.footer-contact [data-lucide] {
  margin-top: 2px;
  color: var(--color-primary-light);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgb(255 255 255 / 0.1);
  text-align: center;
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.45);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-illustration {
    animation: none;
  }
}

/* ---------- Responsive: Tablet 1024 ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-illustration {
    width: min(100%, 360px);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  .price-card.is-popular {
    transform: none;
  }

  .price-card.is-popular:hover {
    transform: translateY(-6px);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Responsive: slide-in drawer (tablet + mobile) ---------- */
@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 220;
    background: rgb(15 23 42 / 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .nav-backdrop.is-visible {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-backdrop[hidden] {
    display: none !important;
  }

  .nav,
  body > .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(340px, 88vw);
    height: 100%;
    z-index: 230;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--space-4);
    padding: calc(var(--header-h) + var(--space-4)) var(--space-5) var(--space-8);
    background: #fff;
    box-shadow: -12px 0 40px rgb(15 23 42 / 0.12);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(105%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-open,
  body > .nav.is-open {
    transform: translateX(0);
  }

  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2);
  }

  .nav-drawer-title {
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-muted);
  }

  .nav-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--color-bg-alt);
    color: var(--color-text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
  }

  .nav-close:hover {
    background: var(--color-border);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
    width: 100%;
  }

  .nav-link {
    color: var(--color-text) !important;
    font-size: var(--text-base);
    font-weight: 600;
    text-align: left;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
  }

  .nav-link:hover,
  .nav-link.is-active {
    color: var(--color-primary) !important;
    background: var(--color-bg-alt);
  }

  .header-cta {
    width: 100%;
    margin-top: var(--space-2);
    text-align: center;
  }
}

/* ---------- Responsive: Tablet 768 ---------- */
@media (max-width: 768px) {

  .domain-groups {
    grid-template-columns: 1fr;
  }

  .domain-search {
    flex-direction: column;
  }

  .domain-search .btn {
    width: 100%;
  }

  .gallery-slider {
    padding: 0 var(--space-2);
  }

  .gallery-nav {
    display: none;
  }

  .gallery-card {
    flex: 0 0 min(85vw, 400px);
  }

  .promo-banner {
    padding: var(--space-8) var(--space-5);
  }

  .promo-list li {
    text-align: left;
    align-items: flex-start;
  }

  .countdown-item {
    min-width: 60px;
    padding: var(--space-2) var(--space-3);
  }

  .countdown-num {
    font-size: var(--text-xl);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .final-cta-inner {
    padding: var(--space-8) var(--space-5);
  }
}

/* ---------- Responsive: Mobile 375 ---------- */
@media (max-width: 480px) {
  .section {
    padding: var(--space-16) 0;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .domain-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand p {
    max-width: none;
  }

  .countdown {
    gap: var(--space-2);
  }

  .countdown-item {
    min-width: 56px;
    flex: 1;
  }
}

/* ---------- Large desktop 1440+ ---------- */
@media (min-width: 1440px) {
  :root {
    --container: 1200px;
  }

  .hero-title {
    font-size: 3.5rem;
  }
}
