/* ==========================================================================
   DUgram (dugram.in) - Flagship Stylesheet
   The Operating System for Delhi University
   Apple / Linear / Stripe / Vercel Caliber Visual & Typographic Craft
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Custom Properties & Theming Engine
   -------------------------------------------------------------------------- */
:root {
  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Default OLED Dark Theme Tokens */
  --canvas: #000000;
  --canvas-rgb: 0, 0, 0;
  --surface-1: #09090B;
  --surface-2: #111114;
  --surface-3: #18181B;
  --surface-elevated: rgba(15, 15, 18, 0.82);

  --border-hairline: #1F1F23;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-spotlight: rgba(255, 255, 255, 0.28);

  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  --text-inverse: #09090B;

  /* Accents */
  --accent-emerald: #10B981;
  --accent-emerald-rgb: 16, 185, 129;
  --accent-emerald-subtle: rgba(16, 185, 129, 0.12);
  --accent-emerald-border: rgba(16, 185, 129, 0.35);

  --accent-crimson: #F43F5E;
  --accent-crimson-rgb: 244, 63, 94;
  --accent-crimson-subtle: rgba(244, 63, 94, 0.12);

  --accent-amber: #F59E0B;
  --accent-amber-subtle: rgba(245, 158, 11, 0.12);

  --accent-indigo: #6366F1;
  --accent-violet: #8B5CF6;
  --accent-blue: #3B82F6;

  --spotlight-color: rgba(255, 255, 255, 0.06);
  --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border-hairline);
  --modal-backdrop: rgba(0, 0, 0, 0.85);

  /* Semantic Aliases */
  --bg: var(--canvas);
  --bg-canvas: var(--canvas);
  --surface: var(--surface-1);
  --border: var(--border-hairline);

  /* Touch & Fluid Metrics */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Smooth spring curves */
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Warm Editorial Light Theme */
[data-theme="light"] {
  --canvas: #F6F6F3;
  --canvas-rgb: 246, 246, 243;
  --surface-1: #FFFFFF;
  --surface-2: #EFECE4;
  --surface-3: #E4E1D6;
  --surface-elevated: rgba(255, 255, 255, 0.88);

  --border-hairline: #E5E3DC;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.16);
  --border-spotlight: rgba(0, 0, 0, 0.2);

  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --text-inverse: #FFFFFF;

  --accent-emerald: #059669;
  --accent-emerald-rgb: 5, 150, 105;
  --accent-emerald-subtle: rgba(5, 150, 105, 0.1);
  --accent-emerald-border: rgba(5, 150, 105, 0.3);

  --accent-crimson: #E11D48;
  --accent-crimson-subtle: rgba(225, 29, 72, 0.1);

  --accent-amber: #D97706;
  --accent-amber-subtle: rgba(217, 119, 6, 0.1);

  --spotlight-color: rgba(0, 0, 0, 0.04);
  --card-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--border-hairline);
  --modal-backdrop: rgba(17, 24, 39, 0.65);
}

/* Global Placeholder Contrast */
::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   02. CSS Reset & Mobile-First Foundation
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--canvas);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  transition: background-color 0.35s var(--ease-smooth), color 0.35s var(--ease-smooth);
  position: relative;
}

/* Ambient Radial Canvas Glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 55%),
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  background-position: center top, 0 0, 0 0;
  opacity: 0.7;
  z-index: 0;
}

/* CRITICAL: iOS Safari 16px font-size minimum to prevent auto-zoom */
input, select, textarea, button {
  font-family: inherit;
  font-size: 16px;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--accent-emerald);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   03. Unified Brand Emblem SVG Component
   -------------------------------------------------------------------------- */
.dugram-brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.dugram-emblem-svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  display: block;
  transition: transform 0.25s var(--ease-spring);
}

.dugram-brand-mark:hover .dugram-emblem-svg {
  transform: scale(1.05);
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   04. Shared Typography & Layout Classes
   -------------------------------------------------------------------------- */
.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.font-mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1, "zero" 1;
}

.app-container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .app-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.section-spacing {
  padding-top: clamp(60px, 9vw, 110px);
  padding-bottom: clamp(60px, 9vw, 110px);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(var(--accent-emerald-rgb), 0.7);
  animation: pulseEmerald 2s infinite ease-in-out;
}

@keyframes pulseEmerald {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(var(--accent-emerald-rgb), 0.7); }
  50% { transform: scale(1.15); opacity: 0.8; box-shadow: 0 0 0 6px rgba(var(--accent-emerald-rgb), 0); }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Primary and Secondary Buttons (Strict 44px Touch Targets) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  background: var(--text-primary);
  color: var(--text-inverse);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  transition: all 0.2s var(--ease-spring);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s var(--ease-spring);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
}

/* --------------------------------------------------------------------------
   05. Responsive Sticky Navigation Bar & Mobile Bottom Dock
   -------------------------------------------------------------------------- */
.sticky-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 68px;
  background: var(--surface-elevated);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.sticky-navbar > .app-container {
  width: 100%;
  max-width: 1360px;
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-wrapper,
.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 16px;
}

@media (min-width: 900px) {
  .nav-wrapper,
  .navbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
  }
}

.nav-brand-link,
.dugram-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-brand-link .brand-wordmark,
.dugram-brand-mark .brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.nav-links-desktop {
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 24px);
  white-space: nowrap;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .nav-links-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  padding: 8px 4px;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  flex-shrink: 0;
}

.cmd-k-trigger {
  min-height: 40px;
  height: 40px;
  white-space: nowrap;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  min-height: 40px;
  min-width: 40px;
}

.btn-claim-vip,
.btn-primary.claim-pass-trigger {
  white-space: nowrap;
  min-height: 40px;
  height: 40px;
  padding: 0 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.theme-toggle-btn {
  width: 44px;
  height: 44px;
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all 0.2s var(--ease-spring);
}

.theme-toggle-btn:hover {
  border-color: var(--border-strong);
  transform: scale(1.04);
}

.theme-toggle-btn kbd {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  background: var(--surface-3);
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 6px;
  border: 1px solid var(--border-subtle);
}

@media (min-width: 1024px) {
  .theme-toggle-btn.with-kbd {
    width: auto;
    padding: 0 14px;
    gap: 6px;
  }
  .theme-toggle-btn.with-kbd kbd {
    display: inline-block;
  }
}

/* Mobile Quick-Jump Bottom Dock (< 768px) */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: calc(100% - 32px);
  max-width: 400px;
  height: 56px;
  background: var(--surface-elevated);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-subtle);
  padding: 4px;
  align-items: center;
  justify-content: space-around;
}

