:root {
  --primary-color: #0F172A;
  --secondary-color: #1E293B;
  --background-color: #0B1020;
  --footer-bg-color: #020617;
  --button-color: #06B6D4;
  --accent-color: #06B6D4;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --border-color: #334155;
  --section-bg-1: #0B1020;
  --section-bg-2: #0F172A;
  --section-bg-3: #1E293B;
  --neon-glow: 0 0 20px rgba(6, 182, 212, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --transition-standard: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background-color);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography with Elegant Serif Headers */
h1, h2, h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.75rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.25rem;
}

h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-standard);
  position: relative;
}

a:hover {
  color: #0891B2;
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

/* Elegant Underlined Links */
a:not(.btn):not(.btn-primary) {
  padding-bottom: 2px;
}

a:not(.btn):not(.btn-primary)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

a:not(.btn):not(.btn-primary):hover::after {
  width: 100%;
}

/* Layout and Spacing */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
  background-color: var(--section-bg-1);
}

.section:nth-child(even) {
  background-color: var(--section-bg-2);
}

.section:nth-child(odd) {
  background-color: var(--section-bg-3);
}

.section-alt {
  background-color: var(--secondary-color);
}

/* Pill-shaped Buttons with Neon Glow */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: var(--transition-standard);
  text-transform: none;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--button-color);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(6, 182, 212, 0.25);
}

.btn-primary:hover {
  background-color: #0891B2;
  box-shadow: var(--neon-glow), 0 8px 25px 0 rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 0 rgba(6, 182, 212, 0);
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  box-shadow: var(--neon-glow);
  transform: translateY(-2px);
}

/* Card Components */
.card {
  background-color: var(--secondary-color);
  border-radius: 1rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition-standard);
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.3);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
  border-radius: 1rem 1rem 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

/* Form Elements */
.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.025em;
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  background-color: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition-standard);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1), 0 0 20px rgba(6, 182, 212, 0.2);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* Elegant Navigation */
.nav {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-standard);
}

.nav-brand:hover {
  color: var(--accent-color);
  text-shadow: var(--neon-glow);
}

.nav-link {
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 0.5rem;
  transition: var(--transition-standard);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--accent-color);
  background-color: rgba(6, 182, 212, 0.1);
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--background-color) 0%, var(--primary-color) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.6;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.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));
}

/* Footer */
.footer {
  background-color: var(--footer-bg-color);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
  margin-top: 5rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: block;
}

.footer-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.footer-link {
  color: var(--text-muted);
  transition: var(--transition-standard);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-link:hover {
  color: var(--accent-color);
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

.footer-bottom {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .card {
    padding: 1.75rem;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .btn {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
  }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.5rem; }
  
  p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* Neon Glow Effects for Special Elements */
.neon-text {
  color: var(--accent-color);
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.7),
               0 0 20px rgba(6, 182, 212, 0.5),
               0 0 30px rgba(6, 182, 212, 0.3);
}

.neon-border {
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3),
              inset 0 0 15px rgba(6, 182, 212, 0.1);
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-color);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

/* Selection Styling */
::selection {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

::-moz-selection {
  background-color: var(--accent-color);
  color: var(--primary-color);
}


/* 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;
    }
}