/* ==========================================================================
   Keyo — website styles
   Palette mirrored from the app's "Midnight" keyboard design:
   deep navy #060918 / #1B1540, violet #5B42F6, mint #1BD484, gold #D4AF63.
   ========================================================================== */

:root {
  --bg: #060918;
  --bg-2: #0b0f24;
  --bg-3: #131832;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #eef0ff;
  --muted: #a8abc9;
  --faint: #76799c;
  --violet: #5b42f6;
  --violet-soft: #7b5cff;
  --mint: #1bd484;
  --cyan: #2ec5d6;
  --gold: #d4af63;
  --grad: linear-gradient(120deg, var(--violet) 0%, var(--violet-soft) 45%, var(--mint) 100%);
  --radius: 20px;
  --font-display: "Sora", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-glow: 0 0 60px rgba(91, 66, 246, 0.35);
}

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

html { scroll-behavior: smooth; }

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

::selection { background: rgba(91, 66, 246, 0.5); }

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

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------- ambient background ---------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(91, 66, 246, 0.18), transparent),
    var(--bg);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 22s ease-in-out infinite alternate;
}
.orb-1 { width: 480px; height: 480px; background: #3d2bd6; top: -120px; left: -80px; }
.orb-2 { width: 420px; height: 420px; background: #0f6f52; bottom: -10%; right: -100px; animation-delay: -8s; }
.orb-3 { width: 300px; height: 300px; background: #142a7a; top: 40%; left: 55%; animation-delay: -14s; opacity: 0.4; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, -50px, 0) scale(1.15); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(6, 9, 24, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 14px rgba(91, 66, 246, 0.45); }
.brand span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--grad);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(91, 66, 246, 0.4);
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
}

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(123, 92, 255, 0.4);
  background: rgba(91, 66, 246, 0.12);
  color: #c9bfff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.3rem);
  margin: 22px 0 20px;
  letter-spacing: -0.02em;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(91, 66, 246, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(91, 66, 246, 0.55); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--card-border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

.hero-note { margin-top: 26px; color: var(--faint); font-size: 0.9rem; display: flex; gap: 20px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { flex: none; }

/* ---------- phone mockup (3D) ---------- */
.phone-scene { perspective: 1400px; display: flex; justify-content: center; }
.phone {
  width: 300px;
  border-radius: 44px;
  background: linear-gradient(160deg, #2a2f4a, #0d1026 60%);
  padding: 12px;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    var(--shadow-glow);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  position: relative;
}
.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: #0a0d1f;
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
}
.screen-top {
  flex: 1;
  padding: 20px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(91, 66, 246, 0.25), transparent 70%);
}
.notch {
  width: 90px; height: 22px;
  margin: 0 auto 6px;
  background: #05060f;
  border-radius: 12px;
}
.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.78rem;
  line-height: 1.45;
}
.bubble.in  { background: rgba(255, 255, 255, 0.09); color: #d5d8f0; border-bottom-left-radius: 4px; }
.bubble.out {
  align-self: flex-end;
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 6px 18px rgba(91, 66, 246, 0.35);
}
.ai-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #b7ffdd;
  background: rgba(27, 212, 132, 0.12);
  border: 1px solid rgba(27, 212, 132, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
}

/* keyboard rendered in CSS, themed via data-theme on .kb */
.kb {
  padding: 8px 6px 14px;
  background: #2c2c2e;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: background 0.4s;
}
.kb-suggest { display: flex; gap: 6px; padding: 0 2px 2px; }
.kb-suggest span {
  flex: 1;
  text-align: center;
  font-size: 0.66rem;
  font-weight: 500;
  padding: 6px 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #b8badb;
  border: 1px solid rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  overflow: hidden;
}
.kb-suggest span.mid { color: #b7ffdd; border-color: rgba(27, 212, 132, 0.3); background: rgba(27, 212, 132, 0.1); }
.kb-row { display: flex; gap: 5px; justify-content: center; }
.key {
  flex: 1;
  max-width: 30px;
  height: 38px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  background: #fff;
  color: #000;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  transition: all 0.35s;
  user-select: none;
}
.key.wide { max-width: 46px; flex: 1.6; font-size: 0.6rem; }
.key.space { max-width: none; flex: 4; }
.key.action { max-width: 52px; flex: 1.8; font-size: 0.6rem; }

/* theme: classic */
.kb[data-theme="classic"] { background: #d2d5db; }
.kb[data-theme="classic"] .key { background: #fff; color: #000; }
.kb[data-theme="classic"] .key.wide { background: #abb0ba; }

/* theme: midnight */
.kb[data-theme="midnight"] { background: #060918; }
.kb[data-theme="midnight"] .key {
  background: linear-gradient(180deg, #241c4e, #060918);
  color: #e8e6ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.kb[data-theme="midnight"] .key.wide {
  background: linear-gradient(180deg, #1b1540, #060918);
  color: #bdb8d9;
}
.kb[data-theme="midnight"] .key.action {
  background: linear-gradient(90deg, #5b42f6, #1bd484);
  color: #fff;
  box-shadow: 0 0 14px rgba(91, 66, 246, 0.6);
}

/* theme: graphite */
.kb[data-theme="graphite"] { background: #2c2c2e; }
.kb[data-theme="graphite"] .key { background: linear-gradient(180deg, #4c4e54, #404247); color: #f2f2f4; box-shadow: 0 2px 4px rgba(0,0,0,0.4); }
.kb[data-theme="graphite"] .key.wide { background: linear-gradient(180deg, #37393e, #2d2f33); color: #c9cbd0; }
.kb[data-theme="graphite"] .key.action { background: linear-gradient(180deg, #f7ba55, #e8962e); color: #1c1d20; }

/* theme: aurora */
.kb[data-theme="aurora"] { background: #14142b; }
.kb[data-theme="aurora"] .key {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  box-shadow: none;
}
.kb[data-theme="aurora"] .key.action {
  background: linear-gradient(90deg, #7b5cff, #2ec5d6);
  color: #fff;
  box-shadow: 0 0 14px rgba(123, 92, 255, 0.6);
  border: 0;
}

/* theme: porcelain */
.kb[data-theme="porcelain"] { background: #d1c9bc; }
.kb[data-theme="porcelain"] .key { background: linear-gradient(180deg, #fff, #faf8f5); color: #2a2723; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.kb[data-theme="porcelain"] .key.wide { background: linear-gradient(180deg, #ddd6cb, #d1c9bc); color: #3b3631; }
.kb[data-theme="porcelain"] .key.action { background: linear-gradient(180deg, #3a4658, #252e3b); color: #fff; }

/* theme: sage */
.kb[data-theme="sage"] { background: #aabdac; }
.kb[data-theme="sage"] .key { background: linear-gradient(180deg, #fbfcfa, #f1f5ef); color: #23302a; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.kb[data-theme="sage"] .key.wide { background: linear-gradient(180deg, #bcccbd, #aabdac); color: #23302a; }
.kb[data-theme="sage"] .key.action { background: linear-gradient(180deg, #5e8a6b, #436950); color: #fff; }

/* theme: noir */
.kb[data-theme="noir"] { background: #111013; }
.kb[data-theme="noir"] .key {
  background: linear-gradient(180deg, #232226, #19181b);
  color: #ebd8ac;
  border: 1px solid rgba(212, 175, 99, 0.35);
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.kb[data-theme="noir"] .key.wide { background: linear-gradient(180deg, #18171a, #111013); color: #d4af63; }
.kb[data-theme="noir"] .key.action { background: linear-gradient(180deg, #e6c886, #b8913f); color: #141316; border: 0; }

/* theme: blush */
.kb[data-theme="blush"] { background: #e6bac3; }
.kb[data-theme="blush"] .key { background: linear-gradient(180deg, #fff, #fff8f9); color: #4a2b33; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.kb[data-theme="blush"] .key.wide { background: linear-gradient(180deg, #f0cdd4, #e6bac3); color: #4a2b33; }
.kb[data-theme="blush"] .key.action { background: linear-gradient(180deg, #e27890, #c9536d); color: #fff; }

.theme-picker { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.theme-pill {
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.25s;
}
.theme-pill .sw {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 4px;
  margin-right: 7px;
  vertical-align: -1px;
}
.theme-pill:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }
.theme-pill.active {
  color: #fff;
  border-color: var(--violet-soft);
  background: rgba(91, 66, 246, 0.2);
  box-shadow: 0 0 18px rgba(91, 66, 246, 0.35);
}

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; letter-spacing: -0.01em; }
.section-head h2 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(123, 92, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(123, 92, 255, 0.45); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: linear-gradient(145deg, rgba(91,66,246,0.25), rgba(27,212,132,0.15));
  border: 1px solid rgba(123, 92, 255, 0.35);
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.93rem; }

/* stats band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat {
  padding: 30px 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: var(--muted); font-size: 0.9rem; }

/* video */
.video-wrap {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), var(--shadow-glow);
  aspect-ratio: 16 / 9;
  background: #0a0d1f;
  position: relative;
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(91, 66, 246, 0.3), transparent 70%),
    #0a0d1f;
  text-align: center;
  padding: 24px;
}
.play-btn {
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 0;
  background: var(--grad);
  color: #fff;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(91, 66, 246, 0.2), 0 0 0 24px rgba(91, 66, 246, 0.08);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(91,66,246,0.5), 0 0 0 0 rgba(91,66,246,0.2); }
  70%  { box-shadow: 0 0 0 18px rgba(91,66,246,0), 0 0 0 36px rgba(91,66,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(91,66,246,0), 0 0 0 0 rgba(91,66,246,0); }
}
.video-placeholder p { color: var(--muted); max-width: 420px; }

/* download */
.download-card {
  text-align: center;
  padding: 72px 32px;
  border-radius: 28px;
  background:
    radial-gradient(100% 140% at 50% 0%, rgba(91, 66, 246, 0.28), transparent 65%),
    var(--bg-2);
  border: 1px solid rgba(123, 92, 255, 0.3);
}
.download-card h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.download-card > p { color: var(--muted); margin-bottom: 36px; }
.store-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  color: var(--text);
  text-align: left;
  transition: transform 0.2s, border-color 0.2s;
}
.store-badge:hover { transform: translateY(-3px); border-color: rgba(123, 92, 255, 0.5); }
.store-badge .icon { font-size: 1.9rem; }
.store-badge small { display: block; color: var(--faint); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; }
.store-badge strong { display: block; font-size: 1.02rem; font-family: var(--font-display); }
.soon-tag {
  font-size: 0.62rem;
  font-weight: 700;
  color: #b7ffdd;
  background: rgba(27, 212, 132, 0.14);
  border: 1px solid rgba(27, 212, 132, 0.4);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- legal / content pages ---------- */
.page-hero {
  padding: 160px 0 60px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 14px; }
.page-hero p { color: var(--muted); }
.prose {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 110px;
}
.prose h2 {
  font-size: 1.4rem;
  margin: 48px 0 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.prose h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 28px 0 10px; color: #d8dbff; }
.prose p, .prose li { color: var(--muted); font-size: 0.98rem; }
.prose p { margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--violet-soft); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { color: var(--faint); font-size: 0.85rem; margin-bottom: 40px; display: block; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: transform 0.25s, border-color 0.25s;
}
.contact-card:hover { transform: translateY(-5px); border-color: rgba(123, 92, 255, 0.5); }
.contact-card .ci {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  background: linear-gradient(145deg, rgba(91,66,246,0.25), rgba(27,212,132,0.15));
  border: 1px solid rgba(123, 92, 255, 0.35);
}
.contact-card h3 { font-size: 1.02rem; }
.contact-card p { color: var(--muted); font-size: 0.9rem; word-break: break-all; }
.contact-card .go { margin-top: auto; color: var(--violet-soft); font-weight: 600; font-size: 0.88rem; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 60px 0 34px;
  background: rgba(0, 0, 0, 0.25);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 14px; max-width: 260px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 0.85rem;
}
.powered a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.powered a:hover { filter: brightness(1.25); }

/* ---------- section eyebrow label ---------- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-soft);
  margin-bottom: 14px;
}

/* ---------- how-it-works steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step-card {
  position: relative;
  padding: 34px 28px 30px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 0.93rem; }

/* ---------- social icon buttons ---------- */
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-link {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--muted);
  transition: transform 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.social-link svg { width: 19px; height: 19px; fill: currentColor; }
.social-link:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(123, 92, 255, 0.55);
  box-shadow: 0 8px 22px rgba(91, 66, 246, 0.35);
}
.hero-social { margin-top: 30px; }
.footer-col .social-links { margin-top: 4px; }

/* ---------- floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #2ee06f, #14b85c);
  color: #fff;
  box-shadow: 0 10px 30px rgba(20, 184, 92, 0.45), 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 14px 38px rgba(20, 184, 92, 0.55); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-note, .theme-picker { justify-content: center; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6, 9, 24, 0.97);
    border-bottom: 1px solid var(--card-border);
    padding: 12px 0 22px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links li a { display: block; padding: 13px 0; }
  .nav-cta { margin: 10px auto 0; display: inline-block; }
  .nav-toggle { display: block; }
  .features-grid, .stats-band, .footer-grid { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .phone { width: 264px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
}
