:root {
  /* Color Palette - Dark Mode with Neon Accents */
  --primary-neon: #00ff9d;
  --secondary-neon: #9d00ff;
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-footer: #020617;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --border-subtle: #334155;
  --shadow-neon: 0 0 20px rgba(0, 255, 157, 0.3);
  --shadow-purple: 0 0 20px rgba(157, 0, 255, 0.3);
  
  /* Typography Scale */
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Inter', 'system-ui', sans-serif;
  --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 */
  --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;
  --space-32: 8rem;
  
  /* Border Radius */
  --radius-sm: 0.125rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-pill: 9999px;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: var(--text-base);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  letter-spacing: -0.025em;
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-8);
}

h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
}

h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

p {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  max-width: 65ch;
}

a {
  color: var(--primary-neon);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  color: var(--secondary-neon);
  text-shadow: 0 0 8px currentColor;
}

a:focus {
  outline: 2px solid var(--primary-neon);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Elegant Link Styles */
.link-underline {
  position: relative;
}

.link-underline::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
  transition: width 0.3s ease;
}

.link-underline:hover::after {
  width: 100%;
}

/* Container and Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-20) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-dark {
  background: var(--bg-primary);
}

/* Elegant Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-sm);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.025em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-neon), #00e68a);
  color: #0a0a0a;
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.4);
  background: linear-gradient(135deg, #00e68a, var(--primary-neon));
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-neon), #8b00e6);
  color: white;
  box-shadow: var(--shadow-purple);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(157, 0, 255, 0.4);
  background: linear-gradient(135deg, #8b00e6, var(--secondary-neon));
}

.btn-outline {
  background: transparent;
  color: var(--primary-neon);
  border: 2px solid var(--primary-neon);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--primary-neon);
  color: #0a0a0a;
  box-shadow: var(--shadow-neon);
}

/* Card System */
.card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-neon), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-neon);
  box-shadow: 0 10px 40px rgba(0, 255, 157, 0.1);
}

.card:hover::before {
  opacity: 1;
}

.card-header {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.card-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.card-subtitle {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0;
}

.card-content {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Form Elements */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: var(--text-base);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-neon);
  box-shadow: 0 0 0 3px rgba(0, 255, 157, 0.1);
  background: rgba(15, 23, 42, 1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Header Styles */
.header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  padding: var(--space-2) 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-neon);
}

.nav-link.active {
  color: var(--primary-neon);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
  border-radius: 1px;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(ellipse at center, rgba(0, 255, 157, 0.05) 0%, transparent 70%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(157, 0, 255, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(var(--text-4xl), 8vw, var(--text-6xl));
  margin-bottom: var(--space-6);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-section h4 {
  color: var(--text-primary);
  font-family: var(--font-serif);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
}

.footer-section p,
.footer-section a {
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.footer-section a:hover {
  color: var(--primary-neon);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* Utilities */
.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); }

.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); }

.p-0 { padding: 0; }
.p-2 { padding: var(--space-2); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --space-20: 3rem;
    --space-24: 4rem;
    --space-32: 5rem;
  }
  
  .container {
    padding: 0 var(--space-4);
  }
  
  .nav-menu {
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .card {
    padding: var(--space-6);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--space-16) 0;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .card {
    padding: var(--space-4);
  }
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Focus visible for better accessibility */
*:focus-visible {
  outline: 2px solid var(--primary-neon);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Selection styling */
::selection {
  background: rgba(0, 255, 157, 0.2);
  color: var(--text-primary);
}

::-moz-selection {
  background: rgba(0, 255, 157, 0.2);
  color: var(--text-primary);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-neon);
}

/* Loading animation for images */
img {
  transition: opacity 0.3s ease;
}

img[data-loading="true"] {
  opacity: 0;
}

img[data-loading="false"] {
  opacity: 1;
}

/* Elegant animations */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

.scale-in {
  animation: scaleIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Neon glow effects */
.glow-primary {
  box-shadow: var(--shadow-neon);
}

.glow-secondary {
  box-shadow: var(--shadow-purple);
}

.text-glow {
  text-shadow: 0 0 10px currentColor;
}

/* Elegant dividers */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  margin: var(--space-12) 0;
}

.divider-neon {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-neon), var(--secondary-neon), transparent);
  margin: var(--space-12) 0;
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

/* Badge system */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background: rgba(0, 255, 157, 0.1);
  color: var(--primary-neon);
  border: 1px solid var(--primary-neon);
}

.badge-secondary {
  background: rgba(157, 0, 255, 0.1);
  color: var(--secondary-neon);
  border: 1px solid var(--secondary-neon);
}

/* Grid layouts */
.grid-auto-fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.grid-auto-fill {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-4);
}

/* Aspect ratio utilities */
.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.aspect-photo {
  aspect-ratio: 4 / 3;
}


/* 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;
    }
}