@media (max-width: 767px) {
  .mobile-bottom-dock {
    display: flex;
  }
}

.dock-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.6875rem;
  font-weight: 600;
  gap: 2px;
  min-width: 44px;
  min-height: 44px;
  transition: all 0.2s ease;
}

.dock-item svg {
  width: 18px;
  height: 18px;
}

.dock-item:hover, .dock-item.active {
  color: var(--text-primary);
  background: var(--surface-2);
}

.dock-item.dock-cta {
  background: var(--text-primary);
  color: var(--text-inverse);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   06. Kinetic Hero Section & Guaranteed-Flip 3D Campus Pass
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: clamp(24px, 4vw, 44px);
  padding-bottom: clamp(60px, 8vw, 96px);
  position: relative;
}

.pulse-ticker-container {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(20px, 3.5vw, 30px);
}

.pulse-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-ticker .ticker-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-editorial-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(28px, 5vw, 44px);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  background: linear-gradient(180deg, var(--text-primary) 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subcopy {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-subcopy code {
  font-family: var(--font-mono);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--accent-emerald);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   BULLETPROOF 3D CAMPUS PASS ARCHITECTURE
   -------------------------------------------------------------------------- */
.pass-showcase-wrapper {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* 1. Outer tilt wrapper (perspective & transform-style, NO overflow hidden) */
.pass-tilt-wrapper {
  perspective: 1400px;
  transform-style: preserve-3d;
  width: 100%;
  margin-bottom: 20px;
  transition: transform 0.15s ease-out;
}

/* 2. Inner card rotator (owns the 180deg flip transform) */
#campus-card-rotator {
  position: relative;
  width: 100%;
  aspect-ratio: 1.586 / 1;
  min-height: 250px;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  border-radius: 22px;
}

#campus-card-rotator.is-flipped {
  transform: rotateY(180deg);
}

/* 3. Both faces: absolute, backface-hidden, border-radius 22px */
.card-front,
.card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border-subtle);
}

/* Front Face */
.card-front {
  background: linear-gradient(145deg, #121217 0%, #09090C 50%, #15151B 100%);
  color: #FFFFFF;
  padding: clamp(14px, 4vw, 22px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

[data-theme="light"] .card-front {
  background: linear-gradient(145deg, #FFFFFF 0%, #F5F3EC 55%, #EDEAE1 100%);
  color: #111827;
}

.card-front::before,
.card-back::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(99, 102, 241, 0.12) 50%,
    rgba(255, 255, 255, 0.1) 55%,
    transparent 65%
  );
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0.65;
}

.pass-front-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pass-brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pass-header-meta {
  display: flex;
  flex-direction: column;
}

.pass-meta-inst {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.pass-meta-sub {
  font-size: 0.5625rem;
  color: var(--text-muted);
}

.pass-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--accent-emerald-border);
  color: var(--accent-emerald);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
}

.pass-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0;
}

