/* L DEVS BIM - PREMIUM DESIGN SYSTEM (VANILLA CSS) */

/* 1. GOOGLE FONTS & STYLING TOKENS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* ==========================================
     ICE WOLF THEME VARIABLES (BLACK, SILVER, BLUE)
     ========================================== */
  
  /* Deep Icy Tundra Backgrounds */
  --bg-primary: #06080c;      /* Arctic Night Black */
  --bg-secondary: #0c1017;    /* Glacier Shadow */
  --bg-tertiary: #131b26;     /* Frozen Slate */
  
  /* Snow & Frost Text Colors */
  --text-primary: #f3f4f6;    /* Fresh Snow White */
  --text-secondary: #cbd5e1;  /* Silver Frost */
  --text-muted: #64748b;      /* Ice Fissure Gray */
  
  /* HSL Color Definitions (Supports fine-grained alpha adjustments) */
  --cyan-hsl: 198, 93%, 60%;  /* Glacier Ice Blue */
  --emerald-hsl: 210, 16%, 72%; /* Metallic Silver Frost */
  --violet-hsl: 226, 70%, 64%; /* Tundra Twilight Indigo */
  --teal-hsl: 174, 62%, 55%; /* Glacial Teal — distinct from the near-white "emerald" */

  --accent-cyan: hsl(var(--cyan-hsl));
  --accent-emerald: hsl(var(--emerald-hsl));
  --accent-violet: hsl(var(--violet-hsl));
  --accent-teal: hsl(var(--teal-hsl));
  
  /* Frost Glassmorphism System */
  --glass-bg: rgba(12, 16, 23, 0.75);
  --glass-border: rgba(203, 213, 225, 0.08);
  --glass-border-hover: rgba(203, 213, 225, 0.18);
  --glass-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.85);
  --glass-glow-cyan: 0 0 30px rgba(56, 189, 248, 0.12);
  --glass-glow-violet: 0 0 30px rgba(99, 102, 241, 0.12);
  
  /* Font Families (Replaced Outfit with Space Grotesk) */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-glow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* ==========================================
     ORIGINAL THEME VARIABLES (FOR EASY REVERSION)
     To revert, comment the above and uncomment the block below.
     
     --bg-primary: #09090b;
     --bg-secondary: #0f172a;
     --bg-tertiary: #1e293b;
     
     --text-primary: #f8fafc;
     --text-secondary: #94a3b8;
     --text-muted: #64748b;
     
     --cyan-hsl: 189, 94%, 43%;
     --emerald-hsl: 160, 84%, 39%;
     --violet-hsl: 258, 90%, 66%;
     
     --accent-cyan: hsl(var(--cyan-hsl));
     --accent-emerald: hsl(var(--emerald-hsl));
     --accent-violet: hsl(var(--violet-hsl));
     
     --glass-bg: rgba(15, 23, 42, 0.65);
     --glass-border: rgba(255, 255, 255, 0.08);
     --glass-border-hover: rgba(255, 255, 255, 0.15);
     
     --font-heading: 'Outfit', sans-serif;
     ========================================== */
}

/* 2. BASE RESET & LAYOUT */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(56, 189, 248, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

/* Glow Background Orbs */
.orb-glow-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(0,0,0,0) 70%);
  z-index: 0;
  pointer-events: none;
}

.orb-glow-2 {
  position: absolute;
  bottom: -10%;
  right: 10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(0,0,0,0) 70%);
  z-index: 0;
  pointer-events: none;
}

/* 3. APP CONTAINER & LAYOUT */
#app-layout {
  display: flex;
  width: 100vw;
  height: 100vh;
  position: relative;
  z-index: 1;
}

/* MOBILE HEADER & BURGER */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 100;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
}

.mobile-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #fff 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: none;
  border: none;
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* SIDEBAR STYLES */
.sidebar {
  width: 280px;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  flex-shrink: 0;
  z-index: 50;
  transition: var(--transition-smooth);
}

/* Brand Logo / Typography - Embellished developer style */
.brand-container {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.brand-embellished {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 45%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: glowPulse 2s infinite ease-in-out;
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-emerald);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 500;
  display: block;
}

