:root {
    color-scheme: dark;
    --bg: #070a0f;
    --bg-soft: #0c1118;
    --panel: #10161f;
    --panel-2: #151d28;
    --line: #273240;
    --line-soft: rgba(255, 255, 255, .075);
    --text: #f5f7fa;
    --muted: #929dac;
    --muted-2: #667181;
    --gold: #d9ad55;
    --gold-bright: #f0ca78;
    --gold-dark: #8f6a27;
    --green: #76d6a2;
    --red: #ff8f8f;
    --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
    background:
        radial-gradient(circle at 16% -4%, rgba(41, 57, 79, .55), transparent 35%),
        radial-gradient(circle at 86% 11%, rgba(128, 91, 30, .12), transparent 27%),
        var(--bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }

/* Shared page frame */
.page-shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(7, 10, 15, .84);
    backdrop-filter: blur(18px);
}
.topbar-inner { width: min(calc(100% - 48px), var(--max)); height: 74px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--gold-bright), #8a6727);
    color: #17120b;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 7px 28px rgba(217, 173, 85, .11);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: -.03em;
}
.brand-mark.small { width: 29px; height: 29px; border-radius: 8px; font-size: 9px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 14px; letter-spacing: -.01em; }
.brand-copy small { margin-top: 5px; color: var(--gold-bright); font-size: 8px; font-weight: 800; letter-spacing: .22em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; flex: 1; }
.nav a { padding: 9px 11px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 600; transition: .18s ease; }
.nav a:hover { background: rgba(255, 255, 255, .045); color: var(--text); }
.topbar-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.language-switcher { margin: 0; }
.language-select { max-width: 180px; padding: 9px 31px 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: var(--text); font-size: 12px; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 10px 16px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 800; white-space: nowrap; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: linear-gradient(135deg, var(--gold-bright), #b38636); color: #17120a; box-shadow: 0 12px 35px rgba(217, 173, 85, .14); }
.button-secondary { border-color: var(--line); background: var(--panel); color: var(--text); }
.button-ghost { border-color: var(--line); background: rgba(255, 255, 255, .025); color: #dce1e7; }
.account-button i { display: none; }

/* Hero */
.hero-section { position: relative; overflow: hidden; padding: 94px 0 70px; }
.hero-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.023) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.023) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 82%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr); gap: 58px; align-items: center; }
.hero-copy-wrap { padding: 34px 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; color: var(--gold-bright); font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-dot, .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px rgba(118, 214, 162, .55); }
.hero-copy-wrap h1 { max-width: 710px; margin: 0; font-size: clamp(47px, 5.4vw, 77px); line-height: .98; letter-spacing: -.055em; }
.hero-copy { max-width: 690px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 22px; color: var(--muted-2); font-size: 12px; }

