/* ============================================================
   MARRIAGE.OS — 00_Landing (front door)
   Faithful static export of the Wonder artboard
   "Marriage Os Landing Page" (pcs) + reproduced CRT effects.

   Exact values carried from the Wonder source:
     bg            #0a0805    amber        #ffb000
     frame border  #3a2e12    card bg      #0d0a06
     muted amber   #8a6d2a    version      #7a5f24
     price green   #33ff99
     frame 1440 wide, p-4 (16px) outer, px-14 (56px) inner
   ============================================================ */

:root {
  --bg:           #0a0805;
  --amber:        #ffb000;
  --muted:        #8a6d2a;
  --version:      #7a5f24;
  --green:        #33ff99;
  --frame-border: #3a2e12;
  --card-bg:      #0d0a06;
  --pad-inner:    56px;   /* Tailwind px-14 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--bg); }

body {
  background: var(--bg);
  font-family: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---- Outer page (root: w-1440, p-4) ---------------------- */
.page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px;                 /* p-4 */
  background: var(--bg);
}

/* ---- CRT frame (min-h-1800, border, rounded) ------------- */
.crt-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 1800px;
  border: 1px solid var(--frame-border);
  border-radius: 4px;            /* rounded */
  overflow: hidden;
  z-index: 0;
}

/* No shader on the landing page — flat #0a0805 background. Only the
   boot & shutdown bookend screens carry the oil-slick shader. */

/* ---- Nav Bar (h-20, px-14) ------------------------------- */
.nav-bar {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  display: flex;
  height: 80px;                  /* h-20 */
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--pad-inner);
}

.logo {
  color: var(--amber);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-shadow: 0 0 8px rgba(255, 176, 0, 0.40);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;                     /* gap-9 */
}

.nav-link { color: var(--muted); font-size: 16px; }

.nav-link--boot {
  color: var(--amber);
  text-shadow: 0 0 6px rgba(255, 176, 0, 0.35);
}

/* ---- Dividers (w-full h-px) ------------------------------ */
.divider {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  width: 100%;
  height: 1px;
  background: var(--frame-border);
}

/* ---- Hero Section (pt-20 pb-[110px], gap-[26px]) --------- */
.hero {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px var(--pad-inner) 110px;
  gap: 26px;
}

.hero-eyebrow { color: var(--muted); font-size: 15px; }

.hero-title {
  color: var(--amber);
  font-size: 120px;
  font-weight: 700;
  line-height: 1;                /* leading-none */
  text-shadow: 0 0 24px rgba(255, 176, 0, 0.45);
}

.hero-subtitle {
  max-width: 780px;
  margin-top: 6px;               /* mt-1.5 */
  color: var(--amber);
  font-size: 27px;
  line-height: 1.5;
  text-shadow: 0 0 8px rgba(255, 176, 0, 0.25);
}

.hero-version { color: var(--version); font-size: 17px; }

.hero-tagline {
  margin-top: 6px;               /* mt-1.5 */
  color: var(--muted);
  font-size: 20px;               /* text-xl */
}

/* Boot System Button (border amber, shadow, px-10 py-[18px]) */
.boot-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;              /* mt-4 */
  padding: 18px 40px;            /* py-[18px] px-10 */
  gap: 10px;                     /* gap-2.5 */
  border: 1px solid var(--amber);
  border-radius: 4px;
  box-shadow: 0 0 22px rgba(255, 176, 0, 0.22);
  cursor: pointer;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.boot-button:hover {
  background-color: rgba(255, 176, 0, 0.06);
  box-shadow: 0 0 30px rgba(255, 176, 0, 0.35);
}

.boot-button-text {
  color: var(--amber);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Blinking block cursor (w-11px h-22px, glow) */
.cursor {
  width: 11px;
  height: 22px;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255, 176, 0, 0.55);
  animation: blink 1.1s steps(1, end) infinite;
}

.hero-disclaimer {
  margin-top: 8px;               /* mt-2 */
  color: var(--muted);
  font-size: 14px;               /* text-sm */
}

/* ---- Features Section (pt-[30px] pb-[90px], gap-11) ------ */
.features {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px var(--pad-inner) 90px;
  gap: 44px;                     /* gap-11 */
  scroll-margin-top: 90px;
}

.section-label { color: var(--muted); font-size: 15px; }

.feature-row {
  display: flex;
  width: 100%;
  gap: 24px;                     /* gap-6 */
}

.feature-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;                     /* gap-4 */
  padding: 26px 28px;            /* py-[26px] px-7 */
  background: var(--card-bg);
  border: 1px solid var(--frame-border);
  border-radius: 4px;
}

.card-module {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 1.5px;
}

.card-title {
  color: var(--amber);
  font-size: 21px;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(255, 176, 0, 0.25);
}

.card-desc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;              /* leading-[1.6] */
}

/* ---- Pricing Section (pt-20 pb-[120px], gap-[30px]) ------ */
.pricing {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px var(--pad-inner) 120px;
  gap: 30px;
}

.pricing-free {
  margin-top: 8px;               /* mt-2 */
  color: var(--green);
  font-size: 92px;
  font-weight: 700;
  line-height: 1;                /* leading-none */
  text-shadow: 0 0 26px rgba(51, 255, 153, 0.40);
}

.pricing-terms {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 14px;              /* mt-3.5 */
  gap: 10px;                     /* gap-2.5 */
}

.pricing-term { color: var(--muted); font-size: 19px; }

/* ---- Footer Bar (h-20, px-14) ---------------------------- */
.footer-bar {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  display: flex;
  height: 80px;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--pad-inner);
}

.footer-copy { color: var(--muted); font-size: 15px; }

.footer-ready {
  color: var(--amber);
  font-size: 15px;
  text-shadow: 0 0 6px rgba(255, 176, 0, 0.35);
  cursor: pointer;
  transition: text-shadow 0.15s ease;
}
.footer-ready:hover,
.footer-ready:focus-visible {
  text-shadow: 0 0 12px rgba(255, 176, 0, 0.65);
  outline: none;
}

/* ---- Overlays (absolute, cover full frame) --------------- */
.overlay { position: absolute; inset: 0; pointer-events: none; }

/* Vignette (z-40) — exact radial gradient from source */
.vignette {
  z-index: 40;
  background: radial-gradient(circle,
              rgba(10, 8, 5, 0) 55%,
              rgba(0, 0, 0, 0.55) 100%);
}

/* Scanlines (z-50) — CRT lines + slow sweep */
.scanlines {
  z-index: 50;
  overflow: hidden;
  background: repeating-linear-gradient(
              to bottom,
              rgba(0, 0, 0, 0)    0px,
              rgba(0, 0, 0, 0)    2px,
              rgba(0, 0, 0, 0.22) 3px);
}
.scanlines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(
              rgba(255, 176, 0, 0),
              rgba(255, 176, 0, 0.03),
              rgba(255, 176, 0, 0));
  animation: sweep 9s linear infinite;
}

/* ---- Keyframes ------------------------------------------- */
@keyframes blink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes sweep {
  from { transform: translateY(-50%); }
  to   { transform: translateY(320%); }
}

@keyframes flicker {
  0%, 96%, 100% { opacity: 1; }
  97%           { opacity: 0.82; }
  98%           { opacity: 1; }
  99%           { opacity: 0.88; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor,
  .scanlines::after,
  .shader-bg { animation: none; }
}
