/* ==========================================================================
   ARTOVA STUDIOS - MAIN STYLESHEET
   Material Design 3 + Cyberpunk Glow Aesthetics
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --bg-primary: #08090f;
  --bg-secondary: #0e111a;
  --bg-card: rgba(18, 22, 34, 0.7);
  --bg-card-hover: rgba(28, 33, 50, 0.85);
  --bg-glass: rgba(14, 18, 28, 0.65);
  
  --primary-neon: #a855f7;
  --primary-gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #3b82f6 100%);
  --cyan-neon: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.35);
  --pink-neon: #f43f5e;
  --pink-glow: rgba(244, 63, 94, 0.35);
  --purple-glow: rgba(168, 85, 247, 0.35);
  --amber-neon: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.35);
  
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #c084fc;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(168, 85, 247, 0.3);
  --border-cyan: rgba(6, 182, 212, 0.3);

  /* Material 3 Radii & Shadows */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
  --shadow-neon: 0 0 25px rgba(168, 85, 247, 0.45);
  --shadow-cyan-neon: 0 0 25px rgba(6, 182, 212, 0.45);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #252b3e;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-neon);
}

/* Global Typography & Headings */
h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #d8b4fe 40%, #818cf8 80%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #c084fc 0%, #e879f9 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #2dd4bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Background Animated Canvas / Gradients */
.background-grid {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 70%, rgba(244, 63, 94, 0.1) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(8, 9, 15, 0.8), var(--bg-primary));
  z-index: -2;
  pointer-events: none;
}

.grid-lines {
  position: fixed;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
}

.floating-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  pointer-events: none;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #a855f7, #6366f1);
  top: 5%;
  left: 20%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #06b6d4, #3b82f6);
  top: 40%;
  right: 10%;
  animation-delay: -5s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ec4899, #8b5cf6);
  bottom: 10%;
  left: 15%;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, 60px) scale(1.1);
  }
  100% {
    transform: translate(-30px, -40px) scale(0.95);
  }
}

/* ==========================================================================
   INTERACTIVE CURSOR NEON SPOTLIGHT & AMBIENT GLOW (ULTRA-LIGHT & SUBTLE)
   ========================================================================== */
.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.045) 0%,
    rgba(6, 182, 212, 0.025) 45%,
    rgba(236, 72, 153, 0.01) 70%,
    transparent 85%
  );
  filter: blur(100px);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.cursor-spotlight.active {
  opacity: 0.65;
}

/* Interactive Card Surface & Border Illumination */
.app-card, .feature-card, .faq-card, .stat-card, .panel-card, .login-card, .sketch-card, .hero-mockup-card, .sandbox-card {
  position: relative;
  overflow: hidden;
}

.app-card::before, .feature-card::before, .faq-card::before, .stat-card::before, .panel-card::before, .login-card::before, .sketch-card::before, .hero-mockup-card::before, .sandbox-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(168, 85, 247, 0.035),
    rgba(6, 182, 212, 0.015) 40%,
    transparent 70%
  );
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.app-card:hover::before, .feature-card:hover::before, .faq-card:hover::before, .stat-card:hover::before, .panel-card:hover::before, .login-card:hover::before, .sketch-card:hover::before, .hero-mockup-card:hover::before, .sandbox-card:hover::before {
  opacity: 0.75;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Material Design 3 Badge & Pills */
.m3-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d8b4fe;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.15);
}

.m3-badge.cyan {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.35);
  color: #67e8f9;
  box-shadow: 0 2px 10px rgba(6, 182, 212, 0.15);
}

.m3-badge.gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.15);
}

