/* ==========================================================================
   L&Q COMP AI — PREMIUM DARK MODERN STYLESHEET
   Author: @legitsaep × @quetras
   Palette: Obsidian Carbon, Electric Pitch Emerald (#00F59B), Cyber Cyan (#00E5FF)
   ========================================================================== */

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Colors */
  --bg-darkest: #050608;
  --bg-deep: #080A10;
  --bg-surface: #0E111A;
  --bg-surface-elevated: #141824;
  --bg-glass: rgba(14, 17, 26, 0.72);
  --bg-glass-card: rgba(18, 22, 34, 0.6);

  --accent-emerald: #00F59B;
  --accent-emerald-glow: rgba(0, 245, 155, 0.28);
  --accent-cyan: #00E5FF;
  --accent-cyan-glow: rgba(0, 229, 255, 0.25);
  --accent-violet: #8A2BE2;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-light: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(0, 245, 155, 0.35);

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

  --danger: #FF4757;
  --danger-glow: rgba(255, 71, 87, 0.25);
  --success: #00F59B;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background: var(--bg-darkest);
}

/* Background Ambient Lighting */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.45;
}

.glow-top {
  top: -150px;
  left: 20%;
  width: 650px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 245, 155, 0.18) 0%, rgba(0, 229, 255, 0.06) 60%, transparent 100%);
}

.glow-right {
  top: 35%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(138, 43, 226, 0.08) 60%, transparent 100%);
}

.glow-bottom {
  bottom: 0;
  left: 30%;
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 245, 155, 0.1) 0%, transparent 70%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 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: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 85%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--accent-emerald) 65%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(0, 245, 155, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.15;
}

.brand-collab {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.brand-collab .x-sep {
  color: var(--accent-emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  border: 1px solid transparent;
  outline: none;
}

.btn-primary, .btn-primary-nav, .btn-primary-hero {
  background: linear-gradient(135deg, var(--accent-emerald), #00d685);
  color: #04140D;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px var(--accent-emerald-glow);
}

.btn-primary:hover, .btn-primary-nav:hover, .btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 245, 155, 0.45);
  background: #00F59B;
}

.btn-secondary-nav {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary-nav:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: #04140D;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(4, 20, 13, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(4, 20, 13, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(4, 20, 13, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(4, 20, 13, 0); }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 80px 0 50px;
  text-align: center;
}

.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 245, 155, 0.07);
  border: 1px solid rgba(0, 245, 155, 0.25);
  padding: 6px 16px 6px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
  margin-bottom: 28px;
  transition: all var(--transition-normal);
}

.announcement-pill:hover {
  background: rgba(0, 245, 155, 0.14);
  border-color: var(--accent-emerald);
  transform: translateY(-1px);
}

