/* glixo.io landing — page-specific styles. Chrome, tokens, nav, buttons, footer, smoke live in assets/brand/shell.css. */

.landing { position: relative; }
.landing main { position: relative; z-index: 1; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* the ambient smoke must sit behind the (transparent) nav + hero */
.landing > .smoke { position: absolute; }
.hero-shell { position: relative; z-index: 1; }

/* nav: the "Glixo.ai — browser version" affordance */
.nav-browser { color: var(--muted); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: var(--radius); background: var(--surface); white-space: nowrap; }
.nav-browser:hover { color: var(--text); background: var(--surface-2); }

/* ---- Hero (centered) ---- */
.home-hero { text-align: center; padding: 72px 0 0; }
.home-hero .eyebrow { display: block; margin-bottom: 20px; }
.hero-wordmark {
  display: inline-block; margin: 0; color: #f8f9fc;
  font-size: clamp(48px, 4.8vw, 70px); font-weight: 400; line-height: 1.08; letter-spacing: -.064em; white-space: nowrap;
}
.hero-wordmark .wordmark-code { color: #94a3b8; font-weight: 300; }
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 30ch; margin: 20px auto 30px; line-height: 1.5; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-plats { margin-top: 24px; color: var(--faint); font-size: 13px; display: flex; gap: 14px; justify-content: center; align-items: center; }
.hero-plats .d { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

/* hero media — floats flat, soft shadow, no box behind it */
.hero-media { margin: 44px auto 0; max-width: 940px; filter: drop-shadow(0 40px 90px rgba(0,0,0,.6)); }
.hero-media img, .hero-media video { width: 100%; display: block; border-radius: .6rem; background: #0b0c10; }

/* ---- Sections ---- */
.section { padding: 104px 0 0; position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.04em; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* ---- "In motion" story rows (real cropped product videos) ---- */
.story { padding: 100px 0 0; position: relative; z-index: 1; }
.story-row { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 56px; align-items: center; margin-bottom: 104px; }
.story-row:last-child { margin-bottom: 0; }
/* reversed rows: swap the track widths too, so the media keeps the WIDE column (not just its DOM order) */
.story-row.rev { grid-template-columns: 1.4fr 0.85fr; }
.story-row.rev .story-copy { order: 2; } .story-row.rev .story-media { order: 1; }
/* full-width variant for wide/landscape captures: heading + copy centered on top, media full-row below */
.story-row.full { display: block; text-align: center; max-width: 100%; margin-left: auto; margin-right: auto; }
.story-row.full .story-copy { max-width: 640px; margin: 0 auto 34px; }
.story-row.full .story-copy p { margin-left: auto; margin-right: auto; }
.story-row.full .story-media { max-width: 980px; margin: 0 auto; }
.story-copy h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.035em; margin: 0 0 14px; line-height: 1.08; }
.story-copy p { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 38ch; }
.story-media { filter: drop-shadow(0 30px 70px rgba(0,0,0,.55)); border-radius: .6rem; overflow: hidden; background: #0b0c10; }
.story-media video { width: 100%; height: auto; display: block; }

/* ---- Image-led feature cards (real app captures) ---- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cell { background: var(--surface); border-radius: var(--radius); overflow: hidden; transition: background .15s ease; }
.cell:hover { background: var(--surface-2); }
.cell-media { display: block; aspect-ratio: 16 / 10; background: #0c0d11; overflow: hidden; }
.cell-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.cell-body { padding: 16px 18px 20px; }
.cell-body h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; letter-spacing: -.01em; }
.cell-body p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.cell-body code { font-size: .9em; }
.cell { cursor: zoom-in; }

/* Lightbox — click a feature card to see the screenshot full-size */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 40px; background: rgba(2, 3, 7, .9); backdrop-filter: blur(8px); cursor: zoom-out; opacity: 0; transition: opacity .15s ease; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: min(1280px, 94vw); max-height: 92vh; border-radius: .6rem; box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.lightbox-close { position: absolute; top: 22px; right: 26px; width: 40px; height: 40px; border: 0; border-radius: var(--radius); background: var(--surface-2); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }

/* providers strip */
.providers { text-align: center; margin-top: 30px; }
.providers-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.providers-logos { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items: center; }
.plogo { display: inline-flex; align-items: center; gap: 8px; color: var(--faint); font-size: 14px; font-weight: 600; letter-spacing: -.01em; opacity: .6; transition: opacity .15s ease, color .15s ease; }
.plogo svg { width: 22px; height: 22px; flex-shrink: 0; }
.plogo:hover { opacity: 1; color: var(--muted); }
.plogo.byo { opacity: .5; font-weight: 500; }
.providers-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.providers-row span { font-size: 13.5px; color: var(--muted); background: var(--surface); padding: 8px 14px; border-radius: var(--radius); }
.providers-row span.byo { color: var(--faint); }

/* modes */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mode { background: var(--surface); border-radius: var(--radius); padding: 28px 26px; }
.mode h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -.02em; }
.mode p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* encrypted-sync ticks */
.ticks { list-style: none; padding: 0; margin: 22px auto 0; max-width: 640px; display: grid; gap: 12px; }
.ticks li { color: var(--muted); font-size: 15px; display: flex; gap: 12px; justify-content: center; }
.ticks .k { color: var(--accent); }

/* Machines / sandboxes dashboard showcase */
.sandbox-shot { max-width: 980px; margin: 0 auto 40px; border-radius: var(--radius); overflow: hidden; background: #0b0c10; filter: drop-shadow(0 30px 70px rgba(0,0,0,.55)); cursor: zoom-in; }
.sandbox-shot img { width: 100%; display: block; }

/* Specialized-image speed/token stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
.stat { background: var(--surface); border-radius: var(--radius); padding: 30px 26px; text-align: center; }
.stat-num { font-size: clamp(40px, 6vw, 58px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.stat-label { font-size: 15px; font-weight: 600; color: var(--text); margin-top: 8px; }
.stat-sub { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.stat-details { max-width: 760px; margin: 20px auto 0; }
.stat-details summary { cursor: pointer; color: var(--accent); font-size: 14px; font-weight: 600; list-style: none; text-align: center; }
.stat-details summary::-webkit-details-marker { display: none; }
.stat-details summary::before { content: "▸ "; }
.stat-details[open] summary::before { content: "▾ "; }
.stat-details ul { margin: 16px auto 0; padding-left: 1.1rem; max-width: 640px; }
.stat-details li { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 7px; }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; } }

@media (max-width: 820px) {
  .story-row, .story-row.rev { grid-template-columns: 1fr; gap: 22px; margin-bottom: 64px; }
  .story-row.rev .story-copy, .story-row.rev .story-media { order: 0; }
  .story-row.full .story-media { max-width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr; }
}
