/* ============================================================
   AXION HOST — Main Stylesheet  |  "Control Deck" Theme v1
   A dark operations-console aesthetic: flat bordered panels,
   hairline rules, amber/sky signal colors, monospace data.
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg:            #0a0d12;
  --bg-soft:       #0d1016;
  --bg-elevated:   #12161e;
  --surface:       rgba(255, 255, 255, 0.025);
  --surface-hover: rgba(255, 255, 255, 0.045);
  --border:        rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-glow:   rgba(255, 179, 62, 0.45);

  --primary:       #ffb33e;   /* signal amber — primary accent  */
  --primary-dark:  #d9931f;
  --primary-light: #ffcb70;
  --accent:        #39b6e8;   /* data sky-blue — secondary accent */
  --accent-2:      #9fe0fb;
  --success:       #3ddc84;   /* status-only green, not a brand color */
  --warning:       #ffcb47;
  --danger:        #ff5c5c;

  --gradient:      linear-gradient(115deg, #ffb33e 0%, #ff9d3e 32%, #39b6e8 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255,179,62,0.10), rgba(57,182,232,0.06));

  --text:       #e9ebef;
  --text-muted: #8d96a6;
  --text-faint: #5b6373;

  --font-head: 'Space Grotesk', 'Outfit', sans-serif;
  --font-body: 'IBM Plex Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --radius:    8px;
  --radius-sm: 5px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-card:  0 10px 28px rgba(0,0,0,0.45);
  --shadow-glow:  0 0 0 1px rgba(255,179,62,0.22), 0 14px 36px rgba(255,179,62,0.12);
  --shadow-glow+: 0 0 0 1px rgba(255,179,62,0.34), 0 18px 46px rgba(255,179,62,0.18);
  --shadow-soft:  0 4px 18px rgba(0,0,0,0.38);

  --nav-h:     68px;
  --container: 1200px;

  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in:    cubic-bezier(0.4,  0,    1,    1);
  --ease-out:   cubic-bezier(0,    0,    0.2,  1);
  --ease-inout: cubic-bezier(0.4,  0,    0.2,  1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Faint engineering grid — fixed, extremely subtle, reinforces "console" feel */
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; transition: color 0.2s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* One restrained ambient glow — low opacity, no "neon blob" */
body::before {
  content: '';
  position: fixed;
  z-index: -1;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255,179,62,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Layout utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px); }

.section    { padding: 92px 0; }
.section-sm { padding: 56px 0; }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
  text-align: left;
}

/* Eyebrow — a mono "console tag" instead of a rounded pill badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: none;
  background: none;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 14px;
}
.eyebrow::before { content: '//'; color: var(--text-faint); }
.eyebrow .fa-solid, .eyebrow .fa-brands { display: none; }

.section-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  margin-bottom: 12px;
  max-width: 18ch;
}

.section-head h2 span,
.hero-content h1 span {
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: unset;
}

.section-head p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.75; max-width: 54ch; }

.gradient-text { color: var(--primary); }

/* ============================================================
   BUTTONS — rectangular, hairline, confident (no heavy glow)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-gradient {
  background: var(--primary);
  color: #1a1203;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 6px 16px rgba(255,179,62,0.22);
}
.btn-gradient:hover { transform: translateY(-2px); background: var(--primary-light); }
.btn-gradient:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--primary); color: var(--primary-light); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0); }

.btn-white { background: #fff; color: #10131a; font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,255,255,0.14); }
.btn-white:active { transform: translateY(0); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 12px; font-weight: 500;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(10,13,18,0.72);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.navbar.scrolled { background: rgba(10,13,18,0.94); border-bottom-color: var(--border-strong); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--nav-h); }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.brand img { height: 38px; max-width: 190px; width: auto; object-fit: contain; display: block; transition: opacity 0.2s var(--ease); }
.brand img:hover { opacity: 0.85; }

.logo-fallback { display: none; align-items: center; gap: 10px; }
.logo-fallback .lf-badge {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  color: #1a1203; font-size: 0.95rem; flex-shrink: 0;
}
.logo-fallback .lf-name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.3px; line-height: 1; }
.logo-fallback .lf-name em { font-style: normal; color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; padding: 9px 14px; border-radius: var(--radius-sm);
  color: var(--text-muted); font-weight: 500; font-size: 0.91rem;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--primary); border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 8px 16px; font-size: 0.85rem; }
.nav-cta-mobile { display: none; }

/* ============================================================
   HAMBURGER
   ============================================================ */
.hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: transparent; cursor: pointer; padding: 0 10px;
  z-index: 1002; transition: border-color 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.hamburger:hover { border-color: var(--primary); }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform 0.28s var(--ease-inout), opacity 0.2s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 100vw); z-index: 1001;
  background: rgba(10,13,18,0.98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-strong);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.34s var(--ease-inout), visibility 0.34s var(--ease-inout);
  visibility: hidden; overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom, 24px);
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }

.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px 0 22px; border-bottom: 1px solid var(--border);
  min-height: var(--nav-h); flex-shrink: 0;
}
.mobile-menu-header .menu-brand { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--text); }
.mobile-menu-header .menu-brand span { color: var(--primary); }

.mobile-close-btn {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: transparent; color: var(--text-muted);
  font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.mobile-close-btn:hover { border-color: var(--primary); color: var(--primary); }

.mobile-menu-body { padding: 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-menu-body nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 22px; }
.mobile-menu-body nav a {
  padding: 13px 14px; border-radius: var(--radius-sm); color: var(--text); font-weight: 500; font-size: 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-body nav a:hover { background: var(--surface); color: var(--primary); }
.menu-cta { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.menu-social { display: flex; gap: 10px; margin-top: 18px; justify-content: center; }
.mobile-overlay {
  position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px); display: none;
}

/* ============================================================
   HERO — single orchestrated entrance on load
   ============================================================ */
.hero { position: relative; padding: 112px 0 88px; overflow: hidden; text-align: center; }
.hero-glow, .hero-glow-1, .hero-glow-2 { display: none; } /* retire the glow blobs entirely */

.hero-content, .hero-preview { position: relative; z-index: 1; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge, .hero-content h1, .hero-content > p,
.hero-actions, .hero-stats, .hero-preview {
  animation: rise-in 0.6s var(--ease-out) both;
}
.hero-badge      { animation-delay: 0.02s; }
.hero-content h1 { animation-delay: 0.10s; }
.hero-content > p{ animation-delay: 0.18s; }
.hero-actions    { animation-delay: 0.26s; }
.hero-stats      { animation-delay: 0.34s; }
.hero-preview    { animation-delay: 0.42s; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem; font-weight: 500;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 3px rgba(61,220,132,0.18);
  animation: dot-pulse 2.2s infinite; flex-shrink: 0;
}
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(61,220,132,0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(61,220,132,0);   }
  100% { box-shadow: 0 0 0 0   rgba(61,220,132,0);    }
}

.hero-content h1 {
  font-size: clamp(2.1rem, 5.4vw, 4.1rem);
  font-weight: 600; margin-bottom: 20px; line-height: 1.08; letter-spacing: -0.02em;
}
.hero-content > p {
  max-width: 600px; margin: 0 auto 34px; color: var(--text-muted);
  font-size: clamp(0.97rem, 1.8vw, 1.12rem); line-height: 1.75;
}

.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-actions-stack { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }

.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stat { padding: 8px 26px; text-align: center; }
.hero-stat + .hero-stat { border-left: 1px solid var(--border); }
.hero-stat .num {
  font-family: var(--font-mono); font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 600;
  color: var(--primary); font-variant-numeric: tabular-nums;
}
.hero-stat .label { font-size: 0.76rem; color: var(--text-faint); margin-top: 3px; }

/* Terminal preview — the signature "deploy log" moment */
.hero-preview { max-width: 820px; margin: 0 auto; }
.terminal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: left; overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border); }
.terminal-bar .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: var(--border-strong); }
.terminal-bar .t-title { margin-left: 8px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-faint); }
.terminal-body {
  padding: 22px 24px; font-family: var(--font-mono); font-size: 0.84rem; line-height: 2;
  color: var(--text-muted); overflow-x: auto;
}
.terminal-body > div {
  opacity: 0; animation: rise-in 0.4s var(--ease-out) both;
}
.terminal-body > div:nth-child(1) { animation-delay: 0.65s; }
.terminal-body > div:nth-child(2) { animation-delay: 0.80s; }
.terminal-body > div:nth-child(3) { animation-delay: 0.95s; }
.terminal-body > div:nth-child(4) { animation-delay: 1.10s; }
.terminal-body > div:nth-child(5) { animation-delay: 1.25s; }
.terminal-body > div:nth-child(6) { animation-delay: 1.40s; }
.terminal-body .c   { color: var(--accent); }
.terminal-body .g   { color: var(--success); }
.terminal-body .y   { color: var(--primary); }
.terminal-body .p   { color: var(--accent-2); }
.terminal-body .dim { color: var(--text-faint); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.marquee-track { display: flex; gap: 48px; align-items: center; animation: marquee-scroll 32s linear infinite; width: max-content; will-change: transform; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; gap: 9px; color: var(--text-faint); font-weight: 500; font-size: 0.92rem; white-space: nowrap; }
.marquee-item i { color: var(--primary); font-size: 1rem; }

/* ============================================================
   GRIDS & CARDS — flat bordered panels, no blur/glow/shimmer
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.glass-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.glass-card:hover { border-top-color: var(--primary); background: var(--surface-hover); }
.glass-card > * { position: relative; z-index: 1; }

.icon-box {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  color: var(--primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  margin-bottom: 16px; flex-shrink: 0;
}
.icon-box.soft { background: var(--surface); color: var(--accent); border-color: var(--border); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p  { color: var(--text-muted); font-size: 0.92rem; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(266px, 1fr)); gap: 22px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  border-top: 3px solid var(--border-strong);
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
  overflow: hidden;
}
.price-card:hover { border-top-color: var(--accent); transform: translateY(-4px); }
.price-card.featured { background: var(--bg-elevated); border-top-color: var(--primary); }
.price-card.featured:hover { transform: translateY(-4px); }

.price-ribbon {
  position: static;
  display: inline-block;
  align-self: flex-start;
  transform: none;
  background: var(--primary);
  color: #1a1203;
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-sm);
  white-space: nowrap; margin-bottom: 14px;
}

.plan-name { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.plan-icon { font-size: 1.7rem; margin: 12px 0 4px; color: var(--primary); }
.plan-desc { font-size: 0.86rem; color: var(--text-faint); margin-bottom: 18px; }

.price { display: flex; align-items: baseline; gap: 3px; margin-bottom: 4px; }
.price .currency { font-size: 1.2rem; font-weight: 600; color: var(--text); }
.price .amount { font-family: var(--font-mono); font-size: 2.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.price .per { color: var(--text-faint); font-size: 0.86rem; }
.price-save { font-size: 0.80rem; color: var(--success); font-weight: 600; margin-bottom: 16px; font-family: var(--font-mono); }

.plan-features { margin: 18px 0 24px; border-top: 1px solid var(--border); padding-top: 20px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.89rem; color: var(--text-muted); }
.plan-features li i.fa-check { color: var(--success); margin-top: 4px; font-size: 0.78rem; flex-shrink: 0; }
.plan-features li i.fa-xmark { color: var(--danger); margin-top: 4px; font-size: 0.78rem; flex-shrink: 0; opacity: 0.55; }
.plan-features li.highlight  { color: var(--text); font-weight: 600; }
.plan-features li.highlight i.fa-check { color: var(--primary); }

/* ============================================================
   SPLIT SECTION
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-visual { order: 2; }
.split.reverse .split-text   { order: 1; }

.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.feature-item {
  display: flex; gap: 14px; align-items: flex-start; padding: 15px 17px;
  border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.feature-item:hover { background: var(--surface-hover); border-color: var(--border-strong); }
.feature-item i  { font-size: 1.15rem; color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.feature-item h4 { font-size: 0.98rem; margin-bottom: 2px; }
.feature-item p  { font-size: 0.87rem; color: var(--text-muted); }

.visual-stack { display: flex; flex-direction: column; gap: 14px; }
.visual-card {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; display: flex; align-items: center; gap: 14px;
  transition: border-color 0.22s var(--ease);
}
.visual-card:hover { border-color: var(--accent); }
.visual-card i { font-size: 1.5rem; color: var(--accent); flex-shrink: 0; }
.visual-card .vc-title { font-weight: 600; font-size: 0.93rem; }
.visual-card .vc-sub   { font-size: 0.79rem; color: var(--text-faint); }

.gauge-row { display: flex; gap: 14px; }
.gauge { flex: 1; background: var(--surface); border: 1px solid var(--border); padding: 18px; border-radius: var(--radius-sm); text-align: center; }
.gauge .glabel { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); letter-spacing: 0.04em; margin-bottom: 7px; }
.gauge .gval { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; }
.bar-track { margin-top: 12px; height: 4px; background: rgba(255,255,255,0.08); border-radius: 100px; overflow: hidden; }
.bar-fill  { height: 100%; background: var(--primary); }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat-item .num { font-family: var(--font-mono); font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; }
.stat-item .lbl { color: var(--text-muted); font-size: 0.89rem; margin-top: 4px; }
.stat-item .ico i { color: var(--accent); font-size: 1.1rem; }

/* ============================================================
   STEPS — numbering is legitimate here (true sequence)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  position: relative; padding: 30px 24px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); text-align: left;
  transition: border-color 0.22s var(--ease);
}
.step-card:hover { border-color: var(--border-strong); }
.step-num {
  font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; color: var(--primary);
  margin-bottom: 16px; display: block;
  letter-spacing: 0.05em;
}
.step-num::before { content: '/ '; opacity: 0.45; }
.step-card h3 { margin-bottom: 7px; font-size: 1.04rem; }
.step-card p  { color: var(--text-muted); font-size: 0.89rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card { display: flex; flex-direction: column; gap: 14px; }
.testimonial-card .stars { color: var(--primary); font-size: 0.84rem; letter-spacing: 2px; }
.testimonial-card blockquote { color: var(--text-muted); font-size: 0.92rem; font-style: normal; line-height: 1.75; }
.t-author { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.t-avatar {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--bg-elevated); border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-weight: 600; font-family: var(--font-mono); flex-shrink: 0;
}
.t-author .t-name { font-weight: 600; font-size: 0.93rem; }
.t-author .t-role  { font-size: 0.78rem; color: var(--text-faint); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-box {
  position: relative; text-align: center;
  padding: clamp(42px, 7vw, 66px) clamp(20px, 5vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--primary);
  overflow: hidden;
}
.cta-box h2 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); margin-bottom: 14px; }
.cta-box p  { max-width: 520px; margin: 0 auto 28px; color: var(--text-muted); }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { position: relative; padding: clamp(64px, 9vw, 92px) 0 clamp(48px, 6vw, 64px); text-align: center; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }

.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; color: var(--text-faint); font-family: var(--font-mono); font-size: 0.8rem; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 0.65rem; opacity: 0.5; }

.page-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin-bottom: 14px; }
.page-hero p  { max-width: 600px; margin: 0 auto; color: var(--text-muted); font-size: 1.02rem; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 0.91rem; }
.compare-table thead th { padding: 18px 20px; text-align: left; font-family: var(--font-head); font-weight: 600; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border); }
.compare-table tbody td { padding: 13px 20px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(255,255,255,0.015); }
.compare-table td.yes { color: var(--success); font-weight: 600; }
.compare-table td.no  { color: var(--danger); opacity: 0.68; }

/* ============================================================
   DOMAIN SEARCH
   ============================================================ */
.domain-search-wrap { max-width: 740px; margin: 0 auto 40px; }
.domain-search {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-elevated); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 6px 6px 6px 20px;
  transition: border-color 0.2s var(--ease);
}
.domain-search:focus-within { border-color: var(--primary); }
.domain-search i { color: var(--text-faint); font-size: 1rem; flex-shrink: 0; }
.domain-search input { flex: 1; background: transparent; border: none; outline: none; color: var(--text); font-size: 1rem; padding: 11px 7px; min-width: 0; }
.domain-search input::placeholder { color: var(--text-faint); }
.domain-tld-picker { display: flex; gap: 5px; flex-shrink: 0; }
.tld-btn {
  padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: transparent;
  color: var(--text-muted); font-weight: 600; font-family: var(--font-mono); font-size: 0.82rem; cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.tld-btn.active, .tld-btn:hover { background: rgba(255,179,62,0.12); border-color: var(--primary); color: var(--primary-light); }
.domain-search .btn { border-radius: var(--radius-sm); padding: 11px 24px; }

.domain-price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 14px; }
.domain-price {
  text-align: center; padding: 20px 12px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease);
}
.domain-price:hover { border-color: var(--accent); }
.domain-price .tld { font-family: var(--font-mono); font-weight: 600; font-size: 1.3rem; color: var(--primary); margin-bottom: 5px; }
.domain-price .dprice { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.domain-price .dnote  { font-size: 0.76rem; color: var(--text-faint); }

/* ============================================================
   FORMS
   ============================================================ */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 5vw, 38px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.84rem; font-weight: 600; color: var(--text-muted); }
