/* ==========================================================================
   Bee'sGeniusLab â€” Developer Hub
   Production stylesheet
   Author: Design system for a premium, privacy-focused Android software co.
   Structure:
     1.  Design Tokens (CSS Variables)
     2.  Reset & Base
     3.  Typography
     4.  Layout Utilities
     5.  Animations (keyframes)
     6.  Navigation
     7.  Hero
     8.  Statistics
     9.  Featured Apps
     10. Why Bee'sGeniusLab
     11. Philosophy
     12. Roadmap
     13. Footer
     14. Buttons
     15. Cards (shared)
     16. Accessibility
     17. Responsive Breakpoints
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Color â€” Surfaces */
  --color-bg: #09090B;
  --color-bg-secondary: #111827;
  --color-card: #18181B;
  --color-glass: rgba(255, 255, 255, 0.05);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);

  /* Color â€” Accent */
  --color-accent: #39FF14;
  --color-accent-secondary: #00E676;
  --color-accent-hover: #6DFF52;

  /* Color â€” Text */
  --color-text: #FFFFFF;
  --color-text-muted: #9CA3AF;
  --color-text-faint: #6B7280;

  /* Accent tints (derived, used for glows / backgrounds) */
  --color-accent-08: rgba(57, 255, 20, 0.08);
  --color-accent-12: rgba(57, 255, 20, 0.12);
  --color-accent-20: rgba(57, 255, 20, 0.2);
  --color-accent-35: rgba(57, 255, 20, 0.35);
  --color-accent-60: rgba(57, 255, 20, 0.6);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-display: clamp(2.75rem, 6vw, 5.5rem);
  --fs-h1: clamp(2.25rem, 4.5vw, 3.75rem);
  --fs-h2: clamp(1.875rem, 3.4vw, 2.75rem);
  --fs-h3: clamp(1.375rem, 2.2vw, 1.75rem);
  --fs-body-lg: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  --lh-tight: 1.1;
  --lh-heading: 1.25;
  --lh-body: 1.65;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 800;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 0 1px var(--color-accent-20), 0 0 24px var(--color-accent-12);
  --shadow-glow-strong: 0 0 0 1px var(--color-accent-35), 0 0 40px var(--color-accent-20);

  /* Blur */
  --blur-nav: 16px;
  --blur-card: 20px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.18s;
  --dur-base: 0.32s;
  --dur-slow: 0.6s;

  /* Layout */
  --container-max: 1200px;
  --nav-height: 76px;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

/* Selection */
::selection {
  background: var(--color-accent-35);
  color: var(--color-text);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border-strong);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-35);
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
}

.text-display {
  font-size: var(--fs-display);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
}

.text-h1 { font-size: var(--fs-h1); }
.text-h2 { font-size: var(--fs-h2); }
.text-h3 { font-size: var(--fs-h3); font-weight: var(--fw-semibold); }

.text-lead {
  font-size: var(--fs-body-lg);
  color: var(--color-text-muted);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
}

.text-muted { color: var(--color-text-muted); }
.text-small { font-size: var(--fs-small); }
.text-xs { font-size: var(--fs-xs); }

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent-60);
}


/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  position: relative;
  padding-block: var(--space-10);
}

.section-header {
  max-width: 640px;
  margin-bottom: var(--space-8);
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: var(--space-6);
}

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

.flex {
  display: flex;
  align-items: center;
}

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

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }


/* ==========================================================================
   5. ANIMATIONS
   ========================================================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(8px); }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 0 1px var(--color-accent-20), 0 0 20px var(--color-accent-12);
  }
  50% {
    box-shadow: 0 0 0 1px var(--color-accent-35), 0 0 36px var(--color-accent-20);
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes buttonGlow {
  0%, 100% { box-shadow: 0 0 12px var(--color-accent-35); }
  50% { box-shadow: 0 0 28px var(--color-accent-60); }
}

@keyframes cardLift {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

@keyframes scrollIndicator {
  0% { transform: translateY(0); opacity: 1; }
  70% { opacity: 0.4; }
  100% { transform: translateY(14px); opacity: 0; }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.96); }
}

/* Reusable animation utility classes */
.anim-fade-in { animation: fadeIn var(--dur-slow) var(--ease-out) both; }
.anim-slide-up { animation: slideUp var(--dur-slow) var(--ease-out) both; }
.anim-text-reveal { animation: textReveal 0.8s var(--ease-out) both; }

.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }


