/* ============================================================
   LANDING PAGE — marketing site
   Tokens (--bg, --gold, --gold-gradient, --text, --radius, fonts…)
   come from css/styles.css, loaded before this file. This file
   only adds landing-page-specific layout/components.
============================================================ */

.lp-container{
  max-width:1040px;
  margin:0 auto;
  padding:0 24px;
}

.gold{color:var(--gold-bright);}

/* ============================================================
   HEADER
============================================================ */
.lp-header{
  width:100%;
  border-bottom:1px solid var(--border);
  background:var(--bg-1);
}
.lp-header-inner{
  max-width:1040px;
  margin:0 auto;
  padding:20px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.lp-brand{display:flex;align-items:center;gap:12px;}
.lp-brand-mark{width:26px;height:auto;display:block;}
.lp-brand-word{
  font-family:'Fraunces',serif;
  font-weight:700;
  font-size:1.05rem;
  letter-spacing:.14em;
  color:var(--text);
}
.lp-header-right{display:flex;align-items:center;gap:20px;}
.lp-header-tag{display:flex;align-items:center;gap:10px;}
.lp-header-tag span{
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.12em;
  color:var(--text-dim);
  text-transform:uppercase;
  white-space:nowrap;
}
.lp-tag-mark{width:16px;height:auto;display:block;flex-shrink:0;}

/* Returning students land here (vantumos.com is the sales page, not the
   app) with no other way to reach /login — this is their only path in. */
.lp-login-link{
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--text-dim);
  text-decoration:none;
  white-space:nowrap;
  padding:8px 16px;
  border:1px solid var(--border);
  border-radius:999px;
  transition:color .15s ease,border-color .15s ease;
}
.lp-login-link:hover{color:var(--gold-bright);border-color:rgba(214,168,62,0.4);}

@media (max-width:640px){
  .lp-header-tag span{display:none;}
  .lp-header-right{gap:12px;}
}

/* ============================================================
   HERO
============================================================ */
.lp-hero{
  position:relative;
  max-width:1040px;
  margin:0 auto;
  padding:64px 24px 56px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  overflow-x:hidden;
  overflow-y:visible;
}

/* ============================================================
   HERO 3D BACKDROP
   Generated render, positioned behind the in-flow hero content
   (z-index:-1 inside this positioned section paints below all
   non-positioned children automatically). Mouse-tilt is applied
   by js/hero-3d-tilt.js to the inner <img>; the outer wrapper
   only handles placement, fade and the ambient drift keyframe.
============================================================ */
.lp-hero-3d{
  position:absolute;
  top:-36px;
  left:50%;
  width:min(1500px, 165%);
  transform:translateX(-50%);
  z-index:-1;
  pointer-events:none;
  opacity:.9;
  -webkit-mask-image:linear-gradient(180deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 52%, transparent 86%);
  mask-image:linear-gradient(180deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 52%, transparent 86%);
  animation:hero3dDrift 11s ease-in-out infinite;
}
.lp-hero-3d-img{
  width:100%;
  height:auto;
  display:block;
  transition:transform .4s cubic-bezier(.16,1,.3,1);
  will-change:transform;
}
@keyframes hero3dDrift{
  0%,100%{transform:translateX(-50%) translateY(0);}
  50%{transform:translateX(-50%) translateY(-9px);}
}
@media (prefers-reduced-motion:reduce){
  .lp-hero-3d{animation:none;}
  .lp-hero-3d-img{transition:none;}
}
@media (max-width:720px){
  .lp-hero-3d{opacity:.6;top:-16px;}
}

.lp-eyebrow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin-bottom:22px;
}
.lp-eyebrow span:not(.lp-rule){
  font-family:'JetBrains Mono',ui-monospace,monospace;
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.1em;
  color:var(--gold-bright);
  text-transform:uppercase;
  text-shadow:0 2px 10px rgba(0,0,0,.7);
}
.lp-rule{
  width:56px;
  height:1px;
  background:linear-gradient(90deg, transparent, var(--gold-dim));
  flex-shrink:0;
}
.lp-eyebrow .lp-rule:last-child{
  background:linear-gradient(90deg, var(--gold-dim), transparent);
}

@media (max-width:560px){
  .lp-eyebrow{flex-wrap:wrap;row-gap:10px;}
  .lp-eyebrow span:not(.lp-rule){font-size:.66rem;letter-spacing:.1em;white-space:normal;}
  .lp-rule{width:28px;}
}

