/* ============================================================
   TOURNO SLIDE DECK — Design System
   ============================================================
   Combined design system from the slide engine and the
   Tourno one-sheet premium design patterns.
   ============================================================ */


/* ============================================================
   RESET & TOKENS
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand */
  --brand-green: #054d2e;
  --brand-green-light: #0a7a48;
  --green-done: #10b981;
  --amber: #fbbf24;
  --amber-dim: #f59e0b;
  --red-risk: #ef4444;

  /* Surfaces */
  --dark-bg: #0a0a0a;
  --surface: #111;
  --surface-elevated: #181818;

  /* Text */
  --text-primary: #f5f5f5;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;

  /* Slide engine */
  --slide-transition: 0.55s cubic-bezier(0.22, 1, 0.36, 1);

  /* Light-mode app screen tokens */
  --app-bg: #f2f2f2;
  --app-surface: #fff;
  --app-surface-700: #e5e5e5;
  --app-text: #1a1a1a;
  --app-text-muted: #6b6b6b;
  --app-border: #e0e0e0;
  --app-input: #e8e8e8;
  --app-primary: oklch(50% 0.09 158);
  --app-nav-bg: #2e2e2e;
}

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ============================================================
   GRAIN TEXTURE (reusable)
   ============================================================ */
.grain::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.12;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  background-repeat: repeat;
  z-index: 1;
}


/* ============================================================
   PRISMATIC SHARDS
   ============================================================ */
.shards::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: hard-light;
  z-index: 1;
  background:
    linear-gradient(71deg, rgba(17, 17, 17, 0.12) 15%, transparent 15.5%),
    linear-gradient(131deg, rgba(151, 151, 151, 0.08) 40%, transparent 40.5%),
    linear-gradient(41deg, transparent 70%, rgba(17, 17, 17, 0.06) 70.5%),
    linear-gradient(215deg, rgba(5, 77, 46, 0.08) 20%, transparent 20.5%),
    linear-gradient(310deg, transparent 60%, rgba(251, 191, 36, 0.03) 60.5%);
}


/* ============================================================
   DECK & SLIDES
   ============================================================ */
#deck {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.98) translateY(8px);
  transition:
    opacity var(--slide-transition),
    transform var(--slide-transition);
  pointer-events: none;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.slide.prev {
  opacity: 0;
  transform: scale(1.01) translateY(-8px);
  z-index: 1;
}

.slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}


/* ============================================================
   PROGRESS BAR
   ============================================================ */
#progress {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-green-light), var(--amber-dim));
  transition: width 0.4s ease;
  z-index: 100;
  border-radius: 0 2px 0 0;
}


/* ============================================================
   SLIDE COUNTER
   ============================================================ */
#counter {
  position: fixed;
  bottom: 16px;
  right: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  z-index: 100;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  user-select: none;
  transition: opacity 0.3s ease;
}


/* ============================================================
   OVERVIEW MODE
   ============================================================ */
body.overview-mode #deck {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px;
  overflow-y: auto;
  height: 100vh;
  align-items: start;
  background: #050505;
}

body.overview-mode .slide {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: 2px solid #222;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
  overflow: hidden;
  z-index: 0;
}

body.overview-mode .slide:hover {
  border-color: var(--amber-dim);
  transform: scale(1.03);
}

body.overview-mode .slide.active {
  border-color: var(--amber);
  z-index: 0;
}

body.overview-mode .slide.prev {
  opacity: 1;
  transform: none;
  z-index: 0;
}

body.overview-mode .slide.prev:hover {
  transform: scale(1.03);
}

body.overview-mode #progress,
body.overview-mode #counter {
  opacity: 0;
  pointer-events: none;
}


/* ============================================================
   SHARED TYPOGRAPHY
   ============================================================ */
.label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.heading-xl {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.heading-lg {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.heading-md {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.heading-sm {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.body-text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
}

.body-sm {
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  line-height: 1.5;
  color: var(--text-secondary);
}

.text-amber { color: var(--amber); }
.text-green { color: var(--green-done); }
.text-muted { color: var(--text-muted); }
.text-red   { color: var(--red-risk); }


/* ============================================================
   SLIDE TYPE: HERO
   ============================================================ */
.slide--hero {
  background:
    linear-gradient(to top, var(--dark-bg) 0%, rgba(10,10,10,0.7) 40%, rgba(10,10,10,0.5) 100%),
    linear-gradient(to right, rgba(0,0,0,0.8) 20%, transparent 70%),
    url('images/stadium.jpg') center/cover no-repeat;
}

.slide--hero .slide-inner {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6vh 8vw;
}

.hero-logo {
  height: 48px;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.hero-title {
  max-width: 800px;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  border-left: 2px solid var(--brand-green-light);
  padding-left: 0.75rem;
  margin-top: 1.5rem;
}

.hero-detail {
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1rem;
}

.hero-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--brand-green-light), transparent 60%);
  z-index: 3;
}


/* ============================================================
   SLIDE TYPE: STATS
   ============================================================ */
.slide--stats {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(5, 77, 46, 0.12) 0%, transparent 60%),
    var(--dark-bg);
}

.slide--stats .slide-inner {
  flex-direction: column;
  padding: 6vh 8vw;
}

.stats-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vh, 5rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  width: 100%;
  max-width: 1000px;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(251, 191, 36, 0.2);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stats-footer {
  text-align: center;
  margin-top: clamp(2rem, 4vh, 4rem);
  max-width: 600px;
}


/* ============================================================
   SLIDE TYPE: SPLIT
   ============================================================ */
.slide--split .slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5vh 5vw;
}

.split-text .label { margin-bottom: 1.25rem; }
.split-text .heading-lg { margin-bottom: 1.25rem; }

.split-text .body-text {
  max-width: 440px;
  margin-bottom: 1.5rem;
}

.split-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  position: relative;
  padding: 3rem;
}

.split-visual::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #222, transparent);
}


/* ============================================================
   SLIDE TYPE: SPLIT (utility shorthand)
   Two-column layout for slide content, like one-sheet value sections.
   ============================================================ */
.slide-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  height: 100%;
}

.slide-split.reverse {
  direction: rtl;
}

