/* ── Reset & base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:      #5b6cff;
  --accent-dark: #4555e8;
  --accent2:     #a855f7;
  --ink:         #0a0d18;
  --ink-2:       rgba(10,13,24,.60);
  --ink-3:       rgba(10,13,24,.38);
  --surface:     #ffffff;
  --border:      rgba(10,13,24,.09);
  --border-soft: rgba(10,13,24,.055);
  --green:       #16a34a;
  --ff-orange:   #e66000;
  --edge-teal:   #0078d4;
  --shadow-sm:   0 2px 8px rgba(10,13,24,.06);
  --shadow-md:   0 8px 32px rgba(10,13,24,.10);
  --shadow-lg:   0 20px 60px rgba(10,13,24,.13);
  --radius:      12px;
  --radius-sm:   8px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: #f4f6ff;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

/* ── Mesh background ───────────────────────────────────────────────────────── */
.mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%,   rgba(199,210,254,.55) 0%, transparent 70%),
    radial-gradient(ellipse 55% 45% at 100% 5%,  rgba(251,207,232,.45) 0%, transparent 65%),
    radial-gradient(ellipse 60% 55% at 95% 100%, rgba(165,243,252,.35) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 5% 100%,  rgba(253,230,138,.30) 0%, transparent 65%),
    #f4f6ff;
}

/* ── Layout shell ──────────────────────────────────────────────────────────── */
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  height: 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: background .15s, box-shadow .15s, transform .12s;
  white-space: nowrap;
}
.btn:hover { background: #fff; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-chrome {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px -4px rgba(91,108,255,.45);
}
.btn-chrome:hover { background: linear-gradient(135deg, var(--accent-dark), #9333ea); box-shadow: 0 12px 32px -4px rgba(91,108,255,.50); }

.btn-ff {
  border-color: rgba(230,96,0,.25);
  background: rgba(255,248,240,.85);
  color: #c24e00;
}
.btn-ff:hover { background: rgba(255,243,230,.95); }

.btn-edge {
  border-color: rgba(0,120,212,.22);
  background: rgba(240,247,255,.85);
  color: #005a9e;
}
.btn-edge:hover { background: rgba(230,242,255,.95); }

/* ── Browser icons ─────────────────────────────────────────────────────────── */
.browser-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Topnav ────────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,246,255,.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px -4px rgba(91,108,255,.5);
  flex-shrink: 0;
}

.brand-icon svg { width: 22px; height: 22px; color: #fff; }

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(91,108,255,.22);
  border-radius: 999px;
  background: rgba(91,108,255,.08);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--ink);
}

h1 .grad {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-2);
  max-width: 520px;
  line-height: 1.6;
}

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

/* ── Hero visual ───────────────────────────────────────────────────────────── */
.hero-visual { position: relative; }

/* ── Carousel ──────────────────────────────────────────────────────────────── */
.carousel-outer {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  aspect-ratio: 16 / 10;
  background: #e8eaf6;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  background: rgba(10,13,24,.72);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,255,255,.15);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: rgba(10,13,24,.18);
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
  flex-shrink: 0;
}
.dot.active { background: var(--accent); transform: scale(1.3); }

/* ── Trust bar ─────────────────────────────────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(12px);
}

.trust-inner {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}

.trust-item:not(:last-child) {
  border-right: 1px solid var(--border);
}

.trust-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Sections ──────────────────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section.alt { background: rgba(255,255,255,.52); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-2);
  max-width: 560px;
  line-height: 1.65;
}

.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-lead { margin: 0 auto; }

/* ── Feature grid ──────────────────────────────────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feat-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(91,108,255,.12), rgba(168,85,247,.10));
  border: 1px solid rgba(91,108,255,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feat-icon svg { width: 22px; height: 22px; color: var(--accent); }

.feat-card h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ── Tag list (editor tools, export formats) ───────────────────────────────── */
.tag-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.tag-group {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.tag-group-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag-group-title svg { width: 16px; height: 16px; color: var(--accent); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(91,108,255,.06);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}

/* ── Two-col layout ────────────────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ── Privacy panel ─────────────────────────────────────────────────────────── */
.privacy-panel {
  padding: 52px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.privacy-copy h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.privacy-copy p {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.65;
}

.privacy-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.privacy-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(91,108,255,.04);
}

.privacy-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.privacy-check svg { width: 12px; height: 12px; color: #fff; }

.privacy-item-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 2px;
}
.privacy-item-text span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

/* ── CTA band ──────────────────────────────────────────────────────────────── */
.cta-band {
  padding: 88px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.cta-band p {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
}

.footer-inner {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-2);
}

.footer-brand-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-brand-icon svg { width: 14px; height: 14px; color: #fff; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .15s;
}
.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
}

/* ── Privacy page ──────────────────────────────────────────────────────────── */
.privacy-page {
  padding: 64px 0 88px;
}

.privacy-doc {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 52px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.privacy-doc .privacy-page-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 8px;
}

.privacy-doc .privacy-meta {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.privacy-doc h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 36px 0 10px;
  color: var(--ink);
}

.privacy-doc p {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 14px;
}

.privacy-doc ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.privacy-doc li {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 6px;
}

.privacy-doc strong { color: var(--ink); }

.privacy-doc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.privacy-doc a:hover { color: var(--accent-dark); }

@media (max-width: 680px) {
  .privacy-doc { padding: 28px 22px; }
  .privacy-page { padding: 40px 0 64px; }
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 64px 0 72px;
    gap: 40px;
  }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-panel { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .tag-section { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  .nav { height: auto; padding: 14px 0; }
  h1 { font-size: 36px; }
  .lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .feat-grid { grid-template-columns: 1fr; }
  .trust-inner { flex-direction: column; gap: 4px; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); width: 100%; justify-content: center; }
  .trust-item:last-child { border-bottom: none; }
  .section { padding: 60px 0; }
  .privacy-panel { padding: 24px; }
  .tag-section { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-copy { text-align: center; }
}
