/* ============================================================
   FIDESSA — AI Trading Platform · style.css
   Dark, strict, official · soft gradients · responsive
   ============================================================ */

:root {
  --bg: #060911;
  --bg-2: #0a0f1c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 255, 255, 0.18);
  --text: #e7ecf5;
  --muted: #9aa7bd;
  --accent-1: #7c6cff; /* violet */
  --accent-2: #38c6ff; /* cyan  */
  --accent-3: #ff9d5c; /* warm  */
  --grad: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,108,255,.16) 0%, rgba(56,198,255,.10) 100%);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 76px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(124, 108, 255, 0.14), transparent 60%),
    radial-gradient(900px 650px at -10% 30%, rgba(56, 198, 255, 0.10), transparent 60%),
    var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.container-narrow { width: min(860px, 100% - 48px); }

::selection { background: rgba(124, 108, 255, 0.45); color: #fff; }

/* ---------- ambient page glow ---------- */
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(600px 400px at 20% 110%, rgba(56, 198, 255, 0.05), transparent 65%),
    radial-gradient(700px 500px at 110% 40%, rgba(124, 108, 255, 0.06), transparent 65%);
}
header, main, footer { position: relative; z-index: 1; }

/* ============================================================
   TYPOGRAPHY & SECTION HEADS
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.section { padding: 96px 0; }

.section-head { max-width: 720px; margin-bottom: 52px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(56, 198, 255, 0.25);
  border-radius: 999px;
  background: rgba(56, 198, 255, 0.06);
}

.section-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }

.section-sub { color: var(--muted); font-size: 17px; max-width: 640px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* ============================================================
   BUTTONS (animated on hover)
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-lg { padding: 17px 34px; font-size: 16px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(124, 108, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 44px rgba(56, 198, 255, 0.45);
  filter: brightness(1.08);
}
.btn-primary i { transition: transform var(--transition); }
.btn-primary:hover i { transform: translateX(3px) scale(1.08); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: rgba(56, 198, 255, 0.6);
  color: var(--accent-2);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(56, 198, 255, 0.15);
}

.btn:active { transform: translateY(-1px) scale(0.99); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(6, 9, 17, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

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

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.85; }
.logo-dot { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.btn-nav { display: none; padding: 10px 22px; }

/* burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color var(--transition);
}
.burger:hover { border-color: var(--border-hover); }
.burger span {
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 96px;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(124, 108, 255, 0.35);
  background: rgba(124, 108, 255, 0.10);
  color: #cfc8ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 26px;
  animation: badgeGlow 3.5s ease-in-out infinite;
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(124, 108, 255, 0); }
  50% { box-shadow: 0 0 26px rgba(124, 108, 255, 0.35); }
}

.hero-title {
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: 800;
  margin-bottom: 22px;
  line-height: 1.08;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 30px;
}
.hero-sub strong { color: var(--text); }

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  margin-bottom: 32px;
}
.stars { display: flex; gap: 4px; color: #ffc447; font-size: 18px; }
.stars i { animation: starPulse 2.4s ease-in-out infinite; }
.stars i:nth-child(2) { animation-delay: 0.12s; }
.stars i:nth-child(3) { animation-delay: 0.24s; }
.stars i:nth-child(4) { animation-delay: 0.36s; }
.stars i:nth-child(5) { animation-delay: 0.48s; }
@keyframes starPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.85; }
}
.rating-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  background: linear-gradient(135deg, #ffc447, #ff9d5c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rating-note { font-size: 13px; color: var(--muted); line-height: 1.4; }

.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }

.hero-mini { font-size: 13.5px; color: var(--muted); opacity: 0.8; }

/* hero glass card */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.how-card {
  position: relative;
  padding: 34px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.how-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
}
.how-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}
.how-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-2);
  background: rgba(56, 198, 255, 0.10);
  border: 1px solid rgba(56, 198, 255, 0.25);
  transition: transform var(--transition), background var(--transition);
}
.how-card:hover .how-icon { transform: scale(1.12) rotate(-5deg); background: rgba(56, 198, 255, 0.18); }
.how-card h3 { font-size: 19px; }
.how-card p { color: var(--muted); font-size: 14.5px; }
.how-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--transition);
}
.how-card:hover::before { opacity: 1; }

/* ============================================================
   DIVIDERS (CTA bands)
   ============================================================ */