.emv-chip-svg {
  width: 44px;
  height: 34px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.pass-student-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.pass-name-display {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 3.5vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.pass-id-display {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 3vw, 1.1875rem);
  font-weight: 700;
  color: var(--accent-emerald);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.pass-college-display {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pass-qr-box {
  width: 64px;
  height: 64px;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.pass-qr-box svg {
  width: 100%;
  height: 100%;
}

/* Back Face (Starts at rotateY 180deg) */
.card-back {
  transform: rotateY(180deg);
  background: linear-gradient(145deg, #09090C 0%, #121217 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

[data-theme="light"] .card-back {
  background: linear-gradient(145deg, #F0EDE5 0%, #FFFFFF 100%);
  color: #111827;
}

.pass-magstripe {
  width: 100%;
  height: 42px;
  background: #000000;
  margin-top: 14px;
}

.pass-back-body {
  padding: clamp(12px, 3.5vw, 18px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.pass-back-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
}

.back-data-item .label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1px;
}

.back-data-item .val {
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pass-barcode-group {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.barcode-svg {
  width: 100%;
  height: 32px;
}

.barcode-sub {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* Flip Trigger Pill */
.flip-card-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.2s ease;
  min-height: 44px;
}

.flip-card-action-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.flip-card-action-btn kbd {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--surface-3);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

/* Live Customizer Bar Directly Underneath */
.pass-customizer-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (min-width: 640px) {
  .pass-customizer-bar {
    grid-template-columns: 1.2fr 1.5fr 1fr;
  }
}

.customizer-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.customizer-field label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.customizer-input,
.customizer-select {
  height: 44px;
  min-height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  color: var(--text-primary);
  font-size: 16px; /* iOS Safari zoom prevention */
  width: 100%;
}

.customizer-input:focus,
.customizer-select:focus {
  border-color: var(--accent-emerald);
  outline: none;
}

/* --------------------------------------------------------------------------
   07. Top 7 DU Colleges Live Telemetry Showcase (Executive Stripe/Linear Layout)
   -------------------------------------------------------------------------- */
.telemetry-section {
  position: relative;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 900px) {
  .telemetry-grid {
    grid-template-columns: 1fr 1.35fr;
    align-items: stretch;
  }
}

/* Left Panel: #1 Spotlight Card */
.spotlight-campus-card {
  background: linear-gradient(165deg, var(--surface-2) 0%, var(--surface-1) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px -10px rgba(245, 158, 11, 0.12), 0 0 0 1px rgba(245, 158, 11, 0.2);
  position: relative;
  overflow: hidden;
}

.spotlight-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.spotlight-rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #F59E0B;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.spotlight-college-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.spotlight-zone-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.spotlight-metric-block {
  margin: 24px 0 16px;
}

.spotlight-metric-val {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--accent-emerald);
  line-height: 1;
}

.spotlight-metric-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* Custom 30-Day SVG Adoption Sparkline */
.sparkline-wrapper {
  margin: 16px 0 24px;
  height: 60px;
  width: 100%;
}

.sparkline-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.spotlight-telemetry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.telemetry-tag-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--surface-3);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* Right Panel: Ranks 02 through 07 Telemetry Rows */
.telemetry-rows-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.telemetry-row-card {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.25s ease;
  cursor: pointer;
  min-height: 44px;
}

.telemetry-row-card:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateX(3px);
}

.row-primary-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.row-left-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.row-rank-id {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 24px;
  flex-shrink: 0;
}

.row-title-zone {
  min-width: 0;
}

.row-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-zone {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.row-right-count {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.row-count-num {
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.row-chevron {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.telemetry-row-card:hover .row-chevron {
  color: var(--text-primary);
  transform: translateX(2px);
}

/* 4px Proportional Luminance Progress Bar */
.row-progress-track {
  width: 100%;
  height: 4px;
  background: var(--surface-3);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.row-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #10B981, #6366F1);
  transition: width 0.8s var(--ease-spring);
}

/* --------------------------------------------------------------------------
   08. Interactive Split-Screen Product Studio
   -------------------------------------------------------------------------- */
.product-studio-section {
  position: relative;
}

/* Top Segmented Pillar Switcher */
.pillar-switcher-bar {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.pillar-segments {
  display: inline-flex;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 5px;
  gap: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.pillar-seg-btn {
  height: 44px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--ease-spring);
  white-space: nowrap;
}

.pillar-seg-btn kbd {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  background: var(--surface-3);
  padding: 1px 5px;
  border-radius: 4px;
}

.pillar-seg-btn.active {
  background: var(--text-primary);
  color: var(--text-inverse);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 2-Column Split Stage Layout */
.studio-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

@media (min-width: 960px) {
  .studio-split-grid {
    grid-template-columns: 1.25fr 0.85fr;
    gap: 48px;
  }
}

/* Left Column: Feature Deep Dive & Clickable Sub-Feature Cards */
.pillar-editorial-column {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.pillar-editorial-column.active {
  display: flex;
}

.pillar-narrative-header {
  margin-bottom: 8px;
}

.pillar-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.pillar-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 3 Interactive Sub-Feature Cards */
.feature-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sub-feature-card {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 44px;
  position: relative;
}

.sub-feature-card:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.sub-feature-card.active {
  background: var(--surface-2);
  border-color: var(--accent-indigo);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15), 0 0 0 1px var(--accent-indigo);
}

.card-num-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-3);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.sub-feature-card.active .card-num-box {
  background: var(--accent-indigo);
  color: #FFFFFF;
}

.card-body-wrap {
  flex: 1;
  min-width: 0;
}

.card-title-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.card-desc-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Right Column: Compact iPhone 16 Pro Hardware Mockup */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  position: sticky;
  top: 90px;
}

.compact-iphone-chassis {
  width: 308px;
  height: 628px;
  background: #000000;
  border-radius: 48px;
  box-shadow: 0 25px 65px -15px rgba(0, 0, 0, 0.9), 0 0 0 8px #27272A, 0 0 0 10px #18181B;
  position: relative;
  overflow: hidden;
  border: 3px solid #09090B;
  display: flex;
  flex-direction: column;
}

[data-theme="light"] .compact-iphone-chassis {
  background: #FFFFFF;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.2), 0 0 0 8px #D4D4D8, 0 0 0 10px #E4E4E7;
  border-color: #F4F4F5;
}

/* Dynamic Island & Status Bar */
.phone-status-bar {
  height: 42px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  position: relative;
  z-index: 20;
}

.phone-dynamic-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000000;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.island-lens {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #27272A, #09090B);
}

.island-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

/* Phone In-App Header with Unified Emblem */
.phone-app-header {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-1);
}

.phone-brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
}

.phone-brand-title .dugram-emblem-svg {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

/* Phone Screen Scrollable Body */
.phone-screen-content {
  flex: 1;
  overflow-y: auto;
  background: var(--surface-1);
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 5-Tab In-App Bottom Navigation */
.phone-bottom-tabs {
  height: 52px;
  background: var(--surface-elevated);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
}

.phone-tab-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 0.5625rem;
  font-weight: 600;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

.phone-tab-icon.active {
  color: var(--accent-emerald);
}

/* Sub-Screen Interactive Views inside Phone */
.phone-subview {
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: fadeIn 0.3s ease;
}

.phone-subview.active {
  display: flex;
}

/* View: Attendance Ring */
.phone-att-ring-card {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.phone-ring-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
}

.phone-ring-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.phone-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.phone-ring-percent {
  font-family: var(--font-mono);
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1;
}

.phone-ring-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.phone-action-btn {
  height: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.phone-action-btn.btn-pres {
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald-border);
}

.phone-action-btn.btn-abs {
  background: var(--accent-crimson-subtle);
  color: var(--accent-crimson);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

/* View: Faculty Roll Call */
.phone-roster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.phone-student-pill {
  min-height: 44px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.phone-student-pill.present {
  border-color: var(--accent-emerald-border);
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
}

.phone-student-pill.absent {
  border-color: rgba(244, 63, 94, 0.4);
  background: var(--accent-crimson-subtle);
  color: var(--accent-crimson);
}

/* View: Society Chat */
.phone-chat-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 230px;
  overflow-y: auto;
}

.phone-bubble {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.75rem;
}

.phone-bubble.outbound {
  align-self: flex-end;
  background: var(--accent-emerald-subtle);
  border-color: var(--accent-emerald-border);
}

.phone-bubble-header {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--accent-indigo);
}

.phone-reaction-pills {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.phone-reaction-btn {
  background: var(--surface-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 2px 6px;
  font-size: 0.625rem;
  display: flex;
  align-items: center;
  gap: 2px;
}

.phone-composer-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}

.phone-composer-input {
  flex: 1;
  height: 44px;
  min-height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0 12px;
  font-size: 16px; /* iOS Safari zoom fix */
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   09. Bento Feature Matrix & Cursor Sheen
   -------------------------------------------------------------------------- */
.bento-section {
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bento-card {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease;
}

@media (hover: hover) {
  .bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(
      450px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
      var(--spotlight-color),
      transparent 80%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .bento-card:hover::before {
    opacity: 1;
  }
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.bento-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
}

.bento-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bento-card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-tag-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent-emerald);
  background: var(--accent-emerald-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   10. Minting Modal & Native Apple Bottom Sheet Drawer
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--modal-backdrop);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border-subtle);
  position: relative;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease-spring);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

@media (max-width: 639px) {
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-card {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    max-height: 85vh;
  }

  .modal-overlay.open .modal-card {
    transform: translateY(0);
  }
}

.modal-drag-handle {
  display: none;
  width: 44px;
  height: 5px;
  background: var(--border-strong);
  border-radius: var(--radius-full);
  margin: 0 auto 16px;
}

@media (max-width: 639px) {
  .modal-drag-handle {
    display: block;
  }
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-selector-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.role-chip-btn {
  height: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.role-chip-btn.active {
  background: var(--text-primary);
  color: var(--text-inverse);
}

/* Success Card */
.mint-success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 10px 0;
}

.mint-success-state.active {
  display: flex;
}

.minted-id-display {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-emerald);
  background: var(--surface-2);
  padding: 10px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--accent-emerald-border);
}

/* --------------------------------------------------------------------------
   11. Toast Notifications & Footer
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: max(24px, calc(72px + env(safe-area-inset-bottom)));
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

@media (max-width: 767px) {
  .toast-container {
    left: 20px;
    right: 20px;
    bottom: max(72px, calc(64px + env(safe-area-inset-bottom)));
  }
}

.toast {
  pointer-events: auto;
  background: var(--surface-elevated);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: var(--text-primary);
  font-size: 0.875rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUpToast 0.3s var(--ease-spring);
}

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

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--canvas);
  padding-top: 64px;
  padding-bottom: max(96px, calc(80px + env(safe-area-inset-bottom)));
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-legal-links a:hover {
  color: var(--text-primary);
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --------------------------------------------------------------------------
   12. Navbar ⌘K Search/Command Trigger & Command Palette Modal
   -------------------------------------------------------------------------- */
.cmd-k-trigger {
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s var(--ease-spring);
  cursor: pointer;
}

.cmd-k-trigger:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.cmd-k-kbd {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  background: var(--surface-3);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

/* Command Palette Overlay */
.palette-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--modal-backdrop);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(60px, 12vh, 120px) 16px 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.palette-overlay.open {
  display: flex;
  opacity: 1;
}

.palette-modal {
  width: 100%;
  max-width: 580px;
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(-8px) scale(0.98);
  transition: transform 0.25s var(--ease-spring);
}

.palette-overlay.open .palette-modal {
  transform: translateY(0) scale(1);
}

.palette-search-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-2);
}

.palette-search-input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 16px; /* Prevents iOS auto-zoom */
  color: var(--text-primary);
  outline: none;
}

.palette-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.palette-group-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 12px 4px;
}

.palette-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 44px;
}

.palette-item:hover,
.palette-item.selected {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
}

.palette-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.palette-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.palette-item-text {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.palette-item-shortcut {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  background: var(--surface-3);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  flex-shrink: 0;
}

.palette-footer {
  padding: 10px 18px;
  background: var(--surface-2);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13. Live DU26-XXXXX Pass Verifier Sandbox (Stripe-Style Widget)
   -------------------------------------------------------------------------- */
.verifier-section {
  position: relative;
}

.verifier-card-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 5vw, 40px);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.verifier-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 600px) {
  .verifier-input-group {
    flex-direction: row;
    align-items: center;
  }
}

.verifier-input-field {
  flex: 1;
  height: 48px;
  min-height: 48px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 16px; /* iOS zoom prevention */
  color: var(--text-primary);
  letter-spacing: 0.05em;
  transition: border-color 0.2s ease;
}

.verifier-input-field:focus {
  border-color: var(--accent-emerald);
  outline: none;
}

.verifier-sample-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sample-id-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sample-id-pill:hover {
  background: var(--surface-3);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* Verification Cryptographic Receipt Card */
.verification-receipt-card {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.35s ease;
}

.receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.receipt-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--accent-emerald-border);
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
}

@media (min-width: 600px) {
  .receipt-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.receipt-item .label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.receipt-item .val {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.receipt-perk-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 1px solid var(--accent-emerald-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   14. DUgram vs. Legacy WhatsApp Comparison Matrix
   -------------------------------------------------------------------------- */
.comparison-section {
  position: relative;
}

.comparison-matrix-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.comparison-row-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .comparison-row-header {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.comparison-row-item {
  display: grid;
  grid-template-columns: 1fr;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 14px;
  transition: background-color 0.2s ease;
}

.comparison-row-item:last-child {
  border-bottom: none;
}

.comparison-row-item:hover {
  background: var(--surface-2);
}

@media (min-width: 768px) {
  .comparison-row-item {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: center;
    gap: 20px;
  }
}

.comparison-feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.comparison-feature-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.col-dugram {
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.4;
}

.col-dugram .check-bullet {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.col-whatsapp {
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.4;
}

.col-whatsapp .cross-bullet {
  color: var(--accent-crimson);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   15. Campus Voices Quotes & Expandable FAQ Accordion
   -------------------------------------------------------------------------- */
.voices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 56px;
}

@media (min-width: 768px) {
  .voices-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.voice-card {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--card-shadow);
}

.voice-quote-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.voice-author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.voice-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

.voice-author-name {
  font-weight: 700;
  font-size: 0.875rem;
}

.voice-author-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-question-btn {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  min-height: 44px;
  cursor: pointer;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.25s var(--ease-spring);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-emerald);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-smooth), padding 0.3s ease;
  padding: 0 22px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.open .faq-answer-panel {
  max-height: 320px;
  padding-bottom: 20px;
}

/* --------------------------------------------------------------------------
   16. Flagship Pre-Footer Conversion Card & 4-Column Architectural Footer
   -------------------------------------------------------------------------- */
.pre-footer-banner {
  margin-bottom: clamp(60px, 9vw, 96px);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(16, 185, 129, 0.06) 50%, var(--surface-1) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
}

.pre-footer-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.pre-footer-subcopy {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.pre-footer-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .pre-footer-ctas {
    flex-direction: row;
    max-width: none;
  }
}

/* 4-Column Architectural Footer Grid */
.footer-4col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 24px;
  padding-bottom: 48px;
}

@media (min-width: 640px) {
  .footer-4col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .footer-4col-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-item a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
}

.footer-link-item a:hover {
  color: var(--text-primary);
}

.telemetry-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-secondary);
  width: fit-content;
}

.telemetry-status-pill .pulse-dot {
  width: 6px;
  height: 6px;
}

.footer-bottom-legal-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom-legal-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   17. Fully Styled Legal & Compliance Suite + Subpage Hero Headers
   -------------------------------------------------------------------------- */
.legal-page-header,
.subpage-hero-header {
  padding-top: calc(68px + clamp(40px, 6vw, 72px));
  padding-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 0%, var(--surface-2) 0%, transparent 70%);
}

.subpage-hero-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.subpage-hero-title,
.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin: 12px 0 14px 0;
}

.subpage-hero-sub {
  font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 760px;
  margin: 0;
}

.legal-header-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .legal-header-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.legal-effective-date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* 2-Column Legal Reading Layout */
.legal-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 80px;
}

@media (min-width: 900px) {
  .legal-layout-grid {
    grid-template-columns: 240px 1fr;
    gap: 60px;
  }
}

/* Sticky TOC Sidebar */
.legal-toc-sidebar {
  display: none;
}

@media (min-width: 900px) {
  .legal-toc-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}

.legal-toc-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.legal-toc-link {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  line-height: 1.35;
}

.legal-toc-link:hover,
.legal-toc-link.active {
  color: var(--text-primary);
  background: var(--surface-2);
}

/* Mobile Horizontal TOC Pills */
.legal-mobile-toc {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.legal-mobile-toc::-webkit-scrollbar {
  display: none;
}

@media (min-width: 900px) {
  .legal-mobile-toc {
    display: none;
  }
}

.legal-mobile-toc-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Legal Content Body (72ch optimal reading measure) */
.legal-content-body {
  max-width: 72ch;
  display: flex;
  flex-direction: column;
  gap: 36px;
  font-size: 0.96875rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-section-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-margin-top: 100px;
}

.legal-h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content-body p strong {
  color: var(--text-primary);
}

.legal-content-body ul,
.legal-content-body ol {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Legal Data Table */
.legal-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  margin: 10px 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  text-align: left;
}

.legal-table th {
  background: var(--surface-2);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.legal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: top;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

/* Callout Alert Card */
.legal-callout {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-callout.highlight-emerald {
  border-color: var(--accent-emerald-border);
  background: var(--accent-emerald-subtle);
}

.legal-callout-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Web Account Deletion Request Form (Google Play Mandatory) */
.deletion-form-card {
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 600px;
}

.deletion-receipt-card {
  display: none;
  flex-direction: column;
  gap: 14px;
  background: var(--surface-2);
  border: 1px solid var(--accent-emerald-border);
  border-radius: var(--radius-md);
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.deletion-receipt-card.active {
  display: flex;
}

/* Print Stylesheet */
@media print {
  .sticky-navbar,
  .mobile-bottom-dock,
  .legal-toc-sidebar,
  .legal-mobile-toc,
  .pre-footer-banner,
  .theme-toggle-btn,
  .cmd-k-trigger,
  .btn-print-doc {
    display: none !important;
  }

  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }

  .legal-layout-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   18. CONTACT DESK & SMART ROUTING (contact.html)
   ========================================================================== */
.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 36px;
}

@media (min-width: 992px) {
  .contact-grid-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
  }
}

.dept-selector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .dept-selector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dept-card {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  user-select: none;
  min-height: 44px;
}

.dept-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.dept-card.active {
  border-color: var(--accent-indigo);
  background: var(--accent-indigo-glow);
  box-shadow: 0 0 0 1px var(--accent-indigo);
}

.dept-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dept-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dept-sla-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--accent-emerald-border);
  color: var(--accent-emerald);
  white-space: nowrap;
}

.dept-email-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.dept-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.dept-active-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.copy-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 14px;
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 44px;
}

.copy-email-btn:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
}

