/* ==========================================================================
   Ayana Studios - Modern Responsive Stylesheet
   Single Page Website for Ayana Studios & ABC Kids Learning
   ========================================================================== */

:root {
  /* Brand & Core Palette */
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-light: #EEF2FF;
  --primary-border: #C7D2FE;
  
  --secondary: #EC4899;
  --secondary-light: #FDF2F8;
  
  --accent-amber: #F59E0B;
  --accent-amber-light: #FFFBEB;
  
  --accent-emerald: #10B981;
  --accent-emerald-light: #ECFDF5;
  
  --accent-sky: #0EA5E9;
  --accent-sky-light: #F0F9FF;

  --accent-purple: #8B5CF6;
  --accent-purple-light: #F5F3FF;

  /* Surfaces & Backgrounds */
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-navbar: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.6);
  
  /* Borders */
  --border-color: #E2E8F0;
  --border-subtle: #EDF2F7;
  
  /* Typography */
  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 20px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.1), 0 8px 12px -4px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 10px 30px -5px rgba(79, 70, 229, 0.25);
  --shadow-glow-amber: 0 10px 30px -5px rgba(245, 158, 11, 0.3);

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

  /* Transitions */
  --trans-speed: 0.25s;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --primary: #6366F1;
  --primary-hover: #818CF8;
  --primary-light: rgba(99, 102, 241, 0.16);
  --primary-border: rgba(99, 102, 241, 0.35);

  --secondary: #F472B6;
  --secondary-light: rgba(244, 114, 182, 0.15);

  --accent-amber: #FBBF24;
  --accent-amber-light: rgba(251, 191, 36, 0.15);

  --accent-emerald: #34D399;
  --accent-emerald-light: rgba(52, 211, 153, 0.15);

  --accent-sky: #38BDF8;
  --accent-sky-light: rgba(56, 189, 248, 0.15);

  --accent-purple: #A78BFA;
  --accent-purple-light: rgba(167, 139, 250, 0.15);

  --bg-page: #0B0F19;
  --bg-card: #151D2F;
  --bg-card-hover: #1E293B;
  --bg-subtle: #1E283E;
  --bg-navbar: rgba(15, 23, 42, 0.88);
  --glass-border: rgba(255, 255, 255, 0.08);

  --border-color: #26334D;
  --border-subtle: #1C263A;

  --text-main: #F8FAFC;
  --text-body: #CBD5E1;
  --text-muted: #94A3B8;
  --text-light: #64748B;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 10px 30px -5px rgba(99, 102, 241, 0.35);
  --shadow-glow-amber: 0 10px 30px -5px rgba(251, 191, 36, 0.35);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  transition: background-color var(--trans-speed) ease, color var(--trans-speed) ease;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-navbar);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--trans-speed) ease, border-color var(--trans-speed) ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s var(--ease-spring);
}

.brand:hover .brand-logo {
  transform: scale(1.08) rotate(-2deg);
}

.brand-text h1 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-main) 60%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text p {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s var(--ease-smooth);
  border-radius: var(--radius-pill);
}

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

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

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

/* Theme Toggle Button */
.btn-icon {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  color: var(--primary);
  border-color: var(--primary-border);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.theme-icon-sun {
  display: none;
}
.theme-icon-moon {
  display: block;
}

[data-theme="dark"] .theme-icon-sun {
  display: block;
}
[data-theme="dark"] .theme-icon-moon {
  display: none;
}

/* Mobile Hamburger & Backdrop */
.hamburger {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1002;
  box-shadow: var(--shadow-xs);
}

.hamburger:hover {
  border-color: var(--primary-border);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: currentColor;
  border-radius: var(--radius-pill);
  transition: transform 0.28s var(--ease-spring), opacity 0.2s ease;
  transform-origin: center;
}

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

.hamburger.open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.nav-menu-cta {
  display: none;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease-spring);
  cursor: pointer;
  border: none;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #3B82F6 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(79, 70, 229, 0.4);
  color: #FFFFFF;
}