.lp-h1{
  font-family:'Fraunces',serif;
  font-weight:600;
  font-style:normal;
  font-optical-sizing:auto;
  text-transform:none;
  font-size:clamp(2.1rem, 5.6vw, 3.85rem);
  line-height:1.08;
  letter-spacing:-0.01em;
  color:var(--text);
  max-width:780px;
  margin:0 0 22px;
  text-shadow:0 4px 20px rgba(0,0,0,.55);
}

.lp-sub{
  max-width:600px;
  color:var(--text-dim);
  font-size:1.02rem;
  line-height:1.65;
  margin:0 0 40px;
  text-shadow:0 2px 12px rgba(0,0,0,.6);
}

/* ============================================================
   VIDEO BLOCK
============================================================ */
.lp-video-wrap{
  width:100%;
  max-width:900px;
  border:1px solid rgba(214,168,62,0.4);
  border-radius:var(--radius-lg);
  background:var(--bg-card);
  box-shadow:var(--shadow-gold);
  overflow:hidden;
  margin-bottom:36px;
}

.lp-video-stage{
  position:relative;
  width:100%;
  aspect-ratio:16/8.6;
  background:#050505;
  overflow:hidden;
}
.lp-video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  background:#050505;
}

.lp-video-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.1);
  transition:opacity .25s ease;
}
.lp-video-overlay.hidden{
  opacity:0;
  pointer-events:none;
}

.lp-video-brand{
  position:absolute;
  left:6%;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  max-width:52%;
  pointer-events:none;
}
.lp-video-brand-mark{width:34px;height:auto;margin-bottom:4px;filter:drop-shadow(0 0 14px rgba(214,168,62,0.35));}
.lp-video-brand-word{
  font-family:'Fraunces',serif;
  font-weight:700;
  font-size:clamp(1.3rem, 3.4vw, 2.1rem);
  letter-spacing:.1em;
  color:var(--gold-bright);
  white-space:nowrap;
}
.lp-video-brand-tag{
  font-size:clamp(.68rem, 1.4vw, .82rem);
  font-weight:600;
  letter-spacing:.06em;
  color:var(--text);
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}

.lp-play-btn{
  position:relative;
  z-index:2;
  width:70px;
  height:70px;
  border-radius:50%;
  border:none;
  background:var(--gold-gradient);
  color:#161207;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 8px 28px rgba(0,0,0,0.5), 0 0 0 8px rgba(214,168,62,0.08);
  transition:transform .18s ease, box-shadow .18s ease;
}
.lp-play-btn:hover{transform:scale(1.06);box-shadow:0 10px 32px rgba(0,0,0,0.55), 0 0 0 10px rgba(214,168,62,0.12);}
.lp-play-btn .icon{width:26px;height:26px;margin-left:3px;}

/* -- custom control bar -- */
.lp-video-controls{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  background:var(--bg-1);
  border-top:1px solid var(--border);
}
.lp-ctrl-btn{
  background:transparent;
  border:none;
  color:var(--text-dim);
  width:30px;
  height:30px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  cursor:pointer;
  transition:color .15s ease, background .15s ease;
}
.lp-ctrl-btn:hover{color:var(--gold-bright);background:rgba(214,168,62,0.08);}
.lp-ctrl-btn .icon{width:18px;height:18px;}

.lp-time{
  font-size:.78rem;
  color:var(--text-dim);
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
  flex-shrink:0;
}

.lp-scrubber-wrap{flex:1;min-width:60px;display:flex;align-items:center;}
.lp-scrubber,
.lp-volume-slider{
  -webkit-appearance:none;
  appearance:none;
  width:100%;
  height:4px;
  border-radius:3px;
  background:linear-gradient(90deg, var(--gold) 0%, var(--gold) var(--fill,0%), var(--border) var(--fill,0%), var(--border) 100%);
  cursor:pointer;
  outline:none;
}
.lp-scrubber::-webkit-slider-thumb,
.lp-volume-slider::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:13px;
  height:13px;
  border-radius:50%;
  background:var(--gold-bright);
  box-shadow:0 0 0 3px rgba(214,168,62,0.18);
  cursor:pointer;
}
.lp-scrubber::-moz-range-thumb,
.lp-volume-slider::-moz-range-thumb{
  width:13px;height:13px;border:none;border-radius:50%;background:var(--gold-bright);
  box-shadow:0 0 0 3px rgba(214,168,62,0.18);cursor:pointer;
}
.lp-scrubber::-moz-range-track,
.lp-volume-slider::-moz-range-track{height:4px;border-radius:3px;background:var(--border);}