.copy-email-btn.copied {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  background: var(--accent-emerald-subtle);
}

.contact-form-box {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.confirmed-ticket-card {
  display: none;
  flex-direction: column;
  gap: 18px;
  background: var(--surface-2);
  border: 1px solid var(--accent-emerald-border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 28px);
  animation: fadeIn 0.3s ease;
}

.confirmed-ticket-card.active {
  display: flex;
}

/* ==========================================================================
   19. SUPPORT & HELP CENTER (support.html)
   ========================================================================== */
.support-search-hero {
  max-width: 680px;
  margin: 0 auto 36px;
  position: relative;
}

.support-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  padding: 6px 10px 6px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.support-search-box:focus-within {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px var(--accent-indigo-glow);
}

.support-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px; /* iOS Safari auto-zoom prevention */
  color: var(--text-primary);
  font-family: var(--font-body);
  height: 44px;
}

.support-search-input::placeholder {
  color: var(--text-muted);
}

.support-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .support-topics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.topic-chip-card {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  user-select: none;
  min-height: 44px;
}

.topic-chip-card:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.topic-chip-card.active {
  border-color: var(--accent-indigo);
  background: var(--accent-indigo-glow);
  box-shadow: 0 0 0 1px var(--accent-indigo);
}

.topic-icon-frame {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-indigo);
  flex-shrink: 0;
}