.slide-split.reverse > * {
  direction: ltr;
}


/* ============================================================
   STATUS BOARD MOCKUP
   ============================================================ */
.status-board {
  width: 100%;
  max-width: 400px;
}

.status-board-header {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 0.5rem;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.status-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.status-icon--done {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.status-icon--progress {
  background: rgba(251, 191, 36, 0.15);
  color: var(--amber);
}

.status-icon--pending {
  background: transparent;
  border: 2px solid #333;
}

.status-icon svg {
  width: 12px;
  height: 12px;
}

.status-name {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 500;
}

.status-name.done     { color: var(--text-secondary); }
.status-name.progress { color: var(--text-primary); }
.status-name.pending  { color: var(--text-muted); }

.status-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-tag--done     { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.status-tag--progress { background: rgba(251, 191, 36, 0.12); color: var(--amber); }
.status-tag--pending  { background: rgba(255,255,255,0.04); color: var(--text-muted); }


/* ============================================================
   SLIDE TYPE: CHECKLIST
   ============================================================ */
.slide--checklist .slide-inner {
  flex-direction: column;
  align-items: flex-start;
  padding: 5vh 8vw;
}

.checklist-header {
  margin-bottom: clamp(2rem, 4vh, 3.5rem);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 750px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, #333, rgba(51,51,51,0.3));
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 0.875rem 0;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.timeline-dot--done     { background: rgba(16, 185, 129, 0.2); border: 2px solid #10b981; }
.timeline-dot--progress { background: rgba(251, 191, 36, 0.2); border: 2px solid var(--amber); }
.timeline-dot--pending  { background: var(--dark-bg); border: 2px solid #333; }

.timeline-dot svg {
  width: 10px;
  height: 10px;
}

.timeline-content {
  flex: 1;
}

.timeline-title {
  font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.timeline-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.owner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.owner-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.owner-badge .dot--tommy { background: #60a5fa; }
.owner-badge .dot--jonas { background: #a78bfa; }
.owner-badge .dot--kelly { background: #f472b6; }
.owner-badge .dot--team  { background: #a78bfa; }


/* ============================================================
   SLIDE TYPE: DIVIDER
   ============================================================ */
.slide--divider {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(5, 77, 46, 0.1) 0%, transparent 70%),
    var(--dark-bg);
}

.slide--divider .slide-inner {
  flex-direction: column;
  position: relative;
}

.divider-watermark {
  position: absolute;
  width: clamp(200px, 35vw, 400px);
  height: clamp(200px, 35vw, 400px);
  opacity: 0.03;
  z-index: 0;
}

.divider-text {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  z-index: 1;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider-sub {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: var(--text-muted);
  margin-top: 1rem;
  z-index: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.divider-owners {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  z-index: 1;
}


/* ============================================================
   SLIDE TYPE: CLOSING
   ============================================================ */
.slide--closing {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(5, 77, 46, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(251, 191, 36, 0.03) 0%, transparent 40%),
    var(--dark-bg);
}

.slide--closing .slide-inner {
  flex-direction: column;
  gap: 2.5rem;
}

.closing-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  text-align: center;
}

.closing-logo {
  height: 40px;
  opacity: 0.7;
}

.closing-url {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.02em;
}

.closing-sub {
  font-size: clamp(0.875rem, 1.2vw, 1.0625rem);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.closing-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--brand-green-light) 30%, transparent 70%);
  z-index: 3;
}


/* ============================================================
   SLIDE TYPE: CONTENT (flexible)
   ============================================================ */
.slide--content {
  background: var(--dark-bg);
}

.slide--content .slide-inner {
  flex-direction: column;
  align-items: flex-start;
  padding: 5vh 6vw;
  overflow-y: auto;
}

.content-header {
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
  flex-shrink: 0;
}


/* ============================================================
   SLIDE TYPE: STATUS (three-column status board)
   ============================================================ */
.slide--status {
  background:
    radial-gradient(ellipse at 30% 80%, rgba(5, 77, 46, 0.08) 0%, transparent 50%),
    var(--dark-bg);
}

.slide--status .slide-inner {
  flex-direction: column;
  align-items: flex-start;
  padding: 5vh 5vw;
  overflow-y: auto;
}

.status-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  width: 100%;
}

.status-col {
  display: flex;
  flex-direction: column;
}

.status-col-header {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid;
}

.status-col-header--done     { color: var(--green-done); border-color: rgba(16, 185, 129, 0.3); }
.status-col-header--progress { color: var(--amber); border-color: rgba(251, 191, 36, 0.3); }
.status-col-header--pending  { color: var(--text-muted); border-color: rgba(255,255,255,0.1); }

.status-col-count {
  font-size: 0.625rem;
  opacity: 0.6;
  margin-left: 0.5rem;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot--done     { background: var(--green-done); }
.status-dot--progress { background: var(--amber); }
.status-dot--pending  { background: transparent; border: 1.5px solid #444; }

.status-row-text {
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  font-weight: 500;
}

.status-row-text.done     { color: var(--text-secondary); }
.status-row-text.progress { color: var(--text-primary); }
.status-row-text.pending  { color: var(--text-muted); }

.status-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}


/* ============================================================
   EVENT GRID & CLUB BADGES
   ============================================================ */
.event-grid {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  width: 100%;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
}

.event-detail-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.event-detail-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.event-detail-value {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  font-weight: 600;
  color: var(--text-primary);
}

.club-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.club-badge-img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.club-badge-img:hover {
  transform: scale(1.15);
}

.club-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
}

.club-pill--uk {
  border-color: rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.06);
}

.club-pill--ecnl {
  border-color: rgba(251, 191, 36, 0.2);
  background: rgba(251, 191, 36, 0.06);
}

.clubs-section-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.clubs-section-label:first-child { margin-top: 0; }


/* ============================================================
   FEATURE GRID (What We Built)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  width: 100%;
}

.feature-category {
  display: flex;
  flex-direction: column;
}

.feature-cat-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(251, 191, 36, 0.15);
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.feature-pill {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  white-space: nowrap;
}


/* ============================================================
   DEPLOYMENT / TWO-SECTION LAYOUT
   ============================================================ */
.dual-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  width: 100%;
}

.section-block {
  display: flex;
  flex-direction: column;
}

.section-block-title {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(251, 191, 36, 0.15);
}

.deploy-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.deploy-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.6875rem;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
}

.deploy-text {
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
}

.deploy-text strong {
  color: var(--text-primary);
  font-weight: 600;
}


/* ============================================================
   ROADMAP TIMELINE (Horizontal)
   ============================================================ */
.roadmap-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  position: relative;
}

.roadmap-track::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(to right, var(--green-done), var(--amber) 35%, #444 60%, #333);
}

.roadmap-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 0.75rem;
}

.roadmap-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.roadmap-dot--active {
  background: var(--green-done);
  color: #000;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.roadmap-dot--next {
  background: rgba(251, 191, 36, 0.2);
  border: 2px solid var(--amber);
  color: var(--amber);
}

.roadmap-dot--future {
  background: var(--dark-bg);
  border: 2px solid #444;
  color: var(--text-muted);
}

.roadmap-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.roadmap-title {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.roadmap-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 200px;
}

.roadmap-phase--active .roadmap-label { color: var(--green-done); }
.roadmap-phase--active .roadmap-title { color: var(--text-primary); }

.roadmap-phase--next .roadmap-label { color: var(--amber); }
.roadmap-phase--next .roadmap-title { color: var(--text-secondary); }

.roadmap-phase--future .roadmap-label { color: var(--text-muted); }
.roadmap-phase--future .roadmap-title { color: var(--text-muted); opacity: 0.7; }
.roadmap-phase--future .roadmap-desc  { opacity: 0.6; }


/* ============================================================
   PLACEHOLDER STYLE
   ============================================================ */
.placeholder {
  padding: 0.75rem 1rem;
  border-left: 2px dashed rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.03);
  border-radius: 0 6px 6px 0;
  margin: 0.5rem 0;
}

.placeholder-text {
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

.placeholder-table {
  width: 100%;
  border-collapse: collapse;
}

.placeholder-table th {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.placeholder-table td {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.placeholder-deadline {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--amber-dim);
  background: rgba(251, 191, 36, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-style: normal;
}


/* ============================================================
   RISK INDICATORS
   ============================================================ */
.risk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  width: 100%;
}

.risk-card {
  padding: 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
}

.risk-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.risk-severity {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.risk-severity--high   { background: var(--red-risk); }
.risk-severity--medium { background: var(--amber); }
.risk-severity--low    { background: var(--green-done); }

.risk-card-title {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 700;
  color: var(--text-primary);
}

.risk-card-body {
  font-size: clamp(0.75rem, 0.9vw, 0.875rem);
  color: var(--text-muted);
  line-height: 1.5;
}

.risk-card-body strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.risk-mitigation {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: clamp(0.75rem, 0.9vw, 0.8125rem);
  color: var(--green-done);
}


/* ============================================================
   ROLE GRID (Ground Ops)
   ============================================================ */
.role-grid {
  width: 100%;
  border-collapse: collapse;
}

.role-grid th {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding: 0.625rem 0.75rem;
  border-bottom: 2px solid rgba(255,255,255,0.08);
}

.role-grid td {
  font-size: 0.8125rem;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
}

.role-grid td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.role-grid td.placeholder-cell {
  color: var(--text-muted);
  font-style: italic;
}


/* ============================================================
   THREE COLUMN CARDS (Marketing)
   ============================================================ */
.card-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
}

.time-card {
  padding: 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.time-card-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.375rem;
}

.time-card-title {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}


/* ============================================================
   JOURNEY TIMELINE
   ============================================================ */
.journey-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  position: relative;
  padding-top: 1rem;
}

.journey-track::before {
  content: '';
  position: absolute;
  top: calc(1rem + 10px);
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(to right, var(--brand-green), var(--amber));
  opacity: 0.4;
}

.journey-milestone {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 0.25rem;
}

.journey-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-elevated);
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.journey-dot--past {
  background: var(--brand-green);
  border-color: var(--green-done);
}

.journey-dot--current {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.journey-dot svg {
  width: 10px;
  height: 10px;
}

.journey-date {
  margin-top: 0.75rem;
  font-size: clamp(0.55rem, 0.7vw, 0.65rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.journey-name {
  margin-top: 0.35rem;
  font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.journey-desc {
  margin-top: 0.25rem;
  font-size: clamp(0.55rem, 0.7vw, 0.65rem);
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 120px;
}

.journey-milestone--current .journey-name {
  color: var(--amber);
}

.journey-milestone--current .journey-date {
  color: var(--amber-dim);
}

.journey-milestone--future {
  opacity: 0.3;
}

.journey-dot--future {
  background: transparent;
  border: 2px dashed var(--text-muted);
}

.journey-milestone--future .journey-name {
  color: var(--text-muted);
}


/* ============================================================
   SECTION DIVIDER (one-sheet)
   ============================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #222 20%, #222 80%, transparent);
}


/* ============================================================
   PROOF STRIP (from one-sheet)
   4-stat amber number strip
   ============================================================ */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface-elevated);
  position: relative;
  width: 100%;
}

.proof-strip::before,
.proof-strip::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #2a2a2a 15%, #2a2a2a 85%, transparent);
}

.proof-strip::before { top: 0; }
.proof-strip::after  { bottom: 0; }

.proof-stat {
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.proof-stat + .proof-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: #2a2a2a;
}

.proof-number {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--amber);
  line-height: 1;
}

.proof-label {
  margin-top: 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


/* ============================================================
   DEVICE FRAMES (from one-sheet)
   ============================================================ */

/* --- Phone Frame --- */
.device-phone {
  width: 180px;
  height: 360px;
  background: #1a1a1a;
  border-radius: 26px;
  border: 3px solid #2a2a2a;
  padding: 10px 7px;
  position: relative;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.device-phone::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 18px;
  background: #111;
  border-radius: 0 0 10px 10px;
  z-index: 2;
}

.device-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 17px;
  overflow: hidden;
  background: var(--brand-green);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* --- Tablet Frame --- */
.device-tablet {
  width: 180px;
  height: 320px;
  background: #1a1a1a;
  border-radius: 22px;
  border: 3px solid #2a2a2a;
  padding: 10px 7px;
  position: relative;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.device-tablet::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 14px;
  background: #111;
  border-radius: 0 0 8px 8px;
  z-index: 2;
}

.device-tablet-screen {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  display: flex;
  flex-direction: column;
}

/* --- Browser Frame --- */
.device-browser {
  width: 100%;
  max-width: 440px;
  background: #1a1a1a;
  border-radius: 10px;
  border: 2px solid #2a2a2a;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.device-browser-bar {
  height: 28px;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
}

.device-browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
}

.device-browser-screen {
  height: 260px;
  background: #0e0e0e;
  display: flex;
  flex-direction: column;
}


/* ============================================================
   MOCK UI COMPONENTS (from one-sheet)
   ============================================================ */
.mock-line {
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
}

.mock-line.short { width: 60%; }

.mock-nav {
  height: 30px;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 14px;
  flex-shrink: 0;
}

.mock-nav-dot {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
}

.mock-nav-dot.active {
  background: rgba(255,255,255,0.3);
}

.mock-header {
  padding: 18px 10px 6px;
  flex-shrink: 0;
}

.mock-header .mock-line {
  height: 5px;
  width: 50%;
  margin-bottom: 4px;
  background: rgba(255,255,255,0.15);
}

.mock-header .mock-line.short {
  height: 3px;
  width: 35%;
  background: rgba(255,255,255,0.06);
}

.mock-score-row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
}

.mock-score-badge {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.mock-score-name {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
}

.mock-score-num {
  width: 13px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
  font-size: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
}

.mock-divider {
  height: 1px;
  background: rgba(255,255,255,0.05);
  margin: 2px 10px;
}

.mock-status-pill {
  display: inline-block;
  width: 28px;
  height: 7px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.3);
}

.mock-btn {
  height: 18px;
  border-radius: 6px;
  background: var(--brand-green);
  margin: 0 10px;
  opacity: 0.7;
}

.mock-card {
  margin: 0 8px;
  padding: 7px;
  background: rgba(255,255,255,0.06);
  border-radius: 7px;
}

.mock-map {
  flex: 1;
  margin: 4px 8px;
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}

.mock-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.03) 30%, transparent 30.5%),
    linear-gradient(200deg, transparent 45%, rgba(255,255,255,0.02) 45.5%),
    linear-gradient(80deg, transparent 60%, rgba(255,255,255,0.02) 60.5%);
}

