/* ============================================
   LUMINA LANDING PAGE - STYLES
   Premium Dark Futuristic Design
   ============================================ */

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Core dark palette */
  --background: hsl(230, 25%, 5%);
  --foreground: hsl(0, 0%, 98%);
  
  /* Card surfaces */
  --card: hsl(230, 30%, 8%);
  --card-foreground: hsl(0, 0%, 98%);
  
  /* Muted colors */
  --muted: hsl(230, 20%, 15%);
  --muted-foreground: hsl(230, 10%, 60%);
  
  /* Border colors */
  --border: hsl(230, 20%, 18%);
  
  /* Glow colors */
  --glow-purple: hsl(270, 100%, 70%);
  --glow-violet: hsl(280, 90%, 65%);
  --glow-blue: hsl(220, 100%, 65%);
  
  /* Glass effect */
  --glass-bg: hsla(230, 30%, 10%, 0.6);
  --glass-border: hsla(0, 0%, 100%, 0.08);
  --glass-highlight: hsla(0, 0%, 100%, 0.05);
  
  /* Spacing */
  --radius: 0.75rem;
}

/* Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============================================
   NOISE OVERLAY - Subtle grain texture
   ============================================ */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ============================================
   GLOWING ARCS - Background effects
   ============================================ */
.glow-arc {
  position: absolute;
  width: 150%;
  height: 800px;
  top: -400px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 80% 50% at 50% 100%,
    hsla(270, 100%, 70%, 0.15) 0%,
    hsla(280, 90%, 65%, 0.1) 30%,
    hsla(220, 100%, 65%, 0.05) 60%,
    transparent 80%
  );
  filter: blur(60px);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}

.glow-arc-bottom {
  position: absolute;
  width: 120%;
  height: 600px;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 70% 40% at 50% 0%,
    hsla(280, 90%, 65%, 0.12) 0%,
    hsla(270, 100%, 70%, 0.08) 40%,
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
}

/* ============================================
   GRADIENT TEXT
   ============================================ */
.text-gradient-purple {
  background: linear-gradient(
    135deg,
    var(--glow-purple) 0%,
    var(--glow-violet) 50%,
    var(--glow-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   GLASS CARD
   ============================================ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--glass-highlight) 50%,
    transparent 100%
  );
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-glow {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--glow-purple) 0%,
    var(--glow-violet) 50%,
    var(--glow-blue) 100%
  );
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 
    0 0 30px hsla(270, 100%, 70%, 0.4),
    0 0 60px hsla(280, 90%, 65%, 0.2);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 0 40px hsla(270, 100%, 70%, 0.6),
    0 0 80px hsla(280, 90%, 65%, 0.3),
    0 10px 40px hsla(270, 100%, 70%, 0.3);
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 9999px;
  background: linear-gradient(
    135deg,
    var(--glow-purple) 0%,
    var(--glow-violet) 50%,
    var(--glow-blue) 100%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(15px);
}

.btn-glow:hover::before {
  opacity: 1;
}

.btn-small {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
}

.btn-outline-glow {
  position: relative;
  background: transparent;
  color: var(--foreground);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.btn-outline-glow:hover {
  border-color: hsla(270, 100%, 70%, 0.5);
  background: hsla(270, 100%, 70%, 0.1);
  box-shadow: 0 0 30px hsla(270, 100%, 70%, 0.2);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 1rem 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: hsla(230, 25%, 5%, 0.8);
  border-bottom: 1px solid hsla(230, 20%, 18%, 0.5);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-link:hover .logo {
  transform: scale(1.1);
}

.logo {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 600;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
}

.nav-links a {
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--foreground);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sign-in-link {
  display: none;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.sign-in-link:hover {
  color: var(--foreground);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .sign-in-link {
    display: block;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.logo-large {
  width: 80px;
  height: 80px;
  animation: float 6s ease-in-out infinite;
}

.hero-headline {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subheading {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-social-proof {
  margin-top: 3rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  position: relative;
  padding: 8rem 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  transition: transform 0.5s ease;
}

.feature-card:hover {
  transform: scale(1.02);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    hsla(270, 100%, 70%, 0.15) 0%,
    hsla(220, 100%, 65%, 0.1) 100%
  );
  border: 1px solid hsla(270, 100%, 70%, 0.2);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   VALUE SECTION
   ============================================ */
.value-section {
  position: relative;
  padding: 8rem 1.5rem;
  overflow: hidden;
}

.value-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: linear-gradient(
    to right,
    hsla(270, 100%, 70%, 0.1),
    hsla(280, 90%, 65%, 0.1)
  );
  filter: blur(120px);
  animation: pulse-glow 4s ease-in-out infinite;
}

.value-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.value-pretitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--glow-purple);
  margin-bottom: 1.5rem;
}

.value-headline {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.value-paragraphs {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  line-height: 1.8;
}

.value-paragraphs p {
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.stat-value {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: 8rem 1.5rem;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-headline {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-subtext {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  padding: 4rem 1.5rem;
  border-top: 1px solid hsla(230, 20%, 18%, 0.5);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-logo .logo {
  width: 32px;
  height: 32px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-size: 0.875rem;
}

.footer-nav a {
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--foreground);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translateX(-50%) scale(1.05);
  }
}

/* Scroll animations - elements start hidden */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
