/* Astronomical Neon Organic CSS - Unique Design System */

/* ===== CSS VARIABLES - CORE DESIGN TOKENS ===== */
:root {
  /* Primary Brand Colors (from design_preferences) */
  --primary-cyan: #00d4ff;
  --primary-cyan-glow: #00d4ff80;
  --secondary-purple: #9d4edd;
  --secondary-purple-glow: #9d4edd60;
  
  /* Background System */
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a2e;
  --bg-footer: #0f0f0f;
  --bg-card: #0f0f1a;
  
  /* Interactive States */
  --btn-primary: #00d4ff;
  --btn-hover: #1ae6ff;
  --btn-glow: #00d4ff40;
  --btn-shadow: 0 10px 30px -10px rgba(0, 212, 255, 0.3);
  
  /* Typography Scale */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Font Sizes (Organic Round Typography) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Spacing Scale (Generous Organic Spacing) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Border Radius (Soft Organic Curves) */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-2xl: 3rem;
  --radius-3xl: 4rem;
  
  /* Shadows (Soft Neon Diffusion) */
  --shadow-sm: 0 4px 10px -2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  --shadow-neon-cyan: 0 0 20px -5px var(--primary-cyan-glow);
  --shadow-neon-purple: 0 0 20px -5px var(--secondary-purple-glow);
  --shadow-organic: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  
  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-base: 250ms ease-out;
  --transition-slow: 400ms ease-out;
}

/* ===== BASE RESET & TYPOGRAPHY ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: #ffffff;
  background: var(--bg-primary);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
}

/* Organic Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(ellipse 800px 600px at 20% 30%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 600px 400px at 80% 70%, rgba(157, 78, 221, 0.02) 0%, transparent 60%),
    radial-gradient(ellipse 400px 300px at 60% 20%, rgba(0, 212, 255, 0.015) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: #ffffff;
}

h1 {
  font-size: var(--text-6xl);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: var(--text-5xl);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--text-4xl);
  font-weight: 600;
  letter-spacing: -0.015em;
}

h4 {
  font-size: var(--text-3xl);
  font-weight: 500;
  letter-spacing: -0.01em;
}

h5 {
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.005em;
}

h6 {
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: 0;
}

p {
  margin: 0;
  font-weight: 400;
  line-height: 1.7;
}

/* Links */
a {
  color: var(--primary-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--btn-hover);
  text-decoration: none;
}

/* ===== CORE COMPONENTS ===== */

/* Container System (Full Width Organic) */
.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.container-fluid {
  width: 100%;
  padding: 0;
  margin: 0;
}

.container,
[class*="container-"] {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Section System (Organic Full Width) */
.section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.section-primary {
  background: var(--bg-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.section-secondary {
  background: var(--bg-secondary);
  min-height: 100vh;
  position: relative;
}

.section-accent {
  background: linear-gradient(135deg, 
    var(--bg-primary) 0%, 
    var(--bg-secondary) 50%, 
    var(--bg-primary) 100%);
  min-height: 100vh;
  position: relative;
}

/* Card System (Soft Organic Neon) */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary-cyan) 25%, 
    var(--secondary-purple) 50%, 
    var(--primary-cyan) 75%, 
    transparent 100%);
  opacity: 0.3;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-organic), var(--shadow-neon-cyan);
  border-color: rgba(0, 212, 255, 0.2);
}

