/* ==========================================================================
   NeriQuest Studio - Modern Android Dark Theme Stylesheet
   Crafted with Material You, Glassmorphism & Atmospheric Ambient Lighting
   ========================================================================== */

:root {
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* AMOLED Pure Dark Palette */
  --bg-amoled: #07090c;
  --bg-surface: #0c1017;
  --bg-card: #101522;
  --bg-card-hover: #151c2d;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.16);

  /* Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Thematic Accent Palette */
  --accent-green: #81c784;
  --accent-green-bright: #4ade80;
  --accent-cyan: #38bdf8;
  --accent-purple: #c084fc;
  --accent-amber: #fbbf24;
  --accent-coral: #fb923c;
  --accent-teal: #2dd4bf;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

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

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent !important;
}

html {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-amoled);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--bg-amoled);
}

/* Interactive elements: disable browser tap-highlight & accidental selection */
a, button, [role="button"], .btn {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
  text-decoration: none;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent-green-bright);
  outline-offset: 3px;
  border-radius: inherit;
}

.btn:active, .btn-store:active, .btn-cta:active {
  transform: scale(0.96) !important;
  transition: transform 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Ambient Floating Blurred Frosted Color Glows (Dark Theme Halo System)
   ========================================================================== */
.ambient-glow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-frosted-diffuser {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: radial-gradient(circle at 50% 50%, transparent 65%, rgba(7, 9, 12, 0.3) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Dynamic Continuous Hue-Shifting Keyframes (Evolving Ambient Aurora Spectrum) */
@keyframes ambientHueShift1 {
  0% {
    filter: blur(55px) hue-rotate(0deg);
  }
  50% {
    filter: blur(66px) hue-rotate(180deg);
  }
  100% {
    filter: blur(55px) hue-rotate(360deg);
  }
}

@keyframes ambientHueShift2 {
  0% {
    filter: blur(58px) hue-rotate(0deg);
  }
  50% {
    filter: blur(48px) hue-rotate(-180deg);
  }
  100% {
    filter: blur(58px) hue-rotate(-360deg);
  }
}

@keyframes ambientHueShift3 {
  0% {
    filter: blur(55px) hue-rotate(45deg);
  }
  50% {
    filter: blur(65px) hue-rotate(225deg);
  }
  100% {
    filter: blur(55px) hue-rotate(405deg);
  }
}

@keyframes ambientHueShift4 {
  0% {
    filter: blur(60px) hue-rotate(-30deg);
  }
  50% {
    filter: blur(50px) hue-rotate(150deg);
  }
  100% {
    filter: blur(60px) hue-rotate(330deg);
  }
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(55px);
  opacity: 0.52;
  will-change: transform, filter;
}

/* Glow 1: Continuous Morphing Emerald / Cyan / Violet / Amber */
.glow-1 {
  top: 4%;
  left: 10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.18) 0%, rgba(34, 197, 94, 0.08) 42%, transparent 70%);
  animation: ambientHueShift1 20s linear infinite;
}

/* Glow 2: Continuous Morphing Sky Cyan / Deep Indigo / Coral */
.glow-2 {
  top: 32%;
  right: 6%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, rgba(14, 165, 233, 0.07) 42%, transparent 70%);
  animation: ambientHueShift2 26s linear infinite;
}

/* Glow 3: Continuous Morphing Lavender Violet / Rose / Emerald */
.glow-3 {
  bottom: 10%;
  left: 8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.16) 0%, rgba(168, 85, 247, 0.06) 42%, transparent 70%);
  animation: ambientHueShift3 24s linear infinite;
}

/* Glow 4: Continuous Morphing Warm Amber / Magenta / Teal */
.glow-4 {
  top: 60%;
  left: 42%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.14) 0%, rgba(245, 158, 11, 0.05) 42%, transparent 70%);
  animation: ambientHueShift4 30s linear infinite;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 9, 12, 0.84);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
}

.nav-logo-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.nav-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  font-size: 0.68rem;
  color: var(--accent-green-bright);
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.28);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

.nav-links a.active {
  color: var(--accent-green-bright);
}

.btn-topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.14);
  color: #a7f3d0;
  border: 1px solid rgba(74, 222, 128, 0.35);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-topbar-cta:hover {
  background: var(--accent-green-bright);
  color: #051408;
  border-color: var(--accent-green-bright);
  box-shadow: 0 4px 18px rgba(74, 222, 128, 0.35);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 85px 0 60px;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(74, 222, 128, 0.10) 0%, rgba(56, 189, 248, 0.04) 50%, transparent 75%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-green-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green-bright);
}

