/* ============================================================
   Dirham A Day — luxury dark design system
   ============================================================ */

:root {
  --bg-0: #04070e;
  --bg-1: #070c17;
  --bg-2: #0b1322;
  --ink: #eef2fb;
  --muted: #93a0b8;
  --faint: #5b6880;
  --brand: #0e62ff;
  --brand-bright: #4d8cff;
  --brand-deep: #0a3fa8;
  --gold: #d8b25c;
  --gold-soft: #b8965a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.055);
  --glass: rgba(7, 12, 23, 0.72);
  --radius: 20px;
  --radius-sm: 12px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", "Inter", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.65);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(14, 98, 255, 0.45); color: #fff; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.container--wide { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-title {
  font-size: clamp(32px, 4.4vw, 52px);
  margin-bottom: 18px;
}
.section-title em {
  font-style: italic;
  color: var(--brand-bright);
}
.section-lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
}
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .eyebrow::after { display: none; }

.arabic { font-family: var(--font-arabic); direction: rtl; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background 0.35s, border-color 0.35s, color 0.35s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: linear-gradient(135deg, #1f6dff, #0e62ff 55%, #0a4fd6);
  color: #fff;
  box-shadow: 0 12px 32px -10px rgba(14, 98, 255, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -12px rgba(14, 98, 255, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover {
  border-color: rgba(216, 178, 92, 0.55);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(135deg, #e8c87c, #d8b25c 50%, #b8965a);
  color: #241a05;
  box-shadow: 0 12px 32px -10px rgba(216, 178, 92, 0.45);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -12px rgba(216, 178, 92, 0.6); }

.btn--sm { padding: 10px 22px; font-size: 14px; }
.btn--lg { padding: 18px 38px; font-size: 16px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 178, 92, 0.55), transparent);
  opacity: 0.6;
}
.nav.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.6);
}
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 78px;
}
.nav__logo { display: inline-flex; align-items: center; justify-self: start; }
.nav__logo img { height: 44px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}
.nav.is-scrolled .nav__links {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  box-shadow: 0 0 10px rgba(216, 178, 92, 0.8);
}
.nav__cta { display: flex; align-items: center; justify-content: flex-end; gap: 12px; justify-self: end; }

.nav__burger {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(4, 7, 14, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.nav-mobile.is-open { opacity: 1; pointer-events: auto; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 30px;
  padding: 10px 24px;
  color: var(--ink);
}
.nav-mobile a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 190px 0 90px;
  overflow: hidden;
}
.hero--sub { padding: 170px 0 70px; }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 55% at 70% -10%, rgba(14, 98, 255, 0.22), transparent 65%),
    radial-gradient(ellipse 45% 40% at 12% 8%, rgba(216, 178, 92, 0.08), transparent 70%),
    var(--bg-0);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 25%, transparent 78%);
}
.hero__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: orbDrift 14s ease-in-out infinite alternate;
}
.hero__orb--blue { width: 480px; height: 480px; top: -140px; right: -80px; background: rgba(14, 98, 255, 0.3); }
.hero__orb--gold { width: 360px; height: 360px; bottom: -160px; left: -120px; background: rgba(216, 178, 92, 0.12); animation-delay: -6s; }
@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-50px, 40px) scale(1.12); }
}

.hero__center { text-align: center; max-width: 860px; margin-inline: auto; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(216, 178, 92, 0.3);
  background: rgba(216, 178, 92, 0.06);
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 30px;
}
.hero__badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(216, 178, 92, 0.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(216, 178, 92, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(216, 178, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 178, 92, 0); }
}

.hero__title {
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 1.06;
  margin-bottom: 26px;
}
.hero__title em { font-style: italic; color: var(--brand-bright); }
.hero__title .gold { color: var(--gold); font-style: italic; }
.hero__lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 44px;
}

/* Domain search */
.domain-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  margin-inline: auto;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.domain-search:focus-within {
  border-color: rgba(14, 98, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(14, 98, 255, 0.15), var(--shadow-lg);
}
.domain-search svg { width: 20px; height: 20px; color: var(--faint); margin-left: 16px; flex-shrink: 0; }
.domain-search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--ink);
  font-size: 16px;
  padding: 10px 4px;
}
.domain-search input::placeholder { color: var(--faint); }
.domain-search .btn { flex-shrink: 0; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 30px;
  font-size: 13.5px;
  color: var(--faint);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 14px; height: 14px; color: var(--gold); }