.mock-map-pin {
  position: absolute;
  width: 10px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: rgba(255,255,255,0.5);
}

.mock-table-header {
  display: flex;
  gap: 4px;
  padding: 4px 8px;
  margin: 0 8px;
}

.mock-table-header span {
  font-size: 5px;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mock-table-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  margin: 0 8px;
}

.mock-table-row:nth-child(odd) {
  background: rgba(255,255,255,0.02);
}

.mock-rank {
  width: 10px;
  font-size: 6px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

.mock-table-badge {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.mock-table-name {
  flex: 1;
  height: 2px;
  border-radius: 1px;
  background: rgba(255,255,255,0.08);
}

.mock-table-stat {
  width: 10px;
  font-size: 5px;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

.mock-table-pts {
  width: 12px;
  font-size: 6px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

.mock-sponsor-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 8px;
  flex-shrink: 0;
}

.mock-sponsor-logo {
  width: 24px;
  height: 12px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
}


/* ============================================================
   DUAL PHONES (one-sheet branding)
   ============================================================ */
.dual-phones {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
}

.dual-phones .device-phone {
  width: 150px;
  height: 300px;
}

.dual-phones .device-phone:nth-child(2) .device-phone-screen {
  background: #1e3a5f;
}

.dual-phones .device-phone:nth-child(2) .mock-nav-dot.active {
  background: rgba(255,255,255,0.3);
}

.dual-phones .device-phone:nth-child(2) .mock-btn {
  background: #1e3a5f;
}


/* ============================================================
   ONE-SHEET: VALUE SECTIONS (split layout)
   ============================================================ */
.value-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
}

.value-section.reverse {
  direction: rtl;
}

.value-section.reverse > * {
  direction: ltr;
}

.value-text {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.value-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.value-text h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.value-text p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 420px;
}

.value-visual {
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}


/* ============================================================
   ONE-SHEET: APP HERO
   ============================================================ */
.app-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  overflow: hidden;
}

.app-hero-text {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-hero-text h2 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.app-hero-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 400px;
}

.app-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  background: var(--surface);
}

