/* ============================================================================
   MusicLib Landing Page - Styles
   ============================================================================ */

/* CSS Variables */
:root {
  /* Colors */
  --color-bg: #0a0a0a;
  --color-bg-elevated: #1a1a1a;
  --color-text: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.7);
  --color-text-muted: rgba(255, 255, 255, 0.5);
  --color-primary: #1976d2;
  --color-primary-light: #42a5f5;
  --color-secondary: #9c27b0;
  --color-accent: #00d4ff;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1976d2 0%, #42a5f5 50%, #00d4ff 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(25, 118, 210, 0.3) 0%, transparent 70%);

  /* Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-elevated: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(255, 255, 255, 0.2);
  --glass-blur: blur(20px);
  --glass-saturate: saturate(180%);

  /* Spacing */
  --nav-height: 80px;
  --section-padding: 120px;
  --container-max: 1200px;

  /* Animation */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Typography */
  --font-primary: "Futura", "Futura PT", "Century Gothic", "Avant Garde", "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* ============================================================================
   Background Effects
   ============================================================================ */

.background-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(25, 118, 210, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(156, 39, 176, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -2;
}

.background-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

/* ============================================================================
   Glass Effect Utilities
   ============================================================================ */

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border: 1px solid var(--glass-border);
}

.glass-button {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-text);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.2s var(--ease-out);
  cursor: pointer;
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ============================================================================
   Navigation
   ============================================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease-out);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.8);
}

.nav-container {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.25rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  color: var(--color-text);
}

.logo-text {
  letter-spacing: -0.02em;
}

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

.nav-link {
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s var(--ease-out);
}

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

.nav-cta {
  padding: 10px 20px;
  font-size: 0.95rem;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  border-bottom: 1px solid var(--glass-border);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav-link {
  color: var(--color-text-secondary);
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-cta {
  text-align: center;
  margin-top: 8px;
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 60px) 24px 60px;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  box-shadow: 0 4px 20px rgba(25, 118, 210, 0.4);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(25, 118, 210, 0.5);
}

.cta-primary svg {
  transition: transform 0.2s var(--ease-out);
}

.cta-primary:hover svg {
  transform: translateX(4px);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  font-size: 1rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Visual / Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--glass-border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-dots span:first-child { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-title {
  flex: 1;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.mockup-content {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 280px;
}

.mockup-sidebar {
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  transition: all 0.2s var(--ease-out);
}

.sidebar-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
}

.sidebar-item svg {
  opacity: 0.7;
}

.mockup-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.mockup-scores {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  animation: fadeInUp 0.4s var(--ease-out) both;
}

.score-row:nth-child(1) { animation-delay: 0.1s; }
.score-row:nth-child(2) { animation-delay: 0.2s; }
.score-row:nth-child(3) { animation-delay: 0.3s; }

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

.score-icon {
  width: 32px;
  height: 40px;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.3), rgba(156, 39, 176, 0.2));
  border-radius: 4px;
}

.score-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.score-title {
  font-size: 0.85rem;
  font-weight: 500;
}

.score-composer {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.hero-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: -1;
}

/* ============================================================================
   Section Styles
   ============================================================================ */

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-padding) 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(25, 118, 210, 0.15);
  border: 1px solid rgba(25, 118, 210, 0.3);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary-light);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================================
   Features Section
   ============================================================================ */

.features {
  position: relative;
}

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

.feature-card {
  padding: 32px;
  border-radius: 20px;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-elevated);
}

.feature-card.featured {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.1), rgba(156, 39, 176, 0.08));
  border-color: rgba(25, 118, 210, 0.3);
}

.feature-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: rgba(25, 118, 210, 0.2);
  border: 1px solid rgba(25, 118, 210, 0.4);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.2), rgba(156, 39, 176, 0.15));
  border-radius: 14px;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary-light);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================================
   Institutions Section (Expanded)
   ============================================================================ */

.institutions {
  background: linear-gradient(180deg, transparent, rgba(25, 118, 210, 0.03), transparent);
}

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

.institution-feature-card {
  padding: 28px;
  border-radius: 20px;
  transition: all 0.3s var(--ease-out);
}

.institution-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-elevated);
}

.institution-feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.2), rgba(156, 39, 176, 0.15));
  border-radius: 12px;
  margin-bottom: 16px;
}