.divider {
  position: relative;
  padding: 88px 0;
  background:
    linear-gradient(rgba(6, 9, 17, 0.82), rgba(6, 9, 17, 0.82)),
    linear-gradient(115deg, var(--accent-1) 0%, #2b1a6e 45%, var(--accent-2) 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 15% 20%, rgba(255, 255, 255, 0.08), transparent 60%),
    radial-gradient(500px 300px at 85% 85%, rgba(255, 255, 255, 0.06), transparent 60%);
}
.divider-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.divider-quote {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 720px;
  color: #fff;
}
.divider .btn { flex-shrink: 0; }

/* ============================================================
   PLATFORM
   ============================================================ */
.platform-text { max-width: 780px; color: var(--muted); font-size: 17px; }
.platform-text p + p { margin-top: 18px; }
.platform-text strong { color: var(--text); }

.platform-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.p-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px 18px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.p-icon i {
  font-size: 30px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform var(--transition);
}
.p-icon:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 108, 255, 0.5);
  box-shadow: 0 24px 50px rgba(124, 108, 255, 0.18);
}
.p-icon:hover i { transform: scale(1.15) rotate(-4deg); }

/* ============================================================
   ADVANTAGES
   ============================================================ */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.adv-card {
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.adv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.adv-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
}
.adv-card:hover::before { transform: scaleX(1); }
.adv-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid rgba(124, 108, 255, 0.28);
  margin-bottom: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.adv-icon i {
  font-size: 24px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.adv-card:hover .adv-icon {
  transform: translateY(-4px) rotate(-6deg);
  box-shadow: 0 14px 30px rgba(124, 108, 255, 0.35);
}
.adv-card h3 { font-size: 20px; margin-bottom: 10px; }
.adv-card p { color: var(--muted); font-size: 15px; }
/* ============================================================
   TRUST / STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.stat {
  padding: 34px 22px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.stat:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(56, 198, 255, 0.45);
  box-shadow: 0 24px 55px rgba(56, 198, 255, 0.14);
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* ============================================================
   TIMELINE (how to start)
   ============================================================ */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  padding-top: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 55px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124, 108, 255, 0.5) 12%, rgba(56, 198, 255, 0.5) 88%, transparent);
}
.tl-step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}
.tl-dot {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 26px rgba(124, 108, 255, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.tl-step:hover .tl-dot {
  transform: scale(1.16);
  box-shadow: 0 16px 40px rgba(56, 198, 255, 0.55);
}
.tl-icon {
  font-size: 26px;
  color: var(--accent-2);
  margin-bottom: 12px;
  transition: transform var(--transition);
}
.tl-step:hover .tl-icon { transform: translateY(-4px) scale(1.12); }
.tl-step h3 { font-size: 18px; margin-bottom: 8px; }
.tl-step p { color: var(--muted); font-size: 14.5px; }
.timeline-cta { text-align: center; margin-top: 52px; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.review-card::after {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 20px;
  font-family: var(--font-head);
  font-size: 110px;
  line-height: 1;
  color: rgba(124, 108, 255, 0.10);
  pointer-events: none;
  transition: color var(--transition), transform var(--transition);
}
.review-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
}
.review-card:hover::after { color: rgba(124, 108, 255, 0.22); transform: scale(1.08); }
.review-stars { color: #ffc447; font-size: 15px; display: flex; gap: 4px; }
.review-text { color: var(--text); font-size: 15.5px; flex: 1; }
.review-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--muted);
  background: rgba(124, 108, 255, 0.08);
  border: 1px solid var(--border);
}
.review-author { display: flex; align-items: center; gap: 13px; padding-top: 16px; border-top: 1px solid var(--border); }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--grad);
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 15px; }
.review-author span { font-size: 13px; color: var(--muted); }
/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open {
  border-color: rgba(124, 108, 255, 0.45);
  box-shadow: 0 18px 44px rgba(124, 108, 255, 0.12);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent-2); }
