/* ==========================================================================
   Clean Days — Design System & Stylesheet
   Theme: Midnight Purple & Radiant Serenity Glassmorphism
   Aesthetics: Apple Design Award / Dribbble Quality
   ========================================================================== */

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

:root {
  /* Brand Color Palette */
  --color-bg: #0F0720;
  --color-bg-secondary: #0A0416;
  --color-surface-1: #1A0E30;
  --color-surface-2: #160B2C;
  --color-surface-card: rgba(26, 14, 48, 0.72);
  --color-surface-card-hover: rgba(33, 18, 60, 0.88);
  --color-surface-glass: rgba(255, 255, 255, 0.04);
  
  /* Borders & Dividers */
  --border-subtle: rgba(167, 139, 250, 0.15);
  --border-glow: rgba(167, 139, 250, 0.35);
  --border-accent: rgba(56, 189, 248, 0.3);
  
  /* Accent Colors */
  --color-primary: #7C3AED;        /* Royal Violet */
  --color-primary-light: #A78BFA;  /* Radiant Lavender */
  --color-secondary: #38BDF8;      /* Serenity Cyan */
  --color-emerald: #34D399;        /* Mint Emerald (Recovery & Growth) */
  --color-amber: #FBBF24;          /* Milestone Amber Gold */
  --color-rose: #FB7185;           /* Warm Coral / Crisis Accent */

  /* Text & Readability (WCAG AAA/AA compliant) */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
  --grad-cyan-violet: linear-gradient(135deg, #38BDF8 0%, #A78BFA 50%, #7C3AED 100%);
  --grad-emerald: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  --grad-sunset: linear-gradient(135deg, #F59E0B 0%, #EC4899 50%, #7C3AED 100%);
  --grad-card: linear-gradient(180deg, rgba(26, 14, 48, 0.8) 0%, rgba(15, 7, 32, 0.9) 100%);
  
  /* Shadows & Luminous Glows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  --glow-primary: 0 0 40px rgba(124, 58, 237, 0.35);
  --glow-cyan: 0 0 35px rgba(56, 189, 248, 0.3);
  --glow-emerald: 0 0 35px rgba(52, 211, 153, 0.25);
  
  /* Layout & Spacing */
  --container-max: 1200px;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  
  /* Fonts */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  
  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 260ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--color-bg);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(124, 58, 237, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(56, 189, 248, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 65%, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(52, 211, 153, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  line-height: 1.6;
}

/* Ambient Background Canvas Orbs */
.bg-mesh-canvas {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: floatOrb 22s infinite alternate ease-in-out;
}

.mesh-orb-1 {
  width: 500px;
  height: 500px;
  background: #7C3AED;
  top: -100px;
  left: -100px;
}

.mesh-orb-2 {
  width: 450px;
  height: 450px;
  background: #38BDF8;
  top: 25%;
  right: -100px;
  animation-duration: 28s;
}

.mesh-orb-3 {
  width: 400px;
  height: 400px;
  background: #A78BFA;
  bottom: 10%;
  left: 15%;
  animation-duration: 24s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

a:hover {
  color: #DDD6FE;
}

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

/* Header & Glassmorphic Navigation */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(15, 7, 32, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--transition-normal);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-icon-wrapper {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #180B2E;
  flex-shrink: 0;
}

.brand-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-group {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.version-pill {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(167, 139, 250, 0.16);
  border: 1px solid rgba(167, 139, 250, 0.3);
  color: var(--color-primary-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

/* Mobile Navigation Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Buttons & Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #FFFFFF;
  box-shadow: 0 8px 24px -4px rgba(124, 58, 237, 0.45);
}

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

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.btn-outline-cyan {
  background: rgba(56, 189, 248, 0.08);
  color: var(--color-secondary);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.btn-outline-cyan:hover {
  background: rgba(56, 189, 248, 0.18);
  color: #FFFFFF;
  border-color: var(--color-secondary);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* Section Header Typography */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.3);
  color: var(--color-primary-light);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: #FFFFFF;
}

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

.text-gradient {
  background: var(--grad-cyan-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: var(--grad-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--color-surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.4), transparent);
}

.glass-card:hover {
  background: var(--color-surface-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--glow-primary);
}

/* HERO SECTION */
.hero-section {
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(167, 139, 250, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-emerald);
  flex-shrink: 0;
}

/* Hero Showcase & Interactive Clean Counter Simulator */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.interactive-counter-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, rgba(28, 14, 52, 0.95) 0%, rgba(18, 8, 36, 0.98) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), var(--glow-primary);
  position: relative;
  z-index: 2;
}

.counter-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.counter-header-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52, 211, 153, 0.15);
  color: var(--color-emerald);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.counter-display-box {
  background: rgba(15, 7, 32, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}

.counter-main-number {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 4px;
  letter-spacing: -0.04em;
  text-shadow: 0 0 30px rgba(167, 139, 250, 0.4);
}

.counter-main-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.counter-units-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(167, 139, 250, 0.12);
  padding-top: 14px;
}

.unit-cell {
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.unit-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
}

.unit-name {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Interactive Presets for Visitors */
.counter-presets-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.counter-presets-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.preset-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  padding: 8px 4px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.preset-chip:hover {
  background: rgba(167, 139, 250, 0.18);
  color: #FFFFFF;
  border-color: var(--border-glow);
}

.preset-chip.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.5);
}

/* Dynamic Keytag Achievement Widget */
.keytag-award-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: all var(--transition-normal);
}

.keytag-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0F0720;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.keytag-info-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}