.badge-tag {
  background: var(--accent-emerald);
  color: #050608;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.badge-arrow {
  color: var(--accent-emerald);
  font-weight: bold;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-lead {
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero-lead strong {
  color: #FFF;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-primary-hero {
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  flex-direction: column;
  gap: 2px;
}

.btn-primary-hero .btn-subtext {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.82;
}

.btn-secondary-hero {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  padding: 16px 26px;
  border-radius: var(--radius-md);
  font-size: 1rem;
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.hero-security-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.sec-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.sec-icon {
  font-size: 1rem;
}

/* ==========================================================================
   APP UI PREVIEW MOCKUP
   ========================================================================== */
.hero-mockup-wrapper {
  margin-top: 20px;
  perspective: 1200px;
}

.mockup-frame {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(0, 245, 155, 0.08);
  overflow: hidden;
  text-align: left;
  transform: rotateX(4deg);
  transition: transform var(--transition-slow);
}

.mockup-frame:hover {
  transform: rotateX(0deg);
}

.mockup-header {
  background: #090B12;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.traffic-lights {
  display: flex;
  gap: 8px;
}

.traffic-lights .light {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.light.red { background: #FF5F56; }
.light.yellow { background: #FFBD2E; }
.light.green { background: #27C93F; }

.mockup-title {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.mockup-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-emerald);
  border-radius: 50%;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.mockup-body {
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  min-height: 440px;
  background: #07090F;
}

.mockup-sidebar {
  background: #0B0E17;
  border-right: 1px solid var(--border-subtle);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-step {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.nav-step.completed {
  color: var(--accent-emerald);
}

.nav-step.active {
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
  border-left: 3px solid var(--accent-emerald);
}

.sidebar-stats-box {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.stat-mini-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.stat-mini-val {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFF;
  margin: 2px 0 8px;
}

.progress-mini {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-mini-bar {
  height: 100%;
  background: var(--accent-emerald);
}

.stat-mini-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.mockup-center {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mockup-video-preview {
  flex: 1;
  background: #020305;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background-image: 
    radial-gradient(ellipse at 50% 50%, rgba(0, 245, 155, 0.06) 0%, transparent 70%);
}

.video-overlay-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
}

.tag-live {
  background: rgba(255, 71, 87, 0.2);
  color: #FF4757;
  border: 1px solid rgba(255, 71, 87, 0.4);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.tag-conf {
  background: rgba(0, 245, 155, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 245, 155, 0.3);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.face-target-box {
  width: 110px;
  height: 140px;
  position: relative;
  border: 1px dashed rgba(0, 245, 155, 0.7);
  animation: pulse-target 2s infinite ease-in-out;
}

@keyframes pulse-target {
  0%, 100% { transform: scale(1); border-color: rgba(0, 245, 155, 0.8); }
  50% { transform: scale(1.03); border-color: var(--accent-cyan); }
}

.face-target-box .corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--accent-emerald);
}

.corner.tl { top: -2px; left: -2px; border-top: 3px solid var(--accent-emerald); border-left: 3px solid var(--accent-emerald); }
.corner.tr { top: -2px; right: -2px; border-top: 3px solid var(--accent-emerald); border-right: 3px solid var(--accent-emerald); }
.corner.bl { bottom: -2px; left: -2px; border-bottom: 3px solid var(--accent-emerald); border-left: 3px solid var(--accent-emerald); }
.corner.br { bottom: -2px; right: -2px; border-bottom: 3px solid var(--accent-emerald); border-right: 3px solid var(--accent-emerald); }

.face-label {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #00F59B;
  color: #050608;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
}

.timeline-quick-scrubber {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 16px;
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid var(--border-subtle);
}

.scrub-clip-range {
  position: absolute;
  top: 0;
  height: 100%;
  background: rgba(0, 245, 155, 0.35);
  border-left: 2px solid var(--accent-emerald);
  border-right: 2px solid var(--accent-emerald);
}

.scrub-playhead {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: #FFF;
  box-shadow: 0 0 6px #FFF;
}

.mockup-timeline-strip {
  display: flex;
  gap: 8px;
}

.clip-card {
  flex: 1;
  background: #0C0F1A;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 8px 10px;
}

.clip-card.active {
  border-color: var(--accent-emerald);
  background: rgba(0, 245, 155, 0.08);
}

.clip-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFF;
}

.clip-time {
  display: block;
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.mockup-right-panel {
  background: #090B13;
  border-left: 1px solid var(--border-subtle);
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.log-header {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.log-stream {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.4;
}

.log-entry.success { color: var(--accent-emerald); }
.log-entry.highlight { color: var(--accent-cyan); }
.log-entry.info { color: var(--text-secondary); }
.log-entry.live { color: #FFAA00; }

/* ==========================================================================
   METRICS SECTION
   ========================================================================== */
.metrics-section {
  padding: 30px 0 70px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-normal);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 10px 30px rgba(0, 245, 155, 0.07);
}

.metric-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: #FFF;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.metric-number small {
  font-size: 1.4rem;
  color: var(--accent-emerald);
  margin-left: 2px;
}

.metric-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-section {
  padding: 90px 0;
  position: relative;
}

.section-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-emerald);
  background: rgba(0, 245, 155, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 16px;
}

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

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-surface-elevated);
}

.feature-card.highlight-card {
  border-color: rgba(0, 245, 155, 0.35);
  background: linear-gradient(180deg, rgba(0, 245, 155, 0.05) 0%, var(--bg-surface) 100%);
}

.card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0, 245, 155, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  margin-bottom: 22px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon.accent-icon {
  background: rgba(0, 245, 155, 0.15);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #FFF;
}

.feature-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.feature-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.feature-tag.accent-tag {
  background: rgba(0, 245, 155, 0.15);
  color: var(--accent-emerald);
  border-color: rgba(0, 245, 155, 0.3);
}

/* ==========================================================================
   BEFORE VS AFTER COMPARISON
   ========================================================================== */
.comparison-section {
  padding: 80px 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.comp-box {
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-subtle);
}

.comp-box.bad {
  background: rgba(255, 71, 87, 0.03);
  border-color: rgba(255, 71, 87, 0.2);
}

.comp-box.good {
  background: rgba(0, 245, 155, 0.04);
  border-color: rgba(0, 245, 155, 0.35);
  box-shadow: 0 10px 40px rgba(0, 245, 155, 0.05);
}

.comp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.comp-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

.bad-badge { color: #FF4757; }
.good-badge { color: var(--accent-emerald); }

.comp-status {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.comp-box.bad .comp-list li span {
  color: #FF4757;
  font-weight: 800;
}

.comp-box.good .comp-list li span {
  color: var(--accent-emerald);
  font-weight: 800;
}

.comp-box.good .comp-list li strong {
  color: #FFF;
}

/* ==========================================================================
   CHANGELOG TIMELINE
   ========================================================================== */
.changelog-section {
  padding: 90px 0;
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 36px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-emerald) 0%, rgba(255, 255, 255, 0.1) 80%);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  top: 24px;
  left: -36px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-darkest);
  border: 3px solid var(--text-muted);
  box-shadow: 0 0 0 4px var(--bg-darkest);
}

.timeline-item.current .timeline-dot {
  border-color: var(--accent-emerald);
  background: var(--accent-emerald);
  box-shadow: 0 0 16px var(--accent-emerald);
}

.timeline-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-normal);
}

.timeline-item.current .timeline-card {
  border-color: rgba(0, 245, 155, 0.35);
  background: var(--bg-surface-elevated);
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.version-tag-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.version-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: #FFF;
}

.status-tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.status-tag.latest {
  background: var(--accent-emerald);
  color: #050608;
}

.status-tag.stable {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
}

.status-tag.legacy {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.release-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.release-title {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.changelog-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.changelog-points li {
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.changelog-points li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
}

.changelog-points strong {
  color: #FFF;
}

.timeline-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
}

/* ==========================================================================
   LIVE OTA API SECTION
   ========================================================================== */
.api-status-section {
  padding: 70px 0;
}

.api-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.api-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.api-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.api-desc code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-cyan);
  padding: 2px 6px;
  border-radius: 4px;
}

.api-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 245, 155, 0.35);
}

.btn-outline:hover {
  background: rgba(0, 245, 155, 0.1);
  border-color: var(--accent-emerald);
}

.api-test-result {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #060910;
  border: 1px solid var(--border-subtle);
}

.code-terminal {
  background: #06070D;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.terminal-bar {
  background: #0A0C14;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background: #FF5F56; }
.terminal-dot.yellow { background: #FFBD2E; }
.terminal-dot.green { background: #27C93F; }

.terminal-title {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.terminal-code {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.55;
  color: #A5B4FC;
  overflow-x: auto;
}

/* ==========================================================================
   CTA BANNER SECTION
   ========================================================================== */
.cta-banner-section {
  padding: 60px 0 90px;
}

.cta-banner {
  background: linear-gradient(135deg, #0A0F1A 0%, #10192A 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 245, 155, 0.1);
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 245, 155, 0.22) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.cta-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-emerald);
  display: inline-block;
  margin-bottom: 12px;
}

.cta-title {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 30px;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #030406;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr 1fr;
  gap: 40px;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: #FFF;
  display: block;
}

.footer-collab {
  font-size: 0.8rem;
  color: var(--accent-emerald);
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
}

.footer-text {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.footer-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFF;
  margin-bottom: 18px;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-emerald);
}

.footer-specs li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.footer-specs strong {
  color: #FFF;
}

.footer-contact-text {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.social-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-primary);
}

/* ==========================================================================
   LICENSED DOWNLOAD MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  padding: 36px 32px;
  position: relative;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(0, 245, 155, 0.12);
  transform: scale(0.94) translateY(12px);
  transition: all var(--transition-normal);
}

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

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: #FFF;
}

.modal-header {
  text-align: center;
  margin-bottom: 26px;
}

.modal-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.modal-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.input-group {
  margin-bottom: 20px;
}

.input-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.input-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.license-input {
  width: 100%;
  background: #060810;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 48px 14px 16px;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-emerald);
  text-transform: uppercase;
  outline: none;
  transition: all var(--transition-fast);
}

.license-input:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(0, 245, 155, 0.18);
}

.paste-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.paste-btn:hover {
  opacity: 1;
}

.input-hint {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.input-hint code {
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

/* Modal Alerts */
.modal-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.45;
  margin-bottom: 18px;
}

.modal-alert.error {
  background: rgba(255, 71, 87, 0.12);
  border: 1px solid rgba(255, 71, 87, 0.35);
  color: #FF6B81;
  animation: shake 0.4s ease;
}

.modal-alert.success {
  background: rgba(0, 245, 155, 0.12);
  border: 1px solid rgba(0, 245, 155, 0.4);
  color: var(--accent-emerald);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.btn-block {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(5, 6, 8, 0.3);
  border-top-color: #050608;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}

.modal-footer-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

.contact-hint {
  margin-top: 6px;
}

.contact-hint a {
  color: var(--accent-emerald);
  text-decoration: none;
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .api-box { grid-template-columns: 1fr; gap: 30px; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-sidebar, .mockup-right-panel { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.3rem; }
  .hero-lead { font-size: 1rem; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .btn-primary-hero, .btn-secondary-hero { width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .mockup-frame { transform: none; }
}