.app-hero-visual .device-phone {
  width: 240px;
  height: 480px;
  border-radius: 32px;
  padding: 12px 9px;
  position: relative;
  z-index: 1;
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
}

.app-hero-visual .device-phone::before {
  width: 65px;
  height: 20px;
  border-radius: 0 0 12px 12px;
}

.app-hero-visual .device-phone-screen {
  border-radius: 21px;
  background: #111;
}

.app-hero-visual .screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 21px;
}

.app-hero-visual .screen-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 2rem;
}

.app-store-badges {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.app-store-badge {
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.app-store-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}


/* ============================================================
   ONE-SHEET: APP SHOWCASE
   ============================================================ */
.app-showcase {
  background: var(--surface);
}

.app-showcase-header {
  padding: 3.5rem 3.5rem 1.5rem;
}

.app-showcase-header .value-label {
  margin-bottom: 1rem;
}

.app-showcase-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.app-showcase-header p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 640px;
}

.app-showcase-phones {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 3.5rem 3.5rem;
  overflow-x: auto;
}

.app-phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.app-phone-label {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}


/* ============================================================
   ONE-SHEET: FEATURES GRID
   ============================================================ */
.features {
  padding: 3.5rem;
}

.features-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--text-primary);
  opacity: 0.25;
}

.feature-item h3 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.feature-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}


/* ============================================================
   ONE-SHEET: CTA
   ============================================================ */
