:root {
  --bg: #101114; --surface: #181a1f; --surface-hi: #22252c; --line: #2a2d35;
  --text: #e8eaf0; --muted: #98a0b0; --accent: #4c8dff; --accent-hi: #6aa1ff; --green: #4ade80; --gold: #f5c451;
  --max: 1080px;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f7f9; --surface: #ffffff; --surface-hi: #eceef3; --line: #dde1e8;
    --text: #15171c; --muted: #5a6272; --accent: #2f6fe0; --accent-hi: #1f5bc7; --green: #17803d; --gold: #946b00;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* nav */
nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
      backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 600; font-size: 18px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.brand svg { width: 26px; height: 26px; }
nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
nav ul a { color: var(--muted); font-size: 14px; }
nav ul a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 640px) { nav ul { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; font: inherit; font-weight: 600;
       border: 1px solid transparent; cursor: pointer; text-decoration: none !important; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hi); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-hi); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 12px 0 18px; letter-spacing: -.02em; }
.lead { font-size: 18px; color: var(--muted); max-width: 52ch; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { color: var(--muted); font-size: 13px; margin-top: 14px; }

/* app mock */
.mock { background: var(--bg); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.35); padding: 26px 26px 22px;
        font-size: 13px; max-width: 440px; margin-inline: auto; width: 100%; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .mock { background: #101114; --text: #e8eaf0; --muted: #868b99; --surface: #181a1f; --surface-hi: #22252c; --line: #2a2d35; } }
.mock .top { display: flex; justify-content: space-between; align-items: baseline; }
.mock h3 { margin: 0; font-size: 20px; color: var(--text); font-weight: 600; }
.mock .live { color: var(--green); font-size: 12px; }
.mock .sub { color: var(--muted); margin: 2px 0 16px; }
.mock .lab { color: var(--muted); font-size: 10px; letter-spacing: .08em; font-weight: 600; margin: 12px 0 6px; }
.mock .sel { background: var(--surface); padding: 11px 12px; color: var(--text); display: flex; justify-content: space-between; }
.mock .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mock .tile { background: var(--surface); padding: 10px 4px; text-align: center; color: var(--text); font-size: 11px; line-height: 1.4; border: 1px solid var(--surface); }
.mock .tile.on { background: var(--surface-hi); border-color: var(--accent); }
.mock .bar { height: 6px; background: var(--surface-hi); margin: 16px 0 6px; position: relative; }
.mock .bar i { position: absolute; inset: 0 55% 0 0; background: var(--accent); }
.mock .bar b { position: absolute; left: 45%; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: var(--text); }
.mock .stop { margin-top: 18px; background: var(--surface-hi); color: #f87171; text-align: center; padding: 13px; font-weight: 600; font-size: 14px; }
.mock .stat { text-align: center; color: var(--muted); font-size: 11px; margin-top: 8px; }

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; letter-spacing: -.01em; }
.sec-lead { color: var(--muted); max-width: 60ch; margin: 0 0 36px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); padding: 22px; }
section.alt .card { background: var(--bg); }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { width: 34px; height: 34px; color: var(--accent); margin-bottom: 12px; }
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); padding: 0; list-style: none; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); padding: 22px; }
.steps li::before { content: counter(s); display: block; color: var(--accent); font-size: 28px; font-weight: 600; margin-bottom: 6px; }
.steps b { display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 15px; }

