/* Lazy Alarm - Master Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Color Palette - Human Crafted Dark Theme */
  --bg-dark: #080a0f;
  --bg-card: #111522;
  --bg-card-hover: #161b2c;
  --bg-glass: rgba(17, 21, 34, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(124, 58, 237, 0.5);

  --accent-purple: #7c3aed;
  --accent-purple-glow: rgba(124, 58, 237, 0.35);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.35);
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-glow-purple: 0 0 35px rgba(124, 58, 237, 0.25);
  --shadow-glow-cyan: 0 0 35px rgba(6, 182, 212, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Gradients & Glows */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob-1 {
  position: absolute;
  top: -15%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(8, 10, 15, 0) 70%);
  filter: blur(60px);
}

.ambient-blob-2 {
  position: absolute;
  top: 40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, rgba(8, 10, 15, 0) 70%);
  filter: blur(60px);
}

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

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1.15;
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #a78bfa 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p.subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #6d28d9 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-color);
  backdrop-filter: blur(10px);
}

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

.btn-playstore {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-playstore:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-2px);
}

/* Header & Navbar */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 10, 15, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  white-space: nowrap;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: #ffffff;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}

.hamburger-bar {
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding: 5rem 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

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

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

.hero-title {
  font-size: 3.5rem;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  margin-top: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* Phone Mockup Frame (Android Jetpack Compose Visuals) */
.hero-mockup-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 320px;
  height: 640px;
  background: #0f121a;
  border-radius: 40px;
  border: 10px solid #1e2436;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(124, 58, 237, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-camera {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: #000;
  border-radius: 50%;
  z-index: 10;
}

.phone-screen {
  flex: 1;
  background: radial-gradient(circle at top, #1b1836 0%, #0d0f17 100%);
  padding: 2.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Animated Phone Screen States */
.anim-screen-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: center;
  animation: fadeInState 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-screen-state.active {
  display: flex;
}

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

.anim-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-blue {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #38bdf8;
}

.badge-red {
  background: rgba(244, 63, 94, 0.2);
  border: 1px solid rgba(244, 63, 94, 0.5);
  color: #fb7185;
  animation: pulse-badge 1s infinite alternate;
}

.badge-green {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
}

@keyframes pulse-badge {
  from { box-shadow: 0 0 5px rgba(244, 63, 94, 0.3); }
  to { box-shadow: 0 0 20px rgba(244, 63, 94, 0.7); }
}

.alarm-toggle-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.toggle-switch {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  position: relative;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple-glow);
}

.toggle-knob {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toggle-switch.active .toggle-knob {
  transform: translateX(20px);
}

.anim-status-text {
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 1rem;
}

.ringing-text {
  color: #fb7185 !important;
  text-shadow: 0 0 20px rgba(244, 63, 94, 0.6) !important;
  animation: jitter-text 0.15s infinite alternate;
}

@keyframes jitter-text {
  from { transform: scale(1); }
  to { transform: scale(1.03); }
}

.ringing-border {
  border-color: rgba(244, 63, 94, 0.5) !important;
}

.anim-typing-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px dashed var(--accent-purple);
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  color: #a78bfa;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.success-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 1rem 0 0.5rem;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}

.anim-stat-pill {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-top: 1rem;
}

.anim-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 1rem;
}

.anim-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  transition: width 0.1s linear;
}

.alarm-screen-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.alarm-clock-display {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  line-height: 1;
}

.alarm-label-tag {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fb7185;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.alarm-challenge-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  backdrop-filter: blur(10px);
  margin-top: 1rem;
}

.challenge-header {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.challenge-question {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.challenge-input-mock {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed var(--accent-purple);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: #a78bfa;
  font-size: 1.1rem;
  font-weight: 700;
}

.snooze-disabled-notice {
  font-size: 0.75rem;
  color: var(--accent-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  background: rgba(244, 63, 94, 0.1);
  padding: 0.6rem;
  border-radius: var(--radius-sm);
}

/* Sections Styling */
.section {
  padding: 6rem 0;
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-title {
  font-size: 2.5rem;
}

/* Interactive Challenge Playground Section */
.playground-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.playground-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.2));
  border-color: var(--accent-purple);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

.playground-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.challenge-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.challenge-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.challenge-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.challenge-benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

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

/* Challenge Interactive Canvas Box */
.demo-box {
  background: #0d0f17;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}

/* Math Demo */
.math-display {
  font-size: 2.8rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.math-input-wrap {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 280px;
}

.math-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  outline: none;
}

.math-input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple-glow);
}

/* Shake Demo */
.shake-meter-container {
  width: 100%;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.shake-progress-bg {
  width: 100%;
  height: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border-color);
  padding: 2px;
}

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

.shake-count-text {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 0.75rem;
  color: #fff;
}

.shake-trigger-btn {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  transition: var(--transition-fast);
  user-select: none;
}

.shake-trigger-btn:active {
  transform: scale(0.95);
}

/* Color Tiles Demo */
.color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 240px;
  height: 240px;
  margin-bottom: 1rem;
}

.tile-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tile-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.tile-btn.active-glow {
  background: var(--accent-cyan) !important;
  box-shadow: 0 0 20px var(--accent-cyan);
}

/* Snooze Tax Calculator Section */
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.calc-val-highlight {
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 1.1rem;
}

.slider-custom {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  accent-color: var(--accent-purple);
  cursor: pointer;
}

.calc-results {
  background: rgba(8, 10, 15, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-box {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

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

.stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-rose);
}

.stat-num.positive {
  color: var(--accent-emerald);
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Offline & Privacy Section */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.privacy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.privacy-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.privacy-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
}

.privacy-card h4 {
  font-size: 1.25rem;
}

.privacy-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Technical & Reliability Section */
.tech-spec-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.tech-code-tag {
  background: #0d0f17;
  border: 1px solid var(--border-color);
  font-family: monospace;
  font-size: 0.85rem;
  color: #38bdf8;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.faq-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA Footer Banner */
.cta-banner {
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid var(--accent-purple-glow);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-banner h2 {
  font-size: 2.75rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

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

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
}

/* Toast Notification for Demos */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10b981;
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-normal);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

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

/* Responsive Breakpoints & Mobile Enhancements */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .playground-content, .calculator-grid, .tech-spec-container, .contact-grid {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }

  .privacy-grid, .health-grid, .mission-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .dev-profile {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.75rem 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-wrapper {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(13, 16, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 1rem;
    gap: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .nav-wrapper.open {
    display: flex;
    animation: slideDownMenu 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    align-items: stretch;
    padding: 0;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    width: 100%;
  }

  .nav-cta-mobile {
    width: 100%;
    margin-top: 0.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-ctas {
    width: 100%;
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .phone-mockup {
    width: 290px;
    height: 560px;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .stat-num {
    font-size: 2.2rem;
  }

  .playground-container {
    padding: 1.25rem 0.85rem;
    border-radius: var(--radius-md);
  }

  .playground-tabs {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .tab-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .demo-box {
    width: 100%;
    min-height: auto;
    padding: 1.5rem 0.75rem;
  }

  .math-display {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .math-input-wrap {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 0.5rem;
  }

  .math-input {
    width: 100%;
  }

  .shake-meter-container {
    width: 100%;
    max-width: 100%;
  }

  .color-grid {
    width: 100%;
    max-width: 200px;
    height: 200px;
    gap: 0.5rem;
  }

  .calculator-grid, .policy-card, .contact-card, .story-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}