/* ---------- TLD ticker ---------- */
.ticker-wrap {
  margin-top: 70px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: tickerScroll 34s linear infinite;
}
.ticker-wrap:hover .ticker { animation-play-state: paused; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }
.ticker__item {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}
.ticker__tld { font-family: var(--font-display); font-size: 24px; color: var(--ink); font-style: italic; }
.ticker__price { font-size: 14.5px; color: var(--muted); }
.ticker__price strong { color: var(--gold); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--alt {
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1) 18%, var(--bg-1) 82%, var(--bg-0));
}

.hairline {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(216, 178, 92, 0.4), transparent);
  margin: 0 auto;
  width: min(1180px, calc(100% - 48px));
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  text-align: center;
  padding: 34px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 48px);
  color: var(--ink);
}
.stat__num .accent { color: var(--gold); }
.stat__label { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  padding: 5px;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  margin: 0 auto 54px;
}
.billing-toggle button {
  padding: 10px 26px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}
.billing-toggle button.is-active {
  background: linear-gradient(135deg, #1f6dff, #0a4fd6);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(14, 98, 255, 0.7);
}
.billing-toggle .save-chip {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  margin-left: 8px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 34px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition: transform 0.45s var(--ease-out), border-color 0.35s, box-shadow 0.45s;
  overflow: hidden;
}
.plan:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 98, 255, 0.4);
  box-shadow: var(--shadow-lg);
}
.plan--featured {
  border-color: rgba(216, 178, 92, 0.45);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(14, 98, 255, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}
.plan--featured:hover { border-color: rgba(216, 178, 92, 0.7); }
.plan__flag {
  position: absolute;
  top: 20px;
  right: -34px;
  transform: rotate(38deg);
  background: linear-gradient(135deg, #e8c87c, #b8965a);
  color: #241a05;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 6px 40px;
}
.plan__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
}
.plan__desc { color: var(--muted); font-size: 14px; margin: 6px 0 26px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price .was {
  color: var(--faint);
  text-decoration: line-through;
  font-size: 15px;
}
.plan__price .amount {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
  color: var(--ink);
}
.plan__price .period { color: var(--muted); font-size: 14px; }
.plan__perday {
  margin-top: 10px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.plan__features {
  list-style: none;
  margin: 28px 0 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  flex: 1;
}
.plan__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: #c3ccdd;
}
.plan__features svg { width: 16px; height: 16px; color: var(--brand-bright); flex-shrink: 0; }
.plan__features .free { color: var(--gold); font-weight: 600; font-size: 11px; letter-spacing: 0.1em; margin-left: auto; }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  padding: 36px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, background 0.3s;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 178, 92, 0.35);
  background: var(--card-hover);
}
.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(14, 98, 255, 0.2), rgba(14, 98, 255, 0.06));
  border: 1px solid rgba(14, 98, 255, 0.3);
  margin-bottom: 22px;
}
.feature__icon svg { width: 24px; height: 24px; color: var(--brand-bright); }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------- Builder promo ---------- */
.builder-promo {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(216, 178, 92, 0.28);
  background:
    radial-gradient(90% 120% at 85% 10%, rgba(14, 98, 255, 0.18), transparent 55%),
    radial-gradient(60% 90% at 10% 90%, rgba(216, 178, 92, 0.1), transparent 60%),
    var(--bg-2);
  padding: 70px 60px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.builder-promo__steps { display: grid; gap: 14px; }
.builder-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}
.builder-step__num {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  border: 1px solid rgba(216, 178, 92, 0.4);
}
.builder-step p { font-size: 14.5px; color: #c3ccdd; }
.builder-step p strong { color: var(--ink); }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tcard {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}
.tcard:hover { transform: translateY(-5px); border-color: rgba(14, 98, 255, 0.35); }
.tcard__stars { color: var(--gold); letter-spacing: 3px; font-size: 13px; }
.tcard__quote { font-size: 14.5px; color: #c3ccdd; flex: 1; }
.tcard__who { display: flex; align-items: center; gap: 12px; }
.tcard__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}
.tcard__who .name { font-size: 14px; font-weight: 600; }
.tcard__who .loc { font-size: 12.5px; color: var(--faint); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq__item[open] { border-color: rgba(14, 98, 255, 0.4); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item .faq__body {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  border-radius: 28px;
  padding: 90px 40px;
  overflow: hidden;
  border: 1px solid rgba(14, 98, 255, 0.35);
  background:
    radial-gradient(80% 130% at 50% 115%, rgba(14, 98, 255, 0.35), transparent 65%),
    radial-gradient(50% 60% at 85% 0%, rgba(216, 178, 92, 0.12), transparent 65%),
    var(--bg-2);
}
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 36px; }
.cta-band .btn-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding: 70px 0 34px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 54px;
}
.footer__brand img { height: 50px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); font-size: 13.5px; max-width: 280px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: 0.3s;
}
.footer__social a:hover { color: var(--gold); border-color: rgba(216, 178, 92, 0.5); transform: translateY(-3px); }
.footer__social svg { width: 16px; height: 16px; }
.footer h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { color: var(--muted); font-size: 14px; transition: color 0.25s; }
.footer ul a:hover { color: var(--ink); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 13px;
}

