/* Transsoo marketing site — self-contained, no external dependencies */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --ink: #0b1220;
  --ink-soft: #47546b;
  --line: #e5e9f2;
  --brand: #2563eb;
  --brand-2: #06b6d4;
  --brand-ink: #1e3a8a;
  --accent: #f97316;
  --good: #059669;
  --warn: #d97706;
  --hero-bg: #0b1220;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, 0.18);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem;
  padding: 11px 20px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28); }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(37, 99, 235, 0.38); }

.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--brand); }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.03em; font-size: 1.2rem; }
.brand-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}
.brand-name { color: var(--ink); }

.nav { display: flex; gap: 26px; margin-left: 8px; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

.mobile-nav { display: none; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(6, 182, 212, 0.18), transparent 60%),
    radial-gradient(800px 500px at 5% 0%, rgba(37, 99, 235, 0.20), transparent 55%),
    var(--hero-bg);
  color: #eaf0fb;
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: #7dd3fc; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
.hero .lede { font-size: 1.15rem; color: #b9c6de; margin: 20px 0 30px; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-outline { border-color: rgba(255,255,255,0.28); color: #eaf0fb; }
.hero .btn-outline:hover { border-color: #fff; color: #fff; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: #8ea3c4; }

/* Hero mock dashboard */
.hero-visual { perspective: 1400px; }
.mock {
  background: #0f1830; border: 1px solid rgba(255,255,255,0.10); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden; transform: rotateY(-8deg) rotateX(4deg);
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #0b1428; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #33415c; }
.mock-bar .dot:nth-child(1) { background: #f87171; }
.mock-bar .dot:nth-child(2) { background: #fbbf24; }
.mock-bar .dot:nth-child(3) { background: #34d399; }
.mock-title { margin-left: 8px; font-size: 0.82rem; color: #93a4c4; font-weight: 600; }
.mock-body { padding: 18px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: #14203c; border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 12px; }
.stat-label { display: block; font-size: 0.68rem; color: #8ea3c4; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-value { display: block; margin-top: 6px; font-size: 1.15rem; font-weight: 700; color: #eaf0fb; }
.stat-value.good { color: #34d399; }
.stat-value.warn { color: #fbbf24; }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 92px; margin: 18px 2px; }
.mock-chart span { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--brand-2), var(--brand)); opacity: 0.9; }
.mock-list { display: grid; gap: 8px; }
.mock-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.8rem; color: #c3d0e6; background: #14203c; border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 9px 12px; }
.pill { font-size: 0.68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #33415c; color: #cdd8ec; white-space: nowrap; }
.pill.paid { background: rgba(52,211,153,0.16); color: #34d399; }
.pill.rec { background: rgba(37,99,235,0.18); color: #93c5fd; }

/* ── Trust strip ─────────────────────────────────────────── */
.trust { border-bottom: 1px solid var(--line); background: var(--bg); }
.trust .container { padding-top: 26px; padding-bottom: 26px; text-align: center; }
.trust p { margin: 0 0 14px; color: var(--ink-soft); font-weight: 600; font-size: 0.9rem; }
.trust-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.trust-points li { color: var(--ink); font-weight: 600; font-size: 0.92rem; position: relative; padding-left: 20px; }
.trust-points li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin: 14px 0 0; }

.grid { display: grid; gap: 22px; }
.features { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d5deee; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0; }
.ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  color: var(--brand); background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(6,182,212,0.12));
}
.ic svg { width: 24px; height: 24px; }

/* ── Steps ───────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step-num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; margin-bottom: 14px;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing { grid-template-columns: repeat(3, 1fr); align-items: start; }
.plan {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column;
}
.plan-featured { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; padding: 5px 14px; border-radius: 999px; text-transform: uppercase;
}
.plan-name { font-size: 1.3rem; }
.plan-blurb { color: var(--ink-soft); margin: 6px 0 18px; font-size: 0.95rem; }
.plan-price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 20px; }
.plan-price .cur { font-size: 1.4rem; vertical-align: super; font-weight: 700; margin-right: 2px; }
.plan-price .per { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.plan-feats { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; flex: 1; }
.plan-feats li { position: relative; padding-left: 26px; color: var(--ink); }
.plan-feats li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--good); font-weight: 800;
}
.pricing-foot { text-align: center; color: var(--ink-soft); margin: 30px auto 0; max-width: 640px; font-size: 0.95rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; font-weight: 650; padding: 16px 0; list-style: none; position: relative; padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--brand); font-weight: 400; transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); }

/* ── CTA band ────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--brand-ink), var(--brand) 60%, var(--brand-2));
  color: #fff;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 56px 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.cta-band p { margin: 8px 0 0; color: rgba(255,255,255,0.86); }
.cta-band .btn-primary { background: #fff; color: var(--brand-ink); box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.cta-band .btn-primary:hover { background: #f1f5ff; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--hero-bg); color: #b9c6de; padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin: 14px 0 0; max-width: 32ch; font-size: 0.95rem; color: #8ea3c4; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col a { display: block; color: #b9c6de; padding: 5px 0; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.10); font-size: 0.88rem; color: #8ea3c4; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }
.footer-privacy a { color: #b9c6de; text-decoration: underline; }
.footer-privacy a:hover { color: #fff; }

/* ── Legal / prose pages (privacy) ───────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 0 76px; }
.legal h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 30px; }
.legal h2 { font-size: 1.2rem; font-weight: 700; margin: 34px 0 10px; }
.legal p { color: var(--ink-soft); margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 7px; }
.legal li { color: var(--ink-soft); }
.legal strong { color: var(--ink); }
.legal a { color: var(--brand); text-decoration: underline; }

/* ── Cookie consent banner ───────────────────────────────── */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 720px; margin: 0 auto;
  display: none; gap: 16px; align-items: center; flex-wrap: wrap;
  background: #0f1830; color: #eaf0fb; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-lg);
}
.cookie-banner.open { display: flex; }
.cookie-text { margin: 0; flex: 1 1 300px; font-size: 0.9rem; line-height: 1.5; color: #c3d0e6; }
.cookie-text a { color: #7dd3fc; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; margin-left: auto; }
.cookie-banner .btn { padding: 9px 18px; }
.cookie-banner .btn-outline { border-color: rgba(255,255,255,0.28); color: #eaf0fb; }
.cookie-banner .btn-outline:hover { border-color: #fff; color: #fff; }
@media (max-width: 520px) {
  .cookie-actions { width: 100%; }
  .cookie-banner .btn { flex: 1; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav.open {
    display: flex; flex-direction: column; gap: 4px; padding: 14px 24px 22px;
    background: #fff; border-bottom: 1px solid var(--line);
  }
  .mobile-nav a { padding: 10px 0; color: var(--ink-soft); font-weight: 500; }
  .mobile-nav .btn-primary { color: #fff; margin-top: 8px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero .lede { max-width: none; }
  .mock { transform: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .hero { padding: 60px 0 72px; }
  .features, .steps, .pricing { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .stat-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}