.btn-playstore {
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
  padding: 0.7rem 1.4rem;
}

[data-theme="dark"] .btn-playstore {
  background: #1E293B;
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-playstore:hover {
  background: #1E293B;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: #FFFFFF;
}

.btn-playstore .btn-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.btn-playstore .btn-sub {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.btn-playstore .btn-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

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

.btn-secondary:hover {
  border-color: var(--primary-border);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--bg-subtle);
  color: var(--text-body);
  border: 1px solid var(--border-color);
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

.badge-amber {
  background: var(--accent-amber-light);
  color: var(--accent-amber);
  border-color: rgba(245, 158, 11, 0.3);
}

.badge-emerald {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 4.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  transition: opacity var(--trans-speed) ease;
}

[data-theme="dark"] .blob {
  opacity: 0.2;
}

.blob-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #6366F1, #8B5CF6);
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #F59E0B, #EC4899);
  bottom: -50px;
  left: -100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 1.4rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #4F46E5 0%, #EC4899 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Visual & Landscape Tablet Mockup */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.mockup-card-main {
  position: relative;
  max-width: 540px;
  width: 100%;
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease-spring);
  animation: floatMockup 6s ease-in-out infinite;
}

@keyframes floatMockup {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.5deg);
  }
}

.mockup-card-main:hover {
  transform: translateY(-8px) scale(1.02);
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.25));
}

/* Floating interactive chips on hero */
.hero-chips-wrap {
  display: contents;
}

.floating-chip {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 2;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: floatPill 5s ease-in-out infinite alternate;
}

.floating-chip-1 {
  top: -5%;
  left: -5%;
  animation-delay: 0.2s;
}

.floating-chip-2 {
  bottom: -5%;
  right: -5%;
  animation-delay: 1s;
}

@keyframes floatPill {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-10px);
  }
}

.chip-icon {
  font-size: 1.35rem;
}

.chip-text h4 {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
}

.chip-text p {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Interactive Learning Bar / Phonics Playground
   ========================================================================== */
.playground-section {
  padding: 2.5rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.playground-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.playground-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.playground-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sound-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.sound-btn {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  color: var(--text-main);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-xs);
}

.sound-btn:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.sound-btn:active {
  transform: scale(0.96);
}

.sound-btn .letter-badge {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
}

.bg-red { background: #EF4444; }
.bg-blue { background: #3B82F6; }
.bg-green { background: #10B981; }
.bg-yellow { background: #F59E0B; }
.bg-purple { background: #8B5CF6; }
.bg-pink { background: #EC4899; }

/* ==========================================================================
   About Studio & Vision Section
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header .section-tag {
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.quote-banner {
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(245, 158, 11, 0.08) 100%);
  border-left: 5px solid var(--primary);
  padding: 1.75rem 2rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.quote-banner blockquote {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.5;
  font-style: normal;
}

.quote-banner cite {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: normal;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* 4 Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s var(--ease-spring);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.pillar-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s var(--ease-spring);
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.15) rotate(5deg);
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

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

/* ==========================================================================
   Flagship App Showcase Section
   ========================================================================== */
.app-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
}

.app-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
}

.app-identity {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.app-big-logo {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.app-title-group h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.app-package-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

.feature-item:hover {
  background: var(--bg-card);
  border-color: var(--border-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.feature-item h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

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

/* App Mockups Carousel / Gallery */
.gallery-section {
  margin-top: 3.5rem;
}

.gallery-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.gallery-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  font-family: inherit;
}

.gallery-tab-btn:hover {
  color: var(--primary);
  border-color: var(--primary-border);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.gallery-tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

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

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

.gallery-img-wrap {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, var(--bg-subtle) 0%, var(--bg-card) 100%);
  padding: 1.25rem 1.25rem 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s var(--ease-spring);
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.02);
}

.gallery-caption {
  padding: 1.25rem 1.75rem 1.5rem;
  text-align: left;
}

.gallery-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.gallery-caption h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.gallery-caption p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Trust, Safety & Principles Section
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.trust-badge-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.trust-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

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

/* ==========================================================================
   Roadmap & Future Vision
   ========================================================================== */
.roadmap-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-subtle) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.roadmap-content h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.roadmap-content p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.roadmap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.roadmap-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.roadmap-list li span.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
}

.roadmap-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.pipeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
}

.pipeline-item .pipeline-name {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Contact & Studio Info Section
   ========================================================================== */
.contact-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.contact-info h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.contact-info p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.96rem;
}

.contact-row strong {
  color: var(--text-main);
  min-width: 90px;
}

.email-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.email-copy-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.contact-card-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.contact-card-box .qr-avatar {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.contact-card-box h4 {
  font-size: 1.25rem;
  font-weight: 800;
}

.contact-card-box p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  line-height: 1.6;
}

.footer-nav-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

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

.footer-nav-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease-spring);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-4px);
}

/* Toast Message */
.toast {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: #0F172A;
  color: #FFFFFF;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s var(--ease-spring);
  z-index: 2000;
  pointer-events: none;
}

[data-theme="dark"] .toast {
  background: #F8FAFC;
  color: #0F172A;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablets & Small Desktops (<= 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-badges, .hero-actions, .hero-stats {
    justify-content: center;
  }

  .hero-subtitle {
    margin: 0 auto 2rem;
  }

  .floating-chip-1 {
    left: 2%;
  }

  .floating-chip-2 {
    right: 2%;
  }

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

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

  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }

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

  .roadmap-box, .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 2.25rem;
    gap: 2rem;
  }
}