.troubleshooter-wrapper {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.diag-buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.diag-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 44px;
}

.diag-btn:hover {
  background: var(--surface-3);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.diag-btn.active {
  background: var(--accent-indigo);
  color: #FFFFFF;
  border-color: var(--accent-indigo);
  font-weight: 600;
}

.diag-resolution-panel {
  display: none;
  flex-direction: column;
  gap: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.diag-resolution-panel.active {
  display: flex;
}

.kb-guides-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kb-item {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.kb-item:hover {
  border-color: var(--border-strong);
}

.kb-header-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  min-height: 44px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.kb-content-body {
  display: none;
  padding: 0 20px 20px;
  color: var(--text-secondary);
  font-size: 0.90625rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-hairline);
  background: var(--surface-2);
}

.kb-item.open .kb-content-body {
  display: block;
}

.kb-item.open .kb-chevron {
  transform: rotate(180deg);
}

.kb-chevron {
  transition: transform var(--transition-base);
  color: var(--text-muted);
}

/* ==========================================================================
   20. BRAND REACH & SPONSORSHIPS (sponsors.html)
   ========================================================================== */
.sponsors-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0 48px;
}

@media (min-width: 640px) {
  .sponsors-stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sponsor-stat-tile {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sponsor-stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.sponsor-stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.reach-calculator-card {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 36px);
  margin-bottom: 48px;
  box-shadow: var(--card-shadow);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .calc-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
}

.calc-controls-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-output-col {
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.segmented-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-option-btn {
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 44px;
}

.pill-option-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.pill-option-btn.active {
  background: var(--accent-indigo);
  color: #FFFFFF;
  border-color: var(--accent-indigo);
  font-weight: 600;
}

.styled-range-slider {
  width: 100%;
  height: 6px;
  background: var(--border-hairline);
  border-radius: 999px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin: 12px 0 6px;
}

.styled-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-indigo);
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.styled-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.metric-highlight-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 16px;
}

.metric-highlight-box:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.metric-big-num {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--accent-emerald);
}

.sponsor-formats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

@media (min-width: 860px) {
  .sponsor-formats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sponsor-format-card {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: all var(--transition-base);
}

.sponsor-format-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
}

