:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f1f3f5;
  --bg-elevated: #ffffff;
  --aurora-blue: #4f8bff;
  --aurora-blue-light: #7aa7ff;
  --aurora-blue-soft: #e8f2ff;
  --aurora-lilac: #b8aaff;
  --aurora-lilac-light: #d4caff;
  --aurora-lilac-soft: #f5f3ff;
  --aurora-gold: #ffd980;
  --aurora-gold-soft: #fff9e6;
  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;
  --text-tertiary: #718096;
  --text-muted: #a0aec0;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e0;
  --success: #22c55e;
  --success-soft: #dcfce7;
  --warning: #f59e0b;
  --warning-soft: #fef3c7;
  --error: #ef4444;
  --error-soft: #fee2e2;
  --info: #3b82f6;
  --info-soft: #dbeafe;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(79, 139, 255, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(79, 139, 255, 0.1);
  touch-action: manipulation;
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  gap: var(--space-md);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  text-decoration: none;
}

.navbar-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.navbar-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar-nav {
  display: none;
  gap: var(--space-sm);
  align-items: center;
}

@media (min-width: 768px) {
  .navbar-nav {
    display: flex;
  }
}

.navbar-link {
  padding: var(--space-xs) var(--space-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-link:hover {
  color: var(--aurora-blue);
  background: var(--aurora-blue-soft);
}

.navbar-link.active {
  color: var(--aurora-blue);
  font-weight: 600;
}

.navbar-cta {
  display: none;
}

@media (min-width: 768px) {
  .navbar-cta {
    display: inline-flex;
  }
}

/* Mobile Menu */
@media (max-width: 767px) {
  .navbar {
    padding: 0.875rem 0;
  }

  .navbar-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    max-height: 100vh;
    overflow-y: auto;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    pointer-events: none;
    width: 85%;
    max-width: 320px;
  }

  .navbar-nav.active {
    display: flex;
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
  }

  .navbar-nav::before {
    content: 'Menu';
    display: block;
    padding: 1.25rem 1.25rem 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-secondary);
  }

  .navbar-link {
    width: 100%;
    padding: 1.125rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
    min-height: 52px;
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
  }

  .navbar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--aurora-blue);
    transform: scaleY(0);
    transition: transform 0.2s ease;
  }

  .navbar-link:active,
  .navbar-link:hover {
    background: var(--aurora-blue-soft);
    color: var(--aurora-blue);
  }

  .navbar-link:active::before,
  .navbar-link:hover::before {
    transform: scaleY(1);
  }

  .navbar-link:last-child {
    border-bottom: none;
  }

  .navbar-nav .navbar-cta-mobile {
    display: block;
    margin: 1rem 1.25rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--aurora-blue), var(--aurora-lilac));
    color: white;
    text-align: center;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(79, 139, 255, 0.3);
    transition: all 0.2s ease;
  }

  .navbar-nav .navbar-cta-mobile:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(79, 139, 255, 0.3);
  }

  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  body.menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(2px);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--aurora-blue), var(--aurora-lilac));
  color: white;
  box-shadow: 0 4px 15px rgba(79, 139, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 139, 255, 0.4);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--aurora-blue);
  color: var(--aurora-blue);
}

/* Hero Section */
.hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background: linear-gradient(135deg, var(--aurora-blue-soft) 0%, var(--aurora-lilac-soft) 50%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--aurora-blue);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--aurora-blue), var(--aurora-lilac));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* Sections */
.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--aurora-blue-soft);
  color: var(--aurora-blue);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.card-description {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Quote */
.quote {
  font-style: italic;
  background: white;
  border-left: 4px solid var(--aurora-blue);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
}

.checklist li {
  padding: var(--space-sm) 0 var(--space-sm) 2rem;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.7;
}

.checklist li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  color: var(--aurora-blue);
  font-weight: bold;
  font-size: 1.125rem;
}

.highlight {
  color: var(--aurora-blue);
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--aurora-blue-soft), var(--aurora-lilac-soft));
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.cta-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: var(--space-2xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
  text-align: center;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-link {
  color: var(--aurora-blue);
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: var(--space-xs);
  line-height: 1;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 2rem 0 1.5rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.625rem;
  }

  .section-subtitle {
    font-size: 0.9375rem;
  }

  .card {
    padding: 1.25rem;
  }

  .quote {
    padding: var(--space-md);
    font-size: 0.9375rem;
  }

  .cta-section {
    padding: 2rem 1rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    min-height: 48px;
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
  }
}

/* Utility */
.bg-secondary {
  background: var(--bg-secondary);
}

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