:root {
  /* Cyberpunk Organic Color Palette */
  --primary-dark: #0F1419;
  --secondary-cyan: #00D4FF;
  --bg-deep: #0A0E14;
  --footer-bg: #1A1F2E;
  --accent-purple: #8B5CF6;
  --soft-green: #10B981;
  --warm-gray: #6B7280;
  --light-cyan: #A7F3D0;
  
  /* Soft gradients */
  --gradient-cyber: linear-gradient(135deg, #00D4FF 0%, #8B5CF6 100%);
  --gradient-organic: linear-gradient(145deg, rgba(0, 212, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  --gradient-card: linear-gradient(145deg, rgba(15, 20, 25, 0.9) 0%, rgba(26, 31, 46, 0.9) 100%);
  
  /* Typography - Rounded & Friendly */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Soft measurements */
  --radius-organic: 20px;
  --radius-button: 25px;
  --shadow-soft: 0 10px 30px -10px rgba(0, 212, 255, 0.2);
  --shadow-organic: 0 15px 40px -10px rgba(15, 20, 25, 0.3);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
  
  /* Spacing rhythm */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-deep);
  color: #FFFFFF;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

/* Organic cyberpunk headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-accent);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--light-cyan);
}

h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--secondary-cyan);
}

/* Organic paragraphs */
p {
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

/* Soft organic links */
a {
  color: var(--secondary-cyan);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

a:hover {
  color: var(--light-cyan);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: var(--gradient-cyber);
  transition: width 0.3s ease;
}

a:not(.btn):hover::after {
  width: 100%;
}

/* Organic cyberpunk containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
  background: var(--bg-deep);
}

section:nth-child(even) {
  background: var(--primary-dark);
}

section:nth-child(odd) {
  background: var(--gradient-organic);
  backdrop-filter: blur(10px);
}

/* Soft organic cards */
.card {
  background: var(--gradient-card);
  border-radius: var(--radius-organic);
  padding: var(--space-lg);
  border: 1px solid rgba(0, 212, 255, 0.1);
  box-shadow: var(--shadow-organic);
  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;
  right: 0;
  height: 2px;
  background: var(--gradient-cyber);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 212, 255, 0.3);
}

.card:hover::before {
  opacity: 1;
}

/* Organic cyberpunk buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius-button);
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-cyber);
  color: var(--bg-deep);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--bg-deep);
}

.btn-outline {
  background: transparent;
  color: var(--secondary-cyan);
  border: 2px solid var(--secondary-cyan);
}

.btn-outline:hover {
  background: var(--secondary-cyan);
  color: var(--bg-deep);
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background: rgba(0, 212, 255, 0.1);
  color: var(--secondary-cyan);
  border: 1px solid rgba(0, 212, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: var(--secondary-cyan);
  box-shadow: var(--shadow-soft);
}

/* Organic form elements */
.form-group {
  margin-bottom: var(--space-md);
}

label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--light-cyan);
  font-weight: 500;
  font-family: var(--font-accent);
}

input, textarea, select {
  width: 100%;
  padding: 1rem;
  background: rgba(15, 20, 25, 0.8);
  border: 2px solid rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-organic);
  color: #FFFFFF;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--secondary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), var(--shadow-soft);
  background: rgba(15, 20, 25, 0.9);
}

input::placeholder, textarea::placeholder {
  color: var(--warm-gray);
}

/* Organic navigation */
nav {
  background: rgba(10, 14, 20, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-logo {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-cyan);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-button);
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-cyan);
  background: rgba(0, 212, 255, 0.1);
  box-shadow: var(--shadow-soft);
}

/* Organic hero section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, var(--bg-deep) 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.03), transparent);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
  font-weight: 300;
}

/* Organic grid layouts */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Soft organic utility classes */
.text-center { text-align: center; }
.text-cyan { color: var(--secondary-cyan); }
.text-light { color: rgba(255, 255, 255, 0.8); }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* Pulse animation for accents */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Organic footer */
footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-cyber);
}

.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(--secondary-cyan);
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  color: var(--warm-gray);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  
  .card {
    padding: var(--space-md);
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  section {
    padding: var(--space-lg) 0;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border-width: 2px;
    border-color: var(--secondary-cyan);
  }
  
  .btn {
    border-width: 2px;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-cyber);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--light-cyan);
}


/* 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;
    }
}