
@import url('styles.css');
:root {
  /* Light mode colors */
  --primary-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  --secondary-bg: rgba(255, 255, 255, 0.8);
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --accent-hover: linear-gradient(135deg, #5a67d8 0%, #6b46a6 100%);
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shape-color-1: rgba(102, 126, 234, 0.1);
  --shape-color-2: rgba(118, 75, 162, 0.1);
  --shape-color-3: rgba(59, 130, 246, 0.1);
}

[data-theme="dark"] {
  /* Dark mode colors */
  --primary-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --secondary-bg: rgba(15, 23, 42, 0.8);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --accent-hover: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --glass-bg: rgba(15, 23, 42, 0.4);
  --glass-border: rgba(148, 163, 184, 0.1);
  --shadow-light: rgba(0, 0, 0, 0.3);
  --shadow-medium: rgba(0, 0, 0, 0.4);
  --shape-color-1: rgba(59, 130, 246, 0.15);
  --shape-color-2: rgba(139, 92, 246, 0.15);
  --shape-color-3: rgba(34, 197, 94, 0.1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--primary-bg);
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.theme-toggle {
  position: fixed;
  top: 4rem;
  right: 2rem;
  z-index: 1000;
}

#theme-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px var(--shadow-light);
}

#theme-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px var(--shadow-medium);
}

[data-theme="dark"] .sun-icon {
  display: none;
}

.moon-icon {
  display: none;
}

[data-theme="dark"] .moon-icon {
  display: inline;
}

.hero-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
}

.background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: float 6s ease-in-out infinite;
}

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

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--shape-color-2);
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--shape-color-3);
  bottom: 20%;
  left: 60%;
  animation-delay: 4s;
}

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

.glassmorphism-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 4rem 3rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 48px var(--shadow-light);
  max-width: 600px;
  width: 100%;
  text-align: center;
  animation: slideUp 0.8s ease-out;
  position: relative;
  overflow: hidden;
}

.glassmorphism-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

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

.logo-section {
  margin-bottom: 2rem;
}

.logo-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-gradient);
  border-radius: 16px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
  animation: pulse 2s ease-in-out infinite;
  position: relative;
}

.logo-icon::after {
  content: '⚡';
  font-size: 1.8rem;
  color: white;
}

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

.main-heading {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.subheading {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 3rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.btn {
  position: relative;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 1rem 2rem;
  overflow: hidden;
}

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

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.btn-glow {
  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 ease;
}

.btn-primary:hover .btn-glow {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background: var(--glass-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-light);
}

.btn-tertiary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  font-weight: 500;
}

.btn-tertiary:hover {
  color: var(--text-primary);
  border-color: var(--glass-border);
  background: var(--glass-bg);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.floating-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-gradient);
  border-radius: 50%;
  animation: floatDot 4s ease-in-out infinite;
}

.dot-1 {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.dot-2 {
  top: 70%;
  right: 20%;
  animation-delay: 1s;
}

.dot-3 {
  bottom: 30%;
  left: 70%;
  animation-delay: 2s;
}

@keyframes floatDot {
  0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
  50% { transform: translateY(-15px) scale(1.2); opacity: 1; }
}

/* Responsive Design */
@media (min-width: 768px) {
  .cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .glassmorphism-panel {
    padding: 5rem 4rem;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: 1rem;
  }
  
  .glassmorphism-panel {
    padding: 3rem 2rem;
    border-radius: 16px;
  }
  
  .btn {
    min-width: 200px;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
  
  .theme-toggle {
    top: 1rem;
    right: 1rem;
  }
  
  #theme-btn {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
}

/* Focus styles for accessibility */
.btn:focus,
#theme-btn:focus {
  outline: 2px solid var(--accent-gradient);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .glassmorphism-panel {
    border: 2px solid var(--text-primary);
  }
  
  .btn-secondary {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
