/* --------------------------------------------------
   RED SLIME STUDIO - STYLING GUIDE & BRAND IDENTITY
   -------------------------------------------------- */

:root {
  /* Slime Brand Palette */
  --slime-base: #C84249;
  --slime-shadow: #971B24;
  --slime-highlight: #E78990;
  --slime-side: #F3B2BA;
  --slime-sparkle: #FFDCE0;
  --slime-outline: #0F0B0C;

  /* Theme Colors */
  --bg-dark: #080809;
  --bg-card: rgba(15, 11, 12, 0.55);
  --border-glass: rgba(231, 137, 144, 0.12);
  --border-glass-hover: rgba(231, 137, 144, 0.35);
  --text-white: #FFFFFF;
  --text-gray: #9E9EA4;
  --text-muted: #626268;

  /* Fonts */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows & Glows */
  --slime-glow: 0 0 25px rgba(200, 66, 73, 0.45);
  --slime-glow-strong: 0 0 40px rgba(200, 66, 73, 0.7);
  --card-shadow: 0 12px 40px -10px rgba(15, 11, 12, 0.8);
}

/* Reset & Global Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(200, 66, 73, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(151, 27, 36, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #191617;
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--slime-base);
}

/* Typography elements */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  color: var(--text-gray);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Layout Utilities */
.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(200, 66, 73, 0.1);
  border: 1px solid rgba(231, 137, 144, 0.2);
  color: var(--slime-highlight);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  font-family: var(--font-title);
}

.text-muted {
  color: var(--text-gray);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--slime-base);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(200, 66, 73, 0.3);
}

.btn-primary:hover {
  background: var(--slime-highlight);
  transform: translateY(-2px);
  box-shadow: var(--slime-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--slime-highlight);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(8, 8, 9, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: padding 0.3s ease, background-color 0.3s ease;
  padding: 20px 0;
}

.navbar.shrink {
  padding: 12px 0;
  background: rgba(8, 8, 9, 0.9);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-white);
}

.nav-logo {
  height: 38px;
  width: auto;
  transition: transform 0.4s ease;
}

.nav-brand:hover .nav-logo {
  transform: rotate(-10deg) scale(1.1);
}

.accent-text {
  color: var(--slime-base);
  text-shadow: 0 0 15px rgba(200, 66, 73, 0.2);
}

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

.nav-item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-gray);
}

.nav-item:hover {
  color: var(--slime-highlight);
}

.nav-btn {
  background: var(--slime-base);
  color: var(--text-white);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: var(--font-title);
  font-weight: 600;
}

.nav-btn:hover {
  background: var(--slime-highlight);
  box-shadow: 0 0 15px rgba(200, 66, 73, 0.4);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  position: relative;
  transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--text-white);
  position: absolute;
  left: 0;
  transition: transform 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-background-glow {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 66, 73, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--slime-highlight) 0%, var(--slime-base) 50%, var(--slime-shadow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0px 4px 10px rgba(200, 66, 73, 0.15));
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mascot-glow-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 66, 73, 0.18) 0%, rgba(151, 27, 36, 0.05) 50%, transparent 75%);
  filter: blur(10px);
}

.mascot-container {
  position: relative;
  z-index: 2;
}

.hero-mascot {
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(15, 11, 12, 0.8));
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

/* Features/Vision Section */
.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-header {
  max-width: 700px;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  margin-bottom: 1.2rem;
}

.section-subtitle {
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Glassmorphism Cards */
.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 40px 30px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(200, 66, 73, 0.15), var(--card-shadow);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(231, 137, 144, 0.05) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover .card-glow {
  opacity: 1;
}

.card-icon {
  width: 54px;
  height: 54px;
  background: rgba(200, 66, 73, 0.12);
  border: 1px solid rgba(231, 137, 144, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slime-highlight);
  margin-bottom: 24px;
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--slime-base);
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(200, 66, 73, 0.3);
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.95rem;
}

/* Project Spotlight Section */
.spotlight-section {
  background: radial-gradient(100% 100% at 0% 0%, rgba(200, 66, 73, 0.03) 0%, transparent 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 120px 24px;
}

.spotlight-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.spotlight-bullets {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spotlight-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--text-gray);
}

.bullet-icon {
  color: var(--slime-highlight);
  font-weight: bold;
}

.spotlight-visual {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

/* High Fidelity CSS Smartphone Mockup */
.smartphone-frame {
  width: 310px;
  height: 620px;
  background: #1c1a1b;
  border: 12px solid #2d2a2b;
  border-radius: 40px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.9),
    0 0 0 2px rgba(255, 255, 255, 0.05),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  position: relative;
  transform: rotateY(-10deg) rotateX(10deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.smartphone-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.smartphone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 20px;
  background: #2d2a2b;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.smartphone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

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

.smartphone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  z-index: 10;
}

/* Collaboration / Co-Lab Section */
.collab-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px;
}

