:root {
  --navy-950: #041321;
  --navy-900: #071b31;
  --navy-850: #09233e;
  --navy-800: #0d2c4b;
  --ink: #132033;
  --muted: #6f7f92;
  --line: #dfe7ee;
  --line-soft: #ebf0f4;
  --surface: #ffffff;
  --surface-soft: #f5f8fa;
  --surface-blue: #f3f7ff;
  --blue: #3979e8;
  --blue-bright: #6ea0f6;
  --teal: #20ad9e;
  --green: #6fc18e;
  --purple: #9d7be9;
  --yellow: #efc95d;
  --shadow-lg: 0 38px 90px rgba(8, 31, 55, .15);
  --shadow-md: 0 20px 50px rgba(8, 31, 55, .1);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shell: min(1380px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfd;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
em { color: var(--blue); font-style: normal; }
code { padding: .18em .45em; border-radius: 7px; background: #eef3f7; color: #29435d; }

.ambient {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}
.ambient-one {
  width: 740px; height: 740px; top: -330px; right: -180px;
  background: radial-gradient(circle, rgba(88, 143, 246, .17), rgba(88, 143, 246, 0) 70%);
}
.ambient-two {
  width: 600px; height: 600px; top: 520px; left: -380px;
  background: radial-gradient(circle, rgba(31, 181, 163, .12), rgba(31, 181, 163, 0) 70%);
}

.section-shell { width: var(--shell); margin: 0 auto; }

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: grid;
  grid-template-columns: 230px 1fr 330px;
  align-items: center;
  width: min(1460px, calc(100vw - 32px));
  min-height: 82px;
  margin: 16px auto 0;
  padding: 12px 18px 12px 22px;
  border: 1px solid rgba(205, 217, 227, .78);
  border-radius: 23px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 34px rgba(8, 31, 55, .07);
  backdrop-filter: blur(18px);
}
.brand img { width: 176px; height: auto; }
.desktop-nav { display: flex; justify-content: center; gap: 34px; }
.desktop-nav a {
  color: #536579; font-size: 14px; font-weight: 650;
  transition: color .2s ease, transform .2s ease;
}
.desktop-nav a:hover { color: var(--ink); transform: translateY(-1px); }
.header-actions { display: flex; justify-content: flex-end; gap: 10px; }
.mobile-menu-button, .mobile-nav { display: none; }

.primary-button, .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 13px;
  font-weight: 720;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}
.primary-button {
  border: 1px solid #2f71dd;
  color: #fff;
  background: linear-gradient(135deg, #397de9, #2d69ce);
  box-shadow: 0 14px 28px rgba(51, 116, 221, .25);
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(51, 116, 221, .32); }
.ghost-button {
  border: 1px solid #d6e0e8;
  color: #203349;
  background: rgba(255,255,255,.82);
}
.ghost-button:hover { transform: translateY(-2px); border-color: #b9c9d6; background: #fff; }
.compact { min-height: 44px; padding: 0 17px; font-size: 13px; }
.large { min-height: 57px; padding: 0 24px; font-size: 14px; }
.wide { width: 100%; }
.button-icon { font-size: 19px; font-weight: 500; }

.hero {
  display: grid;
  grid-template-columns: .88fr 1.22fr;
  align-items: center;
  min-height: 800px;
  padding: 92px 0 86px;
  gap: 72px;
}
.hero-copy { padding-left: 18px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: #52677c; font-size: 12px; font-weight: 780; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow span { width: 34px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.eyebrow.light { color: #9db2c5; }
.hero h1, .section-heading h2, .demo-heading h2, .privacy-copy h2, .download-panel h2 {
  margin: 24px 0;
  color: var(--navy-950);
  font-size: clamp(54px, 5.4vw, 88px);
  line-height: .96;
  letter-spacing: -.055em;
}
.hero-lead {
  max-width: 630px;
  margin: 0;
  color: #5f7286;
  font-size: 19px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-notes {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 28px; color: #7a8998; font-size: 12px; font-weight: 630;
}
.hero-notes span { display: flex; align-items: center; gap: 7px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(111,193,142,.14); }

.hero-visual { position: relative; min-width: 0; }
.app-window {
  overflow: hidden;
  border: 1px solid rgba(172, 191, 207, .68);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.hero-window {
  transform: perspective(1600px) rotateY(-3deg) rotateX(1.5deg);
  transform-origin: center;
}
.window-bar {
  display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center;
  height: 46px; padding: 0 16px;
  border-bottom: 1px solid #e2e8ee; background: #f3f6f8;
  color: #7a8997; font-size: 10px; font-weight: 700; letter-spacing: .04em;
}
.window-title { text-align: center; color: #45586c; font-size: 11px; }
.window-state { text-align: right; color: #6c7e8f; }
.traffic { display: flex; gap: 6px; }
.traffic span { width: 8px; height: 8px; border-radius: 50%; background: #c7d0d8; }
.hero-window img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.hero-theme-card { position: absolute; right: -8px; top: 34px; width: min(34%, 340px); overflow: hidden; border: 1px solid rgba(218,228,236,.9); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 24px 54px rgba(7,27,49,.18); backdrop-filter: blur(16px); }
.hero-theme-head { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #e7edf2; }
.hero-theme-head strong { color: var(--navy-900); font-size: 12px; }
.hero-theme-head small { color: #7d8f9f; font-size: 9px; }
.hero-theme-card img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top left; }

.floating-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  min-width: 176px;
  padding: 17px 19px;
  border: 1px solid rgba(218, 228, 236, .9);
  border-radius: 17px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 22px 46px rgba(7, 27, 49, .14);
  backdrop-filter: blur(14px);
}
.floating-card span, .floating-card small { color: #8190a0; font-size: 10px; font-weight: 700; }
.floating-card strong { margin: 5px 0; color: var(--navy-900); font-size: 22px; }
.floating-performance { right: -28px; bottom: 18px; }
.floating-performance strong { color: #23a477; }
.floating-private { left: -38px; top: 54px; flex-direction: row; align-items: center; gap: 12px; min-width: 240px; }
.floating-private strong, .floating-private small { display: block; margin: 0; }
.lock-shape {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 12px; color: #fff!important; background: var(--navy-900); font-size: 21px!important;
}

.proof-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #dce5ec; border-bottom: 1px solid #dce5ec;
  background: rgba(255,255,255,.6);
}
.proof-strip div {
  padding: 22px 10px; color: #687a8c; text-align: center;
  font-size: 10px; font-weight: 780; letter-spacing: .13em;
}
.proof-strip div + div { border-left: 1px solid #e2e8ee; }

.product-section { padding: 130px 0 120px; }
.section-heading { max-width: 820px; margin-bottom: 58px; }
.section-heading h2, .demo-heading h2, .privacy-copy h2, .download-panel h2 {
  font-size: clamp(43px, 4.5vw, 69px);
}
.section-heading p {
  max-width: 680px; color: #687b8d; font-size: 17px; line-height: 1.72;
}
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature-card {
  position: relative; overflow: hidden;
  min-height: 310px; padding: 34px;
  border: 1px solid #dce5ec; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.86);
  box-shadow: 0 12px 32px rgba(8,31,55,.045);
}
.feature-card::after {
  content: ""; position: absolute; right: -90px; bottom: -120px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(89,142,239,.11), rgba(89,142,239,0) 68%);
}
.large-card { grid-column: 1 / -1; min-height: 600px; padding: 46px; }
.feature-kicker { color: #718397; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.feature-card h3 {
  max-width: 650px; margin: 18px 0 12px;
  color: var(--navy-900); font-size: clamp(25px, 2.3vw, 39px); line-height: 1.12; letter-spacing: -.035em;
}
.feature-card p { max-width: 630px; color: #718294; font-size: 15px; line-height: 1.65; }
.feature-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 42px;
  border: 1px solid #d6e2ec; border-radius: 15px;
  color: var(--blue); background: #f6f9fd; font-size: 23px; font-weight: 700;
}
.allocation-icon span {
  width: 27px; height: 27px; border-radius: 50%;
  background: conic-gradient(var(--blue) 0 42%, var(--green) 42% 78%, var(--purple) 78% 90%, var(--yellow) 90%);
  position: relative;
}
.allocation-icon span::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #f6f9fd; }

.mini-dashboard {
  position: absolute; right: 38px; bottom: 35px; left: 38px;
  overflow: hidden; padding: 25px;
  border: 1px solid #dce5ec; border-radius: 20px; background: #fbfdff;
}
.mini-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-metrics div { padding: 16px; border: 1px solid #e4ebf1; border-radius: 13px; background: #fff; }
.mini-metrics span, .mini-metrics strong { display: block; }
.mini-metrics span { color: #8a98a7; font-size: 10px; font-weight: 700; }
.mini-metrics strong { margin-top: 6px; color: #1c2e42; font-size: 19px; }
.positive { color: #209d70!important; }
.negative { color: #d36060!important; }
.mini-line-chart { width: 100%; height: 235px; margin-top: 14px; }
.grid-lines line, .demo-grid line { stroke: #dfe7ee; stroke-width: 1; }
.mini-line-chart .area { fill: url(#areaGradient); }
.mini-line-chart .line, .demo-line { fill: none; stroke: var(--blue); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 8px 18px rgba(77,141,247,.18)); }
.mini-line-chart circle, .demo-chart circle { fill: #fff; stroke: var(--blue); stroke-width: 4; }

.demo-section {
  padding: 125px 0 140px;
  color: #e9f1f8;
  background:
    radial-gradient(circle at 15% 10%, rgba(53, 122, 227, .18), transparent 33%),
    radial-gradient(circle at 85% 84%, rgba(28, 176, 158, .12), transparent 30%),
    var(--navy-950);
}
.demo-heading {
  display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 90px;
  margin-bottom: 56px;
}
.demo-heading h2 { margin-bottom: 0; color: #fff; }
.demo-heading-copy p { margin: 0; color: #9fb2c4; font-size: 16px; line-height: 1.7; }
.demo-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.demo-badges span {
  padding: 8px 11px; border: 1px solid rgba(157,178,197,.23); border-radius: 999px;
  color: #a9bbcb; background: rgba(255,255,255,.035); font-size: 10px; font-weight: 700;
}

.demo-frame {
  overflow: hidden; border: 1px solid rgba(176,198,216,.22); border-radius: 28px;
  background: #f6f8fa; box-shadow: 0 50px 120px rgba(0,0,0,.35);
}
.demo-topline {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 61px; padding: 10px 17px;
  border-bottom: 1px solid #dbe3e9; background: #fff;
}
.demo-window-title { display: flex; align-items: center; gap: 14px; color: #344b62; }
.demo-window-title img { width: 125px; }
.demo-window-title span { padding-left: 14px; border-left: 1px solid #dce4ea; font-size: 10px; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; }
.demo-toolbar { display: flex; gap: 8px; }
.demo-toolbar button {
  min-height: 36px; padding: 0 12px; border: 1px solid #d7e0e7; border-radius: 10px;
  color: #53667a; background: #fff; font-size: 10px; font-weight: 720; cursor: pointer;
}
.demo-toolbar button:hover { border-color: #b9c8d4; }
.demo-app { display: grid; grid-template-columns: 215px 1fr; min-height: 720px; }
.demo-sidebar {
  display: flex; flex-direction: column; padding: 22px 14px;
  border-right: 1px solid #dfe6eb; color: #536679; background: #fbfcfd;
}
.demo-profile { display: flex; align-items: center; gap: 11px; padding: 9px 8px 23px; }
.demo-profile > span {
  display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px;
  color: #fff; background: linear-gradient(135deg, var(--navy-850), #1f587f); font-size: 10px; font-weight: 800;
}
.demo-profile strong, .demo-profile small { display: block; }
.demo-profile strong { color: #25394e; font-size: 11px; }
.demo-profile small { margin-top: 3px; color: #93a0ad; font-size: 9px; }
.demo-sidebar nav { display: grid; gap: 4px; }
.demo-nav {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 0 12px;
  border: 0; border-radius: 10px; color: #68798b; background: transparent;
  text-align: left; font-size: 11px; font-weight: 680; cursor: pointer;
}
.demo-nav i { display: grid; place-items: center; width: 22px; color: #8293a3; font-style: normal; font-size: 13px; }
.demo-nav:hover { background: #f0f4f7; }
.demo-nav.active { color: #17334f; background: #e8eef3; }
.demo-nav.active i { color: var(--blue); }
.demo-local-state { display: flex; align-items: center; gap: 8px; margin: auto 8px 0; color: #8a99a8; font-size: 9px; font-weight: 700; }
.demo-local-state span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.demo-content { min-width: 0; padding: 27px; color: var(--ink); background: #f6f8fa; }
.demo-page { display: none; animation: demoIn .3s ease; }
.demo-page.active { display: block; }
@keyframes demoIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.demo-page-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.demo-page-title h3 { margin: 0; color: #1b2d41; font-size: 27px; letter-spacing: -.035em; }
.demo-page-title p { margin: 5px 0 0; color: #8493a2; font-size: 10px; }
.demo-pill {
  padding: 8px 11px; border: 1px solid #d8e2ea; border-radius: 999px;
  color: #708194; background: #fff; font-size: 9px; font-weight: 720;
}
.green-pill { color: #20885f; border-color: #cbe8d8; background: #eefaf3; }
.demo-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-bottom: 14px; }
.demo-summary-grid.three { grid-template-columns: repeat(3, 1fr); }
.demo-summary {
  min-width: 0; padding: 17px;
  border: 1px solid #dfe6ec; border-radius: 13px; background: #fff;
}
.demo-summary.primary { background: linear-gradient(135deg, #102e4b, #174366); border-color: transparent; }
.demo-summary span, .demo-summary strong, .demo-summary small { display: block; }
.demo-summary span { color: #8b99a8; font-size: 9px; font-weight: 720; }
.demo-summary strong { margin: 8px 0 6px; color: #1b2e42; font-size: 20px; letter-spacing: -.025em; }
.demo-summary small { color: #8a99a8; font-size: 9px; }
.demo-summary.primary span, .demo-summary.primary small { color: #aebdca; }
.demo-summary.primary strong { color: #fff; }
.demo-dashboard-grid { display: grid; grid-template-columns: 1.55fr .85fr; gap: 14px; margin-bottom: 14px; }
.demo-card {
  min-width: 0; padding: 19px;
  border: 1px solid #dfe6ec; border-radius: 14px; background: #fff;
}
.demo-card-title { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.demo-card-title strong, .demo-card-title small { display: block; }
.demo-card-title strong { color: #26394d; font-size: 11px; }
.demo-card-title small { margin-top: 4px; color: #93a0ad; font-size: 9px; }
.demo-card-title > span { color: #278d68; font-size: 10px; font-weight: 720; }
.demo-chart { width: 100%; height: 205px; }
.demo-area { fill: url(#demoArea); }
.demo-axis { display: flex; justify-content: space-between; color: #96a4b1; font-size: 8px; }
.demo-allocation { display: grid; place-items: center; gap: 22px; padding: 9px 0; }
.demo-donut {
  width: 132px; height: 132px; border-radius: 50%;
  background: conic-gradient(var(--blue-bright) 0 41.2%, var(--green) 41.2% 85.3%, var(--purple) 85.3% 92.7%, var(--yellow) 92.7%);
  position: relative;
}
.demo-donut::after { content: ""; position: absolute; inset: 32px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px #eef2f5; }
.demo-legend { width: 100%; display: grid; gap: 8px; }
.demo-legend div { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 8px; }
.demo-legend div > span { width: 7px; height: 7px; border-radius: 50%; }
.blue { background: var(--blue-bright); }.green { background: var(--green); }.purple { background: var(--purple); }.yellow { background: var(--yellow); }
.demo-legend strong, .demo-legend b { font-size: 9px; }
.demo-legend strong { color: #596b7e; }.demo-legend b { color: #293b4f; }
.positions-card { padding-bottom: 12px; }
.table-link { border: 0; color: var(--blue); background: transparent; font-size: 9px; font-weight: 700; cursor: pointer; }
.demo-table { display: grid; }
.demo-tr {
  display: grid; grid-template-columns: 2fr 1fr 1fr .8fr 1fr; align-items: center;
  min-height: 43px; border-top: 1px solid #edf1f4; color: #647689; font-size: 9px;
}
.demo-tr.header { min-height: 31px; border-top: 0; color: #97a4b0; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.demo-tr > span:first-child { display: flex; align-items: center; gap: 8px; color: #2e4155; font-weight: 680; }
.asset-avatar { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: #30547a; background: #edf3f9; font-style: normal; font-size: 8px; font-weight: 800; }

.allocation-list { display: grid; }
.allocation-list > div {
  display: grid; grid-template-columns: 27px 105px 1fr 55px; align-items: center; gap: 9px;
  min-height: 55px; border-top: 1px solid #edf1f4;
}
.allocation-list > div:first-child { border-top: 0; }
.rank { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: #718193; background: #f0f4f7; font-size: 9px; font-weight: 760; }
.allocation-list strong, .allocation-list b { font-size: 9px; }
.allocation-list strong { color: #34475b; }
.allocation-list b { color: #27394d; text-align: right; }
.allocation-track { height: 8px; overflow: hidden; border-radius: 999px; background: #edf1f4; }
.allocation-track i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.blue-track i { background: var(--blue-bright); }.purple-track i { background: var(--purple); }.yellow-track i { background: var(--yellow); }
.health-track i { background: #74be99; }.aero-track i { background: #6389c8; }
.concentration-card { display: flex; align-items: center; justify-content: space-between; }
.concentration-card > div { display: flex; align-items: center; gap: 13px; }
.concentration-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 11px; color: #8d6716; background: #fbf2d8; font-size: 15px; font-weight: 800; }
.concentration-card strong, .concentration-card p { display: block; margin: 0; }
.concentration-card strong { color: #2b3e52; font-size: 10px; }
.concentration-card p { margin-top: 4px; color: #8090a0; font-size: 9px; line-height: 1.5; }
.risk-label { padding: 7px 10px; border-radius: 999px; color: #916a18; background: #fbf2d8; font-size: 8px; font-weight: 760; }

.performance-breakdown { display: grid; align-content: start; }
.result-row { display: grid; grid-template-columns: 1fr auto; gap: 5px; padding: 15px 0; border-top: 1px solid #edf1f4; }
.result-row:first-of-type { border-top: 0; }
.result-row span, .result-row strong { font-size: 9px; }
.result-row span { color: #66788a; }.result-row strong { color: #2b3e51; }
.result-row i { grid-column: 1 / -1; display: block; height: 6px; border-radius: 999px; background: var(--blue-bright); }
.negative-result i { background: #d98282; }
.result-total { display: flex; justify-content: space-between; margin-top: 15px; padding: 15px; border-radius: 11px; background: #f0f8f4; }
.result-total span, .result-total strong { font-size: 10px; }

.forecast-layout { display: grid; grid-template-columns: 310px 1fr; gap: 14px; }
.forecast-controls { display: grid; align-content: start; gap: 28px; }
.control-group > div { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.control-group label { color: #52667a; font-size: 10px; font-weight: 700; }
.control-group output { color: #21364d; font-size: 11px; font-weight: 760; }
.control-group input { width: 100%; accent-color: var(--blue); }
.forecast-disclaimer { padding: 12px; border-radius: 10px; color: #8b98a5; background: #f5f7f9; font-size: 8px; line-height: 1.5; }
.forecast-result-header span, .forecast-result-header strong, .forecast-result-header small { display: block; }
.forecast-result-header span { color: #8998a6; font-size: 9px; font-weight: 700; }
.forecast-result-header strong { margin: 6px 0; color: #1e3349; font-size: 24px; }
.forecast-result-header small { color: #8b9aa8; font-size: 9px; }
.forecast-chart { height: 255px; }
.forecast-legend { display: flex; gap: 16px; color: #82909e; font-size: 8px; }
.forecast-legend span { display: flex; align-items: center; gap: 6px; }
.forecast-legend i { width: 8px; height: 8px; border-radius: 50%; }
.capital-dot { background: var(--blue); }.gain-dot { background: var(--teal); }

.gallery-section { padding: 135px 0 125px; }
.split-heading { display: grid; grid-template-columns: 1.2fr .75fr; align-items: end; gap: 75px; max-width: none; }
.split-heading p { margin-bottom: 25px; }
.screenshot-gallery.enhanced-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.screenshot-card { overflow: hidden; margin: 0; border: 1px solid #dce5ec; border-radius: 22px; background: #fff; box-shadow: var(--shadow-md); }
.screenshot-card.featured { grid-column: 1 / -1; }
.screenshot-top { display: flex; justify-content: space-between; gap: 14px; padding: 17px 20px; border-bottom: 1px solid #e5ebf0; }
.screenshot-top span { color: #25394d; font-size: 12px; font-weight: 750; }
.screenshot-top small { color: #8a99a8; font-size: 10px; text-align: right; }
.screenshot-card img { display: block; width: 100%; height: auto; max-height: 760px; object-fit: cover; object-position: top left; }
.screenshot-gallery.enhanced-gallery .screenshot-card:not(.featured) img { max-height: 430px; }

.privacy-section {
  padding: 125px 0;
  color: #e8f0f7;
  background:
    radial-gradient(circle at 70% 55%, rgba(46, 130, 214, .19), transparent 33%),
    var(--navy-900);
}
.privacy-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 100px; }
.privacy-copy h2 { color: #fff; }
.privacy-copy p { max-width: 610px; color: #a0b2c2; font-size: 17px; line-height: 1.7; }
.privacy-copy ul { display: grid; gap: 18px; margin: 37px 0 0; padding: 0; list-style: none; }
.privacy-copy li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; }
.privacy-copy li > span { color: #5e89b1; font-size: 10px; font-weight: 780; letter-spacing: .1em; }
.privacy-copy li strong { color: #e9f1f8; font-size: 14px; }
.privacy-copy li p { margin: 5px 0 0; color: #91a5b7; font-size: 13px; }
.privacy-visual { position: relative; min-height: 520px; }
.privacy-core {
  position: absolute; z-index: 3; top: 50%; left: 50%;
  display: grid; place-items: center; width: 190px; height: 190px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(134,182,221,.36); border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #153e61, #0b2945 70%);
  box-shadow: 0 0 80px rgba(64,140,209,.22), inset 0 0 0 15px rgba(255,255,255,.02);
}
.privacy-core strong, .privacy-core small { display: block; }
.privacy-core strong { color: #fff; font-size: 15px; }
.privacy-core small { margin-top: -26px; color: #82a2bc; font-size: 9px; }
.privacy-lock { color: #75aaf0; font-size: 35px; }
.privacy-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(116,158,194,.24); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 330px; height: 330px; }
.orbit-two { width: 475px; height: 475px; }
.privacy-node {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px;
  padding: 10px 13px; border: 1px solid rgba(134,176,208,.26); border-radius: 12px;
  color: #a7bbcc; background: rgba(7,31,52,.85); font-size: 10px; font-weight: 700;
}
.privacy-node span { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(32,173,158,.12); }
.node-one { top: 16%; left: 14%; }.node-two { top: 25%; right: 7%; }.node-three { bottom: 15%; left: 9%; }.node-four { right: 13%; bottom: 19%; }

.download-section { padding: 130px 0; }
.download-panel {
  display: grid; grid-template-columns: 1.22fr .78fr; overflow: hidden;
  border: 1px solid #d8e2ea; border-radius: 30px; background: #fff; box-shadow: var(--shadow-md);
}
.download-copy-panel { padding: 60px; }
.download-panel h2 { margin: 22px 0; font-size: clamp(38px, 3.7vw, 59px); }
.download-copy-panel > p { max-width: 700px; color: #687b8e; font-size: 16px; line-height: 1.7; }
.platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin-top: 36px; }
.platforms div { display: grid; grid-template-columns: 37px 1fr; padding: 14px; border: 1px solid #e1e8ee; border-radius: 13px; }
.platform-icon { grid-row: 1 / 3; display: grid; place-items: center; color: var(--blue); font-size: 19px; }
.platforms strong, .platforms small { display: block; }
.platforms strong { color: #34485c; font-size: 11px; }.platforms small { margin-top: 3px; color: #91a0ae; font-size: 9px; }
.download-action-panel {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 55px; border-left: 1px solid #dce5ec;
  background: linear-gradient(160deg, #f7faff, #eef5f8);
}
.download-action-panel img { width: 250px; margin-bottom: 25px; }
.version-label { margin-bottom: 18px; padding: 8px 11px; border-radius: 999px; color: #547089; background: #fff; box-shadow: 0 5px 18px rgba(8,31,55,.07); font-size: 10px; font-weight: 740; }
.download-action-panel .ghost-button { margin-top: 10px; }
.download-action-panel small { margin-top: 14px; color: #8595a4; text-align: center; font-size: 9px; line-height: 1.5; }

.faq-section { padding: 20px 0 135px; }
.faq-section .section-heading { margin-bottom: 34px; }
.faq-list { display: grid; }
.faq-list details { border-top: 1px solid #dce4ea; }
.faq-list details:last-child { border-bottom: 1px solid #dce4ea; }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 25px 4px; color: #273b50; font-size: 16px; font-weight: 680; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #d9e2e9; border-radius: 50%; color: #718296; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 850px; margin: -6px 0 27px; color: #6d7f91; font-size: 14px; line-height: 1.7; }

footer { color: #b5c3cf; background: var(--navy-950); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-top: 70px; padding-bottom: 60px; }
.footer-main > div:first-child img { width: 220px; filter: brightness(0) invert(1); opacity: .92; }
.footer-main > div:first-child p { max-width: 380px; margin-top: 22px; color: #8399aa; font-size: 13px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 35px; }
.footer-links div { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong { margin-bottom: 6px; color: #dce7f0; font-size: 11px; }
.footer-links a { color: #8499aa; font-size: 11px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; padding-bottom: 25px; border-top: 1px solid rgba(159,181,198,.14); color: #668092; font-size: 9px; }

.demo-modal {
  position: fixed; z-index: 100; inset: 0; display: none; place-items: center; padding: 25px;
}
.demo-modal.open { display: grid; }
.demo-modal-backdrop { position: absolute; inset: 0; background: rgba(3,16,29,.75); backdrop-filter: blur(13px); }
.demo-modal-dialog {
  position: relative; z-index: 2; display: grid; grid-template-columns: .88fr 1.12fr;
  width: min(980px, 100%); overflow: hidden;
  border: 1px solid rgba(195,214,228,.3); border-radius: 26px; background: #fff; box-shadow: 0 45px 130px rgba(0,0,0,.42);
}
.demo-modal-content { padding: 55px; }
.modal-eyebrow { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.demo-modal-content h2 { margin: 18px 0; color: var(--navy-950); font-size: 42px; line-height: 1.03; letter-spacing: -.045em; }
.demo-modal-content p { color: #708295; font-size: 14px; line-height: 1.7; }
.demo-modal-start { margin-top: 17px; }
.demo-modal-close {
  position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; place-items: center;
  width: 35px; height: 35px; border: 1px solid rgba(218,228,236,.3); border-radius: 11px;
  color: #b8c6d0; background: rgba(7,27,49,.45); font-size: 22px; cursor: pointer;
}
.modal-preview { display: grid; grid-template-columns: 95px 1fr; min-height: 490px; background: #edf2f6; }
.modal-preview-sidebar { border-right: 1px solid #dbe4ea; background: #f9fbfc; }
.modal-preview-content { padding: 55px 28px; }
.modal-preview-content > span { display: inline-block; width: 25%; height: 65px; margin-right: 8px; border-radius: 11px; background: #fff; box-shadow: 0 6px 20px rgba(8,31,55,.06); }
.modal-preview-content > div { height: 230px; margin-top: 17px; border-radius: 15px; background: linear-gradient(180deg, #fff, #f9fbfd); box-shadow: 0 6px 20px rgba(8,31,55,.06); }

body.money-hidden [data-money] { font-size: 0!important; }
body.money-hidden [data-money]::after { content: "••••••"; font-size: 1rem; letter-spacing: .12em; }
body.money-hidden .demo-summary strong[data-money]::after { font-size: 20px; }
body.money-hidden .demo-tr [data-money]::after { font-size: 9px; }
body.money-hidden .result-row [data-money]::after, body.money-hidden .result-total [data-money]::after { font-size: 10px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }.delay-2 { transition-delay: .2s; }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 34px, 1020px); }
  .site-header { grid-template-columns: 190px 1fr 285px; }
  .desktop-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; padding-top: 75px; }
  .hero-copy { max-width: 800px; padding-left: 0; }
  .hero-visual { max-width: 950px; }
  .hero-theme-card { right: 18px; width: 280px; }
  .floating-private { left: 15px; }
  .floating-performance { right: 15px; }
  .demo-heading, .privacy-grid { gap: 55px; }
  .demo-app { grid-template-columns: 180px 1fr; }
  .demo-content { padding: 20px; }
  .demo-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-dashboard-grid { grid-template-columns: 1fr; }
  .demo-app { min-height: 870px; }
  .screenshot-gallery.enhanced-gallery { grid-template-columns: 1fr; }
  .screenshot-card.featured { grid-column: auto; }
  .screenshot-gallery.enhanced-gallery .screenshot-card img { max-height: 560px; }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 68px; margin-top: 8px; border-radius: 18px; }
  .brand img { width: 150px; }
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu-button {
    display: grid; gap: 6px; width: 42px; height: 42px; place-content: center;
    border: 1px solid #d8e2e9; border-radius: 12px; background: #fff; cursor: pointer;
  }
  .mobile-menu-button span { width: 17px; height: 2px; border-radius: 999px; background: #3b4f63; }
  .mobile-nav {
    position: fixed; z-index: 39; top: 84px; right: 16px; left: 16px;
    padding: 10px; border: 1px solid #d9e2e9; border-radius: 16px; background: rgba(255,255,255,.97);
    box-shadow: var(--shadow-md); backdrop-filter: blur(16px);
  }
  .mobile-nav:not([hidden]) { display: grid; }
  .mobile-nav a { padding: 12px; border-radius: 10px; color: #44586c; font-size: 13px; font-weight: 680; }
  .hero { min-height: auto; padding: 70px 0 95px; gap: 45px; }
  .hero h1 { font-size: clamp(48px, 14vw, 72px); }
  .hero-lead { font-size: 16px; }
  .hero-window { transform: none; }
  .hero-theme-card { position: static; width: 100%; margin-top: 16px; }
  .floating-card { display: none; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip div:nth-child(3) { border-left: 0; border-top: 1px solid #e2e8ee; }
  .proof-strip div:nth-child(4) { border-top: 1px solid #e2e8ee; }
  .feature-grid { grid-template-columns: 1fr; }
  .large-card { grid-column: auto; min-height: 560px; padding: 30px; }
  .mini-dashboard { right: 20px; bottom: 20px; left: 20px; }
  .mini-metrics { grid-template-columns: 1fr; }
  .mini-metrics div:nth-child(n+2) { display: none; }
  .demo-heading, .privacy-grid, .download-panel, .split-heading, .footer-main { grid-template-columns: 1fr; }
  .demo-heading { gap: 25px; }
  .demo-app { grid-template-columns: 1fr; min-height: auto; }
  .demo-sidebar { padding: 9px; border-right: 0; border-bottom: 1px solid #dfe6eb; }
  .demo-profile, .demo-local-state { display: none; }
  .demo-sidebar nav { grid-template-columns: repeat(4, 1fr); }
  .demo-nav { justify-content: center; padding: 0 5px; font-size: 9px; }
  .demo-nav i { display: none; }
  .demo-content { padding: 14px; }
  .demo-summary-grid, .demo-summary-grid.three { grid-template-columns: repeat(2, 1fr); }
  .demo-tr { grid-template-columns: 1.8fr 1fr 1fr; }
  .demo-tr span:nth-child(2), .demo-tr span:nth-child(4) { display: none; }
  .allocation-list > div { grid-template-columns: 27px 95px 1fr 50px; }
  .forecast-layout { grid-template-columns: 1fr; }
  .privacy-grid { gap: 50px; }
  .privacy-visual { min-height: 460px; }
  .download-action-panel { border-top: 1px solid #dce5ec; border-left: 0; }
  .footer-main { gap: 45px; }
  .demo-modal-dialog { grid-template-columns: 1fr; }
  .modal-preview { display: none; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100vw - 24px); }
  .hero-actions { flex-direction: column; }
  .hero-actions > * { width: 100%; }
  .hero-notes { display: grid; }
  .window-state { display: none; }
  .window-bar { grid-template-columns: 1fr 1fr; }
  .window-title { text-align: right; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip div + div { border-top: 1px solid #e2e8ee; border-left: 0; }
  .product-section, .gallery-section, .privacy-section, .download-section { padding-top: 90px; padding-bottom: 90px; }
  .feature-card { padding: 25px; }
  .large-card { min-height: 500px; }
  .mini-line-chart { height: 180px; }
  .demo-section { padding: 90px 0; }
  .demo-topline { align-items: flex-start; gap: 10px; }
  .demo-window-title span { display: none; }
  .demo-window-title img { width: 105px; }
  .demo-toolbar button { padding: 0 9px; font-size: 8px; }
  .demo-summary-grid, .demo-summary-grid.three { grid-template-columns: 1fr; }
  .demo-page-title { align-items: flex-start; gap: 12px; }
  .demo-pill { display: none; }
  .demo-summary:nth-child(n+3) { display: none; }
  .allocation-list > div { grid-template-columns: 25px 80px 1fr 45px; }
  .concentration-card { align-items: flex-start; gap: 10px; }
  .risk-label { display: none; }
  .privacy-visual { transform: scale(.82); margin: -45px; }
  .platforms { grid-template-columns: 1fr; }
  .download-copy-panel, .download-action-panel { padding: 35px 25px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .demo-modal-content { padding: 42px 28px; }
  .demo-modal-content h2 { font-size: 34px; }
}

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


/* Atlas landing v3 — vraie démo basée sur le frontend desktop */
.hero-theme-card, .floating-performance { display: none !important; }
.real-demo-shell { overflow: hidden; border: 1px solid rgba(176,198,216,.24); border-radius: 28px; background: #f6f8fa; box-shadow: 0 48px 120px rgba(0,0,0,.35); }
.real-demo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 70px; padding: 12px 18px 12px 22px; border-bottom: 1px solid #dce5ec; color: #3e5267; background: #fff; }
.real-demo-toolbar > div { display: grid; grid-template-columns: auto auto; align-items: center; gap: 3px 9px; }
.real-demo-toolbar strong { font-size: 12px; }
.real-demo-toolbar small { grid-column: 2; color: #8494a3; font-size: 9px; }
.live-dot { grid-row: 1 / 3; width: 9px; height: 9px; border-radius: 50%; background: #45bd79; box-shadow: 0 0 0 5px rgba(69,189,121,.13); }
.real-demo-frame { display: block; width: 100%; height: min(850px, 76vh); min-height: 720px; border: 0; background: #f8fafb; }
.product-tour-section { padding: 135px 0 125px; }
.product-tour-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 28px; align-items: stretch; }
.tour-copy { display: grid; align-content: start; gap: 10px; }
.tour-tab { display: grid; grid-template-columns: 42px 1fr; gap: 14px; width: 100%; padding: 19px; border: 1px solid transparent; border-radius: 16px; color: #607286; background: transparent; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.tour-tab:hover { transform: translateX(3px); background: #f6f9fb; }
.tour-tab.active { border-color: #d9e4ec; background: #fff; box-shadow: 0 14px 34px rgba(8,31,55,.07); }
.tour-tab > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #477cbe; background: #eef4fa; font-size: 10px; font-weight: 800; }
.tour-tab strong, .tour-tab small { display: block; }
.tour-tab strong { color: #24384d; font-size: 13px; }
.tour-tab small { margin-top: 6px; color: #7e8e9e; font-size: 11px; line-height: 1.5; }
.tour-visual { overflow: hidden; margin: 0; border: 1px solid #dce5ec; border-radius: 23px; background: #fff; box-shadow: var(--shadow-md); }
.tour-visual-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 20px; border-bottom: 1px solid #e5ebf0; }
.tour-visual-head strong, .tour-visual-head small { display: block; }
.tour-visual-head strong { color: #25394d; font-size: 12px; }
.tour-visual-head small { margin-top: 4px; color: #8a99a8; font-size: 9px; }
.tour-visual-head > span { padding: 7px 10px; border-radius: 999px; color: #57728a; background: #f0f5f8; font-size: 9px; font-weight: 720; }
.tour-visual img { width: 100%; min-height: 560px; object-fit: cover; object-position: top left; }
@media (max-width: 1120px) { .product-tour-grid { grid-template-columns: 1fr; } .tour-copy { grid-template-columns: repeat(2, 1fr); } .real-demo-frame { height: 760px; } }
@media (max-width: 820px) { .real-demo-toolbar { align-items: flex-start; } .real-demo-toolbar small { display: none; } .real-demo-frame { min-height: 660px; height: 70vh; } .tour-copy { grid-template-columns: 1fr; } .tour-visual img { min-height: 380px; } }
@media (max-width: 560px) { .real-demo-toolbar .ghost-button { display: none; } .real-demo-frame { min-height: 610px; } .tour-visual-head > span { display: none; } }


/* Product tour: the real screenshot follows the selected tab. */
.tour-image-stage {
  overflow: hidden;
  background: #f7f9fb;
}

#tour-image {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
  transform: scale(1);
  transition: opacity .16s ease, transform .28s ease;
}

#tour-image.changing {
  opacity: 0;
  transform: scale(.992);
}
