:root {
  color-scheme: dark;
  --bg: #05070d;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7f8fc;
  --muted: #a3a8b6;
  --orange: #ff7434;
  --violet: #755cff;
  --cyan: #2bc4ed;
  --green: #4ade80;
  --radius: 26px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(118, 32, 75, 0.32), transparent 34rem),
    radial-gradient(circle at 5% 72%, rgba(20, 86, 155, 0.22), transparent 38rem),
    linear-gradient(145deg, #04060b 0%, #070912 52%, #0b0608 100%);
}

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: relative; z-index: 20; padding: 22px 0; }
.nav { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.brand img { width: 42px; height: 42px; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.3)); }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 650; padding: 9px 13px; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: var(--surface); }
.language-switch { display: flex; padding: 4px; gap: 3px; border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 999px; }
.language-switch button { border: 0; cursor: pointer; color: var(--muted); background: transparent; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 750; }
.language-switch button.is-active { background: #fff; color: #11131a; }
.menu-button { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--surface); color: #fff; width: 42px; height: 42px; border-radius: 13px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .95fr); align-items: center; gap: 70px; min-height: 700px; padding: 76px 0 105px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; color: #d7d9e1; font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px rgba(74,222,128,.7); }
h1 { margin: 0; max-width: 780px; font-size: clamp(52px, 6.7vw, 86px); line-height: .98; letter-spacing: -.065em; }
.gradient-text { background: linear-gradient(100deg, #fff 5%, #ffb28e 48%, #a899ff 90%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-copy { max-width: 640px; margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 20px; border: 1px solid var(--line); border-radius: 15px; font-weight: 750; font-size: 14px; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.24); }
.button.primary { color: #11131a; background: #fff; border-color: #fff; box-shadow: 0 13px 34px rgba(255,255,255,.12); }
.button.secondary { background: var(--surface); }
.platforms { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 29px; color: #838897; font-size: 13px; font-weight: 650; }
.platforms span { display: inline-flex; align-items: center; gap: 7px; }
.platforms i { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

.app-window { position: relative; transform: perspective(1200px) rotateY(-5deg) rotateX(2deg); filter: drop-shadow(0 40px 70px rgba(0,0,0,.45)); }
.app-window::before { content: ""; position: absolute; inset: 12% -6% -10% 15%; background: linear-gradient(125deg, rgba(255,116,52,.28), rgba(117,92,255,.22)); filter: blur(70px); z-index: -1; }
.screen { padding: 18px; aspect-ratio: 16/10; border: 1px solid rgba(255,255,255,.15); border-radius: 28px; background: linear-gradient(145deg, #10131d, #07090f 60%, #160b0f); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.03); }
.screen-bar { display: flex; align-items: center; gap: 8px; padding-bottom: 17px; }
.screen-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.23); }
.screen-title { margin-left: 6px; font-size: 10px; font-weight: 750; color: rgba(255,255,255,.7); }
.screen-filter { margin-left: auto; display: flex; gap: 5px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.07); }
.screen-filter span { padding: 4px 9px; border-radius: 999px; font-size: 7px; color: rgba(255,255,255,.55); }
.screen-filter .active { color: #15161b; background: #fff; }
.media-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.poster { position: relative; overflow: hidden; aspect-ratio: 2/3; border-radius: 12px; border: 1px solid rgba(255,255,255,.11); background: linear-gradient(145deg, var(--a), var(--b)); }
.poster::before { content: ""; position: absolute; width: 95%; height: 55%; left: -15%; top: -14%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 65%); filter: blur(3px); }
.poster::after { content: attr(data-title); position: absolute; inset: auto 9px 9px; font-size: 7px; font-weight: 800; color: rgba(255,255,255,.88); }
.poster:nth-child(1) { --a: #f16a34; --b: #4a1325; }
.poster:nth-child(2) { --a: #2f87d8; --b: #141f53; }
.poster:nth-child(3) { --a: #8a57df; --b: #39204f; }
.poster:nth-child(4) { --a: #20a5ba; --b: #17314a; }
.progress-line { height: 3px; margin-top: 16px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.progress-line::before { content: ""; display: block; width: 64%; height: 100%; background: linear-gradient(90deg, var(--orange), var(--violet)); }

.section { padding: 110px 0; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading .kicker { color: var(--orange); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 800; }
.section-heading h2 { margin: 12px 0 16px; font-size: clamp(38px, 5vw, 58px); line-height: 1.05; letter-spacing: -.05em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.feature-card { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025)); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: linear-gradient(145deg, rgba(255,116,52,.3), rgba(117,92,255,.25)); border: 1px solid rgba(255,255,255,.1); font-size: 22px; }
.feature-card h3 { margin: 24px 0 10px; font-size: 20px; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }
.privacy-band { display: grid; grid-template-columns: 1fr .8fr; gap: 40px; align-items: center; padding: 48px; border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(115deg, rgba(22,104,146,.18), rgba(255,255,255,.035) 50%, rgba(255,116,52,.12)); }
.privacy-band h2 { margin: 0 0 12px; font-size: 38px; letter-spacing: -.04em; }
.privacy-band p { margin: 0; color: var(--muted); }
.privacy-points { display: grid; gap: 12px; }
.privacy-points span { display: flex; align-items: center; gap: 10px; color: #d9dce5; font-size: 14px; }
.privacy-points span::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #08110b; background: var(--green); font-size: 12px; font-weight: 900; }

.page-hero { padding: 86px 0 58px; max-width: 800px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 76px); }
.page-hero p { margin: 24px 0 0; max-width: 680px; color: var(--muted); font-size: 19px; }
.legal-layout, .support-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 60px; padding-bottom: 120px; }
.page-index { position: sticky; top: 24px; align-self: start; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.page-index strong { display: block; margin-bottom: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.page-index a { display: block; padding: 7px 0; color: var(--muted); font-size: 13px; }
.page-index a:hover { color: #fff; }
.prose { min-width: 0; }
.prose section { scroll-margin-top: 30px; padding: 0 0 42px; margin: 0 0 42px; border-bottom: 1px solid var(--line); }
.prose section:last-child { border: 0; }
.prose h2 { margin: 0 0 15px; font-size: 28px; letter-spacing: -.03em; }
.prose h3 { margin: 26px 0 8px; font-size: 18px; }
.prose p, .prose li { color: var(--muted); font-size: 15px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { color: #b9adff; text-decoration: underline; text-underline-offset: 3px; }
.notice { padding: 18px 20px; border-left: 3px solid var(--orange); border-radius: 4px 16px 16px 4px; color: #dfe1e8; background: rgba(255,116,52,.08); }
.support-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 48px; }
.support-card { padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.support-card h3 { margin: 0 0 8px; }
.support-card p { margin: 0; color: var(--muted); font-size: 14px; }
details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin: 11px 0; }
summary { cursor: pointer; padding: 18px 20px; font-weight: 700; }
details p { margin: 0; padding: 0 20px 20px; }
.contact-card { padding: 32px; margin-top: 36px; border-radius: 26px; background: linear-gradient(120deg, rgba(117,92,255,.2), rgba(255,116,52,.13)); border: 1px solid var(--line); }
.contact-card h2 { margin-top: 0; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0; color: #7f8492; font-size: 13px; }
.footer-row { display: flex; align-items: center; gap: 20px; }
.footer-row .brand { color: #e5e7ed; font-size: 16px; }
.footer-row .brand img { width: 30px; height: 30px; }
.footer-links { display: flex; gap: 18px; margin-left: auto; }
.footer-links a:hover { color: #fff; }

@media (max-width: 900px) {
  .menu-button { display: inline-grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 76px; right: 20px; flex-direction: column; align-items: stretch; min-width: 220px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #11141d; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .language-switch { margin-left: 0; }
  .hero { grid-template-columns: 1fr; gap: 55px; padding-top: 58px; }
  .app-window { max-width: 620px; margin-inline: auto; transform: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .privacy-band { grid-template-columns: 1fr; }
  .legal-layout, .support-layout { grid-template-columns: 1fr; gap: 24px; }
  .page-index { position: static; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .hero { min-height: auto; padding-bottom: 80px; }
  h1 { font-size: 49px; }
  .feature-grid, .support-cards { grid-template-columns: 1fr; }
  .section { padding: 78px 0; }
  .privacy-band { padding: 28px; }
  .screen { border-radius: 20px; padding: 13px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .footer-links { margin-left: 0; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
