/* SVN-Gilroy (licensed font, per brand guide).
   If you have the web font files, place them in assets/fonts/ and uncomment:
@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../assets/fonts/SVN-Gilroy-Bold.woff2') format('woff2');
  font-weight: 700 800; font-display: swap;
}
@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../assets/fonts/SVN-Gilroy-Medium.woff2') format('woff2');
  font-weight: 400 600; font-display: swap;
}
   Until then, Poppins (loaded from Google Fonts) is the fallback for headings. */

/* ==========================================================================
   iSpanify — Shared Stylesheet
   Brand: Primary #2B3087 · Accent #499AD4 · Navy #1B1F56
   ========================================================================== */

:root {
  --primary: #2B3087;
  --primary-dark: #1F2364;
  --accent: #499AD4;
  --navy: #1B1F56;
  --ink: #1A2333;
  --gray: #5A6478;
  --gray-light: #F4F6FB;
  --gray-border: #E4E8F2;
  --white: #ffffff;
  --gradient: linear-gradient(120deg, #2B3087 0%, #2B3087 45%, #499AD4 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(20, 23, 74, .06);
  --shadow-md: 0 8px 30px rgba(20, 23, 74, .10);
  --shadow-lg: 0 20px 60px rgba(20, 23, 74, .16);
  --font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-head: 'SVN-Gilroy', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.15rem; color: var(--gray); max-width: 640px; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: none; transition: all .25s ease; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(43, 48, 135, .35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(43, 48, 135, .45); }
.btn-secondary { background: #fff; color: var(--primary); border: 2px solid var(--gray-border); }
.btn-secondary:hover { border-color: var(--primary); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 22px; font-size: .92rem; }
.btn-lg { padding: 17px 36px; font-size: 1.08rem; }

/* --- Header / Nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--gray-border); box-shadow: var(--shadow-sm); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .97rem; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .login-link { font-weight: 600; color: var(--ink); font-size: .97rem; }
.nav-actions .login-link:hover { color: var(--primary); }
.nav-cta-sticky { opacity: 0; pointer-events: none; transform: translateY(-6px); transition: all .3s ease; }
.site-header.scrolled .nav-cta-sticky,
.nav-cta-always { opacity: 1; pointer-events: auto; transform: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: all .3s; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(73, 154, 212, .14), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(43, 48, 135, .10), transparent 60%),
    linear-gradient(180deg, #F7F9FE 0%, #fff 100%);
  padding: 84px 0 70px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(43, 48, 135, .08); color: var(--primary);
  font-weight: 600; font-size: .85rem; padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: .85rem; color: var(--gray); }

/* --- Dashboard mockup ------------------------------------------------------ */
.dash {
  background: #fff; border: 1px solid var(--gray-border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: 11.5px;
}
.dash-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--gray-border); background: #FAFBFE; }
.dash-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-border); }
.dash-top i:first-child { background: #FF8A8A; } .dash-top i:nth-child(2) { background: #FFD37D; } .dash-top i:nth-child(3) { background: #7DE2A8; }
.dash-body { display: grid; grid-template-columns: 120px 1fr; min-height: 320px; }
.dash-side { background: var(--navy); color: rgba(255,255,255,.75); padding: 14px 0; }
.dash-side .ds-item { padding: 7px 16px; display: flex; gap: 8px; align-items: center; }
.dash-side .ds-item.on { background: rgba(43,48,135,.4); color: #fff; border-left: 3px solid var(--accent); padding-left: 13px; }
.dash-side .ds-dot { width: 6px; height: 6px; border-radius: 2px; background: currentColor; opacity: .6; }
.dash-main { padding: 16px; background: #F7F9FE; }
.dash-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 12px; }
.dash-card { background: #fff; border: 1px solid var(--gray-border); border-radius: 10px; padding: 10px 11px; }
.dash-card .dc-label { color: var(--gray); font-size: 9.5px; }
.dash-card .dc-value { font-weight: 800; font-size: 17px; color: var(--navy); }
.dash-card .dc-value.blue { color: var(--primary); } .dash-card .dc-value.red { color: #E5484D; }
.dash-chart { background: #fff; border: 1px solid var(--gray-border); border-radius: 10px; padding: 11px; margin-bottom: 12px; }
.dash-chart .dc-label { color: var(--gray); font-size: 10px; margin-bottom: 6px; }
.dash-rows .dr { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--gray-border); border-radius: 8px; padding: 7px 11px; margin-bottom: 6px; }
.dash-rows .dr b { font-size: 10.5px; color: var(--ink); font-weight: 600; }
.dash-rows .badge { font-size: 8.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.badge.ok { background: #E7F8EE; color: #18794E; }
.badge.warn { background: #FFF4E5; color: #AD5700; }
.badge.info { background: #E8F0FF; color: var(--primary); }

/* --- Sections --------------------------------------------------------------- */
.section { padding: 84px 0; }
.section.alt { background: var(--gray-light); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head .lead { margin: 14px auto 0; }
.kicker { color: var(--primary); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; display: block; margin-bottom: 12px; }

/* Trusted-by strip */
.trusted { padding: 34px 0; border-top: 1px solid var(--gray-border); border-bottom: 1px solid var(--gray-border); background: #fff; }
.trusted p { text-align: center; color: var(--gray); font-size: .9rem; font-weight: 600; margin-bottom: 18px; letter-spacing: .04em; text-transform: uppercase; }
.trusted-row { display: flex; justify-content: center; gap: 38px; flex-wrap: wrap; color: var(--gray); font-weight: 700; font-size: 1rem; opacity: .75; }
.trusted-row span { display: inline-flex; align-items: center; gap: 8px; }

/* Cards / grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--gray-border); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--gray); font-size: .96rem; }
.icon-chip {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(43,48,135,.12), rgba(73,154,212,.12)); font-size: 24px;
}
a.card { display: block; color: inherit; }

/* Problem / solution */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.check-list { list-style: none; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; margin-bottom: 14px; color: var(--ink); }
.check-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gradient); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.x-list { list-style: none; margin-top: 22px; }
.x-list li { display: flex; gap: 12px; margin-bottom: 14px; color: var(--gray); }
.x-list li::before { content: "✕"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #FCE9E9; color: #E5484D; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 2px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat .num { font-size: 2.6rem; font-weight: 800; color: var(--navy); }
.stat .num span { color: var(--primary); }
.stat .lbl { color: var(--gray); font-size: .92rem; }

/* Testimonials */
.quote-card { background: #fff; border: 1px solid var(--gray-border); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.quote-card .stars { color: #F5A623; letter-spacing: 2px; font-size: .95rem; }
.quote-card blockquote { color: var(--ink); font-size: 1rem; }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-who .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .95rem; }
.quote-who b { display: block; color: var(--navy); font-size: .95rem; }
.quote-who span { color: var(--gray); font-size: .85rem; }

/* Big CTA */
.cta-band { background: linear-gradient(120deg, #14174A 0%, #2B3087 65%, #499AD4 100%); border-radius: 24px; padding: 70px 40px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(73,154,212,.18); top: -200px; right: -120px; }
.cta-band h2 { color: #fff; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 540px; margin: 0 auto 30px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* --- Footer ------------------------------------------------------------------ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 34px; margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; max-width: 280px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.72); font-size: .92rem; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { display: flex; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--primary); color: #fff; }

/* --- Page hero (inner pages) --------------------------------------------------- */
.page-hero { background: linear-gradient(180deg, #F7F9FE, #fff); padding: 72px 0 56px; text-align: center; }
.page-hero .lead { margin: 16px auto 0; }

/* --- Pricing --------------------------------------------------------------------- */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 44px; font-weight: 600; color: var(--gray); }
.billing-toggle .save-tag { background: #E7F8EE; color: #18794E; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.switch { position: relative; width: 52px; height: 28px; background: var(--gray-border); border-radius: 999px; border: none; cursor: pointer; transition: background .25s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s; }
.switch.on { background: var(--primary); }
.switch.on::after { transform: translateX(24px); }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card .tier { font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.price-card .price { font-size: 2.7rem; font-weight: 800; color: var(--navy); margin: 14px 0 2px; }
.price-card .price small { font-size: 1rem; color: var(--gray); font-weight: 500; }
.price-card .per { color: var(--gray); font-size: .88rem; margin-bottom: 20px; }
.price-card .check-list { margin: 0 0 26px; flex: 1; }
.price-card .check-list li { font-size: .93rem; margin-bottom: 11px; }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-md); }
.popular-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: #fff; font-size: .76rem; font-weight: 700; padding: 5px 16px; border-radius: 999px; }

/* --- FAQ --------------------------------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-border); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 18px 22px; font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q::after { content: "+"; font-size: 1.4rem; color: var(--primary); transition: transform .25s; flex: none; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 18px; color: var(--gray); font-size: .95rem; }

/* --- Forms ----------------------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--gray-border); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--gray-border); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .97rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(43,48,135,.12);
}
.form-note { font-size: .82rem; color: var(--gray); margin-top: 14px; }

/* --- Login --------------------------------------------------------------------------------- */
.auth-wrap { min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #F7F9FE, #EDF2FC); padding: 48px 24px; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 44px 40px; }
.auth-card .nav-logo { display: flex; justify-content: center; margin-bottom: 26px; }
.auth-card h1 { font-size: 1.6rem; text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--gray); font-size: .95rem; margin-bottom: 28px; }
.auth-foot { text-align: center; margin-top: 22px; font-size: .9rem; color: var(--gray); }

/* --- Legal ------------------------------------------------------------------------------------- */
.legal { max-width: 800px; margin: 0 auto; padding: 64px 24px 90px; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--gray); font-size: .9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.35rem; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--gray); font-size: .98rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

/* --- Reveal animations --------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --- Responsive ------------------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-actions .login-link { display: none; }
  .nav-toggle { display: block; }
  .nav-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--gray-border); padding: 18px 24px 24px; gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 50px; }
  .cta-band { padding: 52px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* --- Pre-launch announcement bar --------------------------------------------- */
.prelaunch-bar { background: var(--gradient); color: #fff; text-align: center; padding: 9px 16px; font-size: .88rem; font-weight: 500; }
.prelaunch-bar a { color: #fff; text-decoration: underline; font-weight: 700; }
.prelaunch-bar a:hover { color: #D7ECFF; }