/* ==========================================================================
   21. FEEDBACK & FEATURE ROADMAP (feedback.html)
   ========================================================================== */
.roadmap-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0 24px;
  flex-wrap: wrap;
}

.status-tabs-row {
  display: flex;
  gap: 6px;
  background: var(--surface-1);
  padding: 4px;
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  overflow-x: auto;
  max-width: 100%;
}

.status-tab-btn {
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-height: 40px;
}

.status-tab-btn:hover {
  color: var(--text-primary);
}

.status-tab-btn.active {
  background: var(--surface-3);
  color: var(--text-primary);
  font-weight: 600;
}

.feedback-sort-select {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 16px; /* iOS Safari auto-zoom prevention */
  padding: 8px 14px;
  outline: none;
  cursor: pointer;
  min-height: 44px;
}

.feedback-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 48px;
}

.feedback-item-card {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all var(--transition-base);
}

.feedback-item-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.upvote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  width: 54px;
  min-width: 54px;
  height: 60px;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
}

.upvote-btn:hover {
  background: var(--surface-3);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.upvote-btn.voted {
  background: var(--accent-emerald-subtle);
  border-color: var(--accent-emerald-border);
  color: var(--accent-emerald);
}

.status-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.status-in-progress {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60A5FA;
}

.status-planned {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #FBBF24;
}

.status-shipped {
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--accent-emerald-border);
  color: var(--accent-emerald);
}

.feature-composer-card {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}

/* ==========================================================================
   22. MEET THE DEVELOPER & CAELUMCODE STUDIO (developer.html)
   ========================================================================== */
.founder-profile-card {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 44px);
  margin: 32px 0 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.founder-profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.founder-avatar-frame {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1C1929 0%, #0F0E17 100%);
  border: 1px solid #332E4A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.25);
  flex-shrink: 0;
}

.founder-narrative-quote {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  line-height: 1.75;
  color: var(--text-secondary);
  border-left: 2px solid var(--accent-indigo);
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
}

.caelumcode-studio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .caelumcode-studio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .caelumcode-studio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .caelumcode-studio-grid .product-card-featured {
    grid-column: span 2;
  }
}

.studio-product-card {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--transition-base);
}

.studio-product-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  background: var(--surface-2);
}

.tech-stack-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.stack-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
}

/* ==========================================================================
   23. CLAIM VIP PASS & 6 MONTHS PRO FREE (early-access.html)
   ========================================================================== */
