:root {
  /* Color Palette - Dark, Minimal, Professional */
  --bg-primary: #030303;
  --bg-secondary: #0A0A0A;
  --bg-tertiary: #111111;
  --bg-accent: #161616;
  --bg-card: #0D0D0D;

  /* Text Colors - Refined, Sophisticated */
  --text-primary: #E8E8E8;
  --text-secondary: #A0A0A0;
  --text-muted: #6B6B6B;
  --text-accent: #4B9EFF;

  /* UI Elements - Minimal, Refined */
  --border-refined: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(75, 158, 255, 0.3);

  /* Glass Morphism - Reduced Opacity, Subtle */
  --glass-bg: rgba(13, 13, 13, 0.6);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-blur: 12px;

  /* Shadows - Directional, No Glows */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6);

  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;

  /* Spacing - Generous */
  --section-padding: 10rem 0;
  --component-padding: 1.5rem;
}

/* ===== SMOOTH SCROLL BEHAVIOR ===== */
html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* ===== PREMIUM ANIMATION KEYFRAMES ===== */

/* Hero Section Animations */
@keyframes heroTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes heroButtonReveal {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes typingAnimation {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blinkCursor {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes terminalReveal {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(75, 158, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(75, 158, 255, 0.8), 0 0 30px rgba(75, 158, 255, 0.4);
  }
}

@keyframes buttonHover {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  100% {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  }
}

/* Card Animations */
@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(60px) rotateX(15deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes cardHoverLift {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }
  100% {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  }
}

@keyframes iconRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(15deg) scale(1.1);
  }
}

@keyframes accentLineExpand {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

/* Text Animations */
@keyframes wordReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes letterReveal {
  0% {
    opacity: 0;
    transform: translateY(20px) rotateX(45deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(75, 158, 255, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(75, 158, 255, 0.6), 0 0 30px rgba(75, 158, 255, 0.3);
  }
}

/* Navigation Animations */
@keyframes dropdownSlide {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mobileMenuSlide {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes navUnderline {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

/* Scroll Animations */
@keyframes parallaxMove {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(var(--parallax-offset, 50px));
  }
}

@keyframes sectionReveal {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes counterIncrement {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Micro-interactions */
@keyframes buttonPress {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes rippleEffect {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes iconBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Loading Animations */
@keyframes skeletonLoading {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

@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 fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseSubtle {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes progressBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

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

@keyframes cursorBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* ===== ENTRANCE ANIMATIONS ===== */
.animate-fade-in-up {
  animation: fadeInUp 600ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 600ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-fade-in {
  animation: fadeIn 500ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 600ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-slide-in-right {
  animation: slideInRight 600ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-scale-in {
  animation: scaleIn 500ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Hero Section Animation Classes */
.hero-title-animate {
  animation: heroTitleReveal 800ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero-subtitle-animate {
  animation: heroSubtitleReveal 1000ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero-button-animate {
  animation: heroButtonReveal 1200ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Terminal Animation Classes */
.terminal-line {
  animation: terminalReveal 600ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.terminal-typing {
  overflow: hidden;
  white-space: nowrap;
  animation: typingAnimation 2s steps(30) forwards;
}

.cursor-blink {
  animation: blinkCursor 1s infinite;
}

.status-indicator {
  animation: pulseGlow 2s ease-in-out infinite;
}

/* Card Animation Classes */
.card-entrance {
  animation: cardEntrance 700ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.card-hover-lift {
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.card-hover-lift:hover {
  animation: cardHoverLift 300ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.icon-rotate {
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.icon-rotate:hover {
  animation: iconRotate 400ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.accent-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #4B9EFF, transparent);
  position: relative;
  overflow: hidden;
}

.accent-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #4B9EFF;
  animation: accentLineExpand 1000ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Text Animation Classes */
.word-reveal {
  display: inline-block;
  animation: wordReveal 600ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.letter-reveal {
  display: inline-block;
  animation: letterReveal 400ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.text-glow {
  animation: textGlow 3s ease-in-out infinite;
}

/* Navigation Animation Classes */
.nav-dropdown-animate {
  animation: dropdownSlide 300ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.mobile-menu-animate {
  animation: mobileMenuSlide 400ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.nav-underline {
  position: relative;
}

.nav-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  background: #4B9EFF;
  animation: navUnderline 300ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Scroll Animation Classes */
.parallax-move {
  animation: parallaxMove 100ms linear forwards;
}

.section-reveal {
  animation: sectionReveal 800ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.counter-animate {
  animation: counterIncrement 800ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Button Animation Classes */
.btn-animate {
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-animate:hover {
  animation: buttonHover 300ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.btn-animate:active {
  animation: buttonPress 150ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.ripple-effect {
  position: relative;
  overflow: hidden;
}

.ripple-effect::after {
  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 300ms, height 300ms;
}

.ripple-effect:active::after {
  width: 300px;
  height: 300px;
}

/* Icon Animation Classes */
.icon-bounce {
  animation: iconBounce 2s ease-in-out infinite;
}

/* Loading Animation Classes */
.skeleton-loading {
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.1) 25%, 
    rgba(255, 255, 255, 0.2) 50%, 
    rgba(255, 255, 255, 0.1) 75%);
  background-size: 200px 100%;
  animation: skeletonLoading 1.5s infinite;
}

/* Staggered animation delays */
.delay-50 { animation-delay: 50ms; }
.delay-100 { animation-delay: 100ms; }
.delay-150 { animation-delay: 150ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-800 { animation-delay: 800ms; }
.delay-900 { animation-delay: 900ms; }
.delay-1000 { animation-delay: 1000ms; }

/* ===== ENHANCED HOVER & INTERACTION STATES ===== */

/* Feature Cards Enhanced */
.feature-card {
  background: rgba(13, 13, 13, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 600ms cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  background: rgba(13, 13, 13, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.feature-card .card-icon {
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card:hover .card-icon {
  transform: rotate(10deg) scale(1.1);
}

.feature-card .card-title {
  transition: color 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card:hover .card-title {
  color: #E8E8E8;
}

.feature-card .accent-underline {
  height: 2px;
  background: linear-gradient(90deg, transparent, #4B9EFF, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card:hover .accent-underline {
  transform: scaleX(1);
}

/* Enhanced Glass Panel Interactions */
.glass-panel {
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-panel:hover {
  background: rgba(13, 13, 13, 0.8);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

/* Terminal Window Enhancements */
.terminal-header {
  transition: background-color 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-panel:hover .terminal-header {
  background: rgba(17, 17, 17, 0.8);
}

.terminal-dot {
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.terminal-dot:hover {
  transform: scale(1.2);
}

.terminal-tab {
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

.terminal-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #E8E8E8;
}

.terminal-tab.active {
  background: #111111;
  color: #E8E8E8;
  border-bottom: 2px solid #4B9EFF;
}

/* Status Indicator Enhancements */
.status-light {
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.status-light.active {
  animation: pulseGlow 2s ease-in-out infinite;
}

.status-light.active::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #4B9EFF, transparent, #4B9EFF);
  border-radius: 50%;
  z-index: -1;
  animation: pulseGlow 2s ease-in-out infinite;
}

/* Button Enhancements */
.btn-premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  color: #030303;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 600ms cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.btn-premium:active {
  transform: translateY(-1px) scale(0.98);
}

/* Navigation Link Enhancements */
.nav-link {
  position: relative;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #4B9EFF;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Link Enhancements */
.link-enhanced {
  position: relative;
  color: #A0A0A0;
  text-decoration: none;
  transition: color 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.link-enhanced::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #4B9EFF;
  transition: width 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.link-enhanced:hover {
  color: #E8E8E8;
}

.link-enhanced:hover::after {
  width: 100%;
}

/* Progress Bar Enhancements */
.progress-bar {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #4B9EFF, #36A2FF, #4B9EFF);
  background-size: 200% 100%;
  animation: progressShimmer 2s linear infinite;
  border-radius: 4px;
}

@keyframes progressShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #4B9EFF, #36A2FF);
  z-index: 9999;
  transition: width 100ms linear;
}

/* Parallax Enhancements */
.parallax-enhanced {
  will-change: transform;
  transition: transform 100ms linear;
}

/* Micro-interaction Enhancements */
.micro-hover {
  transition: all 250ms cubic-bezier(0.23, 1, 0.32, 1);
}

.micro-hover:hover {
  transform: translateY(-2px);
}

/* Text Selection Animation */
::selection {
  background: rgba(75, 158, 255, 0.3);
  color: #ffffff;
}

/* Loading States */
.loading-skeleton {
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.05) 25%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.05) 75%);
  background-size: 200px 100%;
  animation: skeletonLoading 1.5s infinite;
  border-radius: 4px;
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .parallax-enhanced {
    transform: none !important;
  }
}

/* Focus States for Accessibility */
.focus-ring:focus {
  outline: 2px solid rgba(75, 158, 255, 0.6);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .parallax-enhanced,
  .scroll-progress,
  .btn-premium,
  .feature-card,
  .glass-panel {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

.site-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bg-cinematic,
.bg-cinematic-1 {
  background-image: linear-gradient(to right, rgba(3, 3, 3, 0.92) 0%, rgba(3, 3, 3, 0.85) 100%),
    url('https://images.unsplash.com/photo-1579783902614-a3fb3927b6a5?q=80&w=2545&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-primary);
}

.bg-cinematic-main {
  background-image: linear-gradient(to right, rgba(3, 3, 3, 0.92) 0%, rgba(3, 3, 3, 0.85) 100%),
    url('https://i.ibb.co/S7DV5w3g/1766472694.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-primary);
}

.bg-cinematic-download {
  color: var(--text-primary);
}

body.bg-cinematic-download {
  position: relative;
  background: none;
  background-image: none;
  background-attachment: initial;
}

body.bg-cinematic-download::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, rgba(3, 3, 3, 0.92) 0%, rgba(3, 3, 3, 0.85) 100%),
    url('https://i.ibb.co/BHG4CMD3/1766476442.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0);
}

@media (max-height:820px) and (min-width:901px) {
  .download-hero .glass-card {
    transform: scale(0.92);
    transform-origin: center;
  }
}

@media (max-height:720px) and (min-width:901px) {
  .download-hero .glass-card {
    transform: scale(0.86);
  }
}

.bg-cinematic-2 {
  background-image: linear-gradient(to right, rgba(3, 3, 3, 0.88), rgba(3, 3, 3, 0.75)),
    url('https://images.unsplash.com/photo-1526378720426-4f6f4a8d5f15?q=80&w=2550&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-primary);
}

.bg-cinematic-3 {
  background-image: linear-gradient(180deg, rgba(3, 3, 3, 0.85), rgba(3, 3, 3, 0.70)),
    url('https://images.unsplash.com/photo-1526378720426-4f6f4a8d5f15?q=80&w=2550&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-primary);
}

.site-section {
  padding: 6rem 0;
  position: relative;
}

.site-section.lead {
  padding-top: 8rem;
  padding-bottom: 8rem
}

/* Enhanced fade-up with smoother transitions */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 700ms cubic-bezier(0.23, 1, 0.32, 1), 
              opacity 600ms cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.parallax {
  background-attachment: scroll;
  background-position: center;
  transition: background-position 100ms linear;
}

a.cta {
  display: inline-block;
  padding: .6rem 1rem;
  background: #fff;
  color: #000;
  border-radius: .375rem;
  font-weight: 600;
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
              background-color 300ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

a.cta:hover {
  transform: translateY(-2px) scale(1.02);
  background: #f5f5f5;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

a.cta:active {
  transform: translateY(0) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up,
  a.cta,
  .animate-fade-in-up,
  .animate-fade-in-down,
  .animate-slide-in-left,
  .animate-slide-in-right,
  .animate-scale-in {
    transition: none;
    animation: none;
  }
}

.hero-scale {
  transform-origin: top center;
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (max-height:950px) {
  .hero-scale {
    transform: scale(.92)
  }
}

.hero-fit {
  height: calc(130vh - 5rem);
  display: flex;
  align-items: center;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}

@media (max-height:520px) {
  .hero-fit {
    height: auto;
    align-items: flex-start;
    overflow: auto
  }
}

@media (max-height:860px) {
  .hero-scale {
    transform: scale(.88)
  }
}

@media (max-height:760px) {
  .hero-scale {
    transform: scale(.84)
  }
}

.site-footer {
  color: #d1d5db
}

.site-footer .footer-link {
  display: block;
  color: var(--tw-text-opacity, #9ca3af);
  text-decoration: none;
  transition: color 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.site-footer .footer-link:hover {
  color: #fff
}

.site-footer input {
  border: 1px solid rgba(255, 255, 255, 0.04)
}

.glass-card {
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.6), rgba(13, 13, 13, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(var(--glass-blur));
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 500ms cubic-bezier(0.23, 1, 0.32, 1),
              border-color 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.08);
}

.download-hero .title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700
}

.download-hero .subtitle {
  color: #cbd5e1
}

.download-cta {
  background: linear-gradient(90deg, #ffffff, #f3f4f6);
  color: #000;
  font-weight: 700;
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.download-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.download-cta:active {
  transform: translateY(0) scale(0.98);
}

.platform-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1),
              background 400ms cubic-bezier(0.23, 1, 0.32, 1),
              border-color 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.platform-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.08);
}

.download-meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, 'JetBrains Mono', monospace;
  background: rgba(0, 0, 0, 0.35);
  padding: .6rem;
  border-radius: .5rem;
  border: 1px solid rgba(255, 255, 255, 0.04)
}

.download-zoom {
  transform: scale(.85);
  transform-origin: top center;
  transition: transform .25s ease;
}

.download-zoom a {
  transition: transform .12s ease
}

.download-zoom a:active {
  transform: scale(.995)
}

@media (max-width:900px),
(max-height:500px) {
  .download-zoom {
    transform: none
  }
}

.nav-item-container {
  position: relative
}

.nav-dropdown {
  min-width: 22rem;
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: center;
  margin-top: 1.25rem
}

.showcase.alternate {
  grid-template-columns: 1fr 1fr
}

.showcase .showcase-text h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.9rem);
  font-weight: 700;
  margin-bottom: .5rem
}

.showcase .showcase-text p {
  color: #cbd5e1
}

.terminal-mock {
  position: relative;
  border-radius: .9rem;
  overflow: hidden;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.terminal-mock:hover {
  transform: translateY(-3px);
}

.terminal-mock .mock-bg {
  background: linear-gradient(180deg, #0b0b0b, #0f1113);
  padding: 1.25rem;
  border-radius: .75rem;
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.65);
}

.mock-toolbar {
  display: flex;
  gap: .5rem;
  align-items: center;
  margin-bottom: .75rem
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  display: inline-block;
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.mock-dot:hover {
  transform: scale(1.2);
}

.mock-dot.red {
  background: #ff5f56
}

.mock-dot.yellow {
  background: #ffbd2e
}

.mock-dot.green {
  background: #27c93f
}

.mock-content {
  background: #060608;
  border-radius: .5rem;
  padding: 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, 'JetBrains Mono', monospace;
  color: #d1d5db;
  font-size: .9rem;
  line-height: 1.5;
  max-height: 320px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.03)
}

.mock-line {
  display: block;
  opacity: 0;
  animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.mock-line:nth-child(1) { animation-delay: 0ms; }
.mock-line:nth-child(2) { animation-delay: 100ms; }
.mock-line:nth-child(3) { animation-delay: 200ms; }
.mock-line:nth-child(4) { animation-delay: 300ms; }
.mock-line:nth-child(5) { animation-delay: 400ms; }
.mock-line:nth-child(6) { animation-delay: 500ms; }

.mock-line .time {
  color: #6b7280;
  margin-right: .75rem;
  min-width: 70px;
  display: inline-block
}

.mock-line .msg.info {
  color: #93c5fd
}

.mock-line .msg.warn {
  color: #fbbf24
}

.mock-cta {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: linear-gradient(90deg, #111827, #0b1220);
  padding: .4rem .6rem;
  border-radius: .5rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-weight: 600;
  color: #fff;
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.mock-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.7);
}

@media (max-width:900px) {
  .showcase {
    grid-template-columns: 1fr;
    gap: 1rem
  }

  .mock-content {
    max-height: 220px
  }
}

:root {
  --bg: #030303;
  --muted: #A0A0A0;
  --accent: #4B9EFF;
  --glass: rgba(255, 255, 255, 0.04);
  --card-bg: linear-gradient(180deg, rgba(13, 13, 13, 0.6), rgba(13, 13, 13, 0.4));
  --radius: 12px;
}

body {
  background: var(--bg);
  color: #E8E8E8;
  font-synthesis: weight;
  font-feature-settings: "kern" 1;
  font-size: 16px;
  line-height: 1.6;
}

.site-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem
}

.nav-item {
  color: var(--muted);
  font-weight: 600;
  transition: color 300ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-item:hover {
  color: #fff;
  transform: translateY(-1px);
}

.site-container .flex.items-center.gap-4 a {
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
/* Full-page panel dropdown styles */
.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: min(95vw, 1200px);
  height: 500px;
  background: var(--bg-card);
  border: 1px solid var(--border-refined);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  display: none;
  opacity: 0;
  z-index: 1000;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(20px);
}

.nav-dropdown-panel.active {
  display: flex;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dropdown-left-panel {
  width: 300px;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-accent) 100%);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border-refined);
  position: relative;
  overflow: hidden;
}

.dropdown-left-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top right, rgba(75, 158, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.left-panel-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.left-panel-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.left-panel-use-cases {
  position: relative;
  z-index: 1;
}

.use-cases-title {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.use-cases-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.use-cases-list li {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.dropdown-right-panel {
  flex: 1;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  align-content: start;
  overflow-y: auto;
}

.dropdown-panel-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-refined);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.dropdown-panel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(75, 158, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.dropdown-panel-item:hover::before {
  left: 100%;
}

.dropdown-panel-item:hover {
  background: var(--bg-secondary);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.panel-item-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-accent);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.dropdown-panel-item:hover .panel-item-icon {
  background: var(--text-accent);
  color: white;
  transform: scale(1.1);
}

.panel-item-content {
  flex: 1;
  min-width: 0;
}

.panel-item-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.panel-item-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

/* Mobile responsive adjustments */
@media (max-width: 1024px) {
  .nav-dropdown-panel {
    position: fixed;
    top: 80px;
    left: 1rem;
    right: 1rem;
    transform: none;
    width: calc(100vw - 2rem);
    height: calc(100vh - 100px);
    flex-direction: column;
  }
  
  .dropdown-left-panel {
    width: 100%;
    padding: 2rem;
    border-right: none;
    border-bottom: 1px solid var(--border-refined);
    text-align: center;
  }
  
  .left-panel-title {
    font-size: 1.25rem;
  }
  
  .dropdown-right-panel {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.5rem;
  }
  
  .dropdown-panel-item {
    padding: 1rem;
  }
  
  .panel-item-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .nav-dropdown-panel {
    top: 70px;
    height: calc(100vh - 80px);
    border-radius: 0;
  }
  
  .dropdown-left-panel {
    padding: 1.5rem;
  }
  
  .dropdown-right-panel {
    padding: 1rem;
  }
}

/* Animation keyframes for panel items */
@keyframes panelItemReveal {
  0% {
    opacity: 0;
    transform: translateX(-20px) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

.nav-dropdown-panel.active .dropdown-panel-item {
  animation: panelItemReveal 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.nav-dropdown-panel.active .dropdown-panel-item:nth-child(1) { animation-delay: 0.1s; }
.nav-dropdown-panel.active .dropdown-panel-item:nth-child(2) { animation-delay: 0.2s; }
.nav-dropdown-panel.active .dropdown-panel-item:nth-child(3) { animation-delay: 0.3s; }
.nav-dropdown-panel.active .dropdown-panel-item:nth-child(4) { animation-delay: 0.4s; }

/* Enhanced dropdown animations for click interactions */
.nav-item-container .nav-item {
  cursor: pointer;
}

/* Accessibility focus styles */
.nav-item:focus,
.dropdown-item:focus {
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .9rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
              background 300ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 300ms cubic-bezier(0.23, 1, 0.32, 1),
              border-color 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: linear-gradient(90deg, #fff, #f3f4f6);
  color: #030303;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #f5f5f5, #e5e7eb);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #E8E8E8;
}

.btn:focus {
  outline: 2px solid rgba(96, 165, 250, 0.18);
  outline-offset: 3px
}

.glass-card {
  border-radius: var(--radius);
  padding: 1rem
}

.download-hero .title {
  letter-spacing: -0.02em
}

.showcase {
  gap: 2rem;
  align-items: center
}

.showcase .showcase-text {
  padding: 0 0.25rem
}

.showcase.alternate {
  grid-auto-flow: dense
}

.showcase.alternate .terminal-mock {
  order: 0
}

.showcase .terminal-mock {
  border-radius: calc(var(--radius) - 2px)
}

.mock-bg {
  padding: 1.4rem
}

.mock-toolbar {
  margin-bottom: 1rem
}

.mock-content {
  font-size: 0.92rem;
  color: #dbeafe;
  border-radius: 8px
}

.mock-line .time {
  color: #94a3b8;
  min-width: 72px
}

.mock-cta {
  right: 1rem;
  left: auto;
  bottom: 1rem;
  background: linear-gradient(90deg, #0ea5e9, #0369a1);
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.6)
}

.site-container p,
.site-container li {
  color: #A0A0A0
}

.site-container h1,
.site-container h2,
.site-container h3 {
  color: #E8E8E8
}

#site-footer {
  margin-top: 4rem
}

@media (max-width:900px) {
  .site-container {
    padding: 0 1rem
  }

  .mock-cta {
    position: static;
    margin-top: .75rem;
    display: inline-block
  }

.narrow {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  position: relative;
}

.hero-section.reverse {
  grid-auto-flow: dense;
}

.hero-section.reverse .hero-content {
  order: 2;
}

.hero-section.reverse .hero-image {
  order: 1;
}

.hero-content {
  padding: 0 1rem;
  z-index: 2;
}

.hero-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: #fff;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 0.6rem;
  color: #fff;
}

.hero-content .lead {
  color: #cbd5e1;
  margin-bottom: 1rem;
  font-size: 1.05rem
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap
}

.hero-ctas .btn {
  padding: .7rem 1rem;
  border-radius: 12px
}

.hero-ctas .btn-primary {
  background: linear-gradient(90deg, #ffffff, #f3f4f6);
  color: #07070a
}

.hero-ctas .btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1
}

.terminal-mock {
  max-width: 720px
}

.hero-content p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.hero-content p+p {
  margin-top: 1rem;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 75px rgba(2, 6, 23, 0.9);
}

@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }

  .hero-section.reverse .hero-content,
  .hero-section.reverse .hero-image {
    order: unset;
  }

  .hero-image img {
    border-radius: 12px;
  }
}

/* Downloads page styles */
.download-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  width: 100%;
}

.download-card {
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.6), rgba(13, 13, 13, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-md);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 400px;
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 500ms cubic-bezier(0.23, 1, 0.32, 1),
              border-color 500ms cubic-bezier(0.23, 1, 0.32, 1),
              background 500ms cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.03), transparent 70%);
  pointer-events: none;
  transition: opacity 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.download-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.15);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  z-index: 10;
}

.download-card:hover::before {
  opacity: 1.5;
}

.download-card .card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  flex-grow: 1;
  justify-content: center;
}

.platform-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: color 400ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.platform-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1),
              filter 500ms cubic-bezier(0.23, 1, 0.32, 1);
  fill: currentColor;
}

.download-card:hover .platform-icon svg {
  transform: scale(1.15) rotate(-5deg);
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.2));
}

#card-windows:hover .platform-icon {
  color: #00A4EF;
}

#card-linux:hover .platform-icon {
  color: #E95420;
}

#card-mac:hover .platform-icon {
  color: #A3AAAE;
}

.platform-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-top: 1.2rem;
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.download-card:hover .platform-name {
  transform: scale(1.05);
}

.platform-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: -0.5rem;
}

.card-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  width: 100%;
}

.btn-download {
  background: #fff;
  color: #030303;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  width: 90%;
  text-align: center;
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 300ms cubic-bezier(0.23, 1, 0.32, 1),
              background 300ms cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: var(--shadow-sm);
}

.btn-download:hover {
  background: #f5f5f5;
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.btn-download:active {
  transform: translateY(0) scale(0.98);
}

.btn-disabled {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.25);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  width: 90%;
  text-align: center;
  font-weight: 600;
  cursor: not-allowed;
}

.version {
  font-family: 'JetBrains Mono', monospace;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  border: none;
}

.download-card.muted {
  opacity: 0.6;
  transition: opacity 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.download-card.muted:hover {
  opacity: 1;
}

body.bg-cinematic-download {
  overflow-x: hidden;
  overflow-y: auto;
}

@media (max-width: 900px) {
  body.bg-cinematic-download {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .download-hero {
    height: auto;
    min-height: 100vh;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .downloads-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .download-card {
    height: auto;
    min-height: 300px;
    padding: 2rem;
  }
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Mobile Navigation */
@media (max-width: 1023px) {
  nav .max-w-\[1400px\] {
    padding: 0 1rem;
  }

  nav .flex.items-center.gap-12 {
    gap: 0.5rem;
  }

  nav .flex.items-center.gap-6 {
    gap: 0.5rem;
  }

  nav a.h-10 {
    font-size: 0.75rem;
    padding: 0 0.75rem;
    height: 2.5rem;
  }

/* Mobile Typography */
@media (max-width: 768px) {
  h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
    line-height: 1.2 !important;
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
  }

  h3 {
    font-size: clamp(1.25rem, 5vw, 1.75rem) !important;
  }

  .title {
    font-size: clamp(1.75rem, 7vw, 2.25rem) !important;
  }

  .subtitle {
    font-size: 0.95rem !important;
  }
}

/* Mobile Hero Sections */
@media (max-width: 1024px) {
  .hero-fit {
    height: auto !important;
    min-height: auto !important;
    padding: 6rem 0 3rem !important;
  }

  .hero-scale {
    transform: none !important;
  }

  .hero-section {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding: 2rem 0 !important;
  }

  .hero-section.reverse .hero-content,
  .hero-section.reverse .hero-image {
    order: unset !important;
  }

  .hero-content {
    padding: 0 !important;
  }

  .hero-content h1,
  .hero-content h2 {
    margin-bottom: 1rem !important;
  }

  .hero-content p {
    font-size: 1rem !important;
    margin-bottom: 0.75rem !important;
  }

  .hero-ctas {
    flex-direction: column !important;
    width: 100% !important;
  }

  .hero-ctas .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-image img {
    border-radius: 12px !important;
  }
}

/* Mobile Containers */
@media (max-width: 768px) {
  .site-container {
    padding: 0 1rem !important;
  }

  .max-w-\[1400px\] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .site-section {
    padding: 3rem 0 !important;
  }

  .site-section.lead {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
}

/* Mobile Glass Cards */
@media (max-width: 768px) {
  .glass-card {
    padding: 1.5rem !important;
  }

  .glass-panel {
    padding: 1rem !important;
  }
}

/* Mobile Buttons */
@media (max-width: 640px) {
  .btn {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.95rem !important;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    text-align: center;
  }
}

/* Mobile Terminal Mock */
@media (max-width: 768px) {
  .terminal-mock {
    max-width: 100% !important;
  }

  .mock-content {
    font-size: 0.75rem !important;
    max-height: 200px !important;
    padding: 0.75rem !important;
  }

  .mock-bg {
    padding: 1rem !important;
  }

  .mock-toolbar {
    margin-bottom: 0.5rem !important;
  }

  .mock-cta {
    position: static !important;
    margin-top: 0.75rem !important;
    display: inline-block !important;
  }
}

/* Mobile Features Grid */
@media (max-width: 768px) {
  .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-4 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .grid.grid-cols-1.md\:grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* Mobile Showcase */
@media (max-width: 900px) {
  .showcase {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .showcase.alternate {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Download Page */
@media (max-width: 768px) {
  .download-hero {
    padding-top: 6rem !important;
    padding-bottom: 3rem !important;
  }

  .download-hero .title {
    font-size: 1.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  .download-hero .subtitle {
    font-size: 0.9rem !important;
  }
}

/* Mobile 404 Page */
@media (max-width: 640px) {
  .text-8xl {
    font-size: 4rem !important;
  }

  .text-3xl {
    font-size: 1.75rem !important;
  }
}

/* Mobile Padding Adjustments */
@media (max-width: 640px) {
  .px-6 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .py-24 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .py-16 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .pt-20 {
    padding-top: 5rem !important;
  }

  .pt-28 {
    padding-top: 6rem !important;
  }
}

/* Mobile Text Alignment */
@media (max-width: 640px) {

  .text-center.mb-16,
  .text-center.mb-12 {
    margin-bottom: 2rem !important;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Mobile-friendly touch targets */
@media (max-width: 768px) {

  a,
  button {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Prevent horizontal scroll */
body {
  overflow-x: hidden;
}

/* Mobile menu specific styles */
#mobile-menu {
  backdrop-filter: blur(10px);
}

#mobile-menu a {
  padding: 0.75rem 0;
  display: block;
  transition: transform 250ms cubic-bezier(0.23, 1, 0.32, 1),
              color 250ms cubic-bezier(0.23, 1, 0.32, 1);
}

#mobile-menu a:hover {
  transform: translateX(5px);
}

/* Improve readability on small screens */
@media (max-width: 640px) {
  body {
    font-size: 16px;
    line-height: 1.6;
  }

  p {
    margin-bottom: 1rem;
  }
}

/* ===== FOOTER STYLES ===== */

footer {
    position: relative;
    z-index: 10;
    background: rgba(3, 3, 3, 0.9);
    backdrop-filter: blur(var(--glass-blur));
}

footer h3 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer a {
    text-decoration: none;
    transition: color 300ms cubic-bezier(0.23, 1, 0.32, 1),
                transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

footer a:hover {
    color: #ffffff !important;
    transform: translateX(3px);
}

footer .grid {
    display: grid;
}

/* Footer responsive grid */
@media (min-width: 768px) {
    footer .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    footer .md\:flex-row {
        flex-direction: row;
    }
}

/* Footer mobile styles */
@media (max-width: 767px) {
    footer .grid {
        gap: 2rem;
    }

    footer h3 {
        margin-top: 1.5rem;
    }

    footer h3:first-child {
        margin-top: 0;
    }
}

/* Footer social icons */
footer svg {
    display: inline-block;
    vertical-align: middle;
    transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

footer a:hover svg {
    transform: scale(1.1);
}

/* Footer bottom bar */
footer .border-t {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== NEW PAGE COMPONENTS ===== */

/* Refined typography for headings */
h1 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-weight: 600;
}

/* Enhanced selection color */
::selection {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Refined input focus */
input:focus, textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
}

/* Search box */
.search-box input::placeholder {
    color: #6b7280;
}

.search-box input:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* Filter buttons */
button.active {
    background: rgba(255, 255, 255, 0.15);
}

/* Blog card hover effects */
.glass-card a {
    color: inherit;
    text-decoration: none;
}

/* Pricing table */
table {
    border-collapse: collapse;
}

table th,
table td {
    vertical-align: middle;
}

/* Newsletter input */
.newsletter input:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* Breadcrumb styles */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.breadcrumb a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: #6b7280;
}
