:root {
  --bg: #07111f;
  --bg-soft: #0b1828;
  --panel: #0f2033;
  --panel-2: #12273d;
  --text: #f6f9fc;
  --muted: #9fb0c3;
  --line: rgba(255,255,255,.10);
  --accent: #45d0b7;
  --accent-2: #7ce8d5;
  --ink: #102236;
  --white: #ffffff;
  --shadow: 0 30px 80px rgba(0,0,0,.30);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(7,17,31,.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav-wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.16rem; letter-spacing: -.02em; }
.brand-mark { width: 28px; height: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; transform: rotate(-22deg); }
.brand-mark span { background: var(--accent); border-radius: 8px; }
.brand-mark span:nth-child(2) { transform: translateY(4px); opacity: .82; }
.brand-mark span:nth-child(3) { transform: translateY(8px); opacity: .58; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: #c7d3df; font-size: .95rem; transition: .2s ease; }
.main-nav a:hover { color: var(--white); }
.main-nav .nav-cta { color: var(--ink); background: var(--accent); padding: 10px 17px; border-radius: 999px; font-weight: 700; }
.menu-toggle { display: none; background: none; border: 0; padding: 5px; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--white); margin: 5px 0; }

.hero {
  min-height: 790px;
  padding: 160px 0 95px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(69,208,183,.13), transparent 27%),
    radial-gradient(circle at 18% 20%, rgba(48,113,209,.16), transparent 32%),
    var(--bg);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.hero-layout { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 64px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent-2); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3.3rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.055em; margin: 24px 0 26px; }
h1 span { color: var(--accent); }
.hero-text { color: #b7c4d2; font-size: 1.12rem; max-width: 650px; }
.hero-actions { display: flex; gap: 14px; margin: 34px 0 42px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: 12px; font-weight: 800;
  border: 1px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--accent); color: var(--ink); }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,.03); }
.button.light { background: var(--white); color: var(--ink); }
.disabled-link { opacity: .72; pointer-events: none; }
.trust-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); }
.trust-row strong, .trust-row span { display: block; }
.trust-row strong { font-size: .95rem; }
.trust-row span { color: var(--muted); font-size: .77rem; margin-top: 4px; }