.faq-question i {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--accent-2);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer p {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 15.5px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(700px 400px at 10% 0%, rgba(124, 108, 255, 0.08), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, rgba(56, 198, 255, 0.06), transparent 60%),
    var(--bg-2);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-logo { font-size: 30px; }
.footer-legend { margin-top: 18px; color: var(--muted); font-size: 14.5px; max-width: 380px; }

.footer h4 {
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 14.5px;
  padding: 7px 0;
}
.footer-contacts i {
  color: var(--accent-2);
  margin-top: 4px;
  font-size: 14px;
  width: 16px;
  text-align: center;
}
.footer-contacts a { transition: color var(--transition); }
.footer-contacts a:hover { color: var(--accent-2); }

.subscribe { display: flex; gap: 10px; }
.subscribe input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.subscribe input::placeholder { color: rgba(154, 167, 189, 0.6); }
.subscribe input:focus {
  border-color: rgba(124, 108, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(124, 108, 255, 0.14);
}
.subscribe .btn { padding: 13px 20px; }
.subscribe-note { min-height: 20px; margin-top: 10px; font-size: 13px; color: #4ade80; }
.subscribe-note.error { color: #f87171; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 24px;
}
.footer-nav a {
  font-size: 14px;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}
.footer-nav a:hover { color: var(--accent-2); }
.footer-tc {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-tc:hover { color: var(--accent-2); }

.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding: 26px 0 34px;
}
.footer-disclaimer p {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(154, 167, 189, 0.75);
}
.footer-disclaimer p + p { margin-top: 12px; }
.footer-disclaimer strong { color: rgba(231, 236, 245, 0.85); }
.footer-copy { text-align: center; color: rgba(154, 167, 189, 0.5) !important; }

/* ============================================================
   LITY SIGN-UP MODAL
   ============================================================ */
.signup-modal {
  background: var(--bg-2);
  color: var(--text);
  padding: 46px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
  background-image: radial-gradient(400px 260px at 50% -20%, rgba(124, 108, 255, 0.22), transparent 65%);
}
.signup-modal h3 {
  font-family: var(--font-head);
  font-size: 26px;
  margin-bottom: 12px;
}
.signup-modal p { color: var(--muted); font-size: 15px; margin-bottom: 26px; }

/* ============================================================
   LEGAL PAGES (terms / privacy)
   ============================================================ */
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 56px;
  text-align: center;
  background: radial-gradient(800px 400px at 50% -10%, rgba(124, 108, 255, 0.14), transparent 65%);
}
.page-hero h1 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 15px; }

.legal-content {
  padding: 24px 0 96px;
  max-width: 860px;
  margin-inline: auto;
}
.legal-content h2 {
  font-size: 24px;
  margin: 44px 0 16px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.legal-content h3 { font-size: 19px; margin: 28px 0 12px; }
.legal-content p, .legal-content li {
  color: var(--muted);
  font-size: 15.5px;
  margin-bottom: 12px;
}
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content strong { color: var(--text); }
.legal-updated {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.legal-toc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px 26px;
  margin-bottom: 16px;
}
.legal-toc strong { display: block; margin-bottom: 10px; font-family: var(--font-head); font-size: 15px; }
.legal-toc ol { padding-left: 20px; }
.legal-toc a { color: var(--accent-2); font-size: 14.5px; line-height: 1.9; transition: color var(--transition); }
.legal-toc a:hover { color: #fff; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1120px) {
  .hero { min-height: auto; padding-bottom: 72px; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1023px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 24px;
    background: rgba(6, 9, 17, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0.3s;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-link {
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 16px;
  }
  .nav-link:hover { background: var(--surface-strong); }
  .nav-link::after { display: none; }
  .btn-nav { display: inline-flex; margin-top: 10px; }
  .burger { display: flex; }
  .btn-header { display: none; }

  .divider-inner { flex-direction: column; text-align: center; }
  .divider-quote { max-width: 640px; }
  .platform-icons { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .timeline::before { display: none; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; row-gap: 40px; }
  .hero-rating { width: 100%; justify-content: center; text-align: left; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .how-grid { grid-template-columns: 1fr; }
  .platform-icons { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .p-icon { padding: 22px 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .divider { padding: 64px 0; }
  .divider .btn { width: 100%; justify-content: center; }
  .faq-question { font-size: 15.5px; padding: 18px 20px; }
  .faq-answer p { padding: 0 20px 20px; }
}

@media (max-width: 480px) {
  .container, .container-narrow { width: calc(100% - 32px); }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .rating-value { font-size: 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat { padding: 24px 14px; }
  .platform-icons { grid-template-columns: 1fr 1fr; }
  .subscribe { flex-direction: column; }
  .subscribe .btn { width: 100%; }
  .section-title { font-size: 26px; }
}