/* Search Bar Mockup */
.sidebar-search {
  position: relative;
  margin-bottom: 28px;
}

.sidebar-search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: rgba(9, 9, 11, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.sidebar-search input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.sidebar-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 15px;
  height: 15px;
}

/* Navigation Links */
.nav-group-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
  margin-top: 20px;
  font-weight: 600;
}

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

.nav-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-item a svg {
  width: 18px;
  height: 18px;
  transition: var(--transition-fast);
}

.nav-item a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-item a:hover svg {
  color: var(--accent-cyan);
}

.nav-item.active a {
  color: var(--text-primary);
  background: rgba(6, 182, 212, 0.08);
  border-left: 3px solid var(--accent-cyan);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.nav-item.active a svg {
  color: var(--accent-cyan);
}

/* Special Featured Badge */
.nav-item .badge-recall {
  font-size: 0.65rem;
  padding: 2px 6px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  border-radius: 4px;
  color: white;
  margin-left: auto;
  white-space: nowrap;
  font-weight: 600;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.sidebar-footer-links a {
  font-size: 0.72rem;
  color: var(--text-muted);
}

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

.sidebar-copy {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* MAIN CONTENT CONTAINER */
.main-content {
  flex-grow: 1;
  height: 100vh;
  overflow-y: auto;
  position: relative;
  z-index: 10;
  scroll-behavior: smooth;
}

/* 4. PAGE SECTIONS & ANIMATION STRUCTURE */
.page-section {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 60px 80px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* 5. TYPOGRAPHY & COMMON COMPONENTS */
h1.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 40%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.accent-text-cyan {
  color: var(--accent-cyan);
}

.accent-text-emerald {
  color: var(--accent-emerald);
}

.accent-text-violet {
  color: var(--accent-violet);
}

/* Dynamic Glowing Cards */
.glow-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  transition: var(--transition-smooth);
}

.glow-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.glow-card.cyan:hover {
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.28), var(--glass-shadow);
  border-color: rgba(56, 189, 248, 0.45);
}

.glow-card.green:hover {
  box-shadow: 0 0 35px rgba(52, 211, 153, 0.32), var(--glass-shadow);
  border-color: rgba(52, 211, 153, 0.5);
}

.glow-card.violet:hover {
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.28), var(--glass-shadow);
  border-color: rgba(99, 102, 241, 0.45);
}


/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0891b2 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.45);
}

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

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

.btn-emerald {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-violet {
  background: linear-gradient(135deg, var(--accent-violet) 0%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
}

/* 6. HOME PAGE STYLES */
.home-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}

.home-hero-text h2 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.home-hero-text h2 span {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-emerald) 50%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.home-hero-cta {
  display: flex;
  gap: 16px;
}

/* Simulated Code Terminal Widget */
.terminal-widget {
  background: #020617;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  font-family: var(--font-mono);
  overflow: hidden;
  height: 300px;
  display: flex;
  flex-direction: column;
}

.terminal-header {
  background: rgba(15, 23, 42, 0.8);
  padding: 10px 16px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: auto;
  font-weight: 500;
}

.terminal-body {
  padding: 20px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #a7f3d0;
  overflow-y: auto;
  flex-grow: 1;
}

.terminal-line {
  margin-bottom: 6px;
  min-height: 1.2em;
}

.terminal-prompt {
  color: var(--accent-cyan);
}

/* Pillars grid */
.pillars-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

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

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

/* Home Products Showcase */
.showcase-header {
  margin-bottom: 36px;
  text-align: center;
}

.showcase-header h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-showcase-card {
  display: flex;
  flex-direction: column;
}

.product-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  margin-bottom: 10px;
}

.product-showcase-card h4 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-showcase-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-showcase-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 7. RECALL PRODUCT PAGE STYLES */
.recall-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.recall-hero-left h2 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}