.keytag-info-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Floating Backdrop Glow Behind Counter */
.hero-phone-glow {
  position: absolute;
  width: 420px;
  height: 520px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, rgba(56, 189, 248, 0.2) 50%, transparent 75%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

/* 4-METRIC STATS GRID */
.stats-section {
  padding: 40px 0 80px;
}

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

.stat-card {
  background: var(--color-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition-normal);
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* CURATED SCREENSHOT SHOWCASE */
.gallery-section {
  padding: 90px 0;
  position: relative;
}

.gallery-tabs-wrapper {
  margin: 40px 0 32px;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(167, 139, 250, 0.35) rgba(255, 255, 255, 0.02);
}

.gallery-tabs-wrapper::-webkit-scrollbar,
.screenshot-strip::-webkit-scrollbar {
  height: 6px;
}

.gallery-tabs-wrapper::-webkit-scrollbar-track,
.screenshot-strip::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.gallery-tabs-wrapper::-webkit-scrollbar-thumb,
.screenshot-strip::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.35);
  border-radius: 10px;
}

.gallery-tabs-wrapper::-webkit-scrollbar-thumb:hover,
.screenshot-strip::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-light);
}

.gallery-tabs-list {
  display: flex;
  gap: 10px;
  list-style: none;
  min-width: max-content;
  margin: 0 auto;
  justify-content: center;
}

.gallery-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.gallery-tab-btn:hover {
  background: rgba(167, 139, 250, 0.15);
  color: #FFFFFF;
  border-color: var(--border-glow);
}

.gallery-tab-btn.active {
  background: var(--grad-primary);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.45);
}

.gallery-display-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(180deg, rgba(26, 14, 48, 0.6) 0%, rgba(15, 7, 32, 0.8) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  backdrop-filter: blur(16px);
}

.gallery-info-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gallery-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 0.06em;
}

.gallery-info-title {
  font-size: 2rem;
  line-height: 1.2;
  color: #FFFFFF;
}

.gallery-info-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.gallery-bullets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.gallery-bullets-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.gallery-bullets-list li svg {
  width: 18px;
  height: 18px;
  color: var(--color-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

.gallery-device-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-frame-outer {
  position: relative;
  width: 320px;
  max-width: 100%;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(124, 58, 237, 0.4) 50%, rgba(56, 189, 248, 0.3) 100%);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(124, 58, 237, 0.35);
  cursor: pointer;
  transition: transform var(--transition-normal);
}

.device-frame-outer:hover {
  transform: scale(1.02);
}

.device-screen-container {
  border-radius: 34px;
  overflow: hidden;
  background: #000000;
  line-height: 0;
  position: relative;
}

.device-screen-img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity var(--transition-normal);
}

