/* CSS Variables and Base Styles */
:root {
  /* Comet cosmic theme colors */
  --background: 0 0% 98%;
  --foreground: 220 15% 20%;

  --card: 0 0% 100%;
  --card-foreground: 220 15% 20%;

  --popover: 0 0% 100%;
  --popover-foreground: 220 15% 20%;

  /* Cosmic primary colors - teal/turquoise */
  --primary: 190 95% 35%;
  --primary-foreground: 0 0% 100%;

  --secondary: 220 15% 95%;
  --secondary-foreground: 220 15% 20%;

  --muted: 220 15% 96%;
  --muted-foreground: 220 10% 50%;

  --accent: 195 100% 85%;
  --accent-foreground: 220 15% 20%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;

  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 190 95% 35%;

  --radius: 0.75rem;

  /* Cosmic gradient colors */
  --cosmic-orange: 25 95% 65%;
  --cosmic-red: 0 85% 60%;
  --cosmic-blue: 210 95% 45%;
  --cosmic-teal: 190 95% 35%;
  --cosmic-green: 160 85% 45%;
  --cosmic-purple: 280 95% 60%;

  /* Gradients */
  --gradient-cosmic-1: linear-gradient(135deg, hsl(var(--cosmic-orange)), hsl(var(--cosmic-red)));
  --gradient-cosmic-2: linear-gradient(135deg, hsl(var(--cosmic-blue)), hsl(var(--cosmic-teal)));
  --gradient-cosmic-3: linear-gradient(135deg, hsl(var(--cosmic-green)), hsl(var(--cosmic-blue)));
  --gradient-cosmic-4: linear-gradient(135deg, hsl(var(--cosmic-purple)), hsl(var(--cosmic-orange)));
  
  /* Professional backgrounds */
  --gradient-main: linear-gradient(135deg, #ffffff, #f3f5f7);
  --gradient-professional: linear-gradient(135deg, hsl(var(--background)), hsl(220 15% 98%));
  
  /* Hero gradient with subtle blobs */
  --gradient-hero: radial-gradient(ellipse at center, hsl(var(--cosmic-teal) / 0.08), transparent 70%), 
                   radial-gradient(ellipse at top right, hsl(var(--cosmic-orange) / 0.12), transparent 50%),
                   radial-gradient(ellipse at bottom left, hsl(var(--cosmic-blue) / 0.08), transparent 60%);

  /* Glassmorphism effects */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);

  /* Subtle blob colors */
  --blob-primary: hsl(262 80% 85% / 0.3);
  --blob-secondary: hsl(200 100% 80% / 0.3);

  /* Shadows */
  --shadow-cosmic: 0 25px 50px -12px hsl(var(--cosmic-teal) / 0.25);
  --shadow-glow: 0 0 30px hsl(var(--primary) / 0.3);
  --shadow-elegant: 0 10px 30px -10px rgba(0, 0, 0, 0.1);

  /* Animations */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

[data-theme="dark"] {
  --background: 220 27% 8%;
  --foreground: 220 15% 95%;

  --card: 220 27% 10%;
  --card-foreground: 220 15% 95%;

  --popover: 220 27% 10%;
  --popover-foreground: 220 15% 95%;

  --primary: 190 95% 45%;
  --primary-foreground: 220 27% 8%;

  --secondary: 220 27% 15%;
  --secondary-foreground: 220 15% 95%;

  --muted: 220 27% 15%;
  --muted-foreground: 220 15% 65%;

  --accent: 190 95% 25%;
  --accent-foreground: 220 15% 95%;

  --destructive: 0 62.8% 50%;
  --destructive-foreground: 220 15% 95%;

  --border: 220 27% 18%;
  --input: 220 27% 18%;
  --ring: 190 95% 45%;

  /* Dark mode professional backgrounds */
  --gradient-main: linear-gradient(135deg, #0d1117, #1a2234);
  --gradient-professional: linear-gradient(135deg, hsl(var(--background)), hsl(220 27% 12%));
  
  /* Dark mode gradients with particles */
  --gradient-hero: radial-gradient(ellipse at center, hsl(var(--cosmic-teal) / 0.12), transparent 70%), 
                   radial-gradient(ellipse at top right, hsl(var(--cosmic-orange) / 0.15), transparent 50%),
                   radial-gradient(ellipse at bottom left, hsl(var(--cosmic-blue) / 0.12), transparent 60%);

  /* Dark glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Dark blob colors */
  --blob-primary: hsl(262 80% 60% / 0.2);
  --blob-secondary: hsl(200 100% 60% / 0.2);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--gradient-main);
  background-attachment: fixed;
  color: hsl(var(--foreground));
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1;
}

/* Loading animation */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-main);
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