/* ==========================================================================
   6. NAVIGATION
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(9, 9, 11, 0.55);
  backdrop-filter: blur(var(--blur-nav)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur-nav)) saturate(160%);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

.navbar.is-scrolled {
  background: rgba(9, 9, 11, 0.82);
  border-bottom-color: var(--color-border-strong);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--fw-bold);
  font-size: var(--fs-body-lg);
  letter-spacing: -0.01em;
}

.nav-logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

.nav-link {
  position: relative;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  padding-block: var(--space-2);
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-secondary));
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-text);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--color-text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #06110A;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  box-shadow: 0 0 16px var(--color-accent-35);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--color-accent-hover);
  box-shadow: 0 0 24px var(--color-accent-60);
  transform: translateY(-1px);
}


/* ==========================================================================
   7. HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  isolation: isolate;
}

/* Animated gradient background */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--color-accent-08), transparent 60%),
    linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-secondary) 50%, var(--color-bg) 100%);
  background-size: 200% 200%;
  animation: gradientShift 14s ease-in-out infinite;
}

/* Subtle grid overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
  opacity: 0.5;
}

/* Floating glowing orbs */
.hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: orbFloat 16s ease-in-out infinite;
}

.hero-orb--1 {
  width: 380px;
  height: 380px;
  top: 8%;
  left: 8%;
  background: var(--color-accent);
}

.hero-orb--2 {
  width: 320px;
  height: 320px;
  bottom: 4%;
  right: 10%;
  background: var(--color-accent-secondary);
  animation-delay: -6s;
}

.hero-orb--3 {
  width: 240px;
  height: 240px;
  top: 40%;
  right: 30%;
  background: var(--color-accent-hover);
  opacity: 0.25;
  animation-delay: -10s;
}

.hero-content {
  max-width: 860px;
  padding-inline: var(--space-6);
}

.hero-eyebrow {
  margin-bottom: var(--space-5);
}

.hero-headline {
  font-size: var(--fs-display);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}

.hero-subtitle {
  font-size: var(--fs-body-lg);
  color: var(--color-text-muted);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-7);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-9);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-7);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-faint);
}

.scroll-indicator__mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-indicator__dot {
  width: 4px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  animation: scrollIndicator 1.8s ease-in-out infinite;
}


/* ==========================================================================
   8. STATISTICS
   ========================================================================== */

.stats {
  padding-block: var(--space-8);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.stat-card {
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(var(--blur-card));
  -webkit-backdrop-filter: blur(var(--blur-card));
  text-align: center;
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent-35);
  box-shadow: var(--shadow-glow);
}

.stat-card__value {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--space-2);
}

.stat-card__label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* ==========================================================================
   9. FEATURED APPS
   ========================================================================== */

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-7);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--color-card) 0%, rgba(24, 24, 27, 0.6) 100%);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

.app-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--color-accent-35), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
  pointer-events: none;
}

.app-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--shadow-glow-strong), var(--shadow-elevated);
}

.app-card:hover::before {
  opacity: 1;
}

.app-card__top {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.app-card__mockup {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-base) var(--ease-out);
}

.app-card:hover .app-card__mockup {
  transform: scale(1.05);
}

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

.app-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-soft);
}

.app-card__name {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-1);
}

.app-card__tagline {
  font-size: var(--fs-small);
  color: var(--color-accent);
  font-weight: var(--fw-medium);
}

.app-card__description {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.app-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.app-card__feature {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}

.app-card:hover .app-card__feature {
  border-color: var(--color-border-strong);
}

.app-card__footer {
  margin-top: auto;
}


/* ==========================================================================
   10. WHY BEE'SGENIUSLAB
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.why-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}

.why-card:hover {
  border-color: var(--color-accent-20);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.why-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-accent-12);
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

.why-card__icon svg {
  width: 22px;
  height: 22px;
}

.why-card__title {
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2);
}

.why-card__text {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}


/* ==========================================================================
   11. PHILOSOPHY
   ========================================================================== */

.philosophy {
  text-align: center;
  padding-block: var(--space-10);
}

.philosophy-statement {
  max-width: 780px;
  margin-inline: auto;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.philosophy-statement em {
  font-style: normal;
  color: var(--color-text-faint);
}

.philosophy-statement .accent {
  color: var(--color-accent);
}


/* ==========================================================================
   12. ROADMAP
   ========================================================================== */

.roadmap {
  position: relative;
}

.roadmap-timeline {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding-left: var(--space-8);
}

.roadmap-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-border) 90%);
}

.roadmap-item {
  position: relative;
  padding-bottom: var(--space-8);
}

