/* ==========================================================================
   SynthoSoft — marketing site stylesheet
   ========================================================================== */

:root {
  --navy-950: #070d1a;
  --navy-900: #0b1730;
  --navy-800: #10203f;
  --navy-700: #16294d;
  --navy-600: #1d3a68;
  --steel-500: #2f5f8a;
  --teal-400: #4fb8ac;
  --teal-300: #7fd6cb;
  --amber-400: #e8a94a;
  --amber-300: #f2c374;
  --ink-900: #0c1420;
  --ink-700: #33404f;
  --grey-500: #6b7684;
  --grey-300: #aab3bd;
  --grey-100: #e7ebef;
  --white: #ffffff;
  --off-white: #f6f8fa;
  --ivory: #faf7f0;
  --line: #223255;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-lift: 0 20px 60px -20px rgba(6, 14, 30, 0.45);
  --shadow-soft: 0 8px 24px -8px rgba(6, 14, 30, 0.25);
  --max-width: 1180px;
  --font-display: 'Fraunces', 'Manrope', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }

h1, h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--navy-950);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h3, h4 {
  font-family: var(--font-body);
  color: var(--navy-950);
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; color: var(--ink-700); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber-400); display: inline-block; }

.legal-fineprint {
  font-size: 0.68rem;
  color: var(--grey-500);
  opacity: 0.75;
  letter-spacing: 0.01em;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--navy-950); color: var(--grey-100); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--grey-300); }
.section--alt { background: var(--off-white); }

.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal-400), #3a9c90);
  color: var(--navy-950);
  box-shadow: 0 10px 30px -10px rgba(79, 184, 172, 0.55);
}
.btn-primary:hover { box-shadow: 0 16px 36px -10px rgba(79, 184, 172, 0.7); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.28); color: var(--white); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); }
.btn-dark { background: var(--navy-950); color: var(--white); }
.btn-dark:hover { background: var(--navy-800); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 13, 26, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--teal-400), var(--steel-500));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--grey-300); font-size: 0.94rem; font-weight: 600; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--white); display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(79,184,172,0.18), transparent 60%),
              linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-950));
  color: var(--white);
  overflow: hidden;
  padding: 108px 0 96px;
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 500px at 70% 20%, black, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px; align-items: center;
}
.hero h1 { color: var(--white); }
.hero-sub { font-size: 1.14rem; color: var(--grey-300); max-width: 560px; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.hero-trust { margin-top: 44px; display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--grey-300); font-weight: 600; }
.hero-trust-item svg { flex-shrink: 0; }

.hero-visual { position: relative; }
.app-stack {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: var(--shadow-lift);
  padding: 26px;
}
.app-stack-header { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.app-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.app-tile {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 16px 18px; margin-bottom: 12px;
}
.app-tile:last-child { margin-bottom: 0; }
.app-tile-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-weight: 800; font-family: var(--font-body); font-size: 0.85rem; color: var(--navy-950);
}
.app-tile-body strong { display: block; color: var(--white); font-size: 0.95rem; }
.app-tile-body span { display: block; color: var(--grey-300); font-size: 0.82rem; margin-top: 2px; }

/* ---------- Logo strip ---------- */
.logo-strip { padding: 40px 0; border-bottom: 1px solid var(--grey-100); }
.logo-strip-label {
  text-align: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--grey-500); margin-bottom: 22px;
}
.logo-strip-row {
  display: flex; justify-content: center; gap: 42px; flex-wrap: wrap;
  color: var(--grey-500); font-weight: 700; font-family: var(--font-body);
  letter-spacing: 0.02em; opacity: 0.85;
}

/* ---------- Industry cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.industry-card {
  background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(16, 32, 63, 0.25); }
.industry-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(79,184,172,0.16), rgba(47,95,138,0.16));
}
.industry-card h3 { margin-bottom: 8px; }
.industry-card p { font-size: 0.94rem; margin-bottom: 12px; }
.industry-tag {
  display: inline-block; font-size: 0.76rem; font-weight: 700; color: var(--steel-500);
  background: rgba(47,95,138,0.09); padding: 5px 10px; border-radius: 999px;
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 22px 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--grey-100); }
.step-number {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-950); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 800; margin-bottom: 18px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Case study ---------- */
.case-panel {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  border-radius: 24px; padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
  color: var(--white);
}
.case-col h3 { color: var(--teal-300); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.case-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.case-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--grey-300); }
.case-list li svg { flex-shrink: 0; margin-top: 3px; }
.case-badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.case-badge { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 14px 16px; flex: 1 1 150px; }
.case-badge strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--white); }
.case-badge span { display: block; font-size: 0.78rem; color: var(--grey-300); margin-top: 4px; }
.case-note { margin-top: 22px; font-size: 0.8rem; color: var(--grey-500); font-style: italic; }