.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  max-width: 860px;
  margin: 0 auto 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #a7f3d0 0%, #4ade80 25%, #22c55e 50%, #4ade80 75%, #a7f3d0 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 6s linear infinite;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: #051408;
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74, 222, 128, 0.5);
}

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

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

/* Hero Chips */
.hero-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-chip-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 45px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-green-bright);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.6;
}

/* ==========================================================================
   Apps Showcase Section
   ========================================================================== */
.apps-section {
  padding: 50px 0 80px;
  position: relative;
}

.apps-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* App Showcase Card */
.app-card {
  position: relative;
  background: linear-gradient(160deg, #101522 0%, #090c13 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  padding: 34px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 35px -8px var(--card-glow, transparent);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent-border, rgba(255, 255, 255, 0.22));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 45px -5px var(--card-glow, rgba(74, 222, 128, 0.25));
}

.app-card[data-theme="emerald"] {
  --card-accent: #4ade80;
  --card-accent-bg: rgba(74, 222, 128, 0.12);
  --card-accent-border: rgba(74, 222, 128, 0.32);
  --card-glow: rgba(74, 222, 128, 0.22);
  --card-chip-bg: rgba(74, 222, 128, 0.08);
  --card-chip-border: rgba(74, 222, 128, 0.20);
  --card-chip-color: #bbf7d0;
  --btn-primary-bg: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  --btn-primary-color: #051408;
  --btn-primary-glow: rgba(74, 222, 128, 0.35);
  --btn-primary-glow-hover: rgba(74, 222, 128, 0.55);
}

.app-card[data-theme="amber"] {
  --card-accent: #fbbf24;
  --card-accent-bg: rgba(251, 191, 36, 0.12);
  --card-accent-border: rgba(251, 191, 36, 0.32);
  --card-glow: rgba(251, 191, 36, 0.22);
  --card-chip-bg: rgba(251, 191, 36, 0.08);
  --card-chip-border: rgba(251, 191, 36, 0.20);
  --card-chip-color: #fef08a;
  --btn-primary-bg: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --btn-primary-color: #171004;
  --btn-primary-glow: rgba(251, 191, 36, 0.35);
  --btn-primary-glow-hover: rgba(251, 191, 36, 0.55);
}

.app-card[data-theme="cyan"] {
  --card-accent: #38bdf8;
  --card-accent-bg: rgba(56, 189, 248, 0.12);
  --card-accent-border: rgba(56, 189, 248, 0.32);
  --card-glow: rgba(56, 189, 248, 0.22);
  --card-chip-bg: rgba(56, 189, 248, 0.08);
  --card-chip-border: rgba(56, 189, 248, 0.20);
  --card-chip-color: #bae6fd;
  --btn-primary-bg: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  --btn-primary-color: #03141f;
  --btn-primary-glow: rgba(56, 189, 248, 0.35);
  --btn-primary-glow-hover: rgba(56, 189, 248, 0.55);
}

.app-card[data-theme="indigo"] {
  --card-accent: #818cf8;
  --card-accent-bg: rgba(129, 140, 248, 0.12);
  --card-accent-border: rgba(129, 140, 248, 0.32);
  --card-glow: rgba(129, 140, 248, 0.25);
  --card-chip-bg: rgba(129, 140, 248, 0.08);
  --card-chip-border: rgba(129, 140, 248, 0.20);
  --card-chip-color: #c7d2fe;
  --btn-primary-bg: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  --btn-primary-color: #ffffff;
  --btn-primary-glow: rgba(99, 102, 241, 0.4);
  --btn-primary-glow-hover: rgba(99, 102, 241, 0.6);
}

/* Subtle corner halo behind the card */
.app-card-glow {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-glow, rgba(74, 222, 128, 0.18)) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0.65;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 0;
}

.app-card:hover .app-card-glow {
  opacity: 0.95;
  transform: scale(1.15);
}

.app-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 16px;
}