body.loaded::before {
  opacity: 0;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-elegant);
}

[data-theme="dark"] .glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Blob animations */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.blob-1 {
  background: var(--blob-primary);
  top: 10%;
  left: 10%;
  width: 300px;
  height: 300px;
  animation-delay: 0s;
}

.blob-2 {
  background: var(--blob-secondary);
  top: 60%;
  right: 10%;
  width: 200px;
  height: 200px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .navbar {
  background: rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s ease;
}

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

.logo-img {
  width: 2.75rem;
  height: 2.75rem;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: rotate(5deg);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #9333ea, #ec4899, #f59e0b);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 60;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 1.5rem;
  height: 2px;
  background: hsl(var(--foreground));
  margin: 2px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 3rem;
}

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

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.8);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  overflow: hidden;
}

.nav-link::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #9333ea, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.nav-link:hover::before {
  transform: translateY(0);
}

.nav-link:hover {
  color: transparent;
}

.nav-link.active {
  color: transparent;
}

.nav-link.active::before {
  transform: translateY(0);
}

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

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: hsl(var(--foreground) / 0.7);
  text-decoration: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.social-link:hover {
  color: hsl(var(--foreground));
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: hsl(var(--foreground) / 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  color: hsl(var(--foreground));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, #9333ea, #ec4899);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
}

.nav-cta .btn-icon {
  transition: transform 0.3s ease;
}

.nav-cta:hover .btn-icon {
  transform: translateX(3px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.show {
  display: block;
  opacity: 1;
  visibility: visible;
}

.mobile-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

[data-theme="dark"] .mobile-menu-overlay {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  max-width: 320px;
  height: 100vh;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .mobile-menu-content {
  background: rgba(0, 0, 0, 0.9);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.show .mobile-menu-content {
  transform: translateX(0);
}

/* Enhanced mobile menu animations */
.mobile-menu.show .mobile-menu-overlay {
  animation: fadeInOverlay 0.3s ease-out;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}

[data-theme="dark"] .mobile-menu.show .mobile-menu-overlay {
  animation: fadeInOverlayDark 0.3s ease-out;
}

@keyframes fadeInOverlayDark {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(12px);
  }
}

.mobile-menu.show .mobile-menu-content {
  animation: slideInFromRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

[data-theme="dark"] .mobile-menu-header {
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-logo-img {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-logo-text {
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #9333ea, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--muted));
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-close:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.mobile-nav-links {
  flex: 1;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  overflow-y: auto;
  min-height: 0;
  justify-content: flex-start;
}

[data-theme="dark"] .mobile-nav-links {
  background: rgba(0, 0, 0, 0.3);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.mobile-nav-link:hover::before {
  left: 100%;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 1);
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.mobile-nav-link.active {
  background: linear-gradient(135deg, #9333ea, #ec4899);
  color: white;
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
}

[data-theme="dark"] .mobile-nav-link.active {
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.6);
}

.mobile-nav-link i {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-menu-actions {
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  margin-top: auto;
}

[data-theme="dark"] .mobile-menu-actions {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.mobile-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 1);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .mobile-social-link {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .mobile-social-link:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.mobile-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 1);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .mobile-theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .mobile-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #9333ea, #ec4899);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
  position: relative;
  overflow: hidden;
}

.mobile-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.mobile-cta:hover::before {
  left: 100%;
}

.mobile-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
}

[data-theme="dark"] .mobile-cta {
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.5);
}

[data-theme="dark"] .mobile-cta:hover {
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.6);
}

.mobile-cta i {
  width: 1.25rem;
  height: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  padding: 0.5rem 1rem;
}

.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
}

.btn-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.btn-secondary:hover {
  background: hsl(var(--secondary) / 0.8);
}

.btn-outline {
  border: 1px solid hsl(var(--input));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.comet-btn {
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: var(--shadow-glow);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.comet-btn:hover {
  box-shadow: var(--shadow-cosmic);
}

.comet-btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.comet-btn-secondary {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
}

.comet-btn-secondary:hover {
  background: hsl(var(--accent));
}

.btn-icon {
  width: 1rem;
  height: 1rem;
}

/* Main Content */
.main-content {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 6rem;
}

/* Interactive Elements */
.interactive-element {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

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

/* Hover effects for cards */
.glass-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .glass-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Button hover effects */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

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

/* Loading states */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Focus states for accessibility */
.btn:focus-visible,
.nav-link:focus-visible,
.social-link:focus-visible,
.theme-toggle:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

/* Smooth transitions for theme changes */
* {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

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

::-webkit-scrollbar-track {
  background: hsl(var(--muted));
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--muted-foreground) / 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--muted-foreground) / 0.5);
}

/* Cosmic Background */
.cosmic-background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 10;
  opacity: 0.9;
}

[data-theme="dark"] .cosmic-background {
  opacity: 0.8;
}

.cosmic-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
  filter: blur(4px);
  animation: float 6s ease-in-out infinite;
}

.cosmic-orb-1 {
  background: var(--gradient-cosmic-1);
  width: 24rem;
  height: 24rem;
  top: -12rem;
  right: -12rem;
  animation-delay: 0s;
}

.cosmic-orb-2 {
  background: var(--gradient-cosmic-2);
  width: 18rem;
  height: 18rem;
  bottom: -9rem;
  left: -9rem;
  animation-delay: 2s;
}

.cosmic-orb-3 {
  background: var(--gradient-cosmic-3);
  width: 12rem;
  height: 12rem;
  top: 33%;
  right: -6rem;
  animation-delay: 1s;
}

.cosmic-orb-4 {
  background: var(--gradient-cosmic-4);
  width: 6rem;
  height: 6rem;
  bottom: 5rem;
  right: 5rem;
  animation-delay: 3s;
}

.cosmic-orb-5 {
  background: var(--gradient-cosmic-2);
  width: 6rem;
  height: 6rem;
  top: 5rem;
  left: 5rem;
  animation-delay: 4s;
}

/* Starry Background */
.starry-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -10;
  transition: opacity 1s;
  opacity: 0;
}

[data-theme="dark"] .starry-background {
  opacity: 1;
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 3rem 0 5rem;
  text-align: center;
}

.hero-content {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.title-gradient {
  background: linear-gradient(to right, hsl(var(--foreground)), hsl(var(--foreground) / 0.8));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .title-gradient {
  background: linear-gradient(to right, #ffffff, #d1d5db);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title em,
.hero-title .italic {
  font-style: italic;
  font-weight: 300;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--foreground) / 0.9);
  font-weight: 400;
  max-width: 32rem;
  margin: 0 auto;
}

[data-theme="dark"] .hero-subtitle {
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}

.hero-note {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.8);
  font-weight: 500;
}

[data-theme="dark"] .hero-note {
  color: #d1d5db;
}

/* Browser Preview */
.browser-preview {
  margin-top: 3rem;
  position: relative;
  padding: 0 0.5rem;
}

.browser-card {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0.125rem;
  border-radius: 0.75rem;
}

.browser-card > div {
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  padding: 0.5rem;
  border: 1px solid hsl(var(--border) / 0.5);
}

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

.browser-controls {
  display: flex;
  gap: 0.375rem;
}

.control-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.control-dot.red {
  background: #ef4444;
}

.control-dot.yellow {
  background: #eab308;
}

.control-dot.green {
  background: #22c55e;
}

.browser-title {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.browser-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--muted) / 0.5);
  border-radius: 0.5rem;
  padding: 0.25rem 0.75rem;
}

[data-theme="dark"] .browser-logo {
  background: hsl(var(--muted) / 0.2);
}

.logo-small {
  width: 1.5rem;
  height: 1.5rem;
  max-width: 2.5rem;
  max-height: 2.5rem;
}

.browser-tag {
  display: none;
  align-items: center;
  background: hsl(var(--accent) / 0.5);
  border-radius: 0.5rem;
  padding: 0.25rem 0.75rem;
}

[data-theme="dark"] .browser-tag {
  background: hsl(var(--accent) / 0.3);
}

.browser-tag span {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.browser-content {
  height: 12rem;
  background: hsl(var(--muted) / 0.5);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--border) / 0.2);
  overflow: hidden;
  position: relative;
}

[data-theme="dark"] .browser-content {
  background: hsl(var(--muted) / 0.2);
}

.preview-logo {
  width: 3rem;
  height: 3rem;
  opacity: 0.7;
}

[data-theme="dark"] .preview-logo {
  opacity: 0.5;
}

/* Video Preview Styles */
.preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  opacity: 0.9;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .preview-video {
  opacity: 0.8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.preview-video:hover {
  opacity: 1;
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .preview-video:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Video Fallback Styles */
.video-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

.fallback-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.fallback-text {
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
}

/* Responsive Design */
@media (min-width: 640px) {
  .mobile-menu-btn {
    display: none;
  }
  
  .desktop-nav {
    display: flex;
  }
  
  .hero-title {
    font-size: 3.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .browser-tag {
    display: flex;
  }
  
  .browser-content {
    height: 16rem;
  }
  
  .preview-logo {
    width: 4rem;
    height: 4rem;
  }
  
  .preview-video {
    border-radius: 0.75rem;
  }
  
  .nav-content {
    gap: 3rem;
  }
  
  .nav-links {
    gap: 3rem;
  }
  
  .nav-actions {
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
  
  .navbar {
    padding: 1.5rem 0;
  }
  
  .navbar.scrolled {
    padding: 1rem 0;
  }
  
  .nav-content {
    gap: 4rem;
  }
  
  .nav-links {
    gap: 3.5rem;
  }
  
  .nav-actions {
    gap: 2.5rem;
  }
  
  .social-links {
    gap: 1.25rem;
  }
  
  .social-link,
  .theme-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5rem;
  }
  
  .nav-content {
    gap: 5rem;
  }
  
  .nav-links {
    gap: 4rem;
  }
  
  .nav-actions {
    gap: 3rem;
  }
  
  .social-links {
    gap: 1.5rem;
  }
  
  .social-link,
  .theme-toggle {
    width: 3rem;
    height: 3rem;
  }
  
  .nav-cta {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 6rem;
  }
  
  .nav-content {
    gap: 6rem;
  }
  
  .nav-links {
    gap: 4.5rem;
  }
  
  .nav-actions {
    gap: 3.5rem;
  }
}

/* Mobile-specific improvements */
@media (max-width: 639px) {
  .container {
    padding: 0 1.25rem;
  }
  
  .navbar {
    padding: 1rem 0;
  }
  
  .logo {
    gap: 0.5rem;
  }
  
  .logo-img {
    width: 2.25rem;
    height: 2.25rem;
  }
  
  .logo-text {
    font-size: 1.125rem;
  }
  
  .mobile-menu-btn {
    width: 2.25rem;
    height: 2.25rem;
  }
  
  .hamburger-line {
    width: 1.25rem;
  }
  
  .mobile-menu-content {
    width: 80%;
    max-width: 300px;
    height: 100vh;
    min-height: 100vh;
  }
  
  .mobile-menu-header {
    padding: 1.25rem;
  }
  
  .mobile-nav-links {
    padding: 1.5rem 1.25rem;
  }
  
  .mobile-menu-actions {
    padding: 1.25rem;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .nav-link:hover::before {
    transform: translateY(100%);
  }
  
  .nav-link:hover {
    color: hsl(var(--foreground) / 0.8);
  }
  
  .social-link:hover,
  .theme-toggle:hover,
  .nav-cta:hover {
    transform: none;
  }
  
  .mobile-nav-link:hover {
    transform: translateX(4px);
  }
  
  .mobile-nav-link:active {
    transform: translateX(8px) scale(0.98);
    background: hsl(var(--accent) / 0.4);
  }
  
  .mobile-social-link:hover,
  .mobile-theme-toggle:hover {
    transform: translateY(-1px) scale(1.05);
  }
  
  .mobile-social-link:active,
  .mobile-theme-toggle:active {
    transform: scale(0.95);
  }
  
  .mobile-cta:hover {
    transform: translateY(-1px) scale(1.01);
  }
  
  .mobile-cta:active {
    transform: scale(0.98);
  }
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
  color: hsl(var(--foreground) / 0.9);
  margin-bottom: 1rem;
}

[data-theme="dark"] .section-title {
  color: #ffffff;
}

.section-description {
  font-size: 1.25rem;
  color: hsl(var(--foreground) / 0.8);
  font-weight: 400;
  max-width: 48rem;
  margin: 0 auto;
}

[data-theme="dark"] .section-description {
  color: #d1d5db;
}

/* Introduction Section */
.intro-section {
  position: relative;
  z-index: 10;
  padding: 3rem 0;
  text-align: center;
}

.intro-content {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Features Section */
.features-section {
  position: relative;
  z-index: 10;
  padding: 3rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  width: 2rem;
  height: 2rem;
  background: hsl(var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary-foreground));
}

.feature-text {
  font-weight: 500;
  color: hsl(var(--foreground) / 0.9);
}

[data-theme="dark"] .feature-text {
  color: #f3f4f6;
}

/* Powerful Section */
.powerful-section {
  position: relative;
  z-index: 10;
  padding: 3rem 0;
}

.powerful-content {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.powerful-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 0.5rem;
}

.powerful-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
}

.powerful-title {
  font-size: 3rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
}

.powerful-description {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  max-width: 48rem;
  margin: 0 auto;
}

.powerful-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.powerful-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.powerful-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.powerful-item-title {
  font-size: 1.875rem;
  font-weight: 300;
}

.powerful-item-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

.powerful-card {
  padding: 1.5rem;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-icon {
  width: 2rem;
  height: 2rem;
  background: hsl(var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon i {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary-foreground));
}

.card-title {
  font-weight: 500;
}

.card-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Feels Real Section */
.feels-real-section {
  position: relative;
  z-index: 10;
  padding: 3rem 0;
}

.feels-real-content {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.feels-real-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 0.5rem;
}

.feels-real-title {
  font-size: 3rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
}

.feels-real-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
}

.feels-real-description {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  max-width: 48rem;
  margin: 0 auto;
}

.feels-real-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feels-real-item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feels-real-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feels-real-item-title {
  font-size: 1.5rem;
  font-weight: 300;
}

.feels-real-item-description {
  color: hsl(var(--muted-foreground));
}

.feels-real-card {
  padding: 1.5rem;
}

.card-example {
  background: hsl(var(--muted));
  padding: 0.75rem;
  border-radius: 0.5rem;
}

[data-theme="dark"] .card-example {
  background: hsl(var(--muted) / 0.5);
}

.example-text {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

.card-examples {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.example-item {
  background: hsl(var(--muted));
  padding: 0.75rem;
  border-radius: 0.5rem;
}

[data-theme="dark"] .example-item {
  background: hsl(var(--muted) / 0.5);
}

/* Personal Section */
.personal-section {
  position: relative;
  z-index: 10;
  padding: 3rem 0;
}

.personal-content {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.personal-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 0.5rem;
}

.personal-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
}

.personal-title {
  font-size: 3rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
}

.personal-description {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  max-width: 48rem;
  margin: 0 auto;
}

.personal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.personal-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.personal-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.personal-item-title {
  font-size: 1.25rem;
  font-weight: 300;
}

.personal-item-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.personal-card {
  padding: 1rem 1.5rem;
}

.settings-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}

.setting-value {
  color: hsl(var(--primary));
  margin-left: 1rem;
}

/* FAQ Section */
.faq-section {
  position: relative;
  z-index: 10;
  padding: 3rem 0;
  text-align: center;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.faq-content {
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.125rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-trigger:hover {
  background: hsl(var(--muted) / 0.5);
}

.accordion-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
}

.accordion-content p {
  padding: 0 1.5rem 1rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.faq-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

/* Footer */
.footer {
  position: relative;
  z-index: 10;
  padding: 2rem 0 3rem;
}

.footer-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo-img {
  width: 2.5rem;
  height: 2.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.footer-copyright {
  color: hsl(var(--muted-foreground));
}

.footer-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: hsl(var(--foreground));
}

/* Modal Styles */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.show {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: hsl(var(--background));
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
  position: relative;
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.modal-description {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  padding: 0.5rem;
  background: none;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  border-radius: 0.25rem;
  transition: all 0.2s;
}

.modal-close:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.modal-body {
  padding: 1.5rem;
}

/* Form Styles */
.wishlist-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.form-input {
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--input));
  background: hsl(var(--background));
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.form-input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.form-error {
  font-size: 0.75rem;
  color: hsl(var(--destructive));
  min-height: 1rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.btn-loading {
  display: none;
}

.btn:disabled .btn-text {
  display: none;
}

.btn:disabled .btn-loading {
  display: inline;
}

/* Toast Styles */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  max-width: 20rem;
  animation: slideIn 0.3s ease-out;
}

.toast.success {
  border-left: 4px solid hsl(var(--primary));
}

.toast.error {
  border-left: 4px solid hsl(var(--destructive));
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Admin Panel Styles */
.admin-panel {
  position: relative;
  z-index: 10;
  padding: 2rem 0;
  min-height: 100vh;
  background: hsl(var(--background));
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-title h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.admin-subtitle {
  color: hsl(var(--muted-foreground));
}

.admin-actions {
  display: flex;
  gap: 0.5rem;
}

.admin-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.admin-card-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.admin-card-body {
  padding: 1.5rem;
}

.applications-table {
  overflow-x: auto;
}

.table-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 1rem;
}

.loading-spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid hsl(var(--border));
  border-top: 2px solid hsl(var(--primary));
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design for Sections */
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .faq-actions {
    flex-direction: row;
  }
  
  .footer-links {
    flex-direction: row;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
  
  .powerful-title,
  .feels-real-title,
  .personal-title {
    font-size: 4rem;
  }
  
  .powerful-grid,
  .feels-real-grid,
  .personal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .powerful-item:nth-child(2) {
    flex-direction: row-reverse;
  }
  
  .powerful-item:nth-child(2) .powerful-card {
    order: 1;
  }
  
  .powerful-item:nth-child(2) .powerful-text {
    order: 2;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.75rem;
  }
  
  .powerful-title,
  .feels-real-title,
  .personal-title {
    font-size: 5rem;
  }
}

@media (min-width: 1280px) {
  .section-title {
    font-size: 4rem;
  }
  
  .powerful-title,
  .feels-real-title,
  .personal-title {
    font-size: 6rem;
  }
}