.recall-hero-left h2 span {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.recall-hero-left p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.badge-new {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 20px;
  color: var(--accent-cyan);
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.recall-mockup-container {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  aspect-ratio: 16 / 10;
  background: #020617;
}

.recall-mockup-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Feature grid style for Recall */
.recall-features-section {
  margin-bottom: 80px;
}

.section-divider {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
}

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

.feature-box h5 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-box h5 svg {
  color: var(--accent-cyan);
  width: 18px;
  height: 18px;
}

.feature-box p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Interactive Prompt Before/After */
.prompt-slider-container {
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 80px;
}

.prompt-slider-header {
  text-align: center;
  margin-bottom: 30px;
}

.prompt-slider-header h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.prompt-slider-header p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.prompt-slider-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.prompt-panel {
  border-radius: 12px;
  padding: 24px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.prompt-panel.before {
  background: rgba(239, 68, 68, 0.03);
  border: 1px dashed rgba(239, 68, 68, 0.2);
}

.prompt-panel.after {
  background: rgba(16, 185, 129, 0.03);
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.05);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.panel-header .indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.panel-header.before-indicator {
  color: #ef4444;
}
.panel-header.before-indicator .indicator {
  background-color: #ef4444;
}

.panel-header.after-indicator {
  color: #10b981;
}
.panel-header.after-indicator .indicator {
  background-color: #10b981;
}

.panel-content {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
  flex-grow: 1;
}

.panel-badge-list {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.panel-badge {
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.panel-badge.red {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.panel-badge.green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

/* Pricing Toggle and Grid */
.pricing-section {
  margin-bottom: 80px;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 50px;
}

.pricing-cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card.premium {
  border-color: rgba(139, 92, 246, 0.3);
}

/* Progressive background brightness by tier — each step up should
   visually read as "more" without relying on a separate legend. */
.pricing-card.tier-free {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.03), rgba(255, 255, 255, 0)), var(--glass-bg);
}

.pricing-card.tier-pro {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), rgba(255, 255, 255, 0)), var(--glass-bg);
  border-color: rgba(139, 92, 246, 0.3);
}

.pricing-card.tier-pro-yearly {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.13), rgba(255, 255, 255, 0)), var(--glass-bg);
  border-color: rgba(139, 92, 246, 0.4);
}

.pricing-card.tier-lifetime {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.16), rgba(255, 255, 255, 0)), var(--glass-bg);
  border-color: rgba(52, 211, 153, 0.45);
}

.pricing-card-period {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Sits in normal flow above the card name (not absolutely positioned) -
   an absolute badge overlapped longer titles like "Recall Pro Lifetime"
   once they wrapped to two lines. This way it never overlaps regardless
   of title length. */
/* Reserved on every card, badge or not, so the name/price/description
   below it always start at the same Y position across all four cards. */
.pricing-badge-slot {
  min-height: 22px;
  margin-bottom: 6px;
}

.pricing-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  white-space: nowrap;
}

.pricing-badge-violet { background: var(--accent-violet); }

/* Cyan, not emerald — the Lifetime card itself is emerald-tinted, so a
   same-hue badge would disappear into it the way the original amber-on-
   green combo did. Cyan keeps it inside the site's icy palette while
   still standing apart from the card's own color. */
.pricing-badge-cyan { background: var(--accent-cyan); }

.pricing-card-header {
  margin-bottom: 24px;
}

/* Reserves space for two lines on every card (matching "Recall Pro
   Lifetime", the longest name) so the price/description below always
   line up at the same height, even on cards with a single-line name. */
.pricing-card-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  min-height: 2.4em;
  margin-bottom: 8px;
}

.pricing-card-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-card-period {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-body);
}

.pricing-card-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.pricing-feature-item svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--accent-cyan);
}

/* Feature comparison table */
.comparison-table-wrapper {
  margin-bottom: 80px;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

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

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
  background: rgba(15, 23, 42, 0.8);
  font-family: var(--font-heading);
  font-weight: 600;
}

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

.comparison-table td svg.check {
  color: var(--accent-emerald);
}

.comparison-table td svg.cross {
  color: var(--text-muted);
}