.app-brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.app-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-title-group h3 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-version-badge {
  font-size: 0.72rem;
  color: var(--card-accent, #4ade80);
  background: var(--card-accent-bg, rgba(74, 222, 128, 0.12));
  border: 1px solid var(--card-accent-border, rgba(74, 222, 128, 0.3));
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}

.app-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.app-tag-pill {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--card-accent, #4ade80);
  background: var(--card-accent-bg, rgba(74, 222, 128, 0.12));
  border: 1px solid var(--card-accent-border, rgba(74, 222, 128, 0.28));
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.app-desc {
  font-size: 0.96rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.app-feature-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

.app-feature-chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--card-chip-color, #cbd5e1);
  background: var(--card-chip-bg, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--card-chip-border, rgba(255, 255, 255, 0.08));
  padding: 4px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.app-card:hover .app-feature-chip {
  background: var(--card-accent-bg, rgba(255, 255, 255, 0.08));
  border-color: var(--card-accent-border, rgba(255, 255, 255, 0.16));
  color: #fff;
}

.app-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.btn-card-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--btn-primary-bg, linear-gradient(135deg, #4ade80 0%, #22c55e 100%));
  color: var(--btn-primary-color, #051408);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 18px var(--btn-primary-glow, rgba(74, 222, 128, 0.3));
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-card-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--btn-primary-glow-hover, rgba(74, 222, 128, 0.45));
}

.btn-card-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111722;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.btn-card-store:hover {
  transform: translateY(-2px);
  border-color: var(--card-accent, var(--accent-green));
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Banner Frame */
.app-banner-wrap {
  width: 100%;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.app-banner-frame {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6);
  background: #000;
}

.app-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.app-card:hover .app-banner-img {
  transform: scale(1.02);
}

/* Screenshot Carousel Strip */
.screenshots-strip-wrap {
  position: relative;
  z-index: 1;
  margin-top: 10px;
}

.screenshots-strip-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.screenshots-scroll-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshots-scroll-track::-webkit-scrollbar {
  height: 6px;
}

.screenshots-scroll-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.screenshots-scroll-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 10px;
}

.screenshot-thumb-frame {
  flex: 0 0 auto;
  width: 155px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  scroll-snap-align: start;
}

.screenshot-thumb-frame:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--card-accent, rgba(74, 222, 128, 0.5));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
}

.screenshot-thumb-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Philosophy / Principles Grid
   ========================================================================== */
.philosophy-section {
  padding: 50px 0 80px;
  position: relative;
}

.philosophy-section::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.07) 0%, rgba(192, 132, 252, 0.04) 50%, transparent 75%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}

.philosophy-card {
  position: relative;
  background: linear-gradient(160deg, #101520 0%, #090c13 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-smooth);
}

.philosophy-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
}

.philosophy-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.philosophy-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
  letter-spacing: -0.015em;
}

.philosophy-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #05070a;
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-col {
  max-width: 380px;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-nav-col {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-group-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 4px;
}

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

.footer-links-group a:hover {
  color: var(--accent-green-bright);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0 40px;
  }

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

  .nav-links {
    display: none;
  }

  .app-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .app-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .app-title-group h3 {
    font-size: 1.35rem;
  }

  .screenshot-thumb-frame {
    width: 130px;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   ORIGIN STORY TEASER (HOMEPAGE APP CARD)
   ========================================================================== */
.origin-story-teaser {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.origin-story-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-md, 12px);
  background: rgba(74, 222, 128, 0.06);
  border: 1px dashed rgba(74, 222, 128, 0.3);
  color: var(--text-primary, #fff);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.origin-story-link:hover {
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.5);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.15);
  transform: translateX(3px);
}

.origin-sparkle {
  color: #fbbf24;
  font-size: 1rem;
}

.origin-tag-text {
  flex: 1;
  color: #cbd5e1;
}

.origin-tag-text strong {
  color: #fff;
}

.origin-arrow-icon {
  color: var(--accent-green-bright, #4ade80);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.origin-story-link:hover .origin-arrow-icon {
  transform: translateX(3px);
}

/* Responsive Navbar Helpers */
.topbar-cta-text-full {
  display: inline;
}

.topbar-cta-text-short {
  display: none;
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 0;
  }

  .nav-container {
    padding: 0 16px;
    gap: 10px;
  }

  .topbar-cta-text-full {
    display: none;
  }

  .topbar-cta-text-short {
    display: inline;
  }

  .btn-topbar-cta {
    padding: 7px 12px;
    font-size: 0.82rem;
    flex-shrink: 0;
  }
}

@media (max-width: 400px) {
  .brand-badge {
    display: none;
  }

  .nav-logo-box {
    width: 34px;
    height: 34px;
  }

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

  .btn-topbar-cta {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
}
