:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --brand: #4f46e5;
  --brand-2: #06b6d4;
  --green: #10b981;
  --red: #ef4444;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(2, 6, 23, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,250,252,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #fff; font-weight: 900;
}
.nav { display: flex; gap: 28px; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--brand); }
.nav-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff !important; padding: 9px 18px; border-radius: 10px; font-weight: 600;
}

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 20% 20%, rgba(79,70,229,0.12), transparent),
    radial-gradient(600px 300px at 80% 30%, rgba(6,182,212,0.12), transparent);
  pointer-events: none;
}
.hero h1 { font-size: 52px; line-height: 1.15; font-weight: 800; letter-spacing: -1px; max-width: 860px; margin: 0 auto 20px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 20px; color: var(--muted); max-width: 720px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 12px; font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 24px rgba(79,70,229,0.3); }
.btn-outline { border: 1px solid var(--border); background: var(--card); }
.hero-shot {
  margin: 56px auto 0; max-width: 920px; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; background: var(--card);
}
.hero-shot .bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.hero-shot .bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.hero-shot .bar i:nth-child(1){ background:#f87171; } .hero-shot .bar i:nth-child(2){ background:#fbbf24; } .hero-shot .bar i:nth-child(3){ background:#34d399; }
.hero-shot .body { padding: 24px; text-align: left; }
.mock-msg { background: #f1f5f9; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.mock-msg.ai { background: #eef2ff; color: var(--brand); border: 1px solid #c7d2fe; }

/* Sections */
section { padding: 72px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.section-title p { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 auto; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 4px 16px rgba(2,6,23,0.04); transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; background: #eef2ff; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Automation modes */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mode { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; }
.mode .tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.tag-manual { background: #fef3c7; color: #92400e; }
.tag-draft { background: #dbeafe; color: #1e40af; }
.tag-auto { background: #d1fae5; color: #065f46; }
.mode h3 { font-size: 18px; margin-bottom: 8px; }
.mode p { color: var(--muted); font-size: 15px; }

/* CTA */
.cta {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  border-radius: 24px; padding: 64px 40px; text-align: center; color: #fff;
}
.cta h2 { font-size: 34px; margin-bottom: 14px; }
.cta p { opacity: 0.9; margin-bottom: 28px; font-size: 17px; }
.cta .btn { background: #fff; color: var(--brand); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0 60px; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer .links { display: flex; gap: 20px; }
.footer a:hover { color: var(--brand); }
.footer .company { margin-bottom: 22px; line-height: 1.8; }
.footer .company .name { font-weight: 700; color: var(--text); font-size: 15px; }
.footer .company a { color: var(--brand); }

/* Page hero */
.page-hero { padding: 72px 0 32px; text-align: center; }
.page-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 700px; margin: 0 auto; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.price-card.highlight { border: 2px solid var(--brand); box-shadow: 0 12px 40px rgba(79,70,229,0.15); position: relative; }
.price-card .popular { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-card .amount { font-size: 42px; font-weight: 800; margin: 8px 0; }
.price-card .amount span { font-size: 15px; color: var(--muted); font-weight: 400; }
.price-card ul { list-style: none; margin: 20px 0 28px; color: var(--muted); font-size: 14px; flex: 1; }
.price-card ul li { padding: 7px 0 7px 26px; position: relative; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.price-card .btn { text-align: center; }

/* Forms */
.form-card { max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.form-card label { display: block; font-weight: 600; margin: 16px 0 6px; }
.form-card input, .form-card textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px; font: inherit;
}
.form-card button { margin-top: 22px; width: 100%; }

/* Legal */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 24px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }

@media (max-width: 860px) {
  .grid, .modes, .pricing { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .nav { display: none; }
  .section-title h2 { font-size: 28px; }
}
