:root {
  --primary:      #0891b2;
  --primary-dark: #0e7490;
  --primary-50:   #ecfeff;
  --primary-100:  #cffafe;
  --ink:          #0f3a48;
  --muted:        #64748b;
  --line:         #e5e7eb;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: var(--primary); }

/* === Top nav === */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(4px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.site-nav .brand { display:flex; align-items:center; gap:8px; color: var(--ink); }
.brand-mark { width:36px; height:36px; background:linear-gradient(135deg, var(--primary), var(--primary-dark)); color:#fff; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; font-size:1.1rem; }
.brand-mark.sm { width:28px; height:28px; font-size:.95rem; }
.primary-nav { display:flex; align-items:center; gap:6px; }
.primary-nav a { padding: 8px 14px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.primary-nav a:hover { background: var(--primary-50); color: var(--primary-dark); }
.primary-nav a.active { color: var(--primary-dark); background: var(--primary-50); }
.primary-nav .nav-cta-secondary { color: var(--ink); }
.primary-nav .nav-cta-primary {
  background: var(--primary); color: #fff; padding: 9px 18px; border-radius: 8px; margin-left: 6px;
}
.primary-nav .nav-cta-primary:hover { background: var(--primary-dark); color: #fff; }

@media (max-width: 767.98px) {
  .primary-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 14px; border-radius: 0; }
  .primary-nav .nav-cta-primary { margin: 8px 8px 0; text-align:center; }
}

/* === Hero === */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 90px 20px 110px; text-align: center;
}
.hero h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.1; margin: 16px 0 18px; }
.hero p.lead { font-size: 1.15rem; opacity: .92; max-width: 620px; margin: 0 auto 26px; }
.hero .btn-cta {
  background: #fff; color: var(--primary-dark);
  padding: 14px 32px; border-radius: 10px; font-weight: 700; font-size: 1.05rem;
  display: inline-block; transition: transform .15s;
}
.hero .btn-cta:hover { transform: translateY(-1px); color: var(--primary-dark); }
.hero .sub-cta { display: block; margin-top: 14px; font-size: .9rem; opacity: .85; }

/* === Sections === */
.section { padding: 70px 20px; }
.section.alt { background: #f1f5f9; }
.section h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; text-align: center; }
.section .lead-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 40px; }

/* === Feature cards === */
.feature-card {
  padding: 26px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); height: 100%;
  transition: border-color .15s, transform .15s;
}
.feature-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.feature-card .icon {
  width: 48px; height: 48px; background: var(--primary-100); color: var(--primary-dark);
  border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 14px;
}
.feature-card h5 { margin-bottom: 8px; font-weight: 700; }
.feature-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* === Price cards === */
.price-card {
  border: 2px solid var(--line); border-radius: 14px; padding: 32px;
  background: #fff; height: 100%;
}
.price-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--primary-100) 0%, #fff 80%);
  position: relative;
}
.price-card .price { font-size: 3rem; font-weight: 800; color: var(--ink); }
.price-card .price small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.price-card ul { padding-left: 18px; }
.price-card ul li { margin-bottom: 6px; }
.price-card .btn-buy {
  display: block; text-align: center; padding: 13px 18px; border-radius: 10px;
  background: var(--primary); color: #fff; font-weight: 600; margin-top: 20px;
}
.price-card .btn-buy:hover { background: var(--primary-dark); color: #fff; }
.price-card .btn-buy.outline { background: #fff; color: var(--primary-dark); border: 2px solid var(--primary); }
.price-card .badge-flag {
  position: absolute; top: 18px; right: 18px;
  background: var(--primary); color: #fff;
  padding: 3px 10px; border-radius: 99px; font-size: .7rem; font-weight: 600;
}

/* === FAQ accordion === */
.faq-item {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--muted); transition: transform .15s; }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--primary); }
.faq-item p { color: var(--muted); margin: 12px 0 0; }

/* === Legal pages === */
.legal-page { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.legal-page h1 { font-size: 2.2rem; margin-bottom: 8px; }
.legal-page .effective { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.legal-page h2 { font-size: 1.4rem; margin-top: 32px; color: var(--primary-dark); }
.legal-page h3 { font-size: 1.1rem; margin-top: 22px; }
.legal-page p, .legal-page li { color: #1f2937; }
.legal-notice {
  background: #fef3c7; border-left: 4px solid #f59e0b;
  padding: 14px 16px; border-radius: 6px; margin: 22px 0;
  font-size: .92rem;
}

/* === Footer === */
.site-foot {
  background: var(--ink); color: #cbd5e1; padding: 50px 20px 24px; margin-top: 0;
}
.site-foot .foot-heading {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .8px;
  color: #94a3b8; margin-bottom: 10px; font-weight: 600;
}
.site-foot a { display: block; color: #cbd5e1; padding: 4px 0; font-size: .92rem; }
.site-foot a:hover { color: #fff; }
.site-foot .brand-mark { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.site-foot strong { color: #fff; }
.med-disclaimer {
  background: rgba(255,255,255,.05); border-radius: 8px;
  padding: 14px 18px; font-size: .82rem !important;
  color: #94a3b8 !important; line-height: 1.6;
}
.med-disclaimer strong { color: #f1f5f9; }

/* === Page intro hero (smaller than home hero) === */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 60px 20px; text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 700; margin: 0 0 8px; }
.page-hero p { opacity: .92; max-width: 600px; margin: 0 auto; }

/* === Big screenshot mock === */
.screenshot-mock {
  background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.18);
  padding: 18px; max-width: 720px; margin: 30px auto;
}
.screenshot-mock .row-fake { display:flex; gap:14px; margin-bottom: 14px; }
.screenshot-mock .stat-fake { flex:1; padding:12px; background: var(--primary-50); border-radius:8px; }
.screenshot-mock .stat-fake .label { font-size:.7rem; color: var(--muted); text-transform: uppercase; }
.screenshot-mock .stat-fake .value { font-size:1.4rem; font-weight: 700; color: var(--ink); }
.screenshot-mock .chart-fake { height: 150px; background:linear-gradient(180deg, var(--primary-100), #fff); border-radius:8px; position: relative; overflow: hidden; }
.screenshot-mock .chart-fake::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 30%;
  height: 2px; background: var(--primary);
  box-shadow: 0 30px 0 -1px #dc2626;
}

/* fade-in on scroll */
.fade-in { opacity: 0; transform: translateY(14px); transition: all .55s ease; }
.fade-in.visible { opacity: 1; transform: none; }