/* ---------- Feature strip ---------- */
.feature-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius-md); background: var(--off-white); border: 1px solid var(--grey-100); }
.feature-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--navy-950); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-item h3 { font-size: 1rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Pricing / engagement ---------- */
.plan-card { background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius-lg); padding: 34px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); }
.plan-card.is-featured { border-color: var(--teal-400); box-shadow: 0 24px 50px -18px rgba(79,184,172,0.35); position: relative; }
.plan-badge {
  position: absolute; top: -13px; left: 28px; background: var(--teal-400); color: var(--navy-950);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.plan-name { font-size: 1.05rem; margin-bottom: 6px; }
.plan-desc { font-size: 0.88rem; margin-bottom: 20px; }
.plan-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-700); }
.plan-list li svg { flex-shrink: 0; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--grey-100); padding: 22px 0; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 20px; font-weight: 700; font-size: 1rem; color: var(--navy-950); }
.faq-q .chev { transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { margin-top: 14px; font-size: 0.94rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-400), var(--steel-500));
  border-radius: 24px; padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  color: var(--navy-950);
}
.cta-banner h2 { color: var(--navy-950); margin-bottom: 6px; }
.cta-banner p { color: rgba(7,13,26,0.75); margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 26px; }
.contact-info-item .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-950); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item strong { display: block; color: var(--navy-950); font-size: 0.95rem; }
.contact-info-item span, .contact-info-item a { color: var(--grey-500); font-size: 0.9rem; text-decoration: none; }
.contact-info-item a:hover { color: var(--steel-500); }

.form-card { background: var(--off-white); border: 1px solid var(--grey-100); border-radius: var(--radius-lg); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--ink-700); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--grey-100);
  background: var(--white); font-family: inherit; font-size: 0.92rem; color: var(--ink-900);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.78rem; color: var(--grey-500); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--grey-300); padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand p { color: var(--grey-500); font-size: 0.88rem; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--grey-500); text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 0.8rem; color: var(--grey-500); flex-wrap: wrap; gap: 12px; }

/* ---------- Product family ---------- */
.product-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; }
.product-card {
  border-radius: 24px; padding: 40px; position: relative;
  border: 1px solid var(--grey-100); background: var(--white); box-shadow: var(--shadow-soft);
}
.product-card.is-flagship {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--white); border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow-lift);
}
.product-card.is-flagship h3, .product-card.is-flagship p { color: var(--white); }
.product-card.is-flagship .product-desc { color: var(--grey-300); }
.product-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.product-badge.live { background: rgba(79,184,172,0.16); color: var(--teal-300); }
.product-badge.roadmap { background: rgba(232,169,74,0.14); color: var(--amber-300); }
.product-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }
.product-desc { font-size: 0.96rem; margin-bottom: 22px; }
.product-app-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.product-app-pill {
  font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
}
.product-card:not(.is-flagship) .product-app-pill { background: rgba(47,95,138,0.08); border-color: rgba(47,95,138,0.16); color: var(--steel-500); }
.roadmap-list { display: flex; flex-direction: column; gap: 18px; }
.roadmap-item { display: flex; gap: 14px; align-items: flex-start; }
.roadmap-item .rn { font-family: var(--font-display); font-size: 1.05rem; color: var(--amber-400); flex-shrink: 0; width: 26px; }
.roadmap-item h4 { margin: 0 0 4px; font-size: 0.98rem; }
.roadmap-item p { font-size: 0.86rem; margin-bottom: 0; color: var(--grey-500); }

/* ---------- Pricing (real per-seat) ---------- */
.price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-amount { font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; color: var(--navy-950); }
.plan-card.is-featured .price-amount { color: var(--navy-950); }
.price-unit { font-size: 0.85rem; color: var(--grey-500); font-weight: 600; }
.price-note { font-size: 0.8rem; color: var(--grey-500); margin-bottom: 22px; }

/* ---------- Contact form status ---------- */
.form-status {
  display: none; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 600; margin-bottom: 16px;
}
.form-status.is-visible { display: flex; }
.form-status.success { background: rgba(79,184,172,0.14); color: #1d6b62; }
.form-status.error { background: rgba(215,90,90,0.12); color: #a83c3c; }

/* ---------- Simple content page (Privacy Policy) ---------- */
.legal-page { padding: 64px 0 96px; }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-page h2 { font-size: 1.3rem; margin-top: 36px; }
.legal-page p, .legal-page li { color: var(--ink-700); font-size: 0.98rem; }
.legal-page ul { padding-left: 22px; }
.legal-updated { color: var(--grey-500); font-size: 0.85rem; margin-bottom: 40px; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .case-panel { grid-template-columns: 1fr; padding: 36px; }
  .feature-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .grid-4, .steps { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .product-card { padding: 28px; }
  .nav-links.mobile-open {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--navy-950); flex-direction: column; padding: 20px 28px 28px; gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}
