/* ==========================================================================
   Rahul Kushwaha Apps Portal - Design System & Modern Stylesheet
   Domain: app.rahulkushwaha.net
   ========================================================================== */

:root {
  /* Brand Palettes */
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-glow: rgba(16, 185, 129, 0.28);
  --primary-light: #d1fae5;
  --primary-dark: #064e3b;
  
  --wa-green: #25d366;
  --wa-green-hover: #20bd5a;
  --wa-glow: rgba(37, 211, 102, 0.3);

  --accent-cyan: #06b6d4;
  --accent-amber: #f59e0b;
  --accent-purple: #8b5cf6;

  /* Theme Tokens - Dark Default */
  --bg-body: #0a0d14;
  --bg-surface: #111726;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(26, 36, 56, 0.88);
  --bg-glass: rgba(15, 23, 42, 0.7);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(16, 185, 129, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #0f172a;

  --featured-card-bg: linear-gradient(145deg, rgba(26, 36, 56, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  --pill-bg: rgba(255, 255, 255, 0.06);
  --pill-text: #cbd5e1;
  --pill-green-color: var(--wa-green);
  --pill-green-bg: rgba(37, 211, 102, 0.15);
  --pill-green-border: rgba(37, 211, 102, 0.3);

  --btn-glass-bg: rgba(255, 255, 255, 0.05);
  --btn-glass-border: rgba(255, 255, 255, 0.12);
  --btn-glass-text: #f8fafc;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px var(--primary-glow);

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

  --nav-height: 72px;
  --container-max: 1200px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-card: rgba(0, 0, 0, 0.1);
  --border-highlight: rgba(16, 185, 129, 0.5);

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;
  --text-inverse: #ffffff;

  --featured-card-bg: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
  --pill-bg: #f1f5f9;
  --pill-text: #334155;
  --pill-green-color: #047857;
  --pill-green-bg: #ecfdf5;
  --pill-green-border: #a7f3d0;

  --btn-glass-bg: #f1f5f9;
  --btn-glass-border: #cbd5e1;
  --btn-glass-text: #0f172a;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.15);
}

/* Light mode specific element refinements */
[data-theme="light"] .ambient-blob-1 { opacity: 0.18; }
[data-theme="light"] .ambient-blob-2 { opacity: 0.12; }

[data-theme="light"] .featured-app-banner {
  border-color: rgba(37, 211, 102, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06), 0 0 25px rgba(37, 211, 102, 0.08);
}

[data-theme="light"] .badge-tag {
  color: #047857;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

[data-theme="light"] .badge-live {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

[data-theme="light"] .badge-upcoming {
  background: #f1f5f9;
  color: #64748b;
  border-color: #e2e8f0;
}

[data-theme="light"] .tab-btn.active {
  color: #065f46;
  background: #d1fae5;
  border-color: #a7f3d0;
}

[data-theme="light"] .feature-icon-wrap {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

[data-theme="light"] .disclaimer-banner {
  background: #fffbeb;
  border-color: #fde68a;
}

[data-theme="light"] .disclaimer-banner p {
  color: #451a03;
}

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

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

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

.ambient-blob-1 {
  position: absolute;
  top: -15%;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--wa-glow) 0%, rgba(37, 211, 102, 0) 70%);
  filter: blur(80px);
  opacity: 0.45;
  animation: pulseBlob 12s ease-in-out infinite alternate;
}

.ambient-blob-2 {
  position: absolute;
  top: 40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0) 70%);
  filter: blur(80px);
  opacity: 0.35;
  animation: pulseBlob 16s ease-in-out infinite alternate-reverse;
}

@keyframes pulseBlob {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.1) translate(20px, 15px); }
  100% { transform: scale(0.95) translate(-15px, -20px); }
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

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

a:hover {
  color: var(--primary-hover);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-smooth), border-color var(--transition-smooth);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--wa-green) 0%, #0d9488 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px var(--wa-glow);
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

/* Theme Toggle Button */
.btn-theme {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--transition-fast);
}

.btn-theme:hover {
  color: var(--text-main);
  border-color: var(--border-card);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.btn-mobile-nav {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Button System
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0d9488 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #059669 0%, #0f766e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--wa-green) 0%, #1da851 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 16px var(--wa-glow);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #1fa855 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--wa-glow);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main) !important;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.btn-glass {
  background: var(--btn-glass-bg);
  color: var(--btn-glass-text) !important;
  border: 1px solid var(--btn-glass-border);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

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

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.hero {
  padding: 4rem 0 3rem;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-tag.badge-purple {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--accent-purple);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

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

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(16, 185, 129, 0.12);
}

/* Featured App Spotlight Card */
.featured-app-banner {
  background: var(--featured-card-bg);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(37, 211, 102, 0.15);
  position: relative;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem;
}

.featured-graphic-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-smooth);
}