.cta {
  padding: 5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-shield {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  opacity: 0.04;
  pointer-events: none;
}

.cta h2 {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-url {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.02em;
  position: relative;
}


/* ============================================================
   ONE-SHEET: PAIN SECTION
   ============================================================ */
.pain {
  padding: 3.5rem 3.5rem;
}

.pain-inner {
  border-left: 3px solid #333;
  padding-left: 1.5rem;
}

.pain p {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
}

.pain strong {
  color: var(--text-primary);
  font-weight: 700;
}


/* ============================================================
   REALISTIC SCREEN: Mobile Schedule (Light Mode)
   ============================================================ */
.screen-schedule {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--app-bg);
  font-family: 'Inter', system-ui, sans-serif;
}

.screen-schedule .s-brand-header {
  position: relative;
  overflow: hidden;
  background-color: var(--brand-green);
  background-image:
    radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.12) 0%, transparent 65%),
    linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.15));
  flex-shrink: 0;
}

.screen-schedule .s-brand-header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.14;
  mix-blend-mode: overlay;
}

.screen-schedule .s-brand-header::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: hard-light;
  background:
    linear-gradient(71deg, rgba(17, 17, 17, 0.1) 15%, transparent 15.5%),
    linear-gradient(131deg, rgba(151, 151, 151, 0.1) 40%, transparent 40.5%),
    linear-gradient(41deg, transparent 70%, rgba(17, 17, 17, 0.05) 70.5%);
}

.screen-schedule .s-brand-header > * { position: relative; z-index: 1; }