.hero-visual { position: relative; }
.dashboard-shell {
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(10,25,42,.85);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1300px) rotateY(-5deg) rotateX(2deg);
}
.window-bar { height: 54px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line); color: #b7c4d2; font-size: .75rem; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.window-dots i:first-child { background: #ff817a; }
.window-dots i:nth-child(2) { background: #ffd36c; }
.window-dots i:nth-child(3) { background: #67d992; }
.status { justify-self: end; color: var(--accent); }
.dashboard-content { padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric-card, .chart-card, .model-row { background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 15px; }
.metric-card { padding: 17px; }
.metric-card span, .metric-card small { display: block; color: var(--muted); font-size: .7rem; }
.metric-card strong { font-size: 1.65rem; display: block; margin: 6px 0 2px; }
.chart-card { grid-column: 1/-1; padding: 16px; }
.chart-head { display: flex; justify-content: space-between; align-items: start; }
.chart-head span, .chart-head strong { display: block; }
.chart-head span { color: var(--muted); font-size: .68rem; }
.chart-head strong { font-size: .88rem; }
.chip { border: 1px solid var(--line); padding: 5px 9px; border-radius: 999px; }
.chart-card svg { width: 100%; height: auto; margin-top: 9px; overflow: visible; }
.grid-lines line { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.area { fill: url(#area); }
.actual, .forecast { fill: none; stroke-width: 4; stroke-linecap: round; }
.actual { stroke: #87a0bc; }
.forecast { stroke: var(--accent); stroke-dasharray: 10 8; }
.chart-card circle { fill: var(--accent); stroke: var(--bg); stroke-width: 3; }
.chart-legend { display: flex; gap: 16px; justify-content: end; color: var(--muted); font-size: .66rem; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend i { width: 14px; height: 2px; display: inline-block; }
.actual-key { background: #87a0bc; }
.forecast-key { background: var(--accent); }
.model-row { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; }
.model-row div { padding: 14px; border-right: 1px solid var(--line); }
.model-row div:last-child { border: 0; }
.model-row span, .model-row strong { display: block; }
.model-row span { color: var(--muted); font-size: .64rem; }
.model-row strong { font-size: .74rem; margin-top: 4px; }
.floating-note {
  position: absolute; display: flex; gap: 10px; align-items: center;
  padding: 11px 14px; background: #f7fbff; color: var(--ink);
  border-radius: 12px; box-shadow: 0 16px 50px rgba(0,0,0,.3);
}
.floating-note > span { width: 30px; height: 30px; display: grid; place-items: center; background: rgba(69,208,183,.18); color: #158d79; border-radius: 9px; font-weight: 900; }
.floating-note strong, .floating-note small { display: block; }
.floating-note strong { font-size: .76rem; }
.floating-note small { font-size: .62rem; color: #66788a; }
.note-one { left: -34px; bottom: 55px; }
.note-two { right: -28px; top: 72px; }

.logo-strip { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.logo-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo-strip p { margin: 0; color: var(--muted); font-size: .77rem; max-width: 300px; }
.role-list { display: flex; gap: 25px; flex-wrap: wrap; color: #c9d5e1; font-size: .78rem; font-weight: 700; }

.section { padding: 110px 0; }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2, .about-panel h2, .contact-card h2, .demo-copy h2 {
  font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.045em; margin: 20px 0;
}
.section-heading p, .demo-copy > p, .about-copy p, .contact-card p { color: var(--muted); font-size: 1.04rem; }
.card-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.feature-card {
  padding: 31px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  border: 1px solid var(--line); border-radius: 20px; transition: transform .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(69,208,183,.45); }
.icon-box { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; background: rgba(69,208,183,.13); color: var(--accent); font-size: 1.3rem; margin-bottom: 22px; }
.feature-card h3 { font-size: 1.35rem; margin-bottom: 9px; }
.feature-card p { color: var(--muted); }
.feature-card ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 9px; }
.feature-card li { color: #ced9e3; font-size: .88rem; }
.feature-card li::before { content: "✓"; color: var(--accent); margin-right: 9px; }

.demo-section { background: #eef4f7; color: var(--ink); }
.demo-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 75px; align-items: center; }
.demo-section .eyebrow { color: #198f7d; }
.demo-copy > p { color: #617487; }
.check-list { display: grid; gap: 20px; margin: 34px 0; }
.check-list > div { display: flex; gap: 16px; align-items: start; }
.check-list > div > span { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: .7rem; font-weight: 800; flex: 0 0 auto; }
.check-list p, .check-list strong, .check-list small { display: block; margin: 0; }
.check-list small { color: #738395; margin-top: 2px; }
.microcopy { font-size: .72rem !important; margin-top: 12px; }
.excel-preview { background: white; border-radius: 20px; box-shadow: 0 30px 80px rgba(34,57,78,.18); overflow: hidden; border: 1px solid #d8e2e9; transform: rotate(1deg); }
.excel-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 17px; background: #123626; color: white; }
.excel-brand { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; }
.excel-brand span { width: 25px; height: 25px; display: grid; place-items: center; background: #1d6f42; border-radius: 6px; }
.excel-controls { display: flex; gap: 7px; }
.excel-controls i { width: 9px; height: 9px; background: rgba(255,255,255,.45); border-radius: 50%; }
.sheet-tabs { padding: 9px 14px; border-bottom: 1px solid #e4eaee; display: flex; gap: 16px; font-size: .64rem; }
.sheet-tabs span { padding: 5px 7px; color: #657789; }
.sheet-tabs .active { color: #1c7148; border-bottom: 2px solid #1c7148; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .62rem; min-width: 620px; }
th, td { padding: 11px 12px; border-right: 1px solid #edf1f4; border-bottom: 1px solid #edf1f4; text-align: left; white-space: nowrap; }
th { background: #f3f7f5; color: #405568; font-weight: 800; }
td { color: #5a6d7e; }
.best { display: inline-block; background: #dff4e7; color: #17633d; padding: 4px 7px; border-radius: 6px; font-weight: 800; }
tr.risk td { background: #fff2f0; }
.excel-footer { padding: 10px 14px; display: flex; justify-content: space-between; color: #738395; font-size: .58rem; }

.process-section { background: #091523; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 50px; }
.process-step { padding: 26px 22px; border-top: 1px solid rgba(69,208,183,.55); background: rgba(255,255,255,.025); min-height: 230px; }
.process-step > span { color: var(--accent); font-size: .72rem; font-weight: 900; }
.process-step h3 { margin: 45px 0 10px; font-size: 1.05rem; }
.process-step p { color: var(--muted); font-size: .85rem; }

.about-section { background: var(--bg-soft); }
.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.about-panel { padding-right: 20px; }
.about-copy .lead { color: var(--white); font-size: 1.35rem; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.about-stats strong, .about-stats span { display: block; }
.about-stats strong { font-size: .88rem; }
.about-stats span { color: var(--muted); font-size: .72rem; margin-top: 5px; }

.contact-section { padding: 90px 0; background: #eef4f7; color: var(--ink); }
.contact-card { background: var(--accent); border-radius: 28px; padding: 55px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 45px; align-items: center; }
.contact-card .eyebrow { color: #0d5e51; }
.contact-card .eyebrow::before { background: #0d5e51; }
.contact-card h2 { margin-bottom: 14px; }
.contact-card p { color: #235f59; margin: 0; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.contact-actions span { color: #245f58; font-size: .72rem; }

.site-footer { padding: 50px 0 25px; background: #050d17; }
.footer-grid { display: grid; grid-template-columns: .7fr 1fr 1fr; gap: 40px; align-items: center; }
.footer-grid p { color: var(--muted); font-size: .82rem; margin: 0; }
.footer-links { display: flex; justify-content: flex-end; gap: 22px; color: #c5d0db; font-size: .78rem; }
.footer-bottom { margin-top: 35px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: #718295; font-size: .68rem; }

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

@media (max-width: 980px) {
  .hero-layout, .demo-layout, .about-layout, .contact-card { grid-template-columns: 1fr; }
  .hero { padding-top: 135px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 700px; margin: 30px auto 0; }
  .dashboard-shell { transform: none; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .about-layout { gap: 35px; }
  .contact-actions { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .main-nav {
    display: none; position: absolute; top: 76px; left: 20px; right: 20px;
    flex-direction: column; align-items: stretch; gap: 0; background: #0c1a2b;
    border: 1px solid var(--line); border-radius: 14px; padding: 10px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav .nav-cta { text-align: center; margin-top: 5px; }
  .menu-toggle { display: block; }
  h1 { font-size: 3.25rem; }
  .trust-row, .card-grid, .process-grid, .about-stats { grid-template-columns: 1fr; }
  .trust-row { gap: 14px; }
  .logo-strip .container { align-items: flex-start; flex-direction: column; }
  .role-list { gap: 14px 20px; }
  .section { padding: 78px 0; }
  .note-one, .note-two { display: none; }
  .contact-card { padding: 34px 25px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1180px); }
  .hero { min-height: auto; }
  h1 { font-size: 2.75rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .dashboard-content { grid-template-columns: 1fr; }
  .metric-card, .chart-card, .model-row { grid-column: 1; }
  .model-row { grid-template-columns: 1fr; }
  .model-row div { border-right: 0; border-bottom: 1px solid var(--line); }
  .window-bar { grid-template-columns: 1fr 1fr; }
  .window-bar > span:nth-child(2) { display: none; }
}
