/* ============================================================
   Folveo — Landing Page Styles
   Brand: navy #0D203D + gradient (magenta → blue → orange)
   ============================================================ */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  /* brand */
  --navy: #0D203D;
  --navy-900: #081627;
  --navy-800: #0A1A30;
  --navy-700: #122a4a;
  --navy-card: #0f2746;
  --magenta: #D946EF;
  --purple: #A855F7;
  --blue: #3B82F6;
  --cyan: #22D3EE;
  --orange: #FB923C;
  --coral: #F97362;
  --grad: linear-gradient(120deg, #D946EF 0%, #A855F7 28%, #3B82F6 60%, #FB923C 100%);
  --grad-soft: linear-gradient(120deg, rgba(217,70,239,.18), rgba(59,130,246,.16) 55%, rgba(251,146,60,.16));

  /* neutrals */
  --bg: #07111f;
  --surface: rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.10);
  --border-strong: rgba(255,255,255,.16);
  --fg: #F4F7FB;
  --fg-muted: #A9B4C6;
  --fg-dim: #8A98AE;

  /* light section */
  --light-bg: #F7F8FA;
  --light-fg: #0F172A;
  --light-muted: #5B6478;
  --light-border: #E4E7EE;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --shadow: 0 24px 60px -20px rgba(0,0,0,.55);
  --shadow-glow: 0 20px 60px -12px rgba(124,92,252,.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-grad { background: linear-gradient(180deg, transparent, rgba(124,92,252,.05), transparent); }

/* ---------- typography ---------- */
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.1; font-weight: 800; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.gradient-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin: 16px 0 14px; }
.section-head p { font-size: 18px; color: var(--fg-muted); }
.lead { font-size: 18px; color: var(--fg-muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15.5px; font-weight: 600; padding: 14px 24px; border-radius: 12px;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 64px -12px rgba(124,92,252,.6); }
.btn-secondary { background: var(--surface-2); color: var(--fg); border-color: var(--border-strong); }
.btn-secondary:hover { background: rgba(255,255,255,.12); }
.btn-ghost { color: var(--fg); }
.btn-ghost:hover { color: #fff; }
.btn svg { width: 19px; height: 19px; }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,17,31,.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--fg-muted); transition: color .15s; }
.nav-links a:hover { color: var(--fg); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--fg-dim); }
.lang-switch a { padding: 4px 8px; border-radius: 7px; }
.lang-switch a.active { color: var(--fg); background: var(--surface-2); font-weight: 600; }
.lang-switch a:hover { color: var(--fg); }
.nav-toggle { display: none; background: none; border: 0; color: var(--fg); cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 90px 0 72px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url('../img/hero-bg.jpg'); background-size: cover; background-position: center;
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 80% at 50% 0%, transparent 35%, var(--bg) 78%);
}
.hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(36px, 6.2vw, 68px); margin: 22px 0 20px; letter-spacing: -0.035em; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); max-width: 620px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero-trust { font-size: 14px; color: var(--fg-dim); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; color: #4ade80; }

.hero-shot { margin: 60px auto 0; max-width: 900px; position: relative; }
.hero-shot::before {
  content: ""; position: absolute; left: 50%; top: -34px; transform: translateX(-50%);
  width: 82%; height: 78%; z-index: -1; border-radius: 50%;
  background: var(--grad); filter: blur(90px); opacity: .42;
}
.browser {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong);
  box-shadow: 0 40px 90px -28px rgba(0,0,0,.78); background: var(--navy-800);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255,255,255,.05); border-bottom: 1px solid var(--border); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.22); display: block; }
.browser img { width: 100%; height: auto; display: block; }

/* ---------- value props ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s ease, border-color .2s ease, background .2s;
}
.value-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.value-ic {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border-strong); margin-bottom: 18px;
}
.value-ic svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; color: var(--fg-muted); }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 26px;
}
.step-num {
  font-size: 14px; font-weight: 700; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 9px; }
.step p { font-size: 15px; color: var(--fg-muted); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px;
  transition: border-color .2s, background .2s;
}
.feature:hover { border-color: var(--border-strong); background: var(--surface-2); }
.feature-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 16px; }
.feature-ic svg { width: 22px; height: 22px; color: var(--cyan); }
.feature h3 { font-size: 17px; margin-bottom: 7px; }
.feature p { font-size: 14.5px; color: var(--fg-muted); }
.feature .pro-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 6px; background: var(--grad); color: #fff; margin-left: 8px; vertical-align: middle; }

/* ---------- showcase gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery figure {
  aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  background: var(--navy-800); box-shadow: 0 10px 30px -16px rgba(0,0,0,.6);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gallery figure:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- comparison ---------- */