.roadmap-item:last-child {
  padding-bottom: 0;
}

.roadmap-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-8) + 3px);
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent-60);
  animation: glowPulse 3s ease-in-out infinite;
}

.roadmap-item__status {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

.roadmap-item__title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2);
}

.roadmap-item__text {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  max-width: 520px;
}


/* ==========================================================================
   13. FOOTER
   ========================================================================== */

.footer {
  border-top: 1px solid var(--color-border);
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(var(--blur-nav));
  -webkit-backdrop-filter: blur(var(--blur-nav));
  padding-block: var(--space-8);
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-brand__name {
  font-weight: var(--fw-bold);
  font-size: var(--fs-body-lg);
}

.footer-brand__tagline {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-link {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--color-accent);
}

.footer-bottom {
  width: 100%;
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-xs);
  color: var(--color-text-faint);
  text-align: center;
}


/* ==========================================================================
   14. BUTTONS
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  min-height: 48px;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
  color: #06110A;
  box-shadow: 0 0 20px var(--color-accent-35), var(--shadow-soft);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--color-accent-60), var(--shadow-elevated);
  animation: buttonGlow 1.6s ease-in-out infinite;
}

.btn-secondary {
  background: var(--color-glass);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
  backdrop-filter: blur(var(--blur-card));
  -webkit-backdrop-filter: blur(var(--blur-card));
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--color-accent-35);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.btn-play {
  width: 100%;
  background: var(--color-card);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}

.btn-play:hover,
.btn-play:focus-visible {
  background: var(--color-accent);
  color: #06110A;
  border-color: var(--color-accent);
  box-shadow: 0 0 20px var(--color-accent-35);
  transform: translateY(-2px);
}

.btn-play svg {
  width: 18px;
  height: 18px;
}


/* ==========================================================================
   15. CARDS (shared glassmorphism primitive)
   ========================================================================== */

.card-glass {
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--blur-card));
  -webkit-backdrop-filter: blur(var(--blur-card));
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}

.card-glass:hover {
  border-color: var(--color-accent-20);
  box-shadow: var(--shadow-glow);
}

.img-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.img-frame img {
  transition: transform var(--dur-slow) var(--ease-out);
}

.img-frame:hover img {
  transform: scale(1.05);
}


/* ==========================================================================
   16. ACCESSIBILITY
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

a, button, .btn, .nav-link, .footer-link {
  min-height: 44px;
}

.nav-link, .footer-link {
  min-height: auto;
  display: inline-flex;
  align-items: center;
}

@media (prefers-contrast: more) {
  :root {
    --color-border: rgba(255, 255, 255, 0.24);
    --color-text-muted: #C7CBD1;
  }
}

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

  .hero::before,
  .hero-orb,
  .scroll-indicator__dot,
  .roadmap-item::before {
    animation: none !important;
  }
}


/* ==========================================================================
   17. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Laptop */
@media (max-width: 1200px) {
  :root {
    --container-max: 100%;
  }

  .container {
    padding-inline: var(--space-5);
  }

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

/* Small laptop / large tablet */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .app-card__top {
    align-items: center;
  }
}

/* Tablet */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links {
    display: none;
  }

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

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

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

  .section {
    padding-block: var(--space-8);
  }

  .roadmap-timeline {
    padding-left: var(--space-6);
  }

  .roadmap-item::before {
    left: calc(-1 * var(--space-6) + 3px);
  }

  .footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .container {
    padding-inline: var(--space-4);
  }

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

  .app-card {
    padding: var(--space-5);
  }

  .app-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-headline {
    letter-spacing: -0.02em;
  }

  .philosophy-statement {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .footer-links {
    gap: var(--space-4);
  }
}

/* ==========================================================================
   COMMUNITY
   ========================================================================== */

.community-section{
  padding-top:0;
}

.community-card{
  max-width:900px;
  margin:0 auto;
  text-align:center;
  padding:4rem 3rem;
  border-radius:28px;
  background:linear-gradient(180deg,var(--color-card) 0%,rgba(24,24,27,.6) 100%);
  border:1px solid var(--color-border);
  box-shadow:var(--shadow-soft);
}

.community-card .text-lead{
  max-width:680px;
  margin:1.5rem auto 2.5rem;
}

.community-card:hover{
  border-color:var(--color-accent-35);
  box-shadow:var(--shadow-glow-strong),var(--shadow-elevated);
}

@media (max-width:768px){
  .community-card{
    padding:2.5rem 1.5rem;
  }
}