.featured-graphic-wrap:hover {
  transform: scale(1.02);
}

.featured-graphic-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.featured-app-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.app-icon-lg {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--border-card);
  flex-shrink: 0;
}

.app-icon-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
}

.pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--pill-bg);
  border: 1px solid var(--border-subtle);
  color: var(--pill-text);
  transition: all var(--transition-fast);
}

.pill.pill-green {
  background: var(--pill-green-bg);
  border-color: var(--pill-green-border);
  color: var(--pill-green-color);
}

/* App Grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.app-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.app-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.app-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.app-status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
}

.badge-live {
  background: var(--pill-green-bg);
  color: var(--pill-green-color);
  border: 1px solid var(--pill-green-border);
}

.badge-upcoming {
  background: var(--pill-bg);
  color: var(--text-dim);
  border: 1px solid var(--border-subtle);
}

/* Developer Banner Card */
.developer-card {
  padding: 2.5rem;
  background: var(--featured-card-bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   App Detail Showcase Page Components
   ========================================================================== */
.app-detail-hero {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
}

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

.app-header-left {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.app-logo-massive {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  border: 2px solid var(--border-card);
  flex-shrink: 0;
}

.app-logo-massive img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-meta-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stat-item strong {
  color: var(--text-main);
}

.stat-stars {
  color: #fbbf24;
}

/* Screenshot & Media Showcase */
.showcase-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-main);
  background: var(--pill-bg);
}

.tab-btn.active {
  color: var(--primary);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.gallery-carousel-wrapper {
  position: relative;
  margin: 1.5rem 0 3rem;
}

.gallery-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.5rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-card) transparent;
}

.gallery-carousel::-webkit-scrollbar {
  height: 8px;
}

.gallery-carousel::-webkit-scrollbar-thumb {
  background: var(--border-card);
  border-radius: 4px;
}

.gallery-carousel::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-item {
  flex: 0 0 240px;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
  cursor: pointer;
  position: relative;
  background: var(--bg-surface);
  transition: all var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(16, 185, 129, 0.2);
  border-color: var(--border-highlight);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 10;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.carousel-nav-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-prev { left: -15px; }
.carousel-nav-next { right: -15px; }

/* Video Preview Block */
.video-preview-card {
  background: var(--featured-card-bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin: 3rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.video-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
  background: #000;
  position: relative;
  max-height: 480px;
  display: flex;
  justify-content: center;
}

.video-container video {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  background: #000;
}

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

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

.section-title {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-smooth);
  position: relative;
}

.feature-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.feature-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* How to Use Steps */
.how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wa-green) 0%, #0d9488 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 16px var(--wa-glow);
}

/* Tech Specs Table */
.specs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin: 3rem 0;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

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

.specs-table th {
  text-align: left;
  padding: 1rem 0;
  color: var(--text-muted);
  font-weight: 500;
  width: 35%;
}

.specs-table td {
  padding: 1rem 0;
  color: var(--text-main);
  font-weight: 600;
}

/* Disclaimer Callout */
.disclaimer-banner {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.disclaimer-icon {
  font-size: 1.5rem;
  color: var(--accent-amber);
  flex-shrink: 0;
}

.disclaimer-banner p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-height: 85vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox-btn-prev, .lightbox-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-btn-prev:hover, .lightbox-btn-next:hover {
  background: var(--primary);
}

.lightbox-btn-prev { left: 1.5rem; }
.lightbox-btn-next { right: 1.5rem; }

/* ==========================================================================
   Privacy Policy Styling
   ========================================================================== */
.policy-container {
  max-width: 860px;
  margin: 3rem auto 5rem;
}

.policy-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.policy-meta-pill {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

[data-theme="light"] .policy-meta-pill {
  background: #ecfdf5;
  color: #047857;
}

.policy-section {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.75rem;
}

.policy-section h2 {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.policy-section p, .policy-section li {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.policy-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  max-width: 360px;
  font-size: 0.92rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .featured-grid {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .video-preview-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-card);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .btn-mobile-nav {
    display: block;
  }
  .app-header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .carousel-nav-btn {
    display: none;
  }
}