.screen-schedule .s-status-bar {
  height: 20px;
  padding: 4px 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 5.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.screen-schedule .s-header {
  padding: 6px 14px 4px;
}

.screen-schedule .s-header h3 {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.screen-schedule .s-date-pills {
  display: flex;
  gap: 4px;
  padding: 6px 14px 8px;
}

.screen-schedule .s-pill {
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 5.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.12);
}

.screen-schedule .s-pill.active {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.screen-schedule .s-division {
  padding: 8px 14px 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.screen-schedule .s-division-label {
  font-size: 6px;
  font-weight: 800;
  color: var(--app-text);
}

.screen-schedule .s-division-badge {
  font-size: 4px;
  font-weight: 700;
  color: #fff;
  background: #52525b;
  padding: 1.5px 4px;
  border-radius: 4px;
}

.screen-schedule .s-match-card {
  margin: 3px 10px;
  padding: 7px 8px;
  background: var(--app-surface);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.screen-schedule .s-team-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.screen-schedule .s-team-row + .s-team-row { margin-top: 3px; }

.screen-schedule .s-badge {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.screen-schedule .s-team-name {
  flex: 1;
  font-size: 5.5px;
  font-weight: 600;
  color: var(--app-text);
  white-space: nowrap;
  overflow: hidden;
}

.screen-schedule .s-age-badge {
  font-size: 3.5px;
  font-weight: 600;
  color: var(--app-text-muted);
  background: var(--app-bg);
  padding: 1px 3px;
  border-radius: 3px;
}

.screen-schedule .s-score {
  font-size: 7px;
  font-weight: 800;
  color: var(--app-text);
  width: 12px;
  text-align: center;
}

.screen-schedule .s-match-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: 4px;
  margin-top: 3px;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.screen-schedule .s-meta-icon {
  width: 6px;
  height: 6px;
  fill: var(--app-text-muted);
  opacity: 0.5;
}

.screen-schedule .s-meta-text {
  font-size: 4px;
  font-weight: 500;
  color: var(--app-text-muted);
}

.screen-schedule .s-meta-sep {
  font-size: 4px;
  color: rgba(0,0,0,0.15);
}

.screen-schedule .s-bottom-nav {
  height: 38px;
  background: var(--app-nav-bg);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 6px;
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.screen-schedule .s-nav-indicator {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 28px;
  border-radius: 8px;
  background: var(--app-primary);
  transition: left 0.3s;
}

.screen-schedule .s-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  position: relative;
  z-index: 1;
  width: 20%;
}

.screen-schedule .s-nav-item svg {
  width: 12px;
  height: 12px;
  fill: rgba(255,255,255,0.5);
}

.screen-schedule .s-nav-item.active svg { fill: #fff; }

.screen-schedule .s-nav-label {
  font-size: 3.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
}

.screen-schedule .s-nav-item.active .s-nav-label { color: #fff; }

.screen-schedule .s-content {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 8px;
}

/* Group standings cards */
.screen-schedule .s-group-card {
  background: var(--app-surface);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  overflow: hidden;
}

.screen-schedule .s-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 8px 0;
}

.screen-schedule .s-group-title {
  font-size: 6px;
  font-weight: 800;
  color: var(--app-text);
}

.screen-schedule .s-group-link {
  font-size: 4px;
  font-weight: 600;
  color: var(--app-primary);
}

.screen-schedule .s-group-divider {
  height: 1px;
  background: var(--app-border);
  margin: 4px 8px 0;
}

.screen-schedule .s-table-head,
.screen-schedule .s-table-row {
  display: grid;
  grid-template-columns: 14px 12px 1fr repeat(3, 12px) 16px;
  align-items: center;
  padding: 0 8px;
  gap: 2px;
}

.screen-schedule .s-table-head {
  padding-top: 3px;
  padding-bottom: 1px;
}

.screen-schedule .s-table-row {
  padding-top: 2.5px;
  padding-bottom: 2.5px;
}

.screen-schedule .s-table-row:nth-child(even) {
  background: rgba(0,0,0,0.015);
}

.screen-schedule .s-th-pos {
  font-size: 3.5px;
  font-weight: 600;
  color: var(--app-text-muted);
  text-transform: uppercase;
}

.screen-schedule .s-th-team {
  font-size: 3.5px;
  font-weight: 600;
  color: var(--app-text-muted);
  text-transform: uppercase;
  grid-column: 2 / 4;
}

.screen-schedule .s-th-stat {
  font-size: 3.5px;
  font-weight: 600;
  color: var(--app-text-muted);
  text-align: center;
}

.screen-schedule .s-th-pts {
  font-size: 3.5px;
  font-weight: 700;
  color: var(--app-text-muted);
  text-align: center;
}

.screen-schedule .s-td-pos {
  font-size: 4.5px;
  font-weight: 600;
  color: var(--app-text-muted);
}

.screen-schedule .s-row-badge {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  object-fit: contain;
}

.screen-schedule .s-td-name {
  font-size: 5px;
  font-weight: 600;
  color: var(--app-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.screen-schedule .s-td-w,
.screen-schedule .s-td-l,
.screen-schedule .s-td-d {
  font-size: 4.5px;
  font-weight: 500;
  color: var(--app-text);
  text-align: center;
}

.screen-schedule .s-td-pts {
  font-size: 5px;
  font-weight: 800;
  color: var(--app-text);
  text-align: center;
}


/* ============================================================
   REALISTIC SCREEN: Results Score Submission (Light Mode)
   ============================================================ */
.screen-results {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--app-bg);
  font-family: 'Inter', system-ui, sans-serif;
}

.screen-results .r-header-bar {
  padding: 16px 8px 4px;
  background: var(--app-surface);
  border-bottom: 1px solid var(--app-border);
  flex-shrink: 0;
}

.screen-results .r-header-title {
  font-size: 6px;
  font-weight: 700;
  color: var(--app-text);
}

.screen-results .r-card {
  margin: 6px 6px 0;
  background: var(--app-surface);
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.screen-results .r-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  border-bottom: 1px solid var(--app-border);
}

.screen-results .r-status-badge {
  font-size: 3.5px;
  font-weight: 700;
  padding: 1.5px 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.screen-results .r-status-badge.pending {
  color: var(--app-text-muted);
  background: rgba(0,0,0,0.05);
}

.screen-results .r-match-num {
  font-size: 4px;
  font-weight: 700;
  color: var(--app-text-muted);
}

.screen-results .r-stage-info {
  font-size: 3.5px;
  color: var(--app-text-muted);
}

.screen-results .r-team-section { padding: 5px 8px; }

.screen-results .r-team-label {
  font-size: 3.5px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 3px;
}

.screen-results .r-team-label.home { color: #fff; background: var(--app-primary); }
.screen-results .r-team-label.away { color: #fff; background: #6b6b8a; }

.screen-results .r-team-info {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.screen-results .r-team-badge {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}

.screen-results .r-team-name {
  font-size: 5px;
  font-weight: 700;
  color: var(--app-text);
  flex: 1;
}

.screen-results .r-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.screen-results .r-score-group {
  display: flex;
  align-items: center;
  gap: 3px;
}

.screen-results .r-score-label {
  font-size: 3.5px;
  font-weight: 700;
  color: var(--app-text-muted);
  text-transform: uppercase;
}

.screen-results .r-score-input {
  width: 22px;
  height: 16px;
  border-radius: 4px;
  background: var(--app-input);
  border: 1.5px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 900;
  color: var(--app-text);
}

.screen-results .r-card-counters {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.screen-results .r-counter {
  display: flex;
  align-items: center;
}

.screen-results .r-counter-btn {
  width: 10px;
  height: 12px;
  background: var(--app-surface-700);
  border: 1px solid var(--app-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5px;
  color: var(--app-text-muted);
}

.screen-results .r-counter-btn:first-child { border-radius: 3px 0 0 3px; border-right: 0; }
.screen-results .r-counter-btn:last-child  { border-radius: 0 3px 3px 0; border-left: 0; }

.screen-results .r-counter-val {
  width: 10px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5px;
  font-weight: 800;
  border-top: 1px solid;
  border-bottom: 1px solid;
}

.screen-results .r-counter-val.yellow { background: #eab308; color: #713f12; border-color: #eab308; }
.screen-results .r-counter-val.red    { background: #ef4444; color: #fff; border-color: #ef4444; }

.screen-results .r-divider { height: 1px; background: var(--app-border); margin: 0 8px; }

.screen-results .r-info-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px;
  border-top: 1px solid var(--app-border);
}

.screen-results .r-info-item {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 3.5px;
  font-weight: 500;
  color: var(--app-text-muted);
}

.screen-results .r-info-item svg { width: 5px; height: 5px; fill: var(--app-text-muted); opacity: 0.6; }
.screen-results .r-info-sep { font-size: 3.5px; color: rgba(0,0,0,0.15); }

.screen-results .r-submit {
  margin: 6px 6px;
  height: 18px;
  border-radius: 6px;
  background: var(--app-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.5px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  gap: 3px;
}


/* ============================================================
   REALISTIC SCREEN: Management Dashboard (Dark Mode)
   ============================================================ */
.screen-mgmt {
  display: flex;
  height: 100%;
  background: #121212;
  font-family: 'Inter', system-ui, sans-serif;
}

.screen-mgmt .m-sidebar {
  width: 90px;
  background: #1e1e1e;
  border-right: 1px solid oklch(0.32 0 0);
  display: flex;
  flex-direction: column;
  padding: 0;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.screen-mgmt .m-sidebar-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 6px 4px;
  gap: 2px;
}

.screen-mgmt .m-sidebar-logo { width: 28px; height: 28px; }
.screen-mgmt .m-sidebar-logo img { width: 100%; height: 100%; object-fit: contain; }

.screen-mgmt .m-tourn-name {
  font-size: 4.5px;
  font-weight: 700;
  color: oklch(0.97 0 0);
  text-align: center;
  line-height: 1.2;
}

.screen-mgmt .m-tourn-badge {
  font-size: 3px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 6px;
  margin-top: 1px;
}

.screen-mgmt .m-tourn-badge.private {
  color: oklch(83.21% 0.166 90.43);
  background: oklch(83.21% 0.166 90.43 / 0.15);
}

.screen-mgmt .m-tourn-code {
  font-size: 3px;
  font-weight: 600;
  color: oklch(78% 0 271);
  letter-spacing: 0.06em;
  margin-top: 1px;
}

.screen-mgmt .m-back-btn {
  width: calc(100% - 8px);
  margin: 2px 4px;
  padding: 2.5px 0;
  border-radius: 4px;
  background: #2a2a2a;
  font-size: 3.5px;
  font-weight: 600;
  color: oklch(0.97 0 0);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.screen-mgmt .m-sidebar-divider { height: 1px; background: oklch(0.32 0 0); margin: 3px 0; }

.screen-mgmt .m-menu-section { padding: 0 4px; flex: 1; overflow: hidden; }

.screen-mgmt .m-menu-item {
  padding: 3px 5px;
  border-radius: 4px;
  font-size: 4px;
  font-weight: 500;
  color: oklch(78% 0 271);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0.5px;
}

.screen-mgmt .m-menu-item.parent { color: oklch(0.97 0 0); font-weight: 600; }

.screen-mgmt .m-menu-icon {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-mgmt .m-menu-icon svg { width: 100%; height: 100%; fill: currentColor; opacity: 0.5; }

.screen-mgmt .m-child-item {
  padding: 3px 5px 3px 18px;
  font-size: 3.5px;
  font-weight: 500;
  color: oklch(78% 0 271);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0.5px;
}

.screen-mgmt .m-child-item.active {
  color: oklch(0.97 0 0);
  font-weight: 700;
  background: #2a2a2a;
  border-radius: 4px;
}

.screen-mgmt .m-child-icon {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-mgmt .m-child-icon svg { width: 100%; height: 100%; fill: currentColor; opacity: 0.4; }

.screen-mgmt .m-child-badge {
  font-size: 3px;
  font-weight: 700;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.screen-mgmt .m-child-badge.ok   { color: #fff; background: oklch(67.99% 0.181 148.1); }
.screen-mgmt .m-child-badge.warn { color: #fff; background: oklch(83.21% 0.166 90.43); }

.screen-mgmt .m-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

.screen-mgmt .m-topbar {
  height: 20px;
  background: #1e1e1e;
  border-bottom: 1px solid oklch(0.32 0 0);
  display: flex;
  align-items: center;
  padding: 0 8px;
  flex-shrink: 0;
}

.screen-mgmt .m-search {
  height: 11px;
  background: #282d33;
  border-radius: 4px;
  border: 1px solid #333;
  flex: 1;
  max-width: 120px;
  display: flex;
  align-items: center;
  padding: 0 4px;
  font-size: 3.5px;
  color: oklch(78% 0 271);
}

.screen-mgmt .m-avatar {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a2a2a;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-mgmt .m-avatar svg { width: 7px; height: 7px; fill: oklch(78% 0 271); }

.screen-mgmt .m-main {
  flex: 1;
  padding: 7px 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screen-mgmt .m-page-title {
  font-size: 7px;
  font-weight: 800;
  color: oklch(0.97 0 0);
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.screen-mgmt .m-page-sub { font-size: 3.5px; color: oklch(78% 0 271); margin-bottom: 5px; }

.screen-mgmt .m-card {
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  box-shadow: 0 15px 15px -15px rgba(0,0,0,0.2);
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid oklch(0.32 0 0);
}

.screen-mgmt .m-card-header {
  padding: 4px 6px;
  border-bottom: 1px solid oklch(0.32 0 0);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screen-mgmt .m-card-title { font-size: 5px; font-weight: 700; color: oklch(0.97 0 0); }

.screen-mgmt .m-group-label {
  font-size: 3.5px;
  font-weight: 700;
  color: oklch(78% 0 271);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 6px 1px;
}

.screen-mgmt .m-team-row {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2.5px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.screen-mgmt .m-team-badge { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; object-fit: contain; }
.screen-mgmt .m-team-name  { flex: 1; font-size: 4px; font-weight: 600; color: oklch(0.97 0 0); }
.screen-mgmt .m-team-stat  { font-size: 3.5px; color: oklch(78% 0 271); width: 8px; text-align: center; }
.screen-mgmt .m-team-pts   { font-size: 4px; font-weight: 800; color: oklch(0.97 0 0); width: 10px; text-align: center; }

.screen-mgmt .m-stat-header { display: flex; gap: 3px; padding: 2px 6px 1px; }

.screen-mgmt .m-stat-header span {
  font-size: 3px;
  font-weight: 700;
  color: oklch(78% 0 271);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.screen-mgmt .m-badge-complete {
  font-size: 3px;
  font-weight: 700;
  padding: 1px 3px;
  border-radius: 3px;
  color: oklch(67.99% 0.181 148.1);
  background: oklch(67.99% 0.181 148.1 / 0.15);
}


/* ============================================================
   SCROLLBAR (overview mode)
   ============================================================ */
body.overview-mode #deck::-webkit-scrollbar { width: 6px; }
body.overview-mode #deck::-webkit-scrollbar-track { background: transparent; }
body.overview-mode #deck::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* Scrollbar for content slides */
.slide-inner::-webkit-scrollbar       { width: 4px; }
.slide-inner::-webkit-scrollbar-track  { background: transparent; }
.slide-inner::-webkit-scrollbar-thumb  { background: #333; border-radius: 2px; }


/* ============================================================
   BRAND WATERMARK
   ============================================================ */
#brand-watermark {
  position: fixed;
  bottom: 16px;
  left: 24px;
  z-index: 99;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#brand-watermark img {
  height: 16px;
  opacity: 0.25;
}

body.overview-mode #brand-watermark { opacity: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .slide--split .slide-inner { grid-template-columns: 1fr; }
  .split-visual { display: none; }
  .slide-split  { grid-template-columns: 1fr; }
  .slide-split.reverse { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .status-columns { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .dual-section { grid-template-columns: 1fr; }
  .roadmap-track { grid-template-columns: 1fr 1fr; }
  .risk-grid { grid-template-columns: 1fr; }
  .card-columns { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .value-section { grid-template-columns: 1fr; }
  .value-section.reverse { direction: ltr; }
  .value-visual { min-height: 280px; }
  .features-grid { grid-template-columns: 1fr; }
  .app-hero { grid-template-columns: 1fr; }
  .app-hero-visual { min-height: 420px; }
  .app-showcase-phones { gap: 1rem; padding: 1rem 1.5rem 2rem; }
  .app-showcase-header { padding: 2rem 2rem 1rem; }
  .device-phone { width: 140px; height: 280px; }
  .dual-phones .device-phone { width: 130px; height: 260px; }
  body.overview-mode #deck {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    padding: 20px;
  }
}


/* ============================================================
   V2 ENHANCEMENTS — Animations, Photos, Polish
   ============================================================ */


/* ---- Staggered fade-in for slide content ---- */
.slide.active .slide-inner > * {
  opacity: 0;
  transform: translateY(10px);
  animation: v2-fadeInUp 0.4s ease-out forwards;
}

.slide.active .slide-inner > *:nth-child(1) { animation-delay: 0ms; }
.slide.active .slide-inner > *:nth-child(2) { animation-delay: 80ms; }
.slide.active .slide-inner > *:nth-child(3) { animation-delay: 160ms; }
.slide.active .slide-inner > *:nth-child(4) { animation-delay: 240ms; }

@keyframes v2-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ---- Status dot pulse animation ---- */
.slide.active .status-dot--progress {
  animation: v2-dotPulse 2s ease-in-out infinite;
}

@keyframes v2-dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.3); }
  50%      { box-shadow: 0 0 0 4px rgba(251, 191, 36, 0); }
}

.slide.active .status-dot--done {
  animation: v2-dotPulseGreen 2.5s ease-in-out infinite;
}

@keyframes v2-dotPulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.2); }
  50%      { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0); }
}


/* ---- Journey dot scale-in animation ---- */
.slide.active .journey-dot {
  animation: v2-scaleIn 0.4s ease-out forwards;
}

.slide.active .journey-milestone:nth-child(1) .journey-dot  { animation-delay: 100ms; }
.slide.active .journey-milestone:nth-child(2) .journey-dot  { animation-delay: 200ms; }
.slide.active .journey-milestone:nth-child(3) .journey-dot  { animation-delay: 300ms; }
.slide.active .journey-milestone:nth-child(4) .journey-dot  { animation-delay: 400ms; }
.slide.active .journey-milestone:nth-child(5) .journey-dot  { animation-delay: 500ms; }
.slide.active .journey-milestone:nth-child(6) .journey-dot  { animation-delay: 600ms; }
.slide.active .journey-milestone:nth-child(7) .journey-dot  { animation-delay: 700ms; }
.slide.active .journey-milestone:nth-child(8) .journey-dot  { animation-delay: 800ms; }
.slide.active .journey-milestone:nth-child(9) .journey-dot  { animation-delay: 900ms; }
.slide.active .journey-milestone:nth-child(10) .journey-dot { animation-delay: 1000ms; }
.slide.active .journey-milestone:nth-child(11) .journey-dot { animation-delay: 1100ms; }

@keyframes v2-scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


/* ---- Hero badge staggered fade-in ---- */
.slide.active .hero-badge {
  opacity: 0;
  animation: v2-badgeFadeIn 0.4s ease-out forwards;
}

.slide.active .hero-badge:nth-child(1)  { animation-delay: 300ms; }
.slide.active .hero-badge:nth-child(2)  { animation-delay: 370ms; }
.slide.active .hero-badge:nth-child(3)  { animation-delay: 440ms; }
.slide.active .hero-badge:nth-child(4)  { animation-delay: 510ms; }
.slide.active .hero-badge:nth-child(5)  { animation-delay: 580ms; }
.slide.active .hero-badge:nth-child(6)  { animation-delay: 650ms; }
.slide.active .hero-badge:nth-child(7)  { animation-delay: 720ms; }
.slide.active .hero-badge:nth-child(8)  { animation-delay: 790ms; }
.slide.active .hero-badge:nth-child(9)  { animation-delay: 860ms; }
.slide.active .hero-badge:nth-child(10) { animation-delay: 930ms; }
.slide.active .hero-badge:nth-child(11) { animation-delay: 1000ms; }

@keyframes v2-badgeFadeIn {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* ---- Hero lockup ---- */
.hero-lockup-border {
  display: inline-block;
  margin-bottom: 2.5rem;
}



/* ---- Club badge glow on hover ---- */
.slide--hero .club-badge-img:hover {
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.4));
}


/* ---- Progress bar glow ---- */
#progress {
  box-shadow: 0 0 8px rgba(10, 122, 72, 0.4), 0 0 20px rgba(251, 191, 36, 0.15);
}


/* ---- Safety net card hover lift ---- */
.safety-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.safety-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}


/* ---- Journey track line animated gradient sweep ---- */
.slide.active .journey-track::before {
  background: linear-gradient(to right, var(--brand-green), var(--amber));
  opacity: 0.4;
  background-size: 200% 100%;
  animation: v2-trackSweep 3s ease-in-out infinite alternate;
}

@keyframes v2-trackSweep {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}


/* ---- Split visual photo overlay ---- */
.split-visual--photo {
  overflow: hidden;
}

.split-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.75) 50%, rgba(10,10,10,0.85) 100%);
  z-index: 1;
}

.split-visual--photo::before {
  z-index: 2;
}

.split-visual--photo .device-phone {
  position: relative;
  z-index: 3;
}


/* ---- Override default slide--content bg for journey bg ---- */
.slide--journey-bg {
  background: none !important;
}

/* ---- Override default slide--status bg for built bg ---- */
.slide--built-bg {
  background: none !important;
}


/* ---- Prevent stagger animation from hiding grid children in split slides ---- */
.slide.active .slide-inner .split-text > *,
.slide.active .slide-inner .split-visual > *,
.slide.active .slide-inner .status-columns > *,
.slide.active .slide-inner .journey-track > *,
.slide.active .slide-inner .card-columns > * {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Re-apply the stagger only to direct children of slide-inner */
.slide.active .slide-inner > .split-text,
.slide.active .slide-inner > .split-visual,
.slide.active .slide-inner > .content-header,
.slide.active .slide-inner > .status-columns,
.slide.active .slide-inner > .journey-track,
.slide.active .slide-inner > .card-columns,
.slide.active .slide-inner > .hero-lockup-border,
.slide.active .slide-inner > .hero-badges,
.slide.active .slide-inner > p,
.slide.active .slide-inner > div,
.slide.active .slide-inner > .closing-stripe,
.slide.active .slide-inner > .closing-title,
.slide.active .slide-inner > .hero-stripe {
  opacity: 0;
  transform: translateY(15px);
  animation: v2-fadeInUp 0.5s ease-out forwards;
}

/* Ensure the hero stripe doesn't animate weirdly (it's absolute positioned) */
.slide.active .slide-inner > .hero-stripe,
.slide.active .slide-inner > .closing-stripe {
  transform: none;
  opacity: 1;
  animation: none;
}
