:root {
  /* Light mode colors - Minimal modern aesthetic */
  --color-bg: 250 250 250;
  --color-box: 255 255 255;
  --box-sd: 0 0 0;
  --box-border: 229 231 235;
  --heading-1: 17 24 39;
  --heading-2: 55 65 81;
  --heading-3: 107 114 128;
}

.dark {
  /* Dark mode colors - Minimal dark aesthetic */
  --color-bg: 17 24 39;
  --color-box: 31 41 55;
  --box-sd: 0 0 0;
  --box-border: 55 65 81;
  --heading-1: 249 250 251;
  --heading-2: 229 231 235;
  --heading-3: 156 163 175;
}

/* Smooth transitions */
body {
  transition: background-color 0.3s ease;
}

/* Typography - Clean and modern */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar - Minimal */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgb(var(--color-bg));
}

::-webkit-scrollbar-thumb {
  background: rgb(var(--heading-3));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(var(--heading-2));
}

/* Glassmorphism utility classes */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .glass {
  background: rgba(31, 41, 55, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass-strong {
  background: rgba(31, 41, 55, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Smooth hover transitions */
.hover-lift {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark .gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtle shadow effects */
.shadow-soft {
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 4px 16px rgba(0, 0, 0, 0.03);
}

.shadow-medium {
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.04);
}

.shadow-strong {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 16px 64px rgba(0, 0, 0, 0.06);
}

/* Hero Video Background */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Mobile: align image to left and limit height */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto !important;
  }

  .hero-video-bg {
    position: absolute;
    height: 100%;
    max-height: 100vh;
    bottom: auto;
  }

  .hero-video {
    left: 0;
    transform: translateY(-50%);
    /* Start showing from 25% (3/12) of the image */
    object-position: 25% center;
    height: 100%;
    max-height: 100vh;
  }

  .hero-video-overlay {
    height: 100%;
  }
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.dark .hero-video-overlay {
  background: rgba(0, 0, 0, 0.65);
}

/* Modern button styles */
.btn-modern {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-modern::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn-modern:hover::before {
  width: 300px;
  height: 300px;
}