/* pricing */
.plans { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; max-width: 760px; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--bg); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; }
.plan.pro { border-color: var(--accent); }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 34px; font-weight: 600; margin: 6px 0 14px; }
.price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { padding: 5px 0 5px 24px; position: relative; color: var(--muted); font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plan li strong { color: var(--text); font-weight: 600; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; max-width: 70ch; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer p { margin: 0; max-width: 60ch; }

/* legal pages */
.doc { padding: 56px 0 40px; max-width: 760px; }
.doc h1 { font-size: 34px; }
.doc h2 { font-size: 20px; margin: 28px 0 6px; }
.doc p, .doc li { color: var(--muted); }
.doc pre { white-space: pre-wrap; font: inherit; color: var(--muted); }

/* small screens: never overflow horizontally */
.hero .wrap > *, .grid > *, .plans > *, .steps > * { min-width: 0; }
.mock .sel span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn { max-width: 100%; }
@media (max-width: 560px) {
  nav .btn { display: none; }
  .hero { padding-top: 40px; }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
  .mock { padding: 18px 16px; }
}

.mock .foot { display: flex; justify-content: space-between; margin-top: 22px; color: var(--muted); font-size: 11px; }
.mock .foot .pro { color: var(--green); }

/* ===== Pro pricing section (design variant 6) ===== */
.pricing6 { --bg: #0b0c13; --text: #e8eaf0; --muted: #98a0b0; --line: #2a2d35; --accent: #4c8dff; --accent-hi: #6aa1ff; --green: #4ade80; color: var(--text); }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.pricing6 { position: relative; padding: 100px 0 90px; background: #0b0c13; border-block: 1px solid var(--line); overflow: hidden; }
.pricing6 .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.pricing6 .b1 { width: 460px; height: 460px; background: #3b6dff; left: 8%; top: -70px; animation: f1 14s ease-in-out infinite alternate; }
.pricing6 .b2 { width: 420px; height: 420px; background: #8a5cff; right: 6%; top: 30px; animation: f2 17s ease-in-out infinite alternate; }
.pricing6 .b3 { width: 380px; height: 380px; background: #1fc8e6; left: 38%; bottom: -130px; opacity: .34; animation: f3 19s ease-in-out infinite alternate; }
@keyframes f1 { to { transform: translate(120px, 90px) scale(1.15); } }
@keyframes f2 { to { transform: translate(-130px, 70px) scale(.9); } }
@keyframes f3 { to { transform: translate(90px, -60px) scale(1.2); } }
@media (max-width: 700px) { .pricing6 .blob { animation: none; filter: blur(70px); } }   /* still on phones: lighter and calmer */

.pricing6 .wrap { position: relative; z-index: 1; }
.pricing6 h2 { text-align: center; } .pricing6 .sec-lead { text-align: center; margin-inline: auto; }

/* the Pro card: glass body + a slowly turning gradient ring */
.pricing6 .card6 { position: relative; max-width: 580px; margin: 50px auto 0; }
.pricing6 .card6::before { content: ""; position: absolute; inset: 0; padding: 2px; z-index: 2; pointer-events: none;
  background: conic-gradient(from var(--a), #4c8dff, #8f7bff, #2fd2ee, #4c8dff); animation: spin 8s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
@keyframes spin { to { --a: 360deg; } }
.pricing6 .glass { position: relative; padding: 46px 42px 38px; background: linear-gradient(160deg, rgba(34,44,92,.62), rgba(12,14,26,.78));
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 34px 80px rgba(0,0,0,.5), 0 0 100px rgba(76,141,255,.22), inset 0 1px 0 rgba(255,255,255,.18); }
.pricing6 .badge { position: absolute; top: -15px; left: 42px; z-index: 4; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; padding: 6px 14px; box-shadow: 0 6px 20px rgba(76,141,255,.55); }
.pricing6 .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pricing6 .name { font-size: 25px; font-weight: 700; } .pricing6 .tagline { color: #cdd5ee; font-size: 14px; }
.pricing6 .price { text-align: right; font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.03em; background: linear-gradient(180deg, #fff, #a9c4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pricing6 .price small { display: block; font-size: 12px; font-weight: 400; color: #cdd5ee; -webkit-text-fill-color: #cdd5ee; letter-spacing: 0; margin-top: 8px; }
.pricing6 ul.feat { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; }
.pricing6 ul.feat li { display: flex; gap: 14px; align-items: center; color: #eef2ff; }
.pricing6 ul.feat i { flex: none; width: 26px; height: 26px; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #4c8dff, #8a5cff); box-shadow: 0 0 16px rgba(110,130,255,.7); }
.pricing6 .go { position: relative; overflow: hidden; width: 100%; justify-content: center; padding: 17px; font-size: 17px; background: linear-gradient(90deg, #4c8dff, #7b6bff); box-shadow: 0 12px 34px rgba(100,110,255,.5); }
.pricing6 .go:hover { background: linear-gradient(90deg, #6aa1ff, #9a8bff); }
.pricing6 .go::after { content: ""; position: absolute; top: 0; left: -60%; width: 38%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-20deg); animation: shine 3.4s ease-in-out infinite; }
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 140%; } }
.pricing6 .note { text-align: center; color: #cdd5ee; font-size: 13px; margin: 14px 0 0; }

/* comparison, collapsed by default */
.pricing6 details.cmp { max-width: 580px; margin: 18px auto 0; border: 1px solid rgba(255,255,255,.12); background: rgba(10,12,22,.62); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding: 0; }
.pricing6 details.cmp summary { padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; color: #dfe6fb; font-weight: 600; font-size: 15px; }
.pricing6 details.cmp summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid #8fb6ff; border-bottom: 2px solid #8fb6ff; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.pricing6 details.cmp[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.pricing6 .tbl { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.pricing6 .tbl > div { padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; }
.pricing6 .tbl .h { font-size: 11px; letter-spacing: .12em; font-weight: 700; color: #9aa6c8; padding-top: 16px; }
.pricing6 .tbl .c1 { justify-content: center; text-align: center; color: #aab3d0; }
.pricing6 .tbl .c2 { justify-content: center; text-align: center; color: #fff; font-weight: 600; background: rgba(76,141,255,.14); }
.pricing6 .tbl .h.c2 { color: #8fb6ff; }
.pricing6 .tbl .lk::before { content: "🔒 "; filter: grayscale(1) opacity(.7); }
.pricing6 .tbl .ok { color: var(--green); font-weight: 700; }
.pricing6 .tbl > div:nth-last-child(-n+3) { border-bottom: 0; }
@media (max-width: 560px) { .pricing6 .glass { padding: 40px 24px 30px; } .pricing6 .price { font-size: 42px; } .pricing6 .tbl { font-size: 13px; } .pricing6 .tbl > div { padding: 11px 8px; } }