.m3-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  z-index: 1000;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  background: rgba(8, 9, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: 68px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  transition: var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.logo-monogram {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #a855f7, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  color: #fff;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 2px;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-icon-nav {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   BUTTONS (Material 3 + Neon)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #9333ea 0%, #c026d3 50%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.6);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-playstore {
  background: #0f131f;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  padding: 10px 22px;
}

.btn-playstore:hover {
  background: #181f33;
  border-color: var(--primary-neon);
  box-shadow: 0 6px 25px rgba(168, 85, 247, 0.35);
  transform: translateY(-2px);
}

.btn-playstore svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-playstore .btn-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.btn-playstore .btn-subtitle {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.btn-playstore .btn-title {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

/* Shine overlay effect */
.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  transition: all 0.75s ease;
  pointer-events: none;
}

.btn-shine:hover::after {
  left: 120%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 150px 0 90px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 520px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Artwork Card */
.hero-art-wrapper {
  position: relative;
  perspective: 1000px;
}

.hero-art-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-card);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(168, 85, 247, 0.25);
  transition: transform var(--transition-spring), box-shadow var(--transition-normal);
  transform-style: preserve-3d;
}

.hero-art-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-3deg);
  box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.8), 0 0 45px rgba(168, 85, 247, 0.45);
  border-color: rgba(168, 85, 247, 0.4);
}

.hero-art-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.hero-art-card:hover .hero-art-img {
  transform: scale(1.02);
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(14, 17, 26, 0.85);
  backdrop-filter: blur(12px);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  font-size: 0.875rem;
  font-weight: 600;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FEATURED APPS SHOWCASE
   ========================================================================== */
.app-feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 48px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.app-feature-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(168, 85, 247, 0.2);
}

.app-feature-card.cyan-theme:hover {
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(6, 182, 212, 0.2);
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.app-grid.reversed {
  grid-template-columns: 1fr 1fr;
}

.app-header-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.app-info-title {
  font-size: 2.3rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.app-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Feature Checklist / Pillars */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.feature-pill {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.feature-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.feature-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.feature-pill.cyan .feature-icon-box {
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
}

.feature-content h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #fff;
}

.feature-content p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Interactive Interactive Phone Frame */
.mockup-preview-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 300px;
  height: 610px;
  background: #090a12;
  border-radius: 44px;
  border: 4px solid #232738;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(168, 85, 247, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-spring);
}

.phone-mockup.cyan {
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(6, 182, 212, 0.3);
}

.phone-mockup:hover {
  transform: scale(1.02) translateY(-4px);
}

/* Phone Notch & Status Bar */
.phone-notch {
  width: 100px;
  height: 20px;
  background: #232738;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 20;
}

.phone-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0c0e18;
  position: relative;
  overflow: hidden;
  padding: 24px 14px 14px;
}

/* AR DRAW INTERACTIVE SCREEN */
.ar-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 4px 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ar-canvas-stage {
  flex: 1;
  position: relative;
  border-radius: var(--radius-sm);
  background: #141724;
  overflow: hidden;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ar-grid-overlay {
  position: absolute;
  inset: 0;
  background-size: 20px 20px;
  background-image: 
    linear-gradient(to right, rgba(0, 240, 255, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.2) 1px, transparent 1px);
  display: none;
  pointer-events: none;
}

.ar-grid-overlay.active {
  display: block;
}

.ar-sketch-img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  transition: opacity 0.1s, transform 0.3s;
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.ar-controls-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(20, 24, 38, 0.95);
  border-radius: var(--radius-md);
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}

.slider-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.slider-group input[type="range"] {
  flex: 1;
  accent-color: var(--primary-neon);
  height: 4px;
}

.ar-toggle-buttons {
  display: flex;
  justify-content: space-around;
  gap: 6px;
}

.ar-icon-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 6px 10px;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: var(--transition-fast);
}

.ar-icon-btn.active, .ar-icon-btn:hover {
  background: var(--primary-neon);
  color: #fff;
}

/* GTA COMPANION INTERACTIVE SCREEN */
.gta-screen {
  background: #090b14;
}

.gta-header {
  padding: 6px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gta-logo-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: #f43f5e;
}

.gta-tabs {
  display: flex;
  gap: 4px;
  background: #151928;
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.gta-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition-fast);
}

.gta-tab-btn.active {
  background: #f43f5e;
  color: #fff;
}

.gta-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  max-height: 400px;
}

