:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-soft: #0b0f15;
  --panel: #0f141c;
  --panel-2: #131a24;
  --line: #273241;
  --line-soft: #18212d;
  --accent: #9a2436;
  --accent-bright: #ed334b;
  --accent-glow: #ed334b40;
  --green: #59ef9a;
  --text: #f5f7fa;
  --muted: #91a1b5;
  --blue-muted: #7187a1;
  --max: 1240px;
  --radius: 16px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 68% 3%, #26354b55, transparent 31%), radial-gradient(circle at 18% 44%, #7a152220, transparent 25%); z-index: -2; }
.noise { position: fixed; inset: 0; z-index: -1; opacity: .05; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }

.site-header { position: sticky; top: 0; z-index: 50; width: 100%; min-height: 78px; display: flex; align-items: center; gap: 28px; padding: 10px max(24px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid #273140b8; background: #080b10e8; backdrop-filter: blur(18px); }
.brand { width: 142px; flex: 0 0 auto; }
.brand img { width: 100%; height: 55px; object-fit: contain; filter: drop-shadow(0 0 16px #000); }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav a { color: #aeb9c7; font-size: 14px; transition: color .2s ease; }
.nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #0d1219; color: var(--muted); cursor: pointer; }
.lang-switch span { padding: 5px 7px; border-radius: 5px; font-size: 11px; font-weight: 800; }
.lang-switch .active { color: #fff; background: var(--accent); }
.nav-toggle { display: none; margin-left: auto; color: #fff; background: none; border: 0; font-size: 24px; }

.section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 110px 0; }
.hero { min-height: calc(100vh - 78px); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 64px; padding-top: 70px; }
.eyebrow { margin: 0 0 18px; color: #a9bad0; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.pulse { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
h1 { max-width: 770px; margin: 0; font-size: clamp(42px, 5.3vw, 76px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.hero-lead { max-width: 690px; margin: 28px 0 0; color: #aab6c4; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 9px; font-weight: 750; font-size: 14px; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.button-primary { background: linear-gradient(135deg, #a62439, #721827); border-color: #c23a50; box-shadow: 0 12px 32px #79172845; }
.button-primary:hover { background: linear-gradient(135deg, #bb2c43, #812033); }
.button-ghost, .button-outline { background: #111720cc; border-color: #3b4655; }
.button-ghost:hover, .button-outline:hover { border-color: #7b3342; background: #171e28; }
.button-small { min-height: 38px; padding: 0 15px; font-size: 12px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 34px; color: var(--blue-muted); font-size: 12px; }
.hero-notes span::before { content: "✓"; margin-right: 7px; color: var(--green); }
.hero-visual { position: relative; min-width: 0; }
.terminal-glow { position: absolute; inset: 10% 5%; border-radius: 50%; background: #a51c3352; filter: blur(80px); }
.app-window { position: relative; overflow: hidden; border: 1px solid #354150; border-radius: 15px; background: #0c1016; box-shadow: 0 45px 110px #000c; transform: perspective(1300px) rotateY(-5deg) rotateX(2deg); }
.window-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #111720; }
.window-bar span { width: 8px; height: 8px; border-radius: 50%; background: #465160; }
.window-bar span:first-child { background: var(--accent-bright); }
.window-bar b { margin-left: auto; color: #708095; font-size: 9px; letter-spacing: .14em; }
.app-window img { width: 100%; min-height: 380px; object-fit: cover; object-position: top left; }
.float-card { position: absolute; z-index: 2; min-width: 150px; display: grid; gap: 4px; padding: 15px 17px; border: 1px solid #3a4655; border-left: 3px solid var(--accent-bright); border-radius: 10px; background: #0c1118ee; box-shadow: 0 15px 45px #000b; backdrop-filter: blur(12px); }
.float-card small { color: #74869d; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.float-card strong { color: var(--green); font-size: 20px; }
.float-card span { color: #9aa8b9; font-size: 10px; }
.float-card-top { top: 10%; right: -24px; }
.float-card-bottom { left: -30px; bottom: 8%; }

.proof-strip { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #0c1118c9; box-shadow: 0 20px 60px #0005; }
.proof-strip div { min-height: 100px; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 22px; border-right: 1px solid var(--line-soft); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { font-size: 14px; }
.proof-strip span { color: var(--muted); font-size: 12px; line-height: 1.5; }

.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading h2, .security h2, .access h2 { margin: 0; font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p:last-child, .security-copy > p, .access-panel > div > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { min-height: 245px; padding: 26px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg, #111721, #0b0f15); transition: transform .22s ease, border-color .22s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: #803140; }
.feature-index { display: inline-grid; place-items: center; width: 38px; height: 28px; border: 1px solid #69303b; border-radius: 6px; color: #e75a6e; background: #48141d55; font: 800 11px/1 monospace; }
.feature-card h3 { margin: 32px 0 12px; font-size: 19px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.workflow { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 26px; align-items: center; padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: #0e131b; }
.step-number { display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid #73303c; border-radius: 50%; color: #fff; background: radial-gradient(circle, #861f31, #371018); font-size: 22px; font-weight: 900; }
.step h3 { margin: 0 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); line-height: 1.6; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.shot { position: relative; min-width: 0; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 13px; background: #0e131a; color: #fff; cursor: zoom-in; text-align: left; box-shadow: 0 15px 45px #0005; }
.shot-wide { grid-column: 1 / -1; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: transform .35s ease, filter .35s ease; }
.shot:hover img { transform: scale(1.015); filter: brightness(1.08); }
.shot span { position: absolute; left: 18px; bottom: 16px; padding: 8px 11px; border: 1px solid #4b5663; border-radius: 7px; background: #080b10dd; font-size: 12px; font-weight: 700; backdrop-filter: blur(10px); }

.markets { text-align: center; }
.markets .section-heading { margin-inline: auto; }
.market-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.market-cloud span { padding: 13px 19px; border: 1px solid var(--line); border-radius: 9px; background: #0d1219; color: #d8dee8; font-size: 14px; transition: border-color .2s ease, color .2s ease; }
.market-cloud span:hover { color: #fff; border-color: #863342; }

.security { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-inline: 50px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); background: linear-gradient(135deg, #121923, #090d12); }
.security-copy > p { margin: 24px 0; }
.text-link { color: #ed6377; font-weight: 700; }
.security-list { display: grid; gap: 10px; }
.security-list div { display: grid; grid-template-columns: 50px 1fr; align-items: center; min-height: 65px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: #0b1016; }
.security-list b { color: #d64a5f; font-family: monospace; }
.security-list span { color: #c4ceda; font-size: 14px; }

.access-panel { display: grid; grid-template-columns: 1.5fr .75fr; gap: 50px; align-items: center; padding: 45px; border: 1px solid #66303a; border-radius: 18px; background: radial-gradient(circle at 90% 0, #89213a38, transparent 42%), #10151d; box-shadow: 0 30px 80px #0006; }
.access-card { display: grid; gap: 11px; padding: 24px; border: 1px solid #3c4653; border-radius: 13px; background: #090d12; }
.access-card > span, .access-card small { color: var(--muted); }
.access-card strong { font-size: 24px; }
.access-card .button { margin-top: 8px; }

.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 23px 50px 23px 4px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 18px; color: #e04f64; font-size: 26px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 820px; margin: -4px 0 23px; color: var(--muted); line-height: 1.7; }

footer { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 25px 50px; padding: 55px 0 35px; border-top: 1px solid var(--line); }
.footer-brand img { width: 135px; }
.footer-brand p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: start; color: #b6c0cd; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.legal { grid-column: 1 / -1; max-width: 1000px; margin: 0; color: #657589; font-size: 11px; line-height: 1.6; }
.copyright { color: #526174; font-size: 11px; }

.image-modal { width: min(94vw, 1600px); max-width: none; padding: 8px; border: 1px solid #4b5664; border-radius: 13px; background: #080b10; box-shadow: 0 30px 100px #000; }
.image-modal::backdrop { background: #010204dc; backdrop-filter: blur(8px); }
.image-modal img { width: 100%; max-height: 88vh; object-fit: contain; }
.image-modal button { position: absolute; top: 15px; right: 16px; z-index: 2; width: 42px; height: 42px; border: 1px solid #586270; border-radius: 50%; background: #080b10dc; color: #fff; font-size: 25px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

.document-page main { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 110px; }
.document { padding: clamp(24px, 5vw, 54px); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); background: #0d1219; }
.document h1 { font-size: clamp(34px, 5vw, 58px); }
.document h2 { margin-top: 45px; font-size: 24px; }
.document h3 { margin-top: 28px; }
.document p, .document li { color: #aab5c2; line-height: 1.75; }
.document li + li { margin-top: 8px; }
.document .notice { margin-top: 30px; padding: 17px; border: 1px solid #65404a; border-radius: 9px; background: #35131a55; color: #d8b6bc; }
.document .updated { color: #718198; font-size: 12px; }
.doc-nav { display: flex; gap: 12px; margin-bottom: 24px; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 77px; left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #0b1017fa; box-shadow: 0 25px 70px #000a; }
  .nav.open { display: flex; }
  .nav a { padding: 13px; }
  .header-actions .button { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-copy { max-width: 800px; }
  .hero-visual { width: min(900px, 100%); margin: 0 auto; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .security { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 68px; padding-inline: 18px; }
  .brand { width: 112px; }
  .brand img { height: 46px; }
  .nav { top: 67px; }
  .section { width: min(100% - 30px, var(--max)); padding: 78px 0; }
  .hero { min-height: auto; gap: 52px; }
  h1 { font-size: clamp(38px, 11vw, 54px); }
  .app-window { transform: none; }
  .app-window img { min-height: 250px; }
  .float-card { display: none; }
  .proof-strip { width: calc(100% - 30px); grid-template-columns: 1fr; }
  .proof-strip div, .proof-strip div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .proof-strip div:last-child { border-bottom: 0; }
  .feature-grid, .gallery { grid-template-columns: 1fr; }
  .shot-wide { grid-column: auto; }
  .feature-card { min-height: 220px; }
  .step { grid-template-columns: 55px 1fr; gap: 15px; padding: 18px; }
  .step-number { width: 48px; height: 48px; }
  .security { padding-inline: 23px; }
  .access-panel { grid-template-columns: 1fr; padding: 26px; }
  footer { width: calc(100% - 30px); grid-template-columns: 1fr; }
  .legal { grid-column: auto; }
}

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