/* Horizontal Screenshot Strip for Quick Browsing */
.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-top: 32px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.strip-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0.6;
  background: #0F0720;
}

.strip-item:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.strip-item.active {
  opacity: 1;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.4);
}

.strip-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

/* 4 FEATURE PILLARS */
.features-section {
  padding: 90px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.feature-pillar-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

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

.icon-box-violet {
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: var(--color-primary-light);
}

.icon-box-cyan {
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--color-secondary);
}

.icon-box-emerald {
  background: rgba(52, 211, 153, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--color-emerald);
}

.icon-box-amber {
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: var(--color-amber);
}

.feature-card-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.feature-card-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid rgba(167, 139, 250, 0.12);
  padding-top: 18px;
}

.feature-highlights-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.feature-highlights-list li svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary-light);
  flex-shrink: 0;
}

/* PRIVACY ARCHITECTURE & COMPARISON */
.privacy-section {
  padding: 90px 0;
  position: relative;
}

.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--color-surface-card);
}

.privacy-comparison-table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 0;
  border: none;
  background: transparent;
}

.privacy-comparison-table th,
.privacy-comparison-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}

.privacy-comparison-table th {
  background: rgba(15, 7, 32, 0.8);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

.privacy-comparison-table th.col-highlight {
  background: rgba(124, 58, 237, 0.25);
  color: var(--color-primary-light);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

.privacy-comparison-table td.col-highlight {
  background: rgba(124, 58, 237, 0.08);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  font-weight: 600;
  color: #FFFFFF;
}

.status-pill-safe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-emerald);
  font-size: 0.9rem;
}

.status-pill-warn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-rose);
  font-size: 0.9rem;
}

/* FELLOWSHIP TRADITIONS & RESPECT STATEMENT */
.traditions-card {
  margin-top: 48px;
  background: linear-gradient(180deg, rgba(22, 11, 44, 0.8) 0%, rgba(15, 7, 32, 0.9) 100%);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.traditions-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.traditions-title {
  font-size: 1.25rem;
  color: #FFFFFF;
}

.traditions-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* SOS CRISIS LIFELINE BANNER */
.sos-section {
  padding: 40px 0;
}

.sos-card {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.12) 0%, rgba(124, 58, 237, 0.15) 100%);
  border: 1px solid rgba(251, 113, 133, 0.35);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.sos-content-left {
  max-width: 720px;
}

.sos-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251, 113, 133, 0.2);
  border: 1px solid rgba(251, 113, 133, 0.4);
  color: var(--color-rose);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sos-title {
  font-size: 1.7rem;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.sos-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.sos-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* FAQ ACCORDION */
.faq-section {
  padding: 90px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 44px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--color-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--border-glow);
}

.faq-item.active {
  border-color: var(--color-primary-light);
  background: rgba(26, 14, 48, 0.95);
}

.faq-trigger {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  gap: 16px;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-primary-light);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-in-out;
  padding: 0 28px;
}

.faq-item.active .faq-body {
  max-height: 400px;
  padding: 0 28px 24px 28px;
}

.faq-body p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* CTA BANNER SECTION */
.cta-section {
  padding: 80px 0 100px;
}

