/* ===== COSMIC ORGASMIC - Soft & Organic Design ===== */

/* CSS Variables - Cosmic Color System */
:root {
  --primary-dark: #0a0a0a;
  --secondary-dark: #1a1a1a;
  --cosmic-bg: #0f0f0f;
  --footer-abyss: #050505;
  --cosmic-orange: #ff6b35;
  --cosmic-purple: #6b46c1;
  --cosmic-blue: #3b82f6;
  --cosmic-pink: #ec4899;
  
  /* Organic Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  /* Soft Border Radius */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Cosmic Shadows */
  --shadow-soft: 0 10px 30px -10px rgba(107, 70, 193, 0.3);
  --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.2);
  --shadow-deep: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  
  /* Typography Scale */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Clash Display', sans-serif;
}

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--cosmic-bg) 0%, var(--secondary-dark) 100%);
  color: #ffffff;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Cosmic Background Effects */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(107, 70, 193, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Organic Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-accent);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, #ffffff 0%, var(--cosmic-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 { 
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 { 
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 { 
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}

a {
  color: var(--cosmic-orange);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--cosmic-pink);
  text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

/* Container System */
.container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section:nth-child(odd) {
  background: var(--cosmic-bg);
}

.section:nth-child(even) {
  background: var(--secondary-dark);
}

/* Cosmic Cards */
.card {
  background: linear-gradient(145deg, rgba(26, 26, 26, 0.8) 0%, rgba(21, 21, 21, 0.9) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cosmic-orange) 0%, var(--cosmic-purple) 50%, var(--cosmic-pink) 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow), var(--shadow-soft);
  border-color: rgba(255, 107, 53, 0.3);
}

.card:hover::before {
  transform: translateX(0);
}

/* Cosmic Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.025em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cosmic-orange) 0%, #ff8c65 100%);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff8c65 0%, var(--cosmic-orange) 100%);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow), var(--shadow-soft);
  color: white;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--cosmic-purple) 0%, #8b5cf6 100%);
  color: white;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(107, 70, 193, 0.4);
  color: white;
}

/* Cosmic Navigation */
.nav {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
}

.nav-brand {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, #ffffff 0%, var(--cosmic-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  margin: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cosmic-orange), var(--cosmic-purple));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after {
  width: 100%;
}

/* Cosmic Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: 
    radial-gradient(circle at center, rgba(107, 70, 193, 0.1) 0%, transparent 70%),
    linear-gradient(135deg, var(--cosmic-bg) 0%, var(--secondary-dark) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: cosmicPulse 8s ease-in-out infinite;
}

@keyframes cosmicPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 var(--space-md);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, #ffffff 0%, var(--cosmic-orange) 50%, var(--cosmic-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: cosmicShimmer 3s ease-in-out infinite;
}

@keyframes cosmicShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Cosmic Grid System */
.cosmic-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cosmic Footer */
.footer {
  background: var(--footer-abyss);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cosmic-orange) 0%, var(--cosmic-purple) 50%, var(--cosmic-pink) 100%);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-section h4 {
  color: var(--cosmic-orange);
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--cosmic-orange);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Cosmic Forms */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(26, 26, 26, 0.8);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--cosmic-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Cosmic Glow Effects */
.glow-effect {
  position: relative;
}

.glow-effect::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--cosmic-orange), var(--cosmic-purple), var(--cosmic-pink), var(--cosmic-orange));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
  opacity: 0.7;
}

/* Organic Spacing Utilities */
.space-y-xs { margin-top: var(--space-xs); }
.space-y-sm { margin-top: var(--space-sm); }
.space-y-md { margin-top: var(--space-md); }
.space-y-lg { margin-top: var(--space-lg); }
.space-y-xl { margin-top: var(--space-xl); }

.p-xs { padding: var(--space-xs); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .cosmic-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .hero-content {
    padding: 0 var(--space-sm);
  }
  
  .card {
    padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  :root {
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  p { font-size: 1rem; }
}

/* Smooth Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Focus States for Accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
  outline: 2px solid var(--cosmic-orange);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --cosmic-bg: #000000;
    --secondary-dark: #111111;
  }
  
  .card {
    border-width: 2px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* 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;
    }
}