.vip-offer-banner {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.vip-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.vip-value-pill {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vip-value-pill.highlight {
  border-color: rgba(217, 119, 6, 0.4);
  background: rgba(217, 119, 6, 0.12);
  color: #FBBF24;
}

.vip-studio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
  margin-top: 32px;
}

@media (min-width: 960px) {
  .vip-studio-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.vip-form-box {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.vip-role-tabs {
  display: flex;
  gap: 6px;
  background: var(--surface-2);
  padding: 4px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.vip-role-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.84375rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vip-role-tab.active {
  background: var(--surface-1);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.phone-prefix-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  transition: border-color var(--transition-base);
  overflow: hidden;
}

.phone-prefix-wrap:focus-within {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 2px var(--accent-indigo-glow);
}

.phone-prefix-badge {
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  border-right: 1px solid var(--border-hairline);
  background: var(--surface-3);
  height: 48px;
  display: flex;
  align-items: center;
  gap: 4px;
  user-select: none;
}

.phone-input-field {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 16px; /* iOS Safari auto-zoom prevention */
  color: var(--text-primary);
  outline: none;
  height: 48px;
  letter-spacing: 0.04em;
}

/* 5-Step Tactile Excitement Meter */
.tactile-meter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 520px) {
  .tactile-meter-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.meter-pill-btn {
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 52px;
  justify-content: center;
}

.meter-pill-btn:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
}

.meter-pill-btn.active {
  background: rgba(217, 119, 6, 0.14);
  border-color: #F59E0B;
  color: #FBBF24;
  box-shadow: 0 0 0 1px #F59E0B;
}

.meter-step-num {
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  font-weight: 700;
}

.meter-step-desc {
  font-size: 0.6875rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.meter-pill-btn.active .meter-step-desc {
  color: #FDE68A;
  font-weight: 600;
}

/* Multi-Select Feature Chips */
.feature-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-chip-btn {
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  min-height: 44px;
}

.feature-chip-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.feature-chip-btn.active {
  background: var(--accent-indigo);
  border-color: var(--accent-indigo);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

.feature-chip-btn .chip-check {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
  transition: all var(--transition-fast);
}

.feature-chip-btn.active .chip-check {
  background: #FFFFFF;
  border-color: #FFFFFF;
}

.feature-chip-btn.active .chip-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--accent-indigo);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* RIGHT COLUMN: 3D Obsidian & Champagne-Gold VIP Pass */
.vip-card-stage {
  perspective: 1400px;
  position: sticky;
  top: 96px;
}

.vip-card-rotator-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.vip-card-rotator {
  position: relative;
  width: 100%;
  aspect-ratio: 1.586; /* Standard ISO/IEC 7810 ID-1 card ratio */
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

.vip-card-rotator.flipped {
  transform: rotateY(180deg);
}

.vip-face {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Front Face: Obsidian & Brushed Gold Sheen */
.vip-face-front {
  background: linear-gradient(135deg, #14121A 0%, #0A090D 60%, #1A1524 100%);
  border: 1px solid rgba(217, 119, 6, 0.35);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(217, 119, 6, 0.15);
}

.vip-face-front::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(217, 119, 6, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

.vip-face-back {
  background: linear-gradient(135deg, #0F0E14 0%, #171520 100%);
  border: 1px solid rgba(217, 119, 6, 0.35);
  transform: rotateY(180deg);
}

.vip-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.vip-emv-chip {
  width: 44px;
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, #E0B468 0%, #9E742C 50%, #E8C17A 100%);
  border: 1px solid #75551E;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.vip-emv-chip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.25);
}

.vip-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.25) 0%, rgba(245, 158, 11, 0.15) 100%);
  border: 1px solid rgba(217, 119, 6, 0.5);
  color: #FBBF24;
  text-transform: uppercase;
}

.vip-id-display {
  font-family: var(--font-mono);
  font-size: clamp(1.375rem, 3.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  margin-top: 14px;
}

.vip-pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--accent-emerald-border);
  padding: 2px 8px;
  border-radius: 6px;
  width: fit-content;
}

.flip-hint-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Post-Submission Apple-Wallet-Grade Certificate */
.vip-cert-receipt {
  display: none;
  flex-direction: column;
  gap: 20px;
  background: var(--surface-1);
  border: 1px solid rgba(217, 119, 6, 0.4);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 40px);
  box-shadow: 0 20px 60px -15px rgba(217, 119, 6, 0.15), var(--card-shadow);
  animation: fadeIn 0.4s ease;
}

.vip-cert-receipt.active {
  display: flex;
}

.voucher-copy-box {
  background: var(--surface-2);
  border: 1px dashed rgba(217, 119, 6, 0.45);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   24. VISUAL FOUNDER RESPONSE & TELEMETRY DRAWER (PIN Protected)
   ========================================================================== */
.founder-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.founder-drawer-overlay.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.founder-drawer-modal {
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.founder-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface-2);
}

.founder-drawer-body {
  padding: clamp(20px, 4vw, 32px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.founder-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.founder-kpi-card {
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.founder-kpi-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.feature-rank-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.feature-rank-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.feature-rank-bar-bg {
  width: 100%;
  height: 8px;
  background: var(--surface-3);
  border-radius: 999px;
  overflow: hidden;
}

.feature-rank-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-indigo) 0%, #EC4899 100%);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-leads-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.founder-lead-item {
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/* ==========================================================================
   25. Enhanced VIP Studio, Apple-Style College Picker & Live Leaderboard
   ========================================================================== */

/* Quick-select chips for courses and departments */
.quick-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.quick-chip-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.quick-chip-btn:hover {
  border-color: rgba(217, 119, 6, 0.4);
  color: var(--text-primary);
  background: var(--surface-elevated);
}

.quick-chip-btn.active {
  background: rgba(217, 119, 6, 0.15);
  border-color: #FBBF24;
  color: #FBBF24;
  font-weight: 600;
}

/* College Picker Trigger Button on the Form */
.college-picker-trigger {
  width: 100%;
  min-height: 48px;
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 16px; /* iOS zoom prevention */
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.college-picker-trigger:hover,
.college-picker-trigger:focus {
  border-color: rgba(217, 119, 6, 0.5);
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
  outline: none;
}

.college-picker-trigger .picker-value-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.college-picker-trigger .picker-value-text.placeholder {
  color: var(--text-muted);
}

/* Apple-style College Picker Modal / Bottom Sheet */
.du-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px;
}

.du-picker-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.du-picker-modal {
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: scale(0.96) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.du-picker-overlay.active .du-picker-modal {
  transform: scale(1) translateY(0);
}

/* Mobile Bottom Sheet Layout (< 768px) */
@media (max-width: 767px) {
  .du-picker-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .du-picker-modal {
    max-width: 100%;
    max-height: 88vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transform: translateY(100%);
  }

  .du-picker-overlay.active .du-picker-modal {
    transform: translateY(0);
  }
}

.du-picker-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.du-picker-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.du-picker-grabber {
  width: 40px;
  height: 5px;
  background: var(--border-subtle);
  border-radius: 999px;
  margin: 0 auto 6px;
  display: none;
}

@media (max-width: 767px) {
  .du-picker-grabber {
    display: block;
  }
}

.du-picker-search-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.du-picker-search-input {
  width: 100%;
  height: 46px;
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 0 40px 0 38px;
  font-family: var(--font-body);
  font-size: 16px; /* iOS zoom prevention */
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.du-picker-search-input:focus {
  border-color: #FBBF24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

.du-picker-search-icon {
  position: absolute;
  left: 12px;
  pointer-events: none;
  color: var(--text-muted);
}

.du-picker-clear-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  padding: 6px;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
}

.du-picker-clear-btn:hover {
  color: var(--text-primary);
}

/* Zone Filter Pills */
.du-picker-zones {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.du-picker-zones::-webkit-scrollbar {
  display: none;
}

.du-picker-zone-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.du-picker-zone-pill.active {
  background: #FBBF24;
  border-color: #FBBF24;
  color: #000000;
  font-weight: 700;
}

/* College List Body */
.du-picker-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 280px;
  max-height: 480px;
}

/* Custom College Action Row */
.du-picker-custom-row {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%);
  border: 1px dashed rgba(251, 191, 36, 0.6);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 6px;
}

.du-picker-custom-row:hover {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.2) 0%, rgba(245, 158, 11, 0.12) 100%);
  border-color: #FBBF24;
  transform: translateY(-1px);
}

.du-picker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-1);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
}

.du-picker-item:hover {
  background: var(--surface-2);
  border-color: var(--border-subtle);
  transform: translateX(2px);
}

.du-picker-item.selected {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.5);
}

.du-picker-item-name {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.du-picker-item-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.du-picker-item-zone {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* 3D Card Front Details Upgrades */
.card-credentials-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 10px 0 6px;
}

.card-holder-name {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.8vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1.2;
}

.card-holder-handle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #FBBF24;
  letter-spacing: 0.04em;
}

.card-holder-college {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 360px;
}

.card-holder-dept {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 360px;
}

/* Live Campus Rollout & College Standings Leaderboard */
.vip-leaderboard-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}

.vip-progress-box {
  background: var(--surface-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.vip-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.vip-progress-bar-track {
  width: 100%;
  height: 12px;
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.vip-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #D97706 0%, #FBBF24 50%, #34D399 100%);
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

.college-standings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.college-standing-card {
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.college-standing-card:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.4);
}

.standing-rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #FBBF24;
  flex-shrink: 0;
}

.standing-rank-badge.top-1 {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.25) 0%, rgba(245, 158, 11, 0.15) 100%);
  border-color: #FBBF24;
  color: #FDE68A;
}

/* Post-Submission PNG Actions */
.vip-png-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.btn-whatsapp-share {
  background: #25D366 !important;
  border-color: #20BA5A !important;
  color: #FFFFFF !important;
  font-weight: 700;
  min-height: 48px;
  font-size: 0.9375rem;
  width: 100%;
  justify-content: center;
}

.btn-whatsapp-share:hover {
  background: #20BA5A !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-download-png {
  min-height: 44px;
  width: 100%;
  justify-content: center;
  font-size: 0.875rem;
}


/* ==========================================================================
   26. Fixed 3D VIP Pass Layout, Features Showcase & Founder Command Center
   ========================================================================== */

/* Fixed 3D VIP Card Rows (Middle-Left Bold VIP Number & 3-Zone Hierarchy) */
.vip-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.vip-card-middle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto 0;
  padding: 12px 0;
  position: relative;
  z-index: 2;
}