.compare-wrap { max-width: 820px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--border); }
.compare thead th { background: var(--surface-2); font-size: 14px; }
.compare thead th.col-folveo { color: #fff; }
.compare thead th.col-folveo span { display:block; font-size:12px; font-weight:500; color: var(--fg-dim); }
.compare tbody td:first-child { color: var(--fg-muted); }
.compare td.yes { color: #4ade80; font-weight: 600; }
.compare td.no { color: var(--fg-dim); }
.compare tr:last-child td { border-bottom: 0; }
.compare .col-folveo { background: rgba(124,92,252,.08); }
.center-cta { text-align: center; margin-top: 34px; }
.pricing-note { max-width: 720px; margin: 32px auto 0; text-align: center; font-size: 15px; color: var(--fg-muted); padding: 16px 22px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.pricing-note b { color: var(--fg); }
.pricing-note .roadmap { color: var(--fg); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 600; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; position: relative;
}
.plan.featured { border-color: transparent; background: linear-gradient(var(--navy-card), var(--navy-card)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: var(--shadow-glow); }
.plan .badge-pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 5px 12px; border-radius: 20px; background: var(--grad); color: #fff; white-space: nowrap; }
.plan h3 { font-size: 17px; margin-bottom: 6px; }
.plan .price { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--fg-dim); }
.plan .price-note { font-size: 13px; color: var(--fg-dim); min-height: 20px; margin-bottom: 18px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 6px 0 24px; flex: 1; }
.plan li { font-size: 14.5px; color: var(--fg-muted); padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad-soft); }
.plan li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 5px; height: 8px; border-right: 2px solid #6ee7b7; border-bottom: 2px solid #6ee7b7; transform: rotate(40deg); }
.plan .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: 0; color: var(--fg); font-family: inherit; font-size: 17px; font-weight: 600; text-align: left; padding: 22px 4px; cursor: pointer; }
.faq-q svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--fg-dim); transition: transform .25s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--purple); }
/* collapse only when JS is active — no-JS users see all answers */
.js .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 22px; color: var(--fg-muted); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 72px 32px; text-align: center; border: 1px solid var(--border-strong); }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: -2; background: url('../img/cta-bg.jpg') center/cover; opacity: .6; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(100% 120% at 50% 50%, rgba(7,17,31,.35), rgba(7,17,31,.82)); }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.cta-band p { font-size: 18px; color: var(--fg-muted); margin-bottom: 30px; }
.cta-band .hero-cta { margin-bottom: 0; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { max-width: 300px; }
.footer-brand img { height: 28px; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; color: var(--fg-dim); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-dim); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--fg-muted); margin-bottom: 11px; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--fg-dim); }

/* ---------- scroll reveal (only hides when JS is active, so no-JS users see all content) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy-900); border-bottom: 1px solid var(--border); padding: 18px 24px; gap: 18px;
  }
  .steps, .features, .values, .pricing { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-cols { gap: 40px; }
  .hero-trust { gap: 12px; }
  .lang-switch { display: none; } /* footer carries the language switcher on mobile */
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- legal / long-form document pages ---------- */
.legal { padding: 120px 0 80px; }
.legal .legal-inner { max-width: 800px; margin: 0 auto; }
.legal h1 { font-size: clamp(30px, 4.5vw, 46px); margin: 14px 0 10px; letter-spacing: -0.02em; }
.legal .legal-meta { color: var(--fg-dim); font-size: 14px; margin-bottom: 8px; }
.legal .legal-intro { font-size: 18px; color: var(--fg-muted); margin-bottom: 24px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.01em; scroll-margin-top: 90px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; color: var(--fg); }
.legal p, .legal li { color: var(--fg-muted); font-size: 16px; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 0 0 8px; }
.legal a { color: var(--cyan); }
.legal strong, .legal b { color: var(--fg); font-weight: 600; }
.legal .toc { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 18px 22px; margin: 0 0 36px; }
.legal .toc h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-dim); margin: 0 0 10px; }
.legal .toc ul { columns: 2; column-gap: 28px; margin: 0; padding-left: 18px; }
.legal .toc li { font-size: 14px; }
.legal .legal-note { border-left: 3px solid var(--blue); background: var(--surface); padding: 14px 18px; border-radius: var(--radius-sm); margin: 0 0 18px; font-size: 15px; }
@media (max-width: 600px) { .legal .toc ul { columns: 1; } .legal { padding: 100px 0 60px; } }
