:root {
  --ink: #101828;
  --muted: #667085;
  --line: #e6e9ef;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --brand: #635bff;
  --brand-dark: #4038d8;
  --mint: #24c6a4;
  --amber: #ffb020;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.1);
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

button, input, textarea, select { font: inherit; }

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 233, 239, 0.82);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.22rem;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--mint));
  box-shadow: 0 14px 34px rgba(99, 91, 255, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 750;
  font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--ink);
  background: var(--soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 16px 40px rgba(99, 91, 255, 0.28);
}

.btn-primary:hover { background: var(--brand-dark); }

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 64px;
  background:
    radial-gradient(circle at top left, rgba(99, 91, 255, 0.18), transparent 32%),
    radial-gradient(circle at 90% 12%, rgba(36, 198, 164, 0.18), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #3b35b0;
  background: rgba(99, 91, 255, 0.1);
  font-weight: 850;
  font-size: 0.9rem;
}

h1, h2, h3 { line-height: 1.05; letter-spacing: -0.055em; margin: 0; }

h1 { margin-top: 22px; font-size: clamp(3rem, 8vw, 5.95rem); max-width: 820px; }

h2 { font-size: clamp(2.15rem, 5vw, 4.1rem); }

h3 { font-size: 1.45rem; }

.lede {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.19rem;
  max-width: 700px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: var(--muted);
  font-weight: 750;
}

.trust-row span { display: inline-flex; align-items: center; gap: 8px; }

.dashboard-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.dashboard-top {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.dots { display: flex; gap: 7px; }

.dots span { width: 11px; height: 11px; border-radius: 99px; background: #d0d5dd; }

.dashboard-body { padding: 18px; }

.editor-preview {
  display: grid;
  grid-template-columns: 0.64fr 1fr;
  gap: 14px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  background: var(--soft);
}

.panel-line {
  height: 10px;
  border-radius: 99px;
  background: #d7dce7;
  margin-bottom: 10px;
}

.panel-line.short { width: 60%; }

.preview {
  min-height: 390px;
  border-radius: 24px;
  overflow: hidden;
  background: #111827;
  color: #fff;
  position: relative;
}

.preview img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  opacity: 0.72;
}

.preview-content { padding: 20px; }

.preview-content h3 { color: #fff; font-size: 1.8rem; }

.preview-content p { color: rgba(255,255,255,.72); margin: 10px 0 18px; }

.floating-stat {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(260px, calc(100% - 48px));
  padding: 16px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.14);
}

.stat-value { font-size: 2rem; font-weight: 950; letter-spacing: -0.06em; }

.section { padding: 86px 0; }

.section-soft { background: var(--soft); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p { max-width: 560px; color: var(--muted); margin: 0; font-size: 1.05rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 34px rgba(16, 24, 40, 0.045);
}

.card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  background: rgba(99, 91, 255, 0.1);
  color: var(--brand);
  font-size: 1.55rem;
}

.card p { color: var(--muted); margin-bottom: 0; }

.feature-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-band img { width: 100%; height: 440px; object-fit: cover; border-radius: 26px; }

.check-list { display: grid; gap: 13px; margin: 26px 0; padding: 0; list-style: none; }

.check-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--muted); }

.check-list i { color: var(--mint); font-size: 1.25rem; margin-top: 2px; }

.template-card { overflow: hidden; padding: 0; }

.template-card img { height: 240px; width: 100%; object-fit: cover; }

.template-card .template-body { padding: 24px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.tag { padding: 7px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-weight: 750; font-size: 0.82rem; }

.pricing-toggle {
  display: inline-flex;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.pricing-toggle button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.pricing-toggle button.active { color: #fff; background: var(--brand); }

.price-card { position: relative; }

.price-card.featured { border-color: rgba(99, 91, 255, 0.5); box-shadow: var(--shadow); transform: translateY(-10px); }

.badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #3b35b0;
  background: rgba(99, 91, 255, 0.1);
  font-weight: 850;
  font-size: 0.82rem;
}

.price { margin: 22px 0; font-size: 3.2rem; line-height: 1; font-weight: 950; letter-spacing: -0.06em; }

.price span { font-size: 1rem; color: var(--muted); font-weight: 750; letter-spacing: normal; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: var(--muted);
}

.faq-item.open .faq-answer { display: block; }

.page-hero {
  padding: 72px 0;
  background: linear-gradient(180deg, #fbfcff 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero .lede { max-width: 760px; }

.legal {
  max-width: 820px;
  padding: 72px 0;
}

.legal h2 { font-size: 2rem; margin: 34px 0 12px; }

.legal p, .legal li { color: var(--muted); }

.cta {
  margin: 88px auto;
  padding: 48px;
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.25), transparent 28%),
    linear-gradient(135deg, #211d8f, #635bff 48%, #24c6a4);
  overflow: hidden;
}

.cta p { max-width: 650px; color: rgba(255,255,255,.8); }

.footer {
  padding: 56px 0 26px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.footer p, .footer a { color: var(--muted); }

.footer a:hover { color: var(--ink); }

.footer-links { display: grid; gap: 10px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 32px));
  z-index: 80;
  display: none;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.cookie-banner.show { display: flex; }

.cookie-banner p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

@media (max-width: 960px) {
  .hero-grid, .feature-band, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-actions { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .topbar.open .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: grid;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .section-head { display: block; }
  .section-head p { margin-top: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero { padding: 56px 0 42px; }
  .section { padding: 58px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .editor-preview { grid-template-columns: 1fr; }
  .panel { display: none; }
  .feature-band, .cta { padding: 24px; border-radius: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner { align-items: stretch; flex-direction: column; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}
