/* ═══════════════════════════════════════════════
   EZFLIX — ez.css  (C411 palette re-brand)
   Blue/green dark theme, clean readable type
═══════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  /* Palette */
  --bg:           #070f1a;
  --bg-alt:       #0b1624;
  --surface:      #0f1e30;
  --card:         #112236;
  --card-hover:   #162b42;
  --border:       rgba(34,197,94,0.12);
  --border-mid:   rgba(34,197,94,0.22);

  /* Accent — green */
  --accent:       #22c55e;
  --accent-h:     #16a34a;
  --accent-dim:   rgba(34,197,94,0.18);
  --accent-glow:  rgba(34,197,94,0.08);

  /* Blue tints */
  --blue-bright:  #38bdf8;
  --blue-mid:     #0ea5e9;
  --blue-dim:     rgba(56,189,248,0.15);

  /* Text */
  --white:        #f0f9ff;
  --text:         #cbd5e1;
  --text-muted:   #64748b;
  --text-dim:     #334155;

  /* Typography */
  --font-display: 'Geist', 'DM Sans', 'Inter', sans-serif;
  --font-body:    'DM Sans', 'Inter', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'JetBrains Mono', monospace;

  /* Geometry */
  --r:            6px;
  --r-lg:         10px;
  --nav-h:        56px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #4ade80; text-decoration: underline; }

ul { list-style: none; padding-left: 0; }
li { padding: 6px 0; }
li + li { border-top: 1px solid var(--border); }

p { line-height: 1.8; font-size: 0.875rem; }
p + p { margin-top: 10px; }

strong { color: var(--white); font-weight: 600; }

/* ── Grid background ── */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(34,197,94,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Glow ── */
.glow { position: fixed; pointer-events: none; z-index: 0; border-radius: 50%; filter: blur(80px); }
.glow-top {
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(14,165,233,0.07) 0%, transparent 70%);
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: rgba(7,15,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.logo { height: 44px; width: auto; opacity: 0.92; }

.nav-meta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Page layout ── */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
}

/* ── Hero (full-screen centered) ── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

/* ── Eyebrow label ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  opacity: 0.8;
}

/* ── Page-head (scrollable pages) ── */
.page-head {
  text-align: center;
  padding: 56px 20px 40px;
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.rule {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 20px auto 0;
  opacity: 0.6;
}

/* ── Content wrap ── */
.wrap {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Section header ── */
.sh {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-top: 16px;
  opacity: 0.85;
}

/* ── Card ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,197,94,0.3), transparent);
}

/* ── Info box ── */
.info {
  background: rgba(14,165,233,0.06);
  border: 1px solid rgba(14,165,233,0.18);
  border-radius: var(--r-lg);
  padding: 18px 24px;
}

/* ── Status box ── */
.status-box {
  margin-top: 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border-mid);
  border-radius: var(--r);
  padding: 12px 16px;
  font-size: 0.82rem;
}

/* ── Warning ── */
.warn {
  background: rgba(234,179,8,0.06);
  border: 1px solid rgba(234,179,8,0.18);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  font-size: 0.82rem;
  color: #fde68a;
}

/* ── Highlight ── */
.hl { color: var(--accent); font-weight: 500; }

/* ── Caption ── */
.caption {
  text-align: center;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.12em;
  margin-top: 12px;
}

/* ── Settings rows ── */
.srow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  gap: 12px;
}
.srow:last-of-type { border-bottom: none; }
.srow-k { color: var(--text); }
.srow-v {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ── Pill ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: var(--blue-dim);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.pill-dot {
  width: 5px; height: 5px;
  background: var(--blue-bright);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

/* ── Screenshots ── */
.shot {
  display: block;
  width: 100%;
  border-radius: var(--r);
  border: 1px solid var(--border);
  margin-top: 14px;
  opacity: 0.85;
}
.shots-col { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.shots-col img { border-radius: var(--r); border: 1px solid var(--border); width: 100%; opacity: 0.85; }
.shots-row { display: flex; gap: 8px; margin-top: 14px; }
.shots-row img { flex: 1; border-radius: var(--r); border: 1px solid var(--border); object-fit: cover; opacity: 0.85; }

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}
.ft-accent { color: var(--accent); opacity: 0.4; font-size: 0.5rem; }

/* ── Entrance animations ── */
.f1 { animation: fadeUp 0.5s ease both; }
.f2 { animation: fadeUp 0.5s 0.1s ease both; }
.f3 { animation: fadeUp 0.5s 0.18s ease both; }
.f4 { animation: fadeUp 0.5s 0.26s ease both; }
.f5 { animation: fadeUp 0.5s 0.34s ease both; }
.f6 { animation: fadeUp 0.5s 0.42s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