.cta-banner-card {
  background: linear-gradient(135deg, rgba(46, 21, 88, 0.95) 0%, rgba(20, 9, 42, 0.98) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(124, 58, 237, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.cta-subline {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
}

.cta-button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-meta-specs {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* FOOTER */
.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 36px;
  position: relative;
  z-index: 2;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-col p {
  margin-top: 14px;
  font-size: 0.94rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  margin-bottom: 18px;
}

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

.footer-nav-list a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-nav-list a:hover {
  color: #FFFFFF;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: var(--text-dim);
}

.medical-disclaimer-snippet {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* QR CODE MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 3, 16, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

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

.modal-window {
  background: linear-gradient(180deg, #1A0E30 0%, #120824 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), var(--glow-primary);
  text-align: center;
  position: relative;
  animation: modalEnter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.qr-image-container {
  background: #FFFFFF;
  padding: 16px;
  border-radius: var(--radius-lg);
  display: inline-block;
  margin: 20px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.qr-code-img {
  width: 220px;
  height: 220px;
  display: block;
}

.qr-instructions {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* LIGHTBOX MODAL FOR SCREENSHOTS */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 2, 12, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 24px;
}

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

.lightbox-content {
  max-height: 90vh;
  position: relative;
}

.lightbox-img {
  max-height: 85vh;
  max-width: 90vw;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(124, 58, 237, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* LEGAL PAGES STYLING (Privacy, Terms, Disclaimer, Support) */
.legal-header {
  padding: 80px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(26, 14, 48, 0.4) 0%, transparent 100%);
}

.legal-content-wrapper {
  padding: 60px 0 100px;
}

.legal-article {
  max-width: 840px;
  margin: 0 auto;
  background: var(--color-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.legal-article h2 {
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-top: 40px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
  padding-bottom: 8px;
}

.legal-article h3 {
  font-size: 1.2rem;
  color: var(--color-primary-light);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-article p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.legal-article ul, .legal-article ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.legal-article li {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 8px;
}

.legal-highlight-box {
  background: rgba(124, 58, 237, 0.14);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.legal-highlight-box strong {
  color: #FFFFFF;
}

.legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.helpline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

@media (max-width: 640px) {
  .helpline-grid {
    grid-template-columns: 1fr;
  }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-trust-row {
    justify-content: center;
  }
  
  .hero-visual-wrapper {
    margin-top: 10px;
  }
  
  .gallery-display-grid {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sos-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .sos-actions {
    width: 100%;
    align-items: center;
  }
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 0.86rem;
  }
  .nav-actions .btn-secondary {
    display: none; /* Hide Scan QR button on small laptops so nav links have ample space */
  }
}

@media (max-width: 1024px) {
  :root {
    --nav-height: 68px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(15, 7, 32, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    z-index: 99;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 8px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-row {
    justify-content: center;
  }

  .hero-visual-wrapper {
    margin-top: 10px;
  }

  .gallery-display-grid {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sos-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .sos-actions {
    width: 100%;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .legal-article {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .brand-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .version-pill {
    font-size: 0.65rem;
    padding: 1px 6px;
  }

  .section-badge {
    font-size: clamp(0.68rem, 2.5vw, 0.76rem);
    padding: 4px 10px;
    letter-spacing: 0.03em;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .hero-headline {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem);
    line-height: 1.15;
    text-wrap: balance;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 13px 18px;
    font-size: 0.95rem;
  }

  .counter-main-number {
    font-size: 2.6rem;
  }

  .interactive-counter-card {
    padding: 20px 14px;
    border-radius: var(--radius-lg);
  }

  .unit-cell {
    padding: 6px 2px;
  }

  .unit-num {
    font-size: 1.05rem;
  }

  .unit-name {
    font-size: 0.65rem;
  }

  .counter-presets-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .keytag-award-card {
    padding: 10px 12px;
  }

  .gallery-display-grid {
    padding: 24px 16px;
    border-radius: var(--radius-lg);
  }

  .gallery-info-title {
    font-size: 1.45rem;
  }

  .device-frame-outer {
    width: 100%;
    max-width: 290px;
    border-radius: 36px;
    padding: 8px;
  }

  .device-screen-container {
    border-radius: 28px;
  }

  .feature-pillar-card {
    padding: 24px 20px;
  }

  .sos-card {
    padding: 24px 16px;
  }

  .sos-title {
    font-size: 1.35rem;
  }

  .cta-banner-card {
    padding: 40px 20px;
  }

  .cta-headline {
    font-size: 1.85rem;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 1.02rem;
  }

  .version-pill {
    display: none; /* Keep clean single-row on ultra-narrow 320px screens */
  }

  .hero-headline {
    font-size: 1.7rem;
  }

  .counter-main-number {
    font-size: 2.25rem;
  }

  .counter-units-grid {
    gap: 4px;
  }

  .unit-num {
    font-size: 0.95rem;
  }
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
