/* ==========================================================================
   Ghi AI - Design System & Modern Aesthetics
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #090B13;
  --bg-card: rgba(18, 22, 39, 0.75);
  --bg-card-hover: rgba(26, 32, 57, 0.9);
  --bg-surface: #121629;
  --bg-secondary: #171D34;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-focus: rgba(139, 92, 246, 0.5);

  --accent-violet: #8B5CF6;
  --accent-violet-glow: rgba(139, 92, 246, 0.35);
  --accent-cyan: #06B6D4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.3);
  --accent-emerald: #10B981;
  --accent-pink: #EC4899;
  --accent-amber: #F59E0B;
  --accent-blue: #3B82F6;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 35px -5px var(--accent-violet-glow);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Background Gradients & Ambient Lighting */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  transition: transform 0.5s ease;
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: 20%;
  background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
}

.orb-2 {
  width: 450px;
  height: 450px;
  top: 400px;
  right: -50px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, #A78BFA 0%, #38BDF8 60%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hidden {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-violet) 0%, #6D28D9 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px -2px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(139, 92, 246, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-glass {
  background: rgba(18, 22, 39, 0.6);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(26, 32, 57, 0.85);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(9, 11, 19, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C4B5FD;
}

.logo-icon.mini {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(245, 158, 11, 0.12);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #F59E0B;
  box-shadow: 0 0 8px #F59E0B;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Hero Section */
.hero-section {
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill-wrapper {
  margin-bottom: 1.8rem;
}

.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #DDD6FE;
  backdrop-filter: blur(8px);
}

.badge-sparkle {
  color: #A78BFA;
  font-size: 0.9rem;
}

.badge-tag {
  background: rgba(139, 92, 246, 0.3);
  color: #FFFFFF;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.hero-highlight {
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.play-icon-mini {
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

/* Metric Highlights */
.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.75rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  flex-wrap: wrap;
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background-color: var(--border-subtle);
}

/* Section Header Shared */
.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Interactive Playground Card */
.demo-section {
  padding: 5rem 0;
}

.playground-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.playground-header {
  padding: 1.2rem 1.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.sample-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.sample-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sample-tab {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sample-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.sample-tab.active {
  background: rgba(139, 92, 246, 0.2);
  color: #FFFFFF;
  border-color: var(--accent-violet);
  box-shadow: 0 0 15px -3px var(--accent-violet-glow);
}

/* Audio Player Bar */
.player-bar {
  padding: 1rem 1.75rem;
  background: rgba(14, 18, 32, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.player-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-violet), #6D28D9);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.player-toggle-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.player-meta {
  display: flex;
  flex-direction: column;
  min-width: 170px;
}

.meta-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

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

.waveform-container {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 38px;
  flex-grow: 1;
  padding: 0 0.5rem;
}

.wave-bar {
  width: 3.5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  height: 20%;
  transition: height 0.15s ease, background-color 0.2s ease;
}

.wave-bar.active {
  background: linear-gradient(to top, var(--accent-cyan), var(--accent-violet));
}

.audio-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 182, 212, 0.2);
  white-space: nowrap;
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse-dot 1.5s infinite;
}

/* Playground Body */
.playground-body {
  padding: 1.5rem 1.75rem 2rem;
}

.output-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.output-tabs {
  display: flex;
  gap: 0.5rem;
}

.output-tab {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.output-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.output-tab.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.tab-icon {
  font-size: 0.95rem;
}

.btn-copy-chip {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-chip:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-light);
}

/* Summary Box */
.summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sentiment-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #34D399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.sentiment-dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
}

.time-saved-tag {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.summary-content {
  background: rgba(10, 13, 24, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  line-height: 1.7;
}

.summary-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.summary-list li {
  position: relative;
  padding-left: 1.4rem;
  color: #CBD5E1;
  font-size: 0.94rem;
}

.summary-list li::before {
  content: "•";
  position: absolute;
  left: 0.3rem;
  color: var(--accent-violet);
  font-size: 1.2rem;
  line-height: 1;
}

/* Action Items Box */
.actions-box {
  background: rgba(10, 13, 24, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.actions-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.actions-headline {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.progress-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.progress-bar {
  width: 110px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.task-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
}

.task-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-light);
}

.task-item.completed {
  opacity: 0.65;
  border-color: transparent;
  background: rgba(16, 185, 129, 0.05);
}

.task-item.completed .task-text {
  text-decoration: line-through;
  color: var(--text-muted);
}

.task-checkbox {
  width: 19px;
  height: 19px;
  border: 2px solid var(--border-light);
  border-radius: 5px;
  margin-top: 2px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.task-item.completed .task-checkbox {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #FFFFFF;
}

.task-item-content {
  flex-grow: 1;
}

.task-text {
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.task-tags {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.task-assignee {
  font-size: 0.74rem;
  color: #A78BFA;
  background: rgba(139, 92, 246, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.task-due {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Transcript Stream */
.transcript-box {
  background: rgba(10, 13, 24, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-height: 380px;
  overflow-y: auto;
}

.transcript-message {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.transcript-speaker-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.speaker-badge {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
}

.speaker-a {
  background: rgba(139, 92, 246, 0.2);
  color: #C4B5FD;
}

.speaker-b {
  background: rgba(6, 182, 212, 0.2);
  color: #67E8F9;
}

.speaker-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.transcript-text {
  font-size: 0.92rem;
  color: #E2E8F0;
  padding-left: 0.2rem;
}

/* Features Grid */
.features-section {
  padding: 6rem 0;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.color-violet {
  background: rgba(139, 92, 246, 0.15);
  color: #A78BFA;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.color-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #22D3EE;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

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

.color-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.color-pink {
  background: rgba(236, 72, 153, 0.15);
  color: #F472B6;
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.color-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.feature-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.feature-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
}

/* Workflow Steps */
.workflow-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 22, 39, 0.4) 100%);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.75rem;
  position: relative;
  transition: transform 0.3s ease;
}

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

.step-badge {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-violet);
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.step-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-light), transparent);
  flex-shrink: 0;
}

/* Upcoming Release & Roadmap Section */
.upcoming-section {
  padding: 6rem 0;
}

.upcoming-banner-card {
  background: linear-gradient(145deg, rgba(26, 32, 60, 0.9) 0%, rgba(14, 18, 33, 0.95) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-card), 0 0 50px -10px rgba(139, 92, 246, 0.25);
  position: relative;
  overflow: hidden;
}

.upcoming-banner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-violet), var(--accent-cyan), transparent);
}

.upcoming-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}

.release-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.pulse-ring {
  width: 8px;
  height: 8px;
  background-color: #F59E0B;
  border-radius: 50%;
  box-shadow: 0 0 12px #F59E0B;
  animation: pulse-dot 1.8s infinite;
}

.status-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FBBF24;
}

.upcoming-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.upcoming-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.7;
}

/* Waitlist Form */
.waitlist-card {
  max-width: 580px;
  margin: 0 auto 3.5rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.input-group {
  display: flex;
  gap: 0.6rem;
  background: rgba(9, 11, 19, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s ease;
}

.input-group:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 20px -2px var(--accent-violet-glow);
}

.waitlist-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

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

.form-feedback {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-microcopy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Roadmap Grid */
.roadmap-preview {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2.5rem;
}

.roadmap-heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.roadmap-item {
  background: rgba(9, 11, 19, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
}

.roadmap-item.completed {
  border-left: 4px solid var(--accent-emerald);
}

.roadmap-item.in-progress {
  border-left: 4px solid var(--accent-violet);
  background: rgba(139, 92, 246, 0.05);
}

.roadmap-item.planned {
  border-left: 4px solid var(--text-muted);
  opacity: 0.85;
}

.roadmap-phase {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.roadmap-item.completed .roadmap-phase { color: var(--accent-emerald); }
.roadmap-item.in-progress .roadmap-phase { color: #A78BFA; }
.roadmap-item.planned .roadmap-phase { color: var(--text-muted); }

.roadmap-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.roadmap-detail {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #06080F;
  padding: 3rem 0;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 400px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.footer-badge {
  font-size: 0.78rem;
  color: #38BDF8;
  background: rgba(6, 182, 212, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    flex-direction: column;
  }
  .step-connector {
    width: 2px;
    height: 25px;
    background: linear-gradient(180deg, var(--border-light), transparent);
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .nav-links {
    display: none;
  }
  .hero-metrics {
    gap: 1.5rem;
    padding: 1.25rem;
  }
  .metric-divider {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .player-bar {
    flex-wrap: wrap;
  }
  .waveform-container {
    order: 4;
    width: 100%;
  }
  .upcoming-banner-card {
    padding: 2.5rem 1.5rem;
  }
  .upcoming-title {
    font-size: 1.9rem;
  }
  .input-group {
    flex-direction: column;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-meta {
    align-items: flex-start;
  }
}

/* ==========================================================================
   Privacy Policy Page Styles
   ========================================================================== */

.policy-page {
  padding-top: 100px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.policy-hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
  padding: 0 1.5rem;
}

.policy-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.policy-breadcrumb a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

.policy-breadcrumb a:hover {
  color: var(--text-primary);
}

.policy-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.policy-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.policy-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.policy-meta-pill.verified {
  border-color: rgba(16, 185, 129, 0.3);
  color: #34D399;
  background: rgba(16, 185, 129, 0.08);
}

.policy-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  align-items: start;
}

/* Sidebar Table of Contents */
.policy-sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.policy-toc-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.policy-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.policy-toc-link {
  display: block;
  font-size: 0.84rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  line-height: 1.4;
}

.policy-toc-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.policy-toc-link.active {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  font-weight: 500;
}

/* Policy Content Prose */
.policy-content {
  min-width: 0;
}

.policy-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  scroll-margin-top: 100px;
}

.policy-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.policy-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-violet);
  font-size: 0.85rem;
  font-weight: 700;
}

.policy-section h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 0.75rem 0;
}

.policy-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul,
.policy-section ol {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.policy-section li {
  margin-bottom: 0.5rem;
}

.policy-section strong {
  color: var(--text-primary);
}

/* Highlight & Callout Boxes */
.policy-callout {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.6;
}

.policy-callout.info {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: #CFFAFE;
}

.policy-callout.info .callout-icon {
  color: var(--accent-cyan);
}

.policy-callout.success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #D1FAE5;
}

.policy-callout.success .callout-icon {
  color: var(--accent-emerald);
}

.policy-callout.warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #FEF3C7;
}

.policy-callout.warning .callout-icon {
  color: var(--accent-amber);
}

.callout-icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Data Table */
.policy-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

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

.policy-table th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.policy-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Contact / Action Card */
.policy-action-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.policy-action-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.policy-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.contact-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-value a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.contact-value a:hover {
  text-decoration: underline;
}

/* Footer Link Enhancements */
.footer-links-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

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

/* ==========================================================================
   Account & Data Deletion Page Styles
   ========================================================================== */

.stepper-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.step-card:hover {
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(4px);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--accent-violet-glow);
}

.step-content {
  flex: 1;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

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

.step-path {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.6rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  color: #c4b5fd;
  margin-top: 0.5rem;
}

/* Badges for Deletion vs Retention */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-status.deleted {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.badge-status.retained {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-status.verified {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Alternative Web Request Form */
.deletion-form-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-card);
}

.deletion-form-header {
  margin-bottom: 1.5rem;
}

.deletion-form-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group label span.req {
  color: #f87171;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(18, 22, 39, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 3px var(--accent-violet-glow);
  background: rgba(22, 28, 48, 0.95);
}

.form-input:user-invalid {
  border-color: #ef4444;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-violet);
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

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

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.4);
  filter: brightness(1.08);
}

.btn-danger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Request Confirmation Ticket Card */
.ticket-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(18, 22, 39, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 1.5rem;
  display: none;
  animation: fadeInTicket 0.3s ease-out forwards;
}

.ticket-card.visible {
  display: block;
}

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

.ticket-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ticket-ref-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
}

.ticket-details {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.ticket-details-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticket-details-row:last-child {
  border-bottom: none;
}

.ticket-details-label {
  color: var(--text-muted);
}

.ticket-details-val {
  color: var(--text-primary);
  font-weight: 500;
}

.ticket-instructions {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.ticket-actions-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Timeline Stages */
.timeline-list {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
  position: relative;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 17px;
  width: 2px;
  background: var(--border-light);
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 6px;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 2px solid var(--accent-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--accent-violet);
}

.timeline-marker.done {
  background: var(--accent-violet);
  color: #ffffff;
}

.timeline-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

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

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .step-card {
    padding: 1rem;
    gap: 0.75rem;
  }
  .step-num {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }
}


/* Mobile & Tablet Responsiveness */
@media (max-width: 960px) {
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .policy-sidebar {
    position: static;
    display: none; /* Hide TOC on mobile for clean readable legal reading, or collapsible */
  }

  .policy-section {
    padding: 1.75rem 1.25rem;
  }
}


/* ==========================================================================
   Wi-Fi ADB Pairing Page (/pair)
   ========================================================================== */

.pair-page {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem 4rem;
}

.pair-container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.pair-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.pair-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-violet), var(--accent-cyan), transparent);
}

.pair-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  color: #34D399;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.pair-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite ease-in-out;
}

.pair-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pair-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.pair-qr-wrapper {
  background: #ffffff;
  padding: 1rem;
  border-radius: var(--radius-lg);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease;
}

.pair-qr-wrapper:hover {
  transform: scale(1.02);
}

#qrcode-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.credentials-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.credential-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
}

.credential-row:not(:last-child) {
  border-bottom: 1px dashed var(--border-subtle);
}

.cred-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cred-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.925rem;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  letter-spacing: 0.03em;
  word-break: break-all;
}