/* CSS-only product preview keeps the site independent of marketing screenshots. */
.platform-preview { border: 1px solid #344150; border-radius: 18px; overflow: hidden; background: #090d13; box-shadow: 0 45px 100px rgba(0, 0, 0, .42), 0 0 0 1px rgba(217, 173, 85, .04); transform: perspective(1100px) rotateY(-2deg) rotateX(1deg); }
.preview-window-bar { height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 14px; border-bottom: 1px solid #242e3a; background: linear-gradient(#151c25, #10161e); }
.preview-window-title { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; color: #c3cad3; }
.preview-logo { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: var(--gold); color: #17120a; font-size: 8px; font-weight: 900; }
.preview-window-status { display: flex; align-items: center; gap: 6px; color: #8c98a8; font-size: 9px; }
.preview-window-status .status-dot { width: 5px; height: 5px; }
.preview-body { min-height: 390px; display: grid; grid-template-columns: 108px minmax(0, 1fr) 132px; }
.preview-watchlist, .preview-order { padding: 13px 10px; background: #0d1219; }
.preview-watchlist { border-right: 1px solid #202936; }
.preview-order { border-left: 1px solid #202936; }
.preview-label { margin-bottom: 11px; color: #657184; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ticker { display: flex; justify-content: space-between; gap: 7px; margin-bottom: 6px; padding: 9px 7px; border-radius: 7px; color: #9da8b7; font-size: 8px; }
.ticker.active { background: #151e29; color: #eef2f6; box-shadow: inset 2px 0 var(--gold); }
.ticker strong { font-size: 9px; }
.up { color: var(--green) !important; }
.down { color: var(--red) !important; }
.preview-chart { min-width: 0; padding: 15px 14px; background: #080c12; }
.chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.chart-head > div:first-child { display: flex; gap: 7px; align-items: baseline; }
.chart-head strong { font-size: 15px; }
.chart-head span { color: #6f7a88; font-size: 8px; }
.chart-price { color: var(--green); font: 700 14px Consolas, monospace; }
.chart-grid { position: relative; height: 275px; border: 1px solid #18212c; background-image: linear-gradient(rgba(255,255,255,.027) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.027) 1px, transparent 1px); background-size: 44px 44px; overflow: hidden; }
.chart-grid svg { position: absolute; inset: 16px 8px 30px; width: calc(100% - 16px); height: calc(100% - 46px); }
.chart-grid .area { fill: url(#areaGold); }
.price-line { fill: none; stroke: #d9ad55; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.ema-line { fill: none; stroke-width: 1.05; opacity: .78; vector-effect: non-scaling-stroke; }
.ema20 { stroke: #75a7ff; }
.ema60 { stroke: #c0c8d3; }
.chart-legend { position: absolute; left: 10px; bottom: 9px; display: flex; gap: 12px; color: #707b8a; font-size: 7px; }
.chart-legend span { display: flex; align-items: center; gap: 5px; }
.chart-legend i { width: 13px; height: 1px; display: inline-block; }
.legend-gold { background: #75a7ff; }
.legend-silver { background: #c0c8d3; }
.metric { display: flex; flex-direction: column; gap: 4px; padding: 9px 0; border-bottom: 1px solid #1b2430; }
.metric span { color: #677385; font-size: 7px; text-transform: uppercase; }
.metric strong { font-size: 8px; line-height: 1.25; }
.trade-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 14px; }
.trade-buttons span { padding: 9px 4px; border-radius: 5px; text-align: center; font-size: 7px; font-weight: 900; }
.trade-buttons span:first-child { background: #15385e; color: #8fc4ff; }
.trade-buttons span:last-child { background: #4d2328; color: #ff9a9a; }

/* Proof strip */
.proof-strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(255, 255, 255, .015); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { min-height: 88px; padding: 20px 24px; border-right: 1px solid var(--line-soft); display: flex; align-items: center; gap: 13px; }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div:last-child { border-right: 0; }
.proof-grid strong { color: var(--gold-bright); font-size: 15px; }
.proof-grid span { color: var(--muted); font-size: 11px; line-height: 1.4; }

/* Core content */
.content-section { padding: 108px 0; }
.alt-section { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(255, 255, 255, .014); }
.split-heading { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: end; margin-bottom: 46px; }
.split-heading h2, .section-heading h2, .final-cta h2 { margin: 0; max-width: 760px; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.03; letter-spacing: -.045em; }
.split-heading > p, .section-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.72; }
.section-heading { max-width: 790px; margin: 0 auto 46px; }
.section-heading.centered { text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered p { max-width: 690px; margin: 18px auto 0; }
.product-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.product-main-card, .architecture-card, .capability-card, .price-card, .cloud-grid article { border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg, rgba(18, 25, 35, .94), rgba(10, 15, 22, .94)); box-shadow: 0 22px 55px rgba(0, 0, 0, .14); }
.product-main-card { padding: 34px; }
.product-badge { display: inline-flex; padding: 7px 10px; border: 1px solid rgba(217, 173, 85, .28); border-radius: 999px; background: rgba(217, 173, 85, .08); color: var(--gold-bright); font-size: 10px; font-weight: 800; }
.product-main-card h3 { margin: 22px 0 12px; font-size: 29px; letter-spacing: -.025em; }
.product-main-card > p { max-width: 740px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.product-points { margin-top: 30px; border-top: 1px solid var(--line-soft); }
.product-points > div { display: grid; grid-template-columns: 43px 1fr; gap: 14px; padding: 19px 0; border-bottom: 1px solid var(--line-soft); }
.product-points > div > span { color: var(--gold); font: 700 10px Consolas, monospace; }
.product-points strong { display: block; margin-bottom: 6px; font-size: 13px; }
.product-points p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.58; }
.architecture-card { padding: 30px; }
.architecture-title { color: #7d8999; font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.architecture-flow { margin-top: 26px; }
.architecture-node { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #0b1017; }
.architecture-node.strong { border-color: rgba(217, 173, 85, .38); box-shadow: inset 3px 0 var(--gold); }
.architecture-node small { display: block; margin-bottom: 5px; color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.architecture-node strong { display: block; font-size: 14px; }
.architecture-node span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.flow-line { height: 27px; display: grid; place-items: center; }
.flow-line span { width: 1px; height: 100%; background: linear-gradient(var(--gold), var(--line)); }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.capability-card { min-height: 210px; padding: 25px; transition: transform .18s ease, border-color .18s ease; }
.capability-card:hover { transform: translateY(-3px); border-color: #3b4959; }
.cap-icon { width: 34px; height: 34px; border: 1px solid rgba(217, 173, 85, .28); border-radius: 9px; display: grid; place-items: center; background: rgba(217, 173, 85, .08); color: var(--gold-bright); font-size: 10px; font-weight: 900; }
.capability-card h3 { margin: 20px 0 9px; font-size: 17px; }
.capability-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

/* Membership */
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: stretch; }
.price-card { position: relative; min-width: 0; padding: 23px 18px; }
.price-card.highlighted { border-color: rgba(217, 173, 85, .54); background: linear-gradient(145deg, rgba(43, 35, 21, .85), rgba(13, 18, 25, .96)); }
.plan-index { color: #5f6b7b; font: 700 9px Consolas, monospace; }
.price-card h3 { min-height: 42px; margin: 15px 0 9px; font-size: 17px; letter-spacing: -.02em; }
.price-card p { min-height: 74px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.58; }
.price { display: flex; align-items: baseline; margin-top: 24px; }
.price > span { margin-right: 3px; color: var(--gold-bright); font-size: 11px; }
.price strong { font-size: 25px; letter-spacing: -.04em; }
.price small { margin-left: 4px; color: #687486; font-size: 8px; }
.popular-label { position: absolute; top: 14px; right: 14px; padding: 5px 7px; border-radius: 999px; background: var(--gold); color: #17120a; font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pricing-action { margin-top: 20px; padding: 19px 21px; border: 1px solid var(--line-soft); border-radius: 13px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(255, 255, 255, .016); }
.pricing-action p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

/* Cloud */
.cloud-section { background: radial-gradient(circle at 50% 80%, rgba(217, 173, 85, .07), transparent 35%); }
.cloud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cloud-grid article { position: relative; padding: 30px; overflow: hidden; }
.cloud-number { position: absolute; top: 16px; right: 18px; color: rgba(217, 173, 85, .18); font-size: 48px; font-weight: 900; letter-spacing: -.08em; }
.cloud-grid h3 { position: relative; margin: 22px 0 10px; font-size: 20px; }
.cloud-grid p { position: relative; margin: 0; max-width: 320px; color: var(--muted); font-size: 12px; line-height: 1.65; }

/* CTA + risk + footer */
.final-cta-section { padding: 20px 0 96px; }
.final-cta { padding: 38px 40px; border: 1px solid rgba(217, 173, 85, .27); border-radius: 18px; display: flex; align-items: center; justify-content: space-between; gap: 40px; background: linear-gradient(120deg, rgba(217, 173, 85, .12), rgba(19, 26, 36, .7)); }
.final-cta h2 { max-width: 690px; font-size: clamp(30px, 3.7vw, 48px); }
.final-cta p { max-width: 650px; margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.risk-section { padding-bottom: 60px; }
.risk-box { padding: 18px 21px; border-left: 2px solid #4c5969; color: #778394; background: rgba(255,255,255,.012); }
.risk-box strong { display: block; margin-bottom: 5px; color: #9ca6b4; font-size: 11px; }
.risk-box p { margin: 0; font-size: 10px; line-height: 1.6; }
.site-footer { border-top: 1px solid var(--line-soft); background: #06090d; }
.footer-inner { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 42px 0; display: flex; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-brand strong { font-size: 13px; }
.footer-inner p { margin: 10px 0 0; color: var(--muted-2); font-size: 10px; }
.footer-links { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 11px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 18px 0 26px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 24px; color: #535e6d; font-size: 9px; }

@media (max-width: 1050px) {
    .nav { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .hero-copy-wrap { max-width: 780px; }
    .platform-preview { max-width: 790px; transform: none; }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
    .page-shell, .topbar-inner, .footer-inner, .footer-bottom { width: min(calc(100% - 32px), var(--max)); }
    .topbar-inner { height: 66px; gap: 10px; }
    .brand-copy { display: none; }
    .account-button { padding: 9px 11px; }
    .language-select { max-width: 150px; }
    .hero-section { padding: 58px 0 46px; }
    .hero-copy-wrap { padding: 12px 0; }
    .hero-copy-wrap h1 { font-size: clamp(42px, 13vw, 62px); }
    .hero-copy { font-size: 16px; }
    .preview-body { grid-template-columns: 78px minmax(0, 1fr); }
    .preview-order { display: none; }
    .proof-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-grid > div { border-bottom: 1px solid var(--line-soft); }
    .proof-grid > div:first-child { padding-left: 18px; }
    .content-section { padding: 78px 0; }
    .split-heading, .product-grid { grid-template-columns: 1fr; gap: 28px; }
    .capability-grid, .cloud-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-action, .final-cta { align-items: flex-start; flex-direction: column; }
    .footer-inner, .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
    .account-button { width: 38px; padding: 9px; }
    .account-button span { display: none; }
    .account-button i { display: inline; font-style: normal; font-size: 14px; }
    .language-select { max-width: 168px; }
    .hero-actions .button { width: 100%; }
    .platform-preview { margin-left: -8px; margin-right: -8px; }
    .preview-watchlist { display: none; }
    .preview-body { grid-template-columns: 1fr; min-height: 330px; }
    .proof-grid, .capability-grid, .pricing-grid, .cloud-grid { grid-template-columns: 1fr; }
    .proof-grid > div { min-height: 70px; border-right: 0; }
    .product-main-card, .architecture-card, .capability-card, .cloud-grid article { padding: 23px; }
    .price-card p { min-height: 0; }
    .price-card h3 { min-height: 0; }
    .final-cta { padding: 28px 24px; }
    .footer-links { flex-wrap: wrap; }
}
