:root {
  --color-primary: #1A202C;
  --color-secondary: #66DAF8;
  --color-background: #0D1117;
  --color-footer-bg: #121822;
  --color-button: #66DAF8;
  --color-text-light: #E2E8F0;
  --color-text-dark: #A0AEC0;
  --color-section-1: #151C26;
  --color-section-2: #1A202C;
  --color-section-3: #0D1117;
  --color-section-4: #1C2534;
  --color-section-5: #242D3D;

  --font-family-base: 'Inter', sans-serif;

  --border-radius-base: 0.75rem; /* For buttons, cards */
  --spacing-unit: 1rem;

  --glass-blur: 15px;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--color-background);
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--color-text-light);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: var(--color-button);
  text-shadow: 0 0 8px var(--color-button);
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(13, 17, 23, 0.7); /* Dark background with transparency */
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.header-nav a {
  font-weight: 500;
  color: var(--color-text-dark);
  position: relative;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: var(--color-text-light);
}

.header-nav a.active {
  color: var(--color-secondary);
  text-shadow: 0 0 10px var(--color-secondary);
}

.header-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
  animation: glowing-underline 1.5s infinite alternate;
}

@keyframes glowing-underline {
  0% {
    transform: scaleX(0);
    opacity: 0.5;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(0);
    opacity: 0.5;
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius-base);
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-button) 0%, #3498db 100%);
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: skewX(-20deg);
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  background: linear-gradient(145deg, #3498db 0%, var(--color-button) 100%);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Section Backgrounds */
.section-bg-1 { background-color: var(--color-section-1); }
.section-bg-2 { background-color: var(--color-section-2); }
.section-bg-3 { background-color: var(--color-section-3); }
.section-bg-4 { background-color: var(--color-section-4); }
.section-bg-5 { background-color: var(--color-section-5); }

/* Card Styles */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--border-radius-base);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: var(--border-radius-base);
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  z-index: -1;
  filter: blur(2px);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.4);
  border-color: var(--color-secondary);
}

/* Image Placeholder Styles */
.image-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-base);
}

.image-placeholder img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
  transition: background 0.3s ease;
  z-index: 1;
}

.image-placeholder:hover::before {
  background: rgba(0, 0, 0, 0.2);
}

.image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-base);
  border: 2px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.image-placeholder:hover::after {
  border-color: var(--color-secondary);
  box-shadow: 0 0 15px var(--color-secondary);
}

.image-placeholder:hover img {
  transform: scale(1.05);
}

/* Footer Styles */
.footer {
  background-color: var(--color-footer-bg);
  color: var(--color-text-dark);
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Global Animations / Effects */
[x-show], [x-if] {
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

[x-show].hidden, [x-if].hidden {
  opacity: 0;
  transform: translateY(10px);
}

/* Fade-in on scroll (requires JS to add/remove class) */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.875rem; }
  p { font-size: 1rem; }

  .header {
    padding: 1rem;
    flex-direction: column;
  }

  .header-nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .header-nav ul {
    gap: 0.75rem;
  }
}


/* 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;
    }
}