.lp-ctrl-right{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.lp-volume-slider{width:70px;}

@media (max-width:640px){
  .lp-volume-slider{display:none;}
  .lp-video-controls{gap:6px;padding:10px 12px;}
  .lp-video-brand-word{font-size:1.1rem;}
  .lp-ctrl-right{gap:4px;}
  .lp-scrubber-wrap{min-width:36px;}
  [data-role="ctrl-volume"]{display:none;}
}
@media (max-width:400px){
  [data-role="ctrl-settings"]{display:none;}
}

/* ============================================================
   CTA BUTTON (shared by hero + closing)
============================================================ */
.lp-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:var(--gold-gradient);
  color:#161207;
  font-weight:800;
  font-size:.94rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:17px 34px;
  border-radius:12px;
  border:none;
  cursor:pointer;
  box-shadow:0 8px 26px rgba(139,103,28,0.32);
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease;
  text-decoration:none;
  white-space:nowrap;
}
.lp-cta:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 34px rgba(214,168,62,0.5), 0 0 30px rgba(214,168,62,0.25);
  filter:brightness(1.04);
}
.lp-cta:active{transform:translateY(0) scale(.98);}
.lp-cta .icon{width:18px;height:18px;}

.lp-cta-subtext{
  display:flex;
  align-items:center;
  gap:7px;
  margin:16px 0 0;
  font-size:.82rem;
  color:var(--text-faint);
}
.lp-cta-subtext .icon{width:14px;height:14px;color:var(--text-faint);}

/* ============================================================
   SHARED SECTION WRAPPER
============================================================ */
.lp-section{
  max-width:1040px;
  margin:0 auto 28px;
  padding:0 24px;
}

.lp-section-label{
  text-align:center;
  font-family:'JetBrains Mono',ui-monospace,monospace;
  font-size:.78rem;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold-bright);
  margin:0 0 34px;
}

