* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0B0E14;
  --bg-panel: rgba(17, 20, 28, 0.8);
  --bg-card: rgba(17, 20, 28, 0.6);
  --text-primary: #F8FAFC;
  --text-secondary: rgba(248, 250, 252, 0.7);
  --text-muted: rgba(248, 250, 252, 0.5);
  --accent-purple: #8B5CF6;
  --accent-cyan: #06B6D4;
  --border-subtle: rgba(139, 92, 246, 0.15);
  --border-hover: rgba(139, 92, 246, 0.4);
}

body {
  font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Hyperspeed background with fallback */
#lights {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 90%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #0B0E14 0%, #0a0a14 50%, #0B0E14 100%);
}

/* Animated glow effect as fallback for mobile */
#lights::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60%;
  background: radial-gradient(ellipse at center bottom, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background: transparent;
  z-index: 100;
}

.nav-brand-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-subtitle {
  font-size: 0.65rem;
  color: var(--accent-purple);
  opacity: 0.8;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  height: 120px;
  margin-top: -40px;
  margin-bottom: -40px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  border-radius: 8px;
  color: white;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent-purple), #7C3AED);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(139, 92, 246, 0.4);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 120px 80px;
  position: relative;
  z-index: 1;
}

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

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--text-primary);
}

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

.highlight {
  color: var(--accent-purple);
  font-weight: 600;
}

.preview-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.badge-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 24px;
  opacity: 0.7;
}

.btn-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
  text-decoration: none;
}

.btn-secondary-link:hover {
  color: var(--accent-purple);
}

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

/* Sign-In Rationale (STEP 4) */
.signin-rationale {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  max-width: 520px;
}

.signin-rationale-title {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px 0;
}

.signin-rationale-body {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 8px 0;
}

.signin-rationale-data {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
  font-style: italic;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn .pixel-canvas,
.nav-cta .pixel-canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.btn svg,
.btn span,
.nav-cta svg {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), #7C3AED);
  color: white;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Public Preview Access Section */
.preview-access-section {
  padding: 60px 40px;
  display: flex;
  justify-content: center;
}

.preview-access-box {
  max-width: 600px;
  padding: 32px;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  text-align: center;
}

.preview-access-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.preview-access-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.preview-access-limit {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.preview-access-pro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* Sections Common */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 48px;
}

/* Dome Gallery Section */
.dome-section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.dome-section .section-container {
  max-width: 1400px;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
  border-radius: 12px;
  color: var(--accent-purple);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

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

/* Models Section */
.models-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

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

.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
}

.model-card.featured {
  border-color: var(--accent-purple);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.model-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.model-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.model-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.model-provider {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.model-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.model-features {
  list-style: none;
  padding: 0;
}

.model-features li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.model-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent-purple);
  border-radius: 50%;
}

/* Showcase Section */
.showcase-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 182, 212, 0.03) 50%, transparent 100%);
}

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

.showcase-item {
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.showcase-item:hover {
  border-color: var(--border-hover);
  transform: scale(1.02);
}

.showcase-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}

.showcase-placeholder svg {
  opacity: 0.5;
}

.showcase-placeholder span {
  font-size: 0.9rem;
}

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

/* Footer */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  justify-content: space-between;
}

.footer-primary {
  margin-bottom: 8px;
}

.footer-status {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

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

.footer-contact p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-disclaimer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-disclaimer p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 600;
}

.footer-brand .brand-icon {
  width: 32px;
  height: 32px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-copyright p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 16px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-subtitle {
    display: none;
  }
  
  .nav-brand-wrapper {
    flex: 0 0 auto;
  }
  
  .nav-logo {
    height: 60px;
    margin-top: -15px;
    margin-bottom: -15px;
  }
  
  .nav-cta {
    padding: 8px 14px;
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .hero {
    padding: 120px 20px 60px;
    justify-content: center;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .preview-badge {
    font-size: 0.7rem;
    padding: 6px 12px;
  }
  
  .badge-subtext {
    font-size: 0.75rem;
  }
  
  .btn {
    padding: 14px 24px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
  
  .section-container {
    padding: 0 16px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .features-grid,
  .models-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card,
  .model-card {
    padding: 20px;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding: 0 16px;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  .attribution-section {
    padding: 40px 16px;
  }
  
  .attribution-content p {
    font-size: 0.85rem;
  }
  
  .preview-access-section {
    padding: 40px 16px;
  }
  
  .preview-access-box {
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 12px;
  }
  
  .nav-logo {
    height: 50px;
    margin-top: -12px;
    margin-bottom: -12px;
  }
  
  .nav-brand .brand-text {
    font-size: 1rem;
  }
  
  .brand-icon {
    width: 28px;
    height: 28px;
  }
  
  .nav-cta {
    padding: 6px 10px;
    font-size: 0.7rem;
  }
  
  .hero {
    padding: 90px 16px 40px;
  }
  
  .hero-title {
    font-size: 1.4rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  #lights {
    opacity: 0.7;
  }
}

/* Attribution Section */
.attribution-section {
  padding: 60px 0;
  background: rgba(17, 20, 28, 0.5);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.attribution-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.attribution-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.attribution-content p:last-child {
  margin-bottom: 0;
}

/* Audience Section */
.audience-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
}

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

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.audience-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.audience-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
  border-radius: 12px;
  color: var(--accent-purple);
  margin: 0 auto 16px;
}

.audience-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.audience-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Differentiator Section */
.differentiator-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

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

/* Preview Section */
.preview-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 182, 212, 0.03) 50%, transparent 100%);
}

.preview-container {
  max-width: 800px;
  margin: 0 auto;
}

.preview-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.preview-placeholder:hover {
  border-color: var(--border-hover);
}

.preview-icon {
  color: var(--text-muted);
  opacity: 0.5;
}

.preview-text {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

@media (max-width: 1024px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .differentiator-section .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .audience-grid,
  .differentiator-section .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-content h2 {
    font-size: 1.5rem;
  }
}

/* AI Pipeline Section */
.ai-pipeline-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
}

.pipeline-table-container {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
}

.pipeline-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.pipeline-table th,
.pipeline-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.pipeline-table th {
  background: rgba(139, 92, 246, 0.1);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pipeline-table td {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pipeline-table tr:last-child td {
  border-bottom: none;
}

.pipeline-table tr:hover td {
  background: rgba(139, 92, 246, 0.05);
}

.pipeline-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.pipeline-table td:nth-child(2) {
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

.pipeline-table td:last-child {
  color: #22c55e;
  font-weight: 500;
}

/* Footer Guarantees */
.footer-guarantees {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.footer-guarantees p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .pipeline-table th,
  .pipeline-table td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }
  
  .pipeline-table td:nth-child(2) {
    font-size: 0.75rem;
  }
}