/* Tablets Portrait & Medium Screens (<= 768px) */
@media (max-width: 768px) {
  .navbar {
    height: 64px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-text h1 {
    font-size: 1.08rem;
  }

  .brand-text p {
    font-size: 0.72rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.25rem 1.25rem 1.75rem;
    gap: 0.35rem;
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.25);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-spring), opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover, .nav-link:active, .nav-link.active {
    background: var(--bg-subtle);
    color: var(--primary);
    transform: translateX(4px);
  }

  .nav-menu-cta {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
  }

  .nav-menu-cta .btn-playstore {
    width: 100%;
    justify-content: center;
  }

  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  .hero-title {
    font-size: clamp(2.1rem, 6vw, 2.75rem);
  }

  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.1rem);
  }

  .app-hero-card {
    padding: 2rem 1.5rem;
  }

  .contact-wrapper {
    padding: 2rem 1.5rem;
  }
}

/* Standard Mobile Devices (<= 640px) */
@media (max-width: 640px) {
  /* Hide the navbar Google Play CTA on mobile to give brand & menu room */
  .nav-header-cta {
    display: none !important;
  }

  /* Hero Section Mobile */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 0.85rem;
  }

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

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
    text-align: center;
    padding-top: 1.25rem;
  }

  .stat-val {
    font-size: 1.15rem;
  }

  .stat-lbl {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  /* Hero Mockup & Chips on Mobile */
  .hero-mockup-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
  }

  .mockup-card-main {
    max-width: 100%;
    animation: none;
  }

  .hero-chips-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    max-width: 360px;
    margin-top: 1.15rem;
    align-items: stretch;
  }

  .floating-chip {
    position: static;
    animation: none;
    width: 100%;
    max-width: 100%;
    box-shadow: var(--shadow-xs);
    padding: 0.65rem 0.95rem;
    justify-content: flex-start;
  }

  .floating-chip-1, .floating-chip-2 {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }

  /* Interactive Soundboard */
  .sound-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    width: 100%;
  }

  .sound-btn {
    width: 100%;
    padding: 0.65rem 0.75rem;
    font-size: 0.88rem;
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .sound-btn .letter-badge {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }

  /* About & Pillars */
  .quote-banner {
    padding: 1.25rem 1.15rem;
    margin: 1.5rem 0;
  }

  .quote-banner blockquote {
    font-size: 1.08rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pillar-card {
    padding: 1.5rem 1.15rem;
  }

  /* Flagship App Card */
  .app-hero-card {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg);
  }

  .app-meta-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.25rem;
  }

  .app-identity {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

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

  .app-meta-header .btn-playstore {
    width: 100%;
    justify-content: center;
  }

  /* Features Grid */
  .features-grid {
    gap: 0.85rem;
    margin-bottom: 2.5rem;
  }

  .feature-item {
    padding: 1.15rem;
    gap: 0.85rem;
    border-radius: var(--radius-md);
  }

  .feature-icon-wrapper {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 1.25rem;
  }

  .feature-item h4 {
    font-size: 1rem;
  }

  .feature-item p {
    font-size: 0.85rem;
  }

  /* Gallery Tabs - Swipeable Ribbon on Mobile */
  .gallery-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.25rem 0.25rem 0.75rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }

  .gallery-tabs::-webkit-scrollbar {
    display: none;
  }

  .gallery-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 0.45rem 0.95rem;
  }

  .gallery-img-wrap {
    padding: 0.75rem 0.75rem 0;
  }

  .gallery-caption {
    padding: 1rem 1.15rem 1.25rem;
  }

  .gallery-caption h4 {
    font-size: 1.1rem;
  }

  .gallery-caption p {
    font-size: 0.85rem;
  }

  /* Trust & Safety */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-card {
    padding: 1.5rem 1.15rem;
  }

  /* Roadmap Section */
  .roadmap-box {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg);
    gap: 1.5rem;
  }

  .roadmap-content h3 {
    font-size: 1.45rem;
  }

  .roadmap-visual {
    padding: 1.25rem 1rem;
    gap: 0.75rem;
  }

  .pipeline-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0.9rem;
  }

  .pipeline-item .badge {
    align-self: flex-start;
  }

  /* Contact Section - Eliminate Horizontal Overflow */
  .contact-wrapper {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg);
    gap: 2rem;
  }

  .contact-info h3 {
    font-size: 1.5rem;
  }

  .contact-details-list {
    gap: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    width: 100%;
  }

  .contact-row strong {
    min-width: unset;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
  }

  .email-copy-btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 0.6rem 0.85rem;
    font-size: 0.82rem;
    word-break: break-all;
  }

  .contact-card-box {
    padding: 1.75rem 1.15rem;
  }

  /* Footer Mobile */
  .footer {
    padding: 2.5rem 0 1.5rem;
    margin-top: 2.5rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 1.75rem;
    padding-bottom: 2rem;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding-top: 1.5rem;
  }

  /* Floating UI Elements */
  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
  }

  .toast {
    width: calc(100% - 2rem);
    max-width: 360px;
    font-size: 0.85rem;
    padding: 0.75rem 1.1rem;
    bottom: 1.25rem;
  }
}

/* Small Smartphone Displays (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

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

  .hero-title {
    font-size: 1.95rem;
    line-height: 1.18;
  }

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

  .stat-val {
    font-size: 1.05rem;
  }

  .stat-lbl {
    font-size: 0.68rem;
  }

  .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }
}

/* Ultra Compact / Fold Displays (<= 360px) */
@media (max-width: 360px) {
  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand-text h1 {
    font-size: 0.95rem;
  }

  .brand-text p {
    font-size: 0.65rem;
  }

  .sound-btn {
    font-size: 0.8rem;
    padding: 0.55rem 0.6rem;
  }

  .sound-btn .letter-badge {
    width: 24px;
    height: 24px;
    font-size: 0.85rem;
  }

  .btn {
    padding: 0.65rem 1.1rem;
    font-size: 0.88rem;
  }

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

  .stat-val {
    font-size: 0.95rem;
  }
}