.vip-number-hero-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.vip-number-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #E0B468;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vip-number-hero-val {
  font-family: var(--font-mono);
  font-size: clamp(1.65rem, 4.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg, #FFF6D6 0%, #FBBF24 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.vip-sim-chip {
  width: 40px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #E0B468 0%, #9E742C 50%, #E8C17A 100%);
  border: 1px solid #75551E;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.vip-sim-chip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.35);
}

.vip-sim-chip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.35);
}

.vip-card-bottom-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  position: relative;
  z-index: 2;
}

.vip-spot-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #FBBF24;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.4);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
}

.vip-qr-scanner-box {
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  background: #FFFFFF;
  padding: 5px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.vip-qr-scanner-box svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Features Showcase Sticky Jump Bar */
.features-jump-bar-wrap {
  position: sticky;
  top: 68px;
  z-index: 900;
  background: var(--surface-elevated);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

.features-jump-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 clamp(16px, 4vw, 40px);
  max-width: 1200px;
  margin: 0 auto;
}

.features-jump-bar::-webkit-scrollbar {
  display: none;
}

.jump-bar-pill {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--surface-1);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.jump-bar-pill:hover,
.jump-bar-pill.active {
  background: rgba(217, 119, 6, 0.15);
  border-color: #FBBF24;
  color: #FBBF24;
}

/* 5 Alternating Hardware Mockup Showcases */
.showcase-section {
  padding: clamp(48px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.showcase-section:nth-child(even) {
  background: radial-gradient(circle at 50% 0%, var(--surface-2) 0%, transparent 70%);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

@media (min-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .showcase-grid.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .showcase-grid.reverse .showcase-copy {
    order: 2;
  }

  .showcase-grid.reverse .showcase-phone-stage {
    order: 1;
  }
}

.showcase-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0;
}

.showcase-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.showcase-feature-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.showcase-feature-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Interactive Phone Mockup Frame (iPhone 16 Pro Hardware Craft) */
.showcase-phone-stage {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.phone-mockup-frame {
  width: 100%;
  max-width: 320px;
  height: 610px;
  background: #000000;
  border-radius: 44px;
  border: 4px solid #3F3F46;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-dynamic-island {
  width: 90px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
  margin: 8px auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 10;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-island-camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #08080C;
  border: 1px solid #27272A;
}

.phone-island-sensor {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0F172A;
}

.phone-mockup-notch {
  width: 90px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
  margin: 8px auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 10;
  flex-shrink: 0;
}

.phone-notch-camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #09090B;
  border: 1px solid #27272A;
}

.phone-screen-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0A0A0C;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 10px 14px 16px;
  gap: 12px;
}

.phone-screen-inner::-webkit-scrollbar {
  display: none;
}

.phone-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1F1F23;
  padding-bottom: 8px;
}

/* 5-Tab iPhone Bottom Nav Bar */
.phone-bottom-nav {
  height: 48px;
  background: #0C0C0F;
  border-top: 1px solid #1F1F24;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 6px;
  flex-shrink: 0;
  z-index: 5;
}

.phone-nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-body);
  font-size: 0.625rem;
  color: #71717A;
  text-decoration: none;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s ease;
}

.phone-nav-tab svg {
  width: 17px;
  height: 17px;
}

.phone-nav-tab.active {
  color: #FBBF24;
}

.phone-nav-tab.active svg {
  stroke: #FBBF24;
}

/* Chat & Reactions */
.chat-reaction-btn {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: #18181C;
  border: 1px solid #27272A;
  color: #D4D4D8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  user-select: none;
}

.chat-reaction-btn:hover,
.chat-reaction-btn.reacted {
  background: rgba(217, 119, 6, 0.2);
  border-color: #FBBF24;
  color: #FBBF24;
  transform: scale(1.05);
}

.notices-filter-btn {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #1F1F24;
  border: 1px solid #2E2E36;
  color: #A1A1AA;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.notices-filter-btn.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: #6366F1;
  color: #818CF8;
}

/* Study Hub Subject Pills */
.study-subject-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  background: #18181C;
  border: 1px solid #27272A;
  color: #A1A1AA;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.study-subject-pill.active {
  background: rgba(139, 92, 246, 0.2);
  border-color: #8B5CF6;
  color: #C4B5FD;
}

/* Mobile Quick-Jump Bottom Dock */
.mobile-jump-dock {
  display: none;
}

@media (max-width: 768px) {
  .mobile-jump-dock {
    display: flex;
    position: fixed;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 990;
    background: rgba(14, 14, 18, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 4px 8px;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  }

  .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 600;
    color: #A1A1AA;
    text-decoration: none;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.2s ease;
  }

  .dock-item.active,
  .dock-item:active {
    color: #FBBF24;
    background: rgba(251, 191, 36, 0.12);
  }
}

/* Phone UI Elements */
.phone-segment-tabs {
  display: flex;
  background: #18181B;
  border-radius: 10px;
  padding: 3px;
  gap: 4px;
}

.phone-tab-btn {
  flex: 1;
  padding: 6px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #A1A1AA;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.phone-tab-btn.active {
  background: #27272A;
  color: #FFFFFF;
}

.phone-card-item {
  background: #141418;
  border: 1px solid #27272A;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-feed-pill {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  padding: 2px 6px;
  border-radius: 999px;
  background: #27272A;
  color: #E4E4E7;
}

/* Faculty Roll-call list inside phone */
.rollcall-student-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #18181C;
  border-radius: 8px;
  border: 1px solid #27272A;
}

.rollcall-status-btn {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
}

.rollcall-status-btn.present {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10B981;
  color: #34D399;
}

.rollcall-status-btn.absent {
  background: rgba(239, 68, 68, 0.15);
  border-color: #EF4444;
  color: #F87171;
}

/* Founder Admin Portal (founder.html) */
.founder-auth-container {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.founder-auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.founder-admin-header {
  padding: 24px 0 16px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.founder-table-wrapper {
  background: var(--surface-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  margin-top: 16px;
}

.founder-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  text-align: left;
}

.founder-admin-table th {
  background: var(--surface-2);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-hairline);
  white-space: nowrap;
}

.founder-admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--text-primary);
  vertical-align: middle;
}

.founder-admin-table tr:hover td {
  background: var(--surface-2);
}

.page-founder input.customizer-input,
.page-founder textarea.customizer-input {
  background: var(--surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
}

.page-founder input.customizer-input:focus,
.page-founder textarea.customizer-input:focus {
  border-color: var(--accent-indigo);
}