.institution-feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary-light);
}

.institution-feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

/* Institution Showcase Card */
.institutions-showcase {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.showcase-card {
  width: 100%;
  max-width: 600px;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.showcase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.showcase-logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1976d2, #9c27b0);
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.25rem;
}

.showcase-info {
  flex: 1;
}

.showcase-info h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.showcase-type {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.showcase-badge {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.showcase-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 24px;
}

.showcase-stat {
  text-align: center;
}

.showcase-stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-light);
}

.showcase-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.showcase-roles {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.role-badge {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}

.role-badge.director {
  background: rgba(156, 39, 176, 0.2);
  color: #ba68c8;
}

.role-badge.contributor {
  background: rgba(25, 118, 210, 0.2);
  color: var(--color-primary-light);
}

.role-badge.student {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-secondary);
}

.institutions-cta {
  text-align: center;
}

/* ============================================================================
   How It Works Section
   ============================================================================ */

.how-it-works {
  background: linear-gradient(180deg, transparent, rgba(156, 39, 176, 0.03), transparent);
}

.steps-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 280px;
}

.step-number {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.2), rgba(156, 39, 176, 0.15));
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-content p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.step-connector {
  flex-shrink: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--glass-border), rgba(25, 118, 210, 0.3), var(--glass-border));
  margin-top: 32px;
}

/* ============================================================================
   Updates/Newsletter Section
   ============================================================================ */

.updates-section {
  padding-bottom: var(--section-padding);
}

.updates-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  padding: 60px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.08), rgba(156, 39, 176, 0.05));
}

.updates-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.updates-content > p {
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
}

.updates-form .form-group {
  display: flex;
  gap: 12px;
}

.updates-form input[type="email"] {
  flex: 1;
  min-width: 280px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: var(--color-text);
  font-size: 1rem;
  font-family: var(--font-primary);
  outline: none;
  transition: all 0.2s var(--ease-out);
}

.updates-form input[type="email"]::placeholder {
  color: var(--color-text-muted);
}

.updates-form input[type="email"]:focus {
  border-color: rgba(25, 118, 210, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.form-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.updates-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.alpha-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 48px;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.2), rgba(156, 39, 176, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}

.alpha-tag {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.alpha-version {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ============================================================================
   CTA Section
   ============================================================================ */

.cta-section {
  padding-bottom: var(--section-padding);
}

.cta-card {
  text-align: center;
  padding: 80px 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.1), rgba(156, 39, 176, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-card > p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 550px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ============================================================================
   Footer
   ============================================================================ */

.footer {
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 40px;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand {
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  width: 36px;
  height: 36px;
}

.footer-brand p {
  max-width: 300px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  padding: 8px 0;
  color: var(--color-text-secondary);
  transition: color 0.2s var(--ease-out);
}

.footer-column a:hover {
  color: var(--color-text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-version {
  opacity: 0.7;
}

/* ============================================================================
   Responsive Design
   ============================================================================ */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
    padding-top: calc(var(--nav-height) + 40px);
  }

  .hero-content {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

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

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

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

  .updates-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .updates-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .updates-form .form-group {
    flex-direction: column;
    align-items: center;
  }

  .updates-form input[type="email"] {
    min-width: auto;
    width: 100%;
    max-width: 400px;
  }

  .updates-form .cta-primary {
    width: 100%;
    max-width: 400px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-bottom: 80px;
  }

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

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

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .hero-mockup {
    max-width: 100%;
  }

  .mockup-content {
    grid-template-columns: 120px 1fr;
  }

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

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

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

  .showcase-roles {
    justify-content: center;
  }

  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .updates-card {
    padding: 40px 24px;
  }

  .alpha-badge {
    padding: 24px 32px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 480px) {
  .hero-mockup {
    display: none;
  }

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

  .feature-card {
    padding: 24px;
  }

  .institution-feature-card {
    padding: 24px;
  }

  .cta-card {
    padding: 48px 24px;
  }

  .showcase-card {
    padding: 24px;
  }
}

/* ============================================================================
   Animations
   ============================================================================ */

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

.hero-visual {
  animation: float 6s ease-in-out infinite;
}

/* Scroll reveal animations - will be triggered by JS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children animations */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
}

.stagger-children.active > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.5s; }
