/* TransactIQ — Marketing site styles
   Brand: deep navy + teal (from logo) */

:root {
  --navy-900: #0c2340;
  --navy-800: #122e52;
  --navy-700: #1b3a5b;
  --navy-600: #274d72;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-bg: #e6fbf7;

  --ink: #0f2236;
  --body: #475569;
  --muted: #64748b;
  --line: #e6ebf1;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-soft2: #eef4f9;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12, 35, 64, 0.06);
  --shadow: 0 10px 30px rgba(12, 35, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(12, 35, 64, 0.14);

  --maxw: 1140px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1rem; }

a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-500); }

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

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

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy-900); color: #cdd9e6; }
.bg-navy h2, .bg-navy h3, .bg-navy h1 { color: #fff; }

.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-bg);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.bg-navy .eyebrow { background: rgba(45,212,191,0.14); color: var(--teal-400); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal-600);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13,148,136,0.28);
}
.btn-primary:hover { background: var(--teal-500); color:#fff; transform: translateY(-2px); }
.btn-secondary {
  background: #fff;
  color: var(--navy-800);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--teal-400); color: var(--navy-800); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color:#fff; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--navy-700);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--teal-600); }
.nav-links a.active { color: var(--teal-600); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.5rem; color: var(--navy-800); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 78% -8%, rgba(45,212,191,0.16), transparent 60%),
    radial-gradient(900px 420px at 0% 8%, rgba(39,77,114,0.10), transparent 55%),
    var(--bg-soft);
  overflow: hidden;
  padding: 84px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 span { color: var(--teal-600); }
.hero .lead { font-size: 1.22rem; color: #41566b; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero-note { font-size: 0.88rem; color: var(--muted); display:flex; align-items:center; gap:8px;}
.hero-note svg { color: var(--teal-600); }

/* trust row */
.trust {
  display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center;
  margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line);
}
.trust .stat strong { display:block; font-size: 1.7rem; color: var(--navy-800); font-weight: 800; letter-spacing:-0.02em;}
.trust .stat span { font-size: 0.85rem; color: var(--muted); }

/* ---------- App mockup ---------- */
.mock {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; background: var(--bg-soft2); border-bottom: 1px solid var(--line);
}
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #cfd9e3; display:block;}
.mock-bar i:nth-child(1){ background:#ff5f57;} .mock-bar i:nth-child(2){ background:#febc2e;} .mock-bar i:nth-child(3){ background:#28c840;}
.mock-bar span { margin-left: 10px; font-size: 0.75rem; color: var(--muted); }
.mock-body { padding: 20px; }
.mock-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 16px;}
.mock-head h4 { margin:0; font-size: 1rem; }
.mock-head .pill { font-size:0.7rem; font-weight:700; color: var(--teal-600); background: var(--teal-bg); padding: 4px 10px; border-radius:999px;}

.timeline-item {
  display:flex; align-items:center; gap: 14px;
  padding: 12px 14px; border:1px solid var(--line); border-radius: 12px; margin-bottom: 10px;
  background:#fff;
}
.timeline-item .dot { width: 12px; height: 12px; border-radius:50%; flex:0 0 auto; }
.dot.done { background: var(--teal-500); }
.dot.due { background: #f59e0b; }
.dot.up { background: #cbd5e1; }
.timeline-item .ti-main { flex:1; min-width:0; }
.timeline-item .ti-main b { display:block; font-size:0.9rem; color: var(--ink); font-weight:600;}
.timeline-item .ti-main small { color: var(--muted); font-size: 0.78rem;}
.timeline-item .ti-date { font-size:0.8rem; font-weight:700; color: var(--navy-700);}
.ti-badge { font-size:0.66rem; font-weight:700; padding:3px 8px; border-radius:999px; }
.ti-badge.sent { background:#ecfdf5; color:#059669;}
.ti-badge.draft { background:#fff7ed; color:#c2410c;}

/* ---------- Cards / features ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7e6ee; }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: var(--teal-bg); color: var(--teal-600); margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.96rem; }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align:center; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin:0;}

/* ---------- Feature split rows ---------- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; }
.split + .split { margin-top: 80px; }
.split.rev .split-text { order: 2; }
.split-text .eyebrow { margin-bottom: 14px;}
.split-text h2 { font-size: 2rem; }
.feature-list { list-style: none; padding: 0; margin: 18px 0 0; }
.feature-list li { display:flex; gap: 12px; align-items:flex-start; margin-bottom: 12px; color: var(--body);}
.feature-list li svg { flex:0 0 auto; color: var(--teal-600); margin-top: 3px;}

.visual {
  background: #fff; border:1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 22px;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display:grid; gap: 26px; }
.steps.grid-4 { grid-template-columns: repeat(4,1fr); }
.step {
  position: relative; background:#fff; border:1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow-sm);
}
.step .num {
  width: 44px; height:44px; border-radius: 12px; background: var(--navy-800); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1.1rem; margin-bottom:16px;
}
.step h3 { margin-bottom:8px; font-size:1.1rem; }
.step p { margin:0; font-size:0.93rem; }

/* ---------- Pricing ---------- */
.price-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; align-items: stretch; }
.plan {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; display:flex; flex-direction:column; box-shadow: var(--shadow-sm);
}
.plan.featured {
  border: 2px solid var(--teal-500); box-shadow: var(--shadow-lg); position: relative;
}
.plan.featured::before {
  content: "Most popular"; position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background: var(--teal-600); color:#fff; font-size:0.72rem; font-weight:700; letter-spacing:.04em;
  padding: 5px 16px; border-radius:999px;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 4px;}
.plan .desc { font-size: 0.9rem; color: var(--muted); min-height: 42px; margin-bottom: 14px;}
.plan .price { font-size: 2.8rem; font-weight: 800; color: var(--ink); letter-spacing:-0.03em; line-height:1;}
.plan .price small { font-size: 0.95rem; font-weight:600; color: var(--muted); letter-spacing:0;}
.plan .price-sub { font-size:0.82rem; color: var(--muted); margin: 6px 0 22px;}
.plan .btn { width: 100%; justify-content:center; margin-bottom: 24px;}
.plan ul { list-style:none; padding:0; margin:0; }
.plan ul li { display:flex; gap:10px; align-items:flex-start; padding: 9px 0; font-size:0.92rem; color: var(--body); border-top:1px solid var(--line);}
.plan ul li:first-child { border-top:0; }
.plan ul li svg { flex:0 0 auto; color: var(--teal-600); margin-top:3px;}
.plan ul li.off { color: var(--muted); }
.plan ul li.off svg { color: #cbd5e1; }

/* ---------- Comparison table ---------- */
.cmp { width:100%; border-collapse: collapse; background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; }
.cmp th, .cmp td { padding: 16px 20px; text-align:left; border-bottom:1px solid var(--line); font-size:0.93rem;}
.cmp thead th { background: var(--bg-soft2); color: var(--navy-800); font-weight:700; }
.cmp td.c { text-align:center; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp svg.yes { color: var(--teal-600); }
.cmp .no { color:#cbd5e1; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary {
  cursor:pointer; font-weight:600; color: var(--ink); padding: 14px 0; list-style:none;
  display:flex; justify-content:space-between; align-items:center;
}
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-size:1.4rem; color: var(--teal-600); font-weight:400;}
.faq details[open] summary::after { content:"\2013"; }
.faq details p { padding: 0 0 16px; margin:0; color: var(--body); font-size:0.95rem;}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 320px at 85% 0%, rgba(45,212,191,0.22), transparent 60%),
    var(--navy-900);
  border-radius: 26px;
  padding: 60px 48px;
  text-align:center;
  color:#cdd9e6;
}
.cta-band h2 { color:#fff; margin-bottom: 10px;}
.cta-band p { color:#aebfd1; max-width: 540px; margin: 0 auto 26px;}
.cta-band .hero-cta { justify-content:center; }

/* ---------- Logos / testimonial ---------- */
.quote {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-sm); max-width: 820px; margin: 0 auto; text-align:center;
}
.quote p { font-size: 1.3rem; color: var(--ink); font-weight: 600; line-height:1.5; letter-spacing:-0.01em;}
.quote .who { display:flex; align-items:center; justify-content:center; gap:12px; margin-top: 18px;}
.quote .who .av { width:44px; height:44px; border-radius:50%; background: var(--navy-700); color:#fff; display:flex;align-items:center;justify-content:center; font-weight:700;}
.quote .who b { color: var(--ink); display:block; font-size:0.95rem;}
.quote .who span { color: var(--muted); font-size:0.85rem;}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .split, .split.rev .split-text { grid-template-columns: 1fr; }
  .split.rev .split-text { order: 0; }
  .grid-3, .grid-4, .price-grid, .steps.grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 72px; left:0; right:0; background:#fff;
    padding: 16px 24px 24px; border-bottom:1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 10px 0; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .price-grid, .steps.grid-4, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cta-band { padding: 44px 24px; }
  .trust { gap: 20px 28px; }
}