.form-group .req  { color: var(--danger); }
.form-control {
  background: var(--bg-elevated); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text); font-size: 0.95rem; font-family: var(--font-body); outline: none; width: 100%;
  transition: border-color 0.2s var(--ease);
}
.form-control::placeholder { color: var(--text-faint); }
.form-control:focus { border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 120px; }
input[type="checkbox"] { accent-color: var(--primary); width: 16px; height: 16px; }

.contact-info-card { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 14px; }
.info-row { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s var(--ease); }
.info-row:hover { border-color: var(--border-strong); }
.info-row i { width: 38px; height: 38px; flex-shrink: 0; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--accent); font-size: 1rem; }
.info-row .ir-label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); letter-spacing: 0.03em; }
.info-row .ir-value { font-weight: 600; }
.info-row .ir-value a:hover { color: var(--primary); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.2s var(--ease); }
.faq-item.open { border-color: var(--primary); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 20px; background: transparent; border: none; color: var(--text); font-family: var(--font-head); font-size: 0.97rem; font-weight: 600; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.faq-q i { color: var(--primary); transition: transform 0.26s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.34s var(--ease-out); }
.faq-a-inner { padding: 0 20px 19px; color: var(--text-muted); font-size: 0.91rem; }

/* ============================================================
   LEGAL
   ============================================================ */
.legal { max-width: 820px; margin: 0 auto; }
.legal-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 52px); }
.legal .updated { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-faint); padding: 6px 13px; border-radius: var(--radius-sm); border: 1px solid var(--border); margin-bottom: 26px; }
.legal h2 { font-size: 1.32rem; margin: 36px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.legal h3 { font-size: 1.06rem; margin: 26px 0 9px; color: var(--primary); }
.legal p, .legal li { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 13px; line-height: 1.8; }
.legal ul { list-style: disc; padding-left: 20px; margin-bottom: 13px; }
.legal ul li { margin-bottom: 7px; }
.legal ul.hollow { list-style: none; padding-left: 0; }
.legal ul.hollow li { position: relative; padding-left: 26px; }
.legal ul.hollow li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--success); font-size: 0.8rem; top: 3px; }
.legal strong { color: var(--text); }
.legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--primary-light); }
.legal .toc { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 26px; }
.legal .toc h4 { margin-bottom: 10px; color: var(--primary); }
.legal .toc ul { list-style: none; padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px 26px; }
.legal .toc ul li { padding-left: 0; margin-bottom: 0; }
.legal .toc ul li::before { display: none; }
.legal .toc ul li a { text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
.legal .toc ul li a::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary); }