/* ---------- Reveal animations (JS-gated: without JS everything stays visible) ---------- */
html.has-js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.has-js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Page-specific: tables / grids ---------- */
.tld-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.tld-card {
  text-align: center;
  padding: 30px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.35s var(--ease-out), border-color 0.3s;
}
.tld-card:hover { transform: translateY(-5px); border-color: rgba(216, 178, 92, 0.4); }
.tld-card__tld { font-family: var(--font-display); font-style: italic; font-size: 28px; }
.tld-card__price { color: var(--gold); font-weight: 600; margin-top: 8px; font-size: 15px; }
.tld-card__note { color: var(--faint); font-size: 12px; margin-top: 4px; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--card);
}
.compare th, .compare td {
  padding: 16px 22px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  background: rgba(255, 255, 255, 0.03);
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare td { color: #c3ccdd; }
.compare td:first-child { color: var(--muted); }
.compare .yes { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .plans, .features { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .tld-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .builder-promo { grid-template-columns: 1fr; padding: 50px 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; }
  .nav__burger { display: flex; }
  .plans, .features, .testimonials { grid-template-columns: 1fr; }
  .tld-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .domain-search { flex-wrap: wrap; border-radius: 24px; }
  .domain-search .btn { width: 100%; }
  .section { padding: 80px 0; }
  .hero { padding-top: 150px; }
}

/* ---------- Floating WhatsApp (all pages) ---------- */
.dad-wa { position: fixed; right: 26px; bottom: 26px; z-index: 9000; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: #25d366; color: #fff !important; text-decoration: none !important;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.75), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.dad-wa:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 20px 44px -12px rgba(37,211,102,.9); }
.dad-wa::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37,211,102,.55); animation: dadWaPulse 2.4s ease-out infinite; }
@keyframes dadWaPulse { 0% { transform: scale(.85); opacity: .9; } 70% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }
.dad-wa svg { width: 30px; height: 30px; fill: #fff; position: relative; }
.dad-wa__tip { position: absolute; right: 70px; top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; padding: 9px 14px; border-radius: 999px;
  background: #0b1322; color: #eef2fb; font: 600 13px/1 "Inter", sans-serif; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px -16px rgba(0,0,0,.7);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.dad-wa:hover .dad-wa__tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 640px) { .dad-wa { right: 16px; bottom: 16px; width: 52px; height: 52px; } .dad-wa__tip { display: none; } }

/* ---------- Focus rings: none on mouse click, subtle blue for keyboard only ---------- */
a:focus, button:focus, .btn:focus, [role="button"]:focus, [tabindex]:focus, summary:focus, label:focus,
.dad-wa:focus, .wdes-back-to-top:focus, .dropdown-toggle:focus, .nav a:focus, .list-group-item:focus,
a:active, button:active, .btn:active, .btn:focus:active, .btn.active:focus, .btn.active.focus, .btn.focus {
  outline: none !important; box-shadow: none !important; -webkit-tap-highlight-color: transparent;
}
a:focus-visible, button:focus-visible, .btn:focus-visible, [role="button"]:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 2px solid rgba(77,140,255,.75) !important; outline-offset: 3px; border-radius: inherit;
}
input:focus, select:focus, textarea:focus { outline: none !important; }
* { -webkit-tap-highlight-color: transparent; }