.pair-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.pair-actions .btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
}

.btn.btn-copied {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.6) !important;
  color: #34D399 !important;
}

.pair-instructions {
  text-align: left;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.pair-instructions h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pair-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.pair-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pair-step-item strong {
  color: var(--text-primary);
}

.pair-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-cyan) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pair-tip {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-md);
  font-size: 0.825rem;
  color: #A5F3FC;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  line-height: 1.5;
}

.no-data-card {
  text-align: left;
  margin-bottom: 1.5rem;
}

.no-data-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.no-data-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.no-data-options {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 1.25rem 0;
  padding: 0;
}

.no-data-options li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.no-data-options li strong {
  color: var(--text-primary);
}

.no-data-bullet {
  color: var(--accent-cyan);
  font-weight: bold;
}

.manual-input-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.25rem;
  text-align: left;
}

.manual-input-box.hidden {
  display: none;
}

.manual-input-box label {
  display: block;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.manual-input-wrapper {
  display: flex;
  gap: 0.5rem;
}

.manual-input-field {
  flex: 1;
  background: rgba(18, 22, 39, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  color: var(--text-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s ease;
}

.manual-input-field:focus {
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 2px var(--accent-violet-glow);
}

.manual-error {
  color: #F87171;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  display: none;
}

.manual-toggle-btn {
  background: none;
  border: none;
  color: var(--accent-cyan);
  font-size: 0.825rem;
  cursor: pointer;
  padding: 0.25rem 0;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.manual-toggle-btn:hover {
  color: #67E8F9;
}

@media (max-width: 560px) {
  .pair-card {
    padding: 1.75rem 1.25rem;
  }
  .pair-title {
    font-size: 1.5rem;
  }
  .pair-actions {
    flex-direction: column;
  }
  .manual-input-wrapper {
    flex-direction: column;
  }
  .credential-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .cred-value {
    width: 100%;
  }
}

/* Print Styles */
@media print {
  body {
    background: #ffffff !important;
    color: #111827 !important;
  }
  .glow-orb, .grid-overlay, .navbar, .footer, .policy-sidebar, .policy-breadcrumb, #nav-waitlist-btn {
    display: none !important;
  }
  .policy-page {
    padding: 0 !important;
  }
  .policy-section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 2rem !important;
  }
  .policy-section h2, .policy-section h3, .policy-section strong {
    color: #111827 !important;
  }
  .policy-section p, .policy-section li {
    color: #374151 !important;
  }
  .policy-callout {
    background: #f3f4f6 !important;
    border: 1px solid #d1d5db !important;
    color: #111827 !important;
  }
}