/* ============================================================
   TEAM / VALUES (about)
   ============================================================ */
.value-card { text-align: left; padding: 28px 22px; }
.value-card .icon-box { margin: 0 0 16px; }
.team-grid { grid-template-columns: repeat(3, 1fr); }
.team-card { text-align: center; padding: 30px 20px; }
.team-avatar {
  width: 76px; height: 76px; margin: 0 auto 16px; border-radius: var(--radius);
  background: var(--bg-elevated); border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; color: var(--primary);
}
.team-card h3 { margin-bottom: 2px; }
.team-card .role { color: var(--accent); font-size: 0.81rem; font-weight: 600; margin-bottom: 11px; }
.team-socials { display: flex; justify-content: center; gap: 10px; }
.team-socials a { width: 34px; height: 34px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border); color: var(--text-muted); transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.team-socials a:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 68px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1.3fr; gap: 42px; padding-bottom: 52px; }

.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 38px; max-width: 190px; width: auto; object-fit: contain; display: block; }
.footer-logo-text { display: none; align-items: center; gap: 9px; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.3px; }
.footer-logo-text i { font-size: 1.05rem; color: var(--primary); }
.footer-logo-text em { font-style: normal; color: var(--primary); }

.footer-about { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; max-width: 300px; line-height: 1.68; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-socials a { width: 38px; height: 38px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border); color: var(--text-muted); font-size: 0.98rem; transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease); }
.footer-socials a:hover { color: #fff; }
.footer-socials a.wa:hover { background: #25D366; border-color: #25D366; }
.footer-socials a.channel:hover { background: var(--primary); border-color: var(--primary); color: #1a1203; }
.footer-socials a.tg:hover { background: #229ED9; border-color: #229ED9; }
.footer-socials a.ig:hover { background: #E1306C; border-color: #E1306C; }
.footer-socials a.x:hover  { background: #fff; border-color: #fff; color: #10131a; }

.footer-col h4 { font-size: 0.95rem; margin-bottom: 17px; padding-bottom: 10px; position: relative; font-weight: 600; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 20px; height: 2px; background: var(--primary); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.88rem; display: flex; align-items: center; gap: 8px; transition: color 0.2s var(--ease); }
.footer-col ul a i { font-size: 0.65rem; color: var(--text-faint); }
.footer-col ul a:hover { color: var(--primary); }

.footer-contact li { display: flex; align-items: flex-start; gap: 11px; color: var(--text-muted); font-size: 0.89rem; }
.footer-contact li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact li a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { color: var(--text-faint); font-size: 0.84rem; }
.footer-bottom .fb-links { display: flex; gap: 18px; }
.footer-bottom .fb-links a { color: var(--text-faint); font-size: 0.84rem; transition: color 0.2s var(--ease); }
.footer-bottom .fb-links a:hover { color: var(--primary); }

/* ============================================================
   FLOATING SOCIAL BUTTONS
   ============================================================ */
.float-social { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-btn {
  width: 50px; height: 50px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  border: none; cursor: pointer; position: relative; text-decoration: none;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.float-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,0.46); }
.float-btn.wa { background: #25D366; }
.float-btn.tg { background: #229ED9; }

.float-tip {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  background: var(--bg-elevated); border: 1px solid var(--border-strong); color: var(--text);
  font-size: 0.8rem; font-weight: 500; padding: 6px 12px; border-radius: var(--radius-sm);
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); box-shadow: var(--shadow-soft);
}
.float-btn:hover .float-tip { opacity: 1; transform: translateY(-50%) translateX(-4px); }

/* ============================================================
   SCROLL-TO-TOP
   ============================================================ */
.scroll-top {
  position: fixed; right: 20px; bottom: 94px; z-index: 901; width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: var(--primary); border: none; color: #1a1203; font-size: 0.95rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none;
  transition: opacity 0.26s var(--ease), visibility 0.26s var(--ease), transform 0.26s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); }
.scroll-top:active { transform: translateY(0); }

/* floaty retired — motion budget spent on the hero entrance + terminal log */
.floaty { animation: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .split { gap: 34px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta-desktop { display: none; }
  .hamburger { display: flex; }
  .nav-cta-mobile .btn-ghost { display: inline-flex; }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .split.reverse .split-visual, .split.reverse .split-text { order: unset; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 42px 0; }
  .section-head { text-align: left; }
  .hero { padding: 80px 0 68px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { padding: 8px 16px; }
  .hero-stat:nth-child(2n+1):not(:first-child) { border-left: none; }
  .domain-search { flex-wrap: wrap; border-radius: var(--radius); padding: 14px 16px; }
  .domain-search input { width: 100%; order: 1; }
  .domain-search i { order: 0; }
  .domain-tld-picker { width: 100%; justify-content: center; order: 2; }
  .domain-search .btn { width: 100%; order: 3; margin-top: 4px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal .toc ul { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .gauge-row { flex-direction: column; }
  .hero-actions-stack { max-width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .brand img { height: 34px; max-width: 150px; }
  .hero-stat { width: 50%; }
  .hero-stat:nth-child(2n) { border-left: 1px solid var(--border); }
  .hero-stat:nth-child(2n+1) { border-left: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .float-btn { width: 44px; height: 44px; font-size: 1.1rem; }
  .scroll-top { width: 38px; height: 38px; font-size: 0.88rem; bottom: 82px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .nav-inner { gap: 12px; }
}

@media (max-width: 375px) {
  .brand img { height: 30px; max-width: 130px; }
  .hero-content h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .hero-stat .num { font-size: 1.3rem; }
  .price-card { padding: 24px 18px; }
}

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 3px; }

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