:root {
  --bg: #050506; --card: #0d0d11; --card-2: #14141a; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --text: #f2f2f4; --muted: #a0a0aa; --dim: #6a6a74; --red: #ff2d42; --red-2: #ff5466; --red-line: rgba(255,45,66,.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(900px 500px at 50% -10%, rgba(255,45,66,.16), transparent 65%), radial-gradient(700px 400px at 100% 100%, rgba(255,45,66,.07), transparent 60%); }
a { color: var(--red-2); text-decoration: none; }
code { font: .92em ui-monospace, Menlo, Consolas, monospace; background: var(--card-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--text); }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 18px; padding: 12px max(16px, calc(50% - 560px));
  background: rgba(5,5,6,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); letter-spacing: .32em; font-size: 15px; }
.brand svg { width: 28px; height: 28px; color: var(--red); }
.links { flex: 1; display: flex; gap: 22px; justify-content: center; }
.links a { color: var(--muted); font-size: 15px; } .links a:hover { color: var(--text); }
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; }
.langs button { border: 0; background: none; color: var(--muted); padding: 5px 9px; border-radius: 7px; font-family: inherit; font-weight: 600; font-size: 12.5px; cursor: pointer; }
.langs button.active { background: var(--red); color: #fff; }

.hero { text-align: center; padding: 70px 16px 40px; }
.orb { position: relative; width: 190px; height: 190px; margin: 0 auto 26px; }
.orb span { position: absolute; border-radius: 50%; }
.orb .glow { inset: -25%; background: radial-gradient(circle, rgba(255,45,66,.35), rgba(255,45,66,.08) 45%, transparent 70%); animation: breathe 5s ease-in-out infinite; }
.orb .ring { border: 2px solid var(--red); }
.orb .r1 { inset: 0; border-color: rgba(255,45,66,.45); border-width: 1.4px; }
.orb .r2 { inset: 9%; border-style: dashed; border-color: var(--red); animation: spin 24s linear infinite; }
.orb .r3 { inset: 25%; box-shadow: 0 0 18px rgba(255,45,66,.5), inset 0 0 18px rgba(255,45,66,.25); }
.orb .core { inset: 37%; background: radial-gradient(circle, #fff 0%, #ff9aa4 20%, #ff2d42 48%, #7a0010 100%); box-shadow: 0 0 30px rgba(255,45,66,.8); }
h1 { margin: 0; font-size: clamp(40px, 8vw, 64px); font-weight: 300; letter-spacing: .45em; margin-right: -.45em; }
.lead { font-size: clamp(19px, 3vw, 24px); margin: 14px 0 6px; }
.sub { max-width: 720px; margin: 0 auto; color: var(--muted); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 28px 0 12px; }
.tiny { color: var(--dim); font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 13px; font-weight: 600; border: 1px solid var(--line-2); color: var(--text); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 26px rgba(255,45,66,.35); }
.btn.primary:hover { background: var(--red-2); }
.btn.ghost:hover { border-color: var(--red-line); }
.btn.wide { width: 100%; }

.section { max-width: 1120px; margin: 0 auto; padding: 60px 16px; }
h2 { text-align: center; font-size: clamp(26px, 4vw, 34px); margin: 0 0 10px; }
.center { text-align: center; } .muted { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 30px; }
.feature { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(38,10,14,.45), rgba(16,7,9,.5)); }
.feature .f-ic { font-size: 26px; }
.feature h3 { margin: 10px 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 30px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--card); }
.plan.hot { border-color: var(--red); box-shadow: 0 0 40px rgba(255,45,66,.18); }
.plan .badge { position: absolute; top: -12px; left: 22px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.plan h3 { margin: 0; font-size: 20px; }
.price { margin: 10px 0 14px; color: var(--muted); } .price b { font-size: 34px; color: var(--text); }
.plan ul { flex: 1; margin: 0 0 20px; padding-left: 20px; color: var(--muted); font-size: 15px; }
.plan li { margin: 6px 0; }
.how { max-width: 720px; margin: 36px auto 0; padding: 22px 26px; border-radius: 18px; border: 1px dashed var(--red-line); }
.how h3 { margin: 0 0 8px; }
.how li { margin: 6px 0; }

.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 28px 0 30px; }
.dl { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 10px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); }
.dl:hover { border-color: var(--red); }
.dl .os { font-size: 30px; } .dl small { color: var(--dim); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.tab { border: 1px solid var(--line-2); background: none; color: var(--muted); padding: 8px 16px; border-radius: 10px; cursor: pointer; font: inherit; }
.tab.active { background: var(--red); border-color: var(--red); color: #fff; }
.guide { max-width: 760px; margin: 18px auto 0; padding: 22px 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.guide li { margin: 9px 0; }

.faq { max-width: 760px; margin: 26px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 4px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.foot { text-align: center; padding: 40px 16px 50px; color: var(--dim); border-top: 1px solid var(--line); font-size: 14px; }
.foot p { margin: 4px 0; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.03); } }
@media (max-width: 720px) { .links { display: none; } .nav { justify-content: space-between; } .hero { padding-top: 44px; }
  h1 { font-size: 36px; letter-spacing: .32em; margin-right: -.32em; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

/* guide, privacy policy and terms */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 16px 40px; }
.doc-title { font-size: clamp(30px, 6vw, 42px); letter-spacing: 0; margin: 0 0 8px; font-weight: 600; text-align: left; margin-right: 0; }
.doc-lead { color: var(--muted); font-size: 17px; margin: 0 0 8px; }
.doc-updated { color: var(--dim); font-size: 13.5px; margin: 0 0 18px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.toc a { font-size: 13.5px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 99px; padding: 5px 11px; }
.toc a:hover { color: var(--text); border-color: var(--red-line); }
.doc section { padding-top: 26px; }
.doc h2 { text-align: left; font-size: 23px; margin: 0 0 12px; }
.doc h3 { font-size: 17px; margin: 18px 0 6px; }
.doc p, .doc li { color: #d6d6dc; font-size: 15.5px; }
.doc ol, .doc ul { padding-left: 22px; margin: 8px 0; }
.doc li { margin: 7px 0; }
.examples { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 6px 0 12px; }
.ex { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--card); }
.ex ul { padding-left: 18px; margin: 6px 0 0; }
.ex li { font-size: 14px; color: var(--muted); margin: 4px 0; }
.table { overflow-x: auto; margin: 8px 0 10px; border: 1px solid var(--line-2); border-radius: 14px; }
.table table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { color: var(--muted); font-weight: 600; background: var(--card-2); }
.table tbody th { color: var(--muted); font-weight: 500; width: 26%; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.doc details { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 8px 0; background: var(--card); }
.doc summary { cursor: pointer; font-weight: 600; }
.doc details div { color: #d6d6dc; font-size: 15px; margin-top: 8px; }
.foot-links a { color: var(--muted); }
@media (max-width: 640px) { .links { display: none; } }