.gta-item-row {
  background: #121524;
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8125rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.gta-item-row:hover {
  border-color: #f43f5e;
  background: #1a1e33;
}

.gta-item-row.checked {
  opacity: 0.55;
  text-decoration: line-through;
}

.gta-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gta-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid #f43f5e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: transparent;
}

.gta-item-row.checked .gta-checkbox {
  background: #f43f5e;
  color: #fff;
}

.gta-badge-tag {
  font-size: 0.6875rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(244, 63, 94, 0.15);
  color: #fda4af;
  font-weight: 600;
}

/* ==========================================================================
   BENTO GRID - STUDIO PILLARS
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 32px;
  backdrop-filter: blur(14px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.bento-card.cyan .bento-icon-wrapper {
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
}

.bento-card.amber .bento-icon-wrapper {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.bento-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.bento-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE LIVE AR DRAW SANDBOX
   ========================================================================== */
.sandbox-wrapper {
  background: linear-gradient(135deg, rgba(20, 24, 38, 0.85) 0%, rgba(10, 12, 20, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(168, 85, 247, 0.15);
}

.sandbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.stencil-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stencil-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  background: #1a2035;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all var(--transition-fast);
}

.stencil-thumb.active, .stencil-thumb:hover {
  border-color: var(--primary-neon);
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.sandbox-stage-area {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: center;
}

.canvas-paper-frame {
  height: 380px;
  background: #f1f5f9;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.1), 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: 
    radial-gradient(#cbd5e1 1px, transparent 1px),
    radial-gradient(#cbd5e1 1px, #f8fafc 1px);
  background-size: 24px 24px;
}

.paper-shadow-hand {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 5rem;
  opacity: 0.15;
  pointer-events: none;
  transform: rotate(-15deg);
}

.projected-drawing {
  max-width: 65%;
  max-height: 65%;
  transition: opacity 0.1s, transform 0.2s;
  pointer-events: none;
  filter: contrast(1.2);
}

.sandbox-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
}

.control-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ==========================================================================
   COMING SOON / INCUBATOR
   ========================================================================== */
.coming-soon-banner {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px dashed rgba(168, 85, 247, 0.4);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.coming-soon-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-gradient);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-card.open {
  border-color: rgba(168, 85, 247, 0.4);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  user-select: none;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-neon);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-card.open .faq-answer {
  max-height: 250px;
  padding-bottom: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #05060a;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-neon);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   ANIMATIONS & REVEAL UTILITIES
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description {
    max-width: 600px;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-art-wrapper {
    max-width: 650px;
    margin: 0 auto;
  }

  .app-grid, .app-grid.reversed {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card.span-2 {
    grid-column: span 2;
  }

  .sandbox-stage-area {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }

  .btn-icon-nav {
    display: block;
  }

  .hero-section {
    padding: 120px 0 60px;
  }

  .app-feature-card {
    padding: 28px 20px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.span-2 {
    grid-column: span 1;
  }

  .sandbox-wrapper {
    padding: 24px 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 15, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.25rem;
  font-weight: 700;
}

.mobile-nav-link {
  color: #fff;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--primary-neon);
}

/* ==========================================================================
   LIVE FIRESTORE STENCILS & CATEGORIES SHOWCASE
   ========================================================================== */
.category-pills-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px 18px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.category-pills-bar::-webkit-scrollbar {
  display: none;
}

.category-pill {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.category-pill:hover {
  color: var(--text-main);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.category-pill.active {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.category-pill-count {
  background: rgba(0, 0, 0, 0.25);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.public-stencils-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.public-stencil-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.public-stencil-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.public-stencil-thumb-wrap {
  position: relative;
  height: 200px;
  background: #06080f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.public-stencil-thumb-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.public-stencil-card:hover .public-stencil-thumb-wrap img {
  transform: scale(1.08);
}

.public-stencil-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.public-stencil-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-stencil-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
}

.btn-try-ar {
  width: 100%;
  padding: 10px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  color: var(--text-accent);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-try-ar:hover {
  background: var(--primary-neon);
  color: #fff;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.5);
}

.stencils-loading, .stencils-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: var(--text-secondary);
  font-size: 15px;
}

