:root {
  --bg: #ffffff;
  --soft: #f6f7fb;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e5e7ef;
  --brand: #4f46e5;
  --brand2: #06b6d4;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; text-align: center; }
.sub { text-align: center; color: var(--muted); margin: 8px 0 44px; font-size: 18px; }

.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 30px; padding: 16px 6vw; background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; }
.mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand2)); }
.links { display: flex; gap: 26px; flex: 1; color: var(--muted); font-size: 15px; }
.links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.link-muted { color: var(--muted); font-size: 15px; }
.burger { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; background: var(--brand); color: #fff; border: 0; border-radius: 10px; font-weight: 600; cursor: pointer; font: inherit; font-weight: 600; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(79, 70, 229, .3); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-line { background: #fff; color: var(--text); border: 1px solid var(--line); }
.btn-line:hover { box-shadow: 0 6px 18px rgba(15, 23, 42, .08); }
.btn-white { background: #fff; color: var(--brand); }

.hero { text-align: center; padding: 90px 6vw 40px; background: radial-gradient(60% 50% at 50% 0%, #eef2ff 0%, transparent 70%); }
.pill { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #eef2ff; color: var(--brand); font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(40px, 6.5vw, 78px); line-height: 1.04; letter-spacing: -.045em; margin: 22px auto 18px; max-width: 900px; }
.grad { background: linear-gradient(90deg, var(--brand), var(--brand2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero > p { color: var(--muted); font-size: 19px; max-width: 620px; margin: 0 auto 30px; }
.hero-form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; }
.hero-form input { flex: 1; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.hero-form input:focus { outline: 2px solid #c7d2fe; border-color: var(--brand); }
.hint { display: block; margin-top: 12px; color: var(--muted); }

.mock { max-width: 980px; margin: 60px auto 0; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -20px rgba(15, 23, 42, .25); overflow: hidden; text-align: left; transform: perspective(1400px) rotateX(8deg); transition: transform .6s; }
.mock:hover { transform: none; }
.mock-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e8f0; }
.mock-body { display: grid; grid-template-columns: 180px 1fr; min-height: 300px; }
.mock-body aside { padding: 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.mock-body aside b { height: 14px; width: 70%; background: var(--text); border-radius: 4px; margin-bottom: 12px; }
.mock-body aside span { height: 10px; background: var(--line); border-radius: 4px; }
.mock-body aside span.on { background: #c7d2fe; }
.mock-main { padding: 22px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpis div { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kpis small { color: var(--muted); display: block; font-size: 12px; }
.kpis strong { font-size: 26px; letter-spacing: -.02em; }
.chart { display: flex; align-items: flex-end; gap: 12px; height: 150px; margin-top: 18px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--brand), var(--brand2)); transform-origin: bottom; animation: grow 1s cubic-bezier(.2, .8, .2, 1) both; }
.chart span:nth-child(n) { animation-delay: calc(var(--i, 0) * 1ms); }
@keyframes grow { from { transform: scaleY(0); } }

.logos { display: flex; justify-content: center; align-items: center; gap: 44px; flex-wrap: wrap; padding: 50px 6vw; color: #94a3b8; }
.logos span { font-size: 14px; }
.logos b { font-size: 22px; letter-spacing: -.02em; }

.features { padding: 90px 6vw; background: var(--soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1100px; margin: 0 auto; }
.feature-grid article { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; transition: transform .25s, box-shadow .25s; }
.feature-grid article:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 23, 42, .06); }
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #eef2ff; font-size: 20px; margin-bottom: 16px; }
.feature-grid h3 { font-size: 18px; margin-bottom: 6px; }
.feature-grid p { color: var(--muted); font-size: 15px; }

.pricing { padding: 100px 6vw; }
.billing { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 22px 0 44px; color: var(--muted); }
.billing em { font-style: normal; color: #16a34a; font-weight: 600; font-size: 13px; background: #dcfce7; padding: 2px 8px; border-radius: 999px; }
.switch { width: 50px; height: 28px; border-radius: 999px; border: 0; background: var(--line); position: relative; cursor: pointer; transition: background .2s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: left .2s; }
.switch[aria-checked="true"] { background: var(--brand); }
.switch[aria-checked="true"] i { left: 25px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1060px; margin: 0 auto; align-items: start; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.plan.popular { border: 2px solid var(--brand); box-shadow: 0 24px 50px -16px rgba(79, 70, 229, .35); transform: translateY(-10px); }
.badge { position: absolute; top: -13px; left: 30px; background: var(--brand); color: #fff; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 18px; }
.price b { font-size: 46px; letter-spacing: -.04em; }
.price small { color: var(--muted); }
.plan > p:not(.price) { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; display: grid; gap: 8px; font-size: 15px; margin-bottom: 8px; }
.plan li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 8px; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 6vw 90px; max-width: 1200px; margin: 0 auto; }
.testimonials figure { background: var(--soft); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.testimonials blockquote { font-size: 17px; }
.testimonials figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.testimonials figcaption img { width: 44px; height: 44px; border-radius: 50%; }
.testimonials figcaption b { display: block; color: var(--text); }

.faq { padding: 90px 6vw; background: var(--soft); }
.faq-list { max-width: 760px; margin: 40px auto 0; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; background: none; border: 0; font: inherit; font-weight: 600; text-align: left; cursor: pointer; color: var(--text); }
.faq-q span { font-size: 22px; color: var(--brand); transition: transform .3s; }
.faq-q[aria-expanded="true"] span { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > p { overflow: hidden; padding: 0 22px; color: var(--muted); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 20px; }

.cta { margin: 90px 6vw; padding: 70px 30px; border-radius: 24px; text-align: center; color: #fff; background: linear-gradient(120deg, var(--brand), var(--brand2)); }
.cta h2 { margin-bottom: 24px; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 30px 6vw; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .feature-grid, .plans, .testimonials { grid-template-columns: 1fr; }
  .plan.popular { transform: none; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-body aside { display: none; }
}
@media (max-width: 720px) {
  .links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .links.open { display: flex; }
  .links a { padding: 14px 6vw; }
  .burger { display: block; }
  .link-muted { display: none; }
  .hero-form { flex-direction: column; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis div:last-child { display: none; }
  .mock { transform: none; }
}