.card-primary {
  background: linear-gradient(145deg, 
    rgba(0, 212, 255, 0.02) 0%, 
    rgba(157, 78, 221, 0.01) 100%);
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.card-secondary {
  background: linear-gradient(145deg, 
    rgba(157, 78, 221, 0.02) 0%, 
    rgba(0, 212, 255, 0.01) 100%);
  border: 1px solid rgba(157, 78, 221, 0.1);
}

/* Button System (Organic Neon) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, 
    var(--primary-cyan) 0%, 
    #1ae6ff 50%, 
    var(--primary-cyan) 100%);
  color: var(--bg-primary);
  box-shadow: var(--shadow-neon-cyan), var(--btn-shadow);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, 
    #1ae6ff 0%, 
    var(--primary-cyan) 50%, 
    #1ae6ff 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-neon-cyan), 0 15px 35px -10px rgba(0, 212, 255, 0.4);
  color: var(--bg-primary);
}

.btn-secondary {
  background: linear-gradient(135deg, 
    var(--secondary-purple) 0%, 
    #b865f3 50%, 
    var(--secondary-purple) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-neon-purple), var(--btn-shadow);
  border: 1px solid rgba(157, 78, 221, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, 
    #b865f3 0%, 
    var(--secondary-purple) 50%, 
    #b865f3 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-neon-purple), 0 15px 35px -10px rgba(157, 78, 221, 0.4);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--primary-cyan);
  border: 2px solid var(--primary-cyan);
  box-shadow: var(--shadow-md);
}

.btn-outline:hover {
  background: var(--primary-cyan);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-cyan);
}

/* Hero Section (Full Screen Organic Neon) */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: 
    radial-gradient(ellipse 1000px 800px at center, 
      rgba(0, 212, 255, 0.08) 0%, 
      transparent 70%),
    radial-gradient(ellipse 800px 600px at 30% 70%, 
      rgba(157, 78, 221, 0.06) 0%, 
      transparent 80%);
}

.hero-content {
  text-align: center;
  max-width: 1200px;
  padding: var(--space-12);
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, 
    var(--primary-cyan) 0%, 
    #ffffff 50%, 
    var(--secondary-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-10);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Grid System (Organic) */
.grid {
  display: grid;
  gap: var(--space-8);
  width: 100%;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Form Elements (Soft Organic) */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: #ffffff;
  transition: all var(--transition-base);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), var(--shadow-neon-cyan);
  background: rgba(255, 255, 255, 0.02);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Navigation (Minimal Organic) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-4) 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none;
  margin: 0;
  padding: 0 var(--space-6);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary-cyan);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-cyan);
  background: rgba(0, 212, 255, 0.1);
}

/* Footer (Dark Organic) */
.footer {
  background: var(--bg-footer);
  padding: var(--space-20) 0 var(--space-8);
  position: relative;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.footer-section {
  margin-bottom: var(--space-8);
}

.footer-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--primary-cyan);
  margin-bottom: var(--space-4);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-cyan);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.p-12 { padding: var(--space-12); }

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

/* Glow Effects for Organic Elements */
.glow-cyan {
  box-shadow: var(--shadow-neon-cyan);
}

.glow-purple {
  box-shadow: var(--shadow-neon-purple);
}

.glow-organic {
  box-shadow: var(--shadow-organic);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --text-6xl: 3rem;
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .nav-links {
    display: none;
  }
  
  .section {
    padding: var(--space-8) var(--space-4);
  }
  
  .card {
    padding: var(--space-6);
  }
}

@media (max-width: 480px) {
  :root {
    --space-8: 1.5rem;
    --space-12: 2rem;
  }
  
  .hero-content {
    padding: var(--space-6);
  }
  
  .section {
    padding: var(--space-6) var(--space-3);
  }
}

/* Loading Animation (Organic Pulse) */
@keyframes organic-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.loading {
  animation: organic-pulse 2s ease-in-out infinite;
}

/* Custom Scrollbar (Organic) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, 
    var(--primary-cyan) 0%, 
    var(--secondary-purple) 100%);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, 
    #1ae6ff 0%, 
    #b865f3 100%);
}

/* Focus States for Accessibility */
:focus-visible {
  outline: 2px solid var(--primary-cyan);
  outline-offset: 2px;
}

/* Selection Colors */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: #ffffff;
}

::-moz-selection {
  background: rgba(0, 212, 255, 0.3);
  color: #ffffff;
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}