@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1a56db;
  --primary-h: #1648c0;
  --primary-bg: #eff6ff;
  --primary-bd: #bfdbfe;
  --text: #111928;
  --text-2: #374151;
  --text-3: #6b7280;
  --text-4: #9ca3af;
  --border: #e5e7eb;
  --surface: #f9fafb;
  --bg: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #fff; color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: 15px; }

/* ── Navigation ────────────────────────────────────── */
nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 0 32px; height: 60px; display: flex; align-items: center; gap: 8px; }
.nav-logo { font-size: 17px; font-weight: 700; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; margin-right: 12px; }
.nav-logo-mark { width: 28px; height: 28px; background: var(--primary); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logo-mark svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.2; }
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-links a { color: var(--text-3); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 7px; transition: all .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }
.nav-cta { display: flex; gap: 8px; align-items: center; }

/* ── Buttons ────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent; text-decoration: none; font-family: inherit; transition: all .15s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-h); box-shadow: 0 2px 8px rgba(26,86,219,.25); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover { border-color: #9ca3af; background: var(--surface); }
.btn-lg { padding: 12px 28px; font-size: 15px; border-radius: 11px; }
.btn-xl { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.btn-white { background: #fff; color: var(--text); border-color: #fff; }
.btn-white:hover { background: #f3f4f6; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-white:hover { border-color: rgba(255,255,255,.7); }

/* ── Layout ─────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.sec { padding: 88px 0; }
.sec-alt { background: var(--surface); }
.sec-label { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.sec-title { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.5px; line-height: 1.1; margin-bottom: 14px; }
.sec-sub { font-size: 16px; color: var(--text-3); max-width: 500px; line-height: 1.7; }
.sec-header { margin-bottom: 52px; }
.sec-header.center { text-align: center; }
.sec-header.center .sec-sub { margin: 0 auto; }

/* ── Hero ───────────────────────────────────────────── */
.hero { padding: 80px 0 72px; text-align: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 7px; background: var(--primary-bg); border: 1px solid var(--primary-bd); border-radius: 20px; padding: 5px 14px; font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 22px; }
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.3} }
h1.hero-title { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -.8px; line-height: 1.08; margin-bottom: 18px; }
.text-blue { color: var(--primary); }
.hero-sub { font-size: clamp(15px, 1.8vw, 18px); color: var(--text-3); max-width: 500px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.hs-num { font-size: 28px; font-weight: 800; color: var(--primary); letter-spacing: -.5px; }
.hs-label { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* ── Page hero ──────────────────────────────────────── */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 56px 0 52px; }
.page-hero h1 { font-size: clamp(26px, 3.5vw, 42px); font-weight: 800; letter-spacing: -.5px; }
.page-hero p { font-size: 16px; color: var(--text-3); margin-top: 10px; max-width: 540px; }

/* ── Feature grid ───────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.feat-cell { background: #fff; padding: 28px 24px; transition: background .15s; }
.feat-cell:hover { background: #fafafa; }
.feat-icon { width: 38px; height: 38px; background: var(--primary-bg); border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feat-icon svg { width: 18px; height: 18px; }
.feat-title { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.feat-desc { font-size: 13.5px; color: var(--text-3); line-height: 1.7; }

/* ── Steps ──────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding-left: 50px; counter-increment: step; }
.step::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.step-title { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.step-desc { font-size: 13.5px; color: var(--text-3); line-height: 1.7; }

/* ── Pricing ────────────────────────────────────────── */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 40px; font-size: 14px; font-weight: 500; }
.toggle-label { color: var(--text-3); transition: color .2s; }
.toggle-label.active { color: var(--text); font-weight: 600; }
.toggle-switch { width: 48px; height: 26px; background: var(--primary); border-radius: 13px; cursor: pointer; position: relative; transition: background .2s; border: none; flex-shrink: 0; }
.toggle-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .2s; }
.toggle-switch.annual::after { transform: translateX(22px); }
.save-badge { background: #dcfce7; color: #16a34a; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; margin-left: 4px; }

.price-card { border: 1px solid var(--border); border-radius: 16px; padding: 36px; background: #fff; max-width: 480px; margin: 0 auto; box-shadow: var(--shadow-md); }
.price-name { font-size: 12px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.price-display { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.price-amount { font-size: 56px; font-weight: 800; letter-spacing: -2px; color: var(--text); line-height: 1; }
.price-period { font-size: 16px; color: var(--text-3); }
.price-note { font-size: 13px; color: var(--text-3); margin-bottom: 28px; min-height: 20px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.price-features li { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.price-features li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.price-cta { width: 100%; padding: 14px; font-size: 15px; justify-content: center; }

.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 800px; margin: 28px auto 0; }
.trust-item { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.trust-item div { }
.trust-item div:first-child { font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.trust-item div:last-child { font-size: 12px; color: var(--text-3); }

/* ── Testimonials ───────────────────────────────────── */
.test-stars { display: flex; gap: 2px; margin-bottom: 12px; }
.test-stars svg { width: 14px; height: 14px; fill: #f59e0b; }
.test-text { font-size: 14px; line-height: 1.75; color: var(--text-2); margin-bottom: 18px; }
.test-author { display: flex; align-items: center; gap: 10px; }
.test-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-bg); border: 1px solid var(--primary-bd); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--primary); flex-shrink: 0; }
.test-name { font-size: 13px; font-weight: 700; }
.test-role { font-size: 12px; color: var(--text-3); }

/* ── Reviews carousel ───────────────────────────────── */
.reviews-carousel { max-width: 860px; margin: 0 auto; }
.reviews-track-wrap { overflow: hidden; border-radius: 14px; }
.reviews-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.review-card { min-width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.reviews-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.rev-btn { background: #fff; border: 1px solid var(--border); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: all .15s; color: var(--text-2); }
.rev-btn:hover { border-color: var(--primary); color: var(--primary); }
.rev-dots { display: flex; gap: 6px; align-items: center; }
.rev-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; padding: 0; transition: all .2s; }
.rev-dot.active { background: var(--primary); width: 20px; border-radius: 4px; }

/* ── CTA block ──────────────────────────────────────── */
.cta-box { background: var(--text); border-radius: 16px; padding: 64px 40px; text-align: center; }
.cta-box h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -.3px; }
.cta-box p { font-size: 16px; color: #9ca3af; max-width: 440px; margin: 0 auto 28px; }

/* ── Blog ───────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-img { height: 140px; display: flex; align-items: center; justify-content: center; }
.blog-body { padding: 20px; flex: 1; }
.blog-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.blog-title { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; color: var(--text); }
.blog-excerpt { font-size: 13px; color: var(--text-3); line-height: 1.65; }
.blog-meta { padding: 14px 20px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-4); }

/* ── FAQ ────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-size: 15px; font-weight: 600; gap: 16px; user-select: none; }
.faq-q svg { width: 18px; height: 18px; stroke: var(--text-4); flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); stroke: var(--primary); }
.faq-item.open .faq-q { color: var(--primary); }
.faq-a { font-size: 14px; color: var(--text-3); line-height: 1.75; padding-bottom: 20px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── About ──────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -.4px; margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--text-3); line-height: 1.8; margin-bottom: 14px; }
.about-illustration { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.ill-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; box-shadow: var(--shadow); margin-bottom: 12px; }
.ill-card:last-child { margin-bottom: 0; }
.ill-header { height: 6px; background: var(--primary-bd); border-radius: 3px; margin-bottom: 10px; width: 55%; }
.ill-row { height: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 3px; margin-bottom: 6px; }
.ill-row:last-child { margin-bottom: 0; }
.ill-row.short { width: 65%; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.value-num { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.value-label { font-size: 13px; color: var(--text-3); }

/* ── Footer ─────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 52px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: var(--text); margin-bottom: 10px; }
.footer-copy { font-size: 13px; color: var(--text-4); line-height: 1.7; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-3); text-decoration: none; margin-bottom: 9px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-4); flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: var(--text-4); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }

/* ── Forms ──────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.form-input { width: 100%; padding: 10px 13px; background: #fff; border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 14px; font-family: inherit; outline: none; transition: all .15s; }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-bg); }
.form-input::placeholder { color: var(--text-4); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── Scroll animations ──────────────────────────────── */
.animate { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.animate.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .trust-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .feat-grid, .blog-grid, .steps, .value-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .sec { padding: 60px 0; }
}
@media (max-width: 640px) {
  .trust-row { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
}