/* ============================================================
   OS CHROME — the signature system-window bar. Wraps the video
   player and the proof panel so both read as live modules inside
   Vantum OS itself, not generic marketing blocks.
============================================================ */
.os-chrome{
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 16px;
  background:var(--bg-1);
  border-bottom:1px solid var(--border);
  font-family:'JetBrains Mono',ui-monospace,monospace;
}
.os-chrome-dots{display:flex;align-items:center;gap:6px;flex-shrink:0;}
.os-chrome-dot{width:7px;height:7px;border-radius:2px;background:var(--border-strong);}
.os-chrome-dot--live{background:var(--signal);box-shadow:0 0 0 0 rgba(127,227,201,0.5);animation:chromePulse 2.2s ease-in-out infinite;}
@keyframes chromePulse{
  0%,100%{box-shadow:0 0 0 0 rgba(127,227,201,0.45);}
  50%{box-shadow:0 0 0 4px rgba(127,227,201,0);}
}
.os-chrome-path{
  font-size:.72rem;
  color:var(--text-faint);
  letter-spacing:.01em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.os-chrome-path b{color:var(--text-dim);font-weight:500;}
.os-chrome-status{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:7px;
  font-size:.68rem;
  font-weight:600;
  letter-spacing:.1em;
  color:var(--signal);
  flex-shrink:0;
}
.os-chrome-status-blip{width:6px;height:6px;border-radius:50%;background:var(--signal);animation:chromeBlip 1.6s ease-in-out infinite;}
@keyframes chromeBlip{0%,100%{opacity:1;}50%{opacity:.25;}}
@media (max-width:560px){
  .os-chrome{gap:10px;padding:9px 12px;}
  .os-chrome-path{font-size:.66rem;}
}

/* ============================================================
   THE ASCENT PATH — signature motif. Foundations -> Advanced ->
   Applied is the product's real structure (see js/data.js TIERS,
   in this exact order with heroShape peak/hex/ascend). This
   section is the marketing-page rendering of that same path, not
   a decorative feature grid — the icons here are the identical
   glyphs used for these tiers throughout the dashboard.
============================================================ */
.lp-unlock-wrap{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:44px 40px 40px;
}

.ascent-path{
  display:grid;
  grid-template-columns:1fr 48px 1fr 48px 1fr;
  align-items:start;
}
.ascent-node{display:flex;flex-direction:column;align-items:flex-start;text-align:left;}
.ascent-node-marker{
  width:64px;
  height:64px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  position:relative;
  z-index:1;
}
.ascent-node-marker img{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 8px 18px rgba(198,160,90,0.3));
  transition:transform .4s cubic-bezier(.16,1,.3,1);
}
.ascent-node:hover .ascent-node-marker img{transform:scale(1.08) rotate(-4deg);}
@media (prefers-reduced-motion:reduce){
  .ascent-node-marker img{transition:none;}
}
.ascent-connector{
  height:1px;
  background:var(--border-strong);
  margin-top:26px;
}
.ascent-connector--lit{background:linear-gradient(90deg, var(--gold), var(--border-strong));}
.ascent-node-stage{
  font-family:'JetBrains Mono',ui-monospace,monospace;
  font-size:.68rem;
  color:var(--text-faint);
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.ascent-node--start .ascent-node-stage{color:var(--gold-bright);}
.ascent-node-title{
  font-family:'Fraunces',serif;
  font-weight:600;
  font-size:1.22rem;
  margin:0 0 10px;
  color:var(--text);
}
.ascent-node-desc{
  font-size:.84rem;
  color:var(--text-dim);
  line-height:1.55;
  margin:0;
  max-width:280px;
}
.ascent-node-cert{
  margin-top:12px;
  font-family:'JetBrains Mono',ui-monospace,monospace;
  font-size:.66rem;
  letter-spacing:.04em;
  color:var(--text-faint);
}
.ascent-node-cert b{color:var(--gold-bright);font-weight:500;}

@media (max-width:820px){
  .ascent-path{grid-template-columns:1fr;gap:28px;}
  .ascent-connector{display:none;}
  .ascent-node-desc{max-width:none;}
  .lp-unlock-wrap{padding:34px 24px;}
}

/* ============================================================
   SOCIAL PROOF
============================================================ */
.lp-proof-wrap{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.os-chrome--inset{background:var(--bg-1);}
.lp-proof-body{
  padding:32px 40px;
  display:flex;
  align-items:center;
  gap:40px;
}

.lp-proof-quote{flex:1.4;min-width:0;position:relative;}
.lp-quote-mark{
  display:block;
  font-family:'Fraunces',serif;
  font-size:3.4rem;
  line-height:1;
  color:var(--gold-dim);
  margin-bottom:4px;
}
.lp-quote-text{
  font-size:1.02rem;
  line-height:1.6;
  color:var(--text);
  margin:0 0 14px;
}
.lp-quote-attr{
  font-size:.84rem;
  color:var(--gold-bright);
  font-weight:600;
  margin:0;
}

.lp-proof-stats{
  flex:1;
  display:flex;
  gap:28px;
  justify-content:flex-end;
  flex-shrink:0;
}
.lp-stat{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:6px;
  min-width:80px;
}
.lp-stat .icon{width:22px;height:22px;color:var(--gold-bright);}
.lp-stat-value{
  font-family:'Fraunces',serif;
  font-weight:700;
  font-size:1.3rem;
  color:var(--text);
}
.lp-stat-label{
  font-family:'JetBrains Mono',ui-monospace,monospace;
  font-size:.64rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--text-faint);
  white-space:nowrap;
}

@media (max-width:820px){
  .lp-proof-body{flex-direction:column;align-items:stretch;gap:28px;padding:28px 26px;}
  .lp-proof-stats{justify-content:space-between;}
}
@media (max-width:480px){
  .lp-proof-stats{flex-wrap:wrap;gap:20px;justify-content:center;}
}

/* ============================================================
   CLOSING CTA
============================================================ */
.lp-closing{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:34px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin-bottom:64px;
}
.lp-closing-left{display:flex;align-items:flex-start;gap:16px;}
.lp-closing-icon{width:30px;height:30px;color:var(--gold-bright);flex-shrink:0;margin-top:2px;}
.lp-closing-title{
  font-family:'Fraunces',serif;
  font-weight:600;
  font-size:1.5rem;
  letter-spacing:-0.005em;
  color:var(--text);
  margin:0 0 8px;
}
.lp-closing-sub{
  font-size:.86rem;
  color:var(--text-dim);
  line-height:1.55;
  margin:0;
}

@media (max-width:760px){
  .lp-closing{flex-direction:column;align-items:stretch;text-align:left;padding:30px 26px;}
  .lp-closing .lp-cta{width:100%;}
}