/* Roadmaps & Call-To-Action */
.roadmap-section {
  margin-bottom: 80px;
}

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

.roadmap-phase h6 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.roadmap-phase-status {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.roadmap-phase-status.completed {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
}

.roadmap-phase-status.active {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
}

.roadmap-phase-status.future {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.roadmap-phase-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 8. LABS / FUTURE TOOLS PAGE */
.labs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.labs-tag-soon {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--accent-violet);
  font-size: 0.65rem;
  font-family: var(--font-mono);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.labs-beta-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.labs-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.labs-form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(9, 9, 11, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.labs-form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.labs-form-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(9, 9, 11, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.labs-form-select:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.labs-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.labs-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.labs-checkbox-label input {
  accent-color: var(--accent-cyan);
}

/* 9. ABOUT PAGE */
.about-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 60px;
  align-items: center;
}

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

.about-tech-stack {
  margin-top: 40px;
}

.about-tech-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.about-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-secondary);
}

.about-graphic-card {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 10. CONTACT PAGE */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

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

.contact-card-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.contact-card-btn:hover {
  transform: scale(1.02);
  border-color: var(--accent-cyan);
  box-shadow: 0 5px 15px rgba(6, 182, 212, 0.08);
}

.contact-card-btn.support:hover {
  border-color: var(--accent-violet);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.08);
}

.contact-card-btn.recall:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 5px 15px rgba(6, 182, 212, 0.08);
}

.contact-card-left h5 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-card-left p {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.contact-card-btn svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.contact-card-btn:hover svg {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.contact-card-btn.support:hover svg {
  color: var(--accent-violet);
}

.contact-direct-form h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(9, 9, 11, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-body);
  resize: vertical;
  min-height: 120px;
}

.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

/* 11. STRIPE MODAL PLACEHOLDER */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 6, 17, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.stripe-modal {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(139, 92, 246, 0.1);
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.stripe-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-muted);
}

.stripe-modal-close:hover {
  color: var(--text-primary);
}

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

.stripe-modal-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stripe-modal-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.stripe-modal-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-top: 10px;
  color: var(--accent-violet);
}

.stripe-payment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stripe-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stripe-input-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stripe-card-input-wrapper {
  background: rgba(9, 9, 11, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stripe-card-input-wrapper svg {
  color: var(--text-muted);
}

.stripe-card-input-wrapper input {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.88rem;
  width: 100%;
}

.stripe-card-input-wrapper input:focus {
  outline: none;
}

.stripe-card-expiry-cvc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stripe-badge-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.stripe-badge-indicator svg {
  width: 14px;
  height: 14px;
  color: var(--accent-emerald);
}

/* Success State for stripe simulation */
.stripe-success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.stripe-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.stripe-success-icon svg {
  width: 32px;
  height: 32px;
}

.stripe-success-state h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.stripe-success-state p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* 12. RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .recall-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-layout-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  body {
    overflow-y: auto;
  }
  .mobile-header {
    display: flex;
  }
  #app-layout {
    flex-direction: column;
    height: auto;
  }
  .sidebar {
    position: fixed;
    top: 64px;
    left: -280px;
    width: 280px;
    height: calc(100vh - 64px);
    z-index: 99;
  }
  .sidebar.mobile-open {
    left: 0;
  }
  .main-content {
    height: auto;
    overflow-y: visible;
    padding-top: 64px;
  }
  .page-section {
    padding: 40px 20px 60px;
  }
  h1.section-title {
    font-size: 2.2rem;
  }
  .home-hero-text h2 {
    font-size: 2.5rem;
  }
  .recall-hero-left h2 {
    font-size: 2.4rem;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .features-layout-grid {
    grid-template-columns: 1fr;
  }
  .prompt-slider-display {
    grid-template-columns: 1fr;
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }
  .roadmap-timeline {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .labs-grid {
    grid-template-columns: 1fr;
  }
  .labs-form-grid {
    grid-template-columns: 1fr;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .recall-hero-left h3 {
    font-size: 1.4rem !important;
  }
  .recall-hero-left h2 {
    font-size: 2.2rem;
  }
}
