/* ── Visual Design System & CSS Custom Properties ── */
:root {
  --bg-color: #030305;
  --text-primary: #FFFFFF;
  --text-secondary: #d5d5d5;
  --accent-color: #8A63F8;
  --success-color: #00FF88;
  --glass-bg: rgba(20, 20, 25, 0.4);
  --glass-border: rgba(255, 255, 255, 0.08);

  --accent-gradient: linear-gradient(135deg, #8A63F8 0%, #5C43FA 100%);
  --accent-gradient-hover: linear-gradient(135deg, #9C7AFA 0%, #6D56FB 100%);
  --accent-text-gradient: linear-gradient(90deg, #9C7AFA 0%, #5A8CFF 100%);
  --video-overlay-gradient: linear-gradient(
    90deg,
    rgba(5, 5, 8, 0.95) 0%,
    rgba(29, 29, 53, 0.182) 40%,
    rgba(5, 5, 8, 0.4) 100%
  );

  --font-primary: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-secondary: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Global Resets ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: rgba(138, 99, 248, 0.3);
  color: #FFFFFF;
}

/* ── Layout & Main Hero Container ── */
.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 2rem 4rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* ── Video Background ── */
.video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: var(--video-overlay-gradient);
  z-index: 1;
  pointer-events: none;
}

/* ── Top Navigation ── */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  width: 100%;
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-secondary);
}

.logo-icon {
  font-size: 1.8rem;
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  font-family: var(--font-secondary);
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.2rem 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

/* ── Mobile Drawer ── */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 5, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  flex-direction: column;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.drawer-link {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font-secondary);
  transition: color 0.3s ease;
}

.drawer-link:hover,
.drawer-link.active {
  color: var(--text-primary);
}

/* ── Global Button Specs ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  line-height: 1;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 8px 24px rgba(138, 99, 248, 0.25);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(138, 99, 248, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ── Hero Center Content ── */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
  position: relative;
  z-index: 5;
}

.text-wrapper {
  max-width: 800px;
}

.greeting {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-family: var(--font-secondary);
}

.main-title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.sub-title {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 2rem;
  background: var(--accent-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ── Hero Footer ── */
.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  width: 100%;
  position: relative;
  z-index: 10;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.stats-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-secondary);
}

.stat-line {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 1.15rem;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.social-link:hover {
  background: #FFFFFF;
  color: var(--bg-color);
  transform: translateY(-3px);
  border-color: #FFFFFF;
}

/* ── Center Scroll Indicator ── */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}

.mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 3px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 2px;
  animation: scrollWheel 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(15px);
  }
}

.scroll-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-secondary);
  font-family: var(--font-secondary);
  text-transform: uppercase;
}

/* ── Availability Card (Glassmorphism Panel) ── */
.glass-panel.availability-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  max-width: 320px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success-color);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--success-color);
  animation: statusPulse 2s infinite ease-out;
}

@keyframes statusPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.status-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  font-family: var(--font-secondary);
  text-transform: uppercase;
}

.status-desc {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-secondary);
  font-family: var(--font-secondary);
}

/* ── Keyframe Animations ── */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════
   RESPONSIVENESS (Exact Specification)
   ══════════════════════════════════════════════ */

/* Max-width: 1200px */
@media (max-width: 1200px) {
  .hero-section {
    padding: 2rem;
  }
  .main-title {
    font-size: 4.5rem;
  }
}

/* Max-width: 1024px (Tablet) */
@media (max-width: 1024px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-drawer {
    display: flex;
  }

  .hero-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 3rem;
  }

  .scroll-indicator {
    display: none;
  }

  .footer-left {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .glass-panel.availability-card {
    max-width: 100%;
  }
}

/* Max-width: 768px (Mobile Landscape) */
@media (max-width: 768px) {
  .hero-section {
    padding: 1.5rem;
  }

  .main-title {
    font-size: 3.5rem;
  }

  .sub-title {
    font-size: 1.4rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-group .btn {
    width: 100%;
  }

  .footer-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .stats-group {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .stat-line {
    display: none;
  }
}

/* Max-width: 480px (Mobile Portrait) */
@media (max-width: 480px) {
  .main-title {
    font-size: 2.8rem;
  }

  .sub-title {
    font-size: 1.2rem;
  }

  .glass-panel.availability-card {
    padding: 1.25rem 1.5rem;
  }
}
