/* ===================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   =================================== */
:root {
  /* Colors */
  --primary-color: #6e6e7577;
  --primary-dark: #8d8d9558;
  --secondary-color: #56565771;
  --accent-color: #06b6d4;
  --text-primary: #d6d5d5;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.6);
  --overlay-color: rgba(0, 0, 0, 0.4);
  --overlay-gradient: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
button {
  outline: none;
  
}

button:focus,
button:active {
  outline: none;
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: #000;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fullscreen overlay */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--background-primary); /* background while loading */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

/* Loader animation bar */
.load {
  width: 200px;
  height: 40px;
  background-color: var(--background-primary);
  position: relative;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.load:after {
  border-radius: 50px;
  content: "";
  position: absolute;
  background-color: var(--background-primary);
  left: 2px;
  top: 2px;
  bottom: 2px;
  right: 360px;
  animation: slide 2s linear infinite;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes slide {
  0%   { right: 150px; left: 2px; }
  5%   { left: 2px; }
  50%  { right: 2px; left: 150px; }
  55%  { right: 2px; }
  100% { right: 150px; left: 2px; }
}

/* Hide after load */
#preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ===================================
   HERO CONTAINER & VIDEO BACKGROUND
   =================================== */
.hero-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
  filter: blur(3px);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0000008e;
  z-index: 2;
  backdrop-filter: blur(15px);
}

/* ===================================
   LOGO STYLING
   =================================== */
.logo-container {
  position: absolute;
  top: var(--spacing-lg);
  left: var(--spacing-lg);
  z-index: 10;
  animation: fadeInDown 1s ease-out;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: transform var(--transition-normal);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--text-primary);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-text {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-text strong {
  font-weight: var(--font-weight-bold);
}

.logo-text span {
  font-weight: var(--font-weight-light);
  opacity: 0.9;
}

/* ===================================
   HERO CONTENT
   =================================== */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--spacing-lg);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-text {
  margin-bottom: var(--spacing-2xl);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  /* -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
  background-clip: text;
  text-shadow: rgb(255, 255, 255) 0px 0px 29px !important; 
  animation: textGlow 3s ease-in-out infinite alternate;
  -webkit-animation: text-focus-in 2s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
	        animation: text-focus-in 2s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}
@-webkit-keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}


.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--font-weight-normal);
  color: #818080;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===================================
   CTA BUTTON STYLING
   =================================== */
.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-primary);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  animation: buttonFloat 3s ease-in-out infinite;
}

.explore-btn:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(180, 180, 180, 0.4);
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
  border-radius: var(--radius-full);
  padding: 1.6rem 3.7rem;
}

.explore-btn,
.explore-btn:focus,
.explore-btn:active {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

.explore-btn:active {
  transform: translateY(0);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-icon {
  font-size: 1rem;
  transition: transform var(--transition-normal);
}

.explore-btn:hover .btn-icon {
  transform: translateX(4px);
}

.cta-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: var(--font-weight-normal);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===================================
   FLOATING ELEMENTS - HIDDEN
   =================================== */
.floating-elements {
  display: none;
}

.floating-element {
  display: none;
}

/* ===================================
   PARTICLES CONTAINER
   =================================== */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: twinkle 3s infinite;
}

/* ===================================
   KEYFRAME ANIMATIONS
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textGlow {
  0% {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  100% {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
  }
}

@keyframes buttonFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
  }
  50% {
    transform: translateY(-10px) rotate(-5deg);
  }
  75% {
    transform: translateY(-30px) rotate(3deg);
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ripple {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Mobile First - Base styles above are for mobile */

/* Small tablets and large phones */
@media (min-width: 640px) {
  .logo-container {
    top: var(--spacing-xl);
    left: var(--spacing-xl);
  }
  
  .hero-content {
    padding: 0 var(--spacing-xl);
  }
  
  .floating-element {
    width: 80px;
    height: 80px;
  }
}

/* Tablets */
@media (min-width: 768px) {
  .hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
  }
  
  .hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
  }
  
  .explore-btn {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.25rem;
  }
  
  .floating-element {
    width: 100px;
    height: 100px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-container {
    min-height: 700px;
  }
  
  .hero-content {
    max-width: 900px;
  }
  
  .floating-element {
    width: 120px;
    height: 120px;
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  .hero-container {
    min-height: 800px;
  }
  
  .hero-content {
    max-width: 1000px;
  }
}

/* ===================================
   ACCESSIBILITY & FOCUS STATES
   =================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-overlay {
    background: rgba(0, 0, 0, 0.7);
  }
  
  .floating-element {
    border: 2px solid rgba(255, 255, 255, 0.5);
  }
}

/* Focus visible for keyboard navigation */
.explore-btn:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
  .hero-container {
    height: auto;
    min-height: auto;
    background: white;
    color: black;
  }
  
  #hero-video,
  .hero-overlay,
  .floating-elements,
  .particles-container {
    display: none;
  }
  
  .hero-title,
  .hero-subtitle {
    color: black;
    text-shadow: none;
  }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-scroll {
  overflow: hidden;
}

/* Loading state */
.loading {
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.loaded {
  opacity: 1;
}