.collab-container {
  display: flex;
  flex-direction: column;
}

.collab-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.collab-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Revenue share Estimator widget */
.calculator-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-desc {
  margin-top: -12px;
  font-size: 0.95rem;
}

.estimator-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.percentage-circle {
  width: 180px;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.percentage-circle svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 6;
}

.circle-progress {
  fill: none;
  stroke: var(--slime-base);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 251.2; /* 2 * PI * r (r=40) => 251.2 */
  stroke-dashoffset: 213.5; /* Initial 15% split: 251.2 * (1 - 0.15) = 213.52 */
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.6s ease;
  filter: drop-shadow(0 0 6px var(--slime-base));
}

.percentage-text {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 800;
  text-align: center;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pct-label {
  font-size: 0.8rem;
  color: var(--text-gray);
  font-family: var(--font-body);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-range-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-label {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
}

.neon-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.neon-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--slime-base);
  cursor: pointer;
  border: 4px solid var(--bg-dark);
  box-shadow: 0 0 12px var(--slime-base);
  transition: transform 0.1s, background-color 0.2s;
}

.neon-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--slime-highlight);
}

.slider-steps {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
}

.step-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
  transition: color 0.3s;
}

.step-label.active {
  color: var(--slime-highlight);
}

.estimate-details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
}

.details-title {
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.details-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Pitch Form Design */
.form-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.collab-graphic-img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

.pitch-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-white);
  outline: none;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--slime-base);
  background: rgba(250, 50, 60, 0.01);
  box-shadow: 0 0 10px rgba(200, 66, 73, 0.15);
}

.form-group label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
  pointer-events: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group textarea ~ label {
  top: 24px;
  transform: none;
}

/* Float labels on input interaction */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -8px;
  left: 10px;
  font-size: 0.75rem;
  background: #0d0c0d;
  padding: 2px 8px;
  color: var(--slime-highlight);
  border-radius: 4px;
  font-weight: 600;
}

/* File Upload drag-drop area */
.drag-drop-area {
  border: 2px dashed var(--border-glass);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.01);
  cursor: pointer;
  transition: all 0.3s;
}

.drag-drop-area:hover,
.drag-drop-area.dragover {
  border-color: var(--slime-base);
  background: rgba(200, 66, 73, 0.04);
}

.upload-icon {
  width: 32px;
  height: 32px;
  color: var(--text-gray);
  margin-bottom: 8px;
  transition: color 0.3s;
}

.drag-drop-area:hover .upload-icon {
  color: var(--slime-highlight);
}

.upload-text {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.browse-link {
  color: var(--slime-highlight);
  font-weight: 600;
  text-decoration: underline;
}

.file-input {
  display: none;
}

.file-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.8rem;
}

.file-remove {
  background: transparent;
  border: none;
  color: var(--slime-base);
  cursor: pointer;
  font-weight: bold;
}

/* Success Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  max-width: 460px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 40px 30px;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-slime-icon {
  width: 80px;
  height: 80px;
  background: rgba(200, 66, 73, 0.1);
  border: 2px solid var(--slime-base);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--slime-glow);
}

.modal-slime-img {
  width: 48px;
  height: auto;
}

.modal-title {
  font-size: 1.8rem;
  color: var(--text-white);
}

.modal-message {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Footer Styling */
.footer {
  border-top: 1px solid var(--border-glass);
  background-color: #050506;
  padding: 80px 24px 40px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-white);
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-desc {
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-developer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.developer-name {
  color: var(--slime-highlight);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-link {
  display: block;
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.footer-link:hover {
  color: var(--slime-highlight);
  padding-left: 4px;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--text-white);
  border-color: var(--slime-base);
  background: var(--slime-base);
  box-shadow: 0 0 10px rgba(200, 66, 73, 0.3);
}

.svg-social {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Scroll Reveal Effects (Fallbacks and animations) */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-in {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .scroll-reveal {
      animation: reveal-in auto linear backwards;
      animation-timeline: view();
      animation-range: entry 10% entry 40%;
    }
  }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .spotlight-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .collab-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobile menu toggled via JS */
  }
  
  .nav-toggle {
    display: block;
  }
  
  /* Mobile Open Navigation State */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 9, 0.95);
    border-bottom: 1px solid var(--border-glass);
    padding: 30px 24px;
    gap: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
  }
  
  .nav-links.active .nav-btn {
    width: 100%;
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}
