/* =========================================
   CSS Variables & Design Tokens
   ========================================= */
:root {
  /* Color Palette - Light White & Blue Theme */
  --bg-color: #f8fafc;
  --bg-alt: #f1f5f9;
  
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  
  --accent-1: #60a5fa;
  --accent-2: #93c5fd;
  --accent-3: #dbeafe;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   Background Blobs & Animations
   ========================================= */
.background-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-3);
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: #e0f2fe;
  bottom: -20%;
  left: -10%;
  animation-delay: -5s;
}

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

/* =========================================
   Glassmorphism Utilities
   ========================================= */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* =========================================
   Typography
   ========================================= */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-top: none;
}

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

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: white;
  color: var(--text-main);
  border: 2px solid var(--bg-alt);
}

.btn-secondary:hover {
  border-color: var(--primary-light);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary-light);
}

.btn-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

/* =========================================
   Sections & Cards
   ========================================= */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 48px;
}

.bg-light-alt {
  background-color: var(--bg-alt);
  position: relative;
  z-index: 1;
}

.card {
  padding: 40px;
  border-radius: var(--radius-lg);
}

.feature-card {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.feature-card h2 {
  margin-bottom: 16px;
  font-size: 2rem;
}

.feature-card p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.principle-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease;
}

.principle-card:hover {
  transform: translateY(-8px);
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.principle-card h3 {
  font-size: 1.5rem;
}

.principle-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =========================================
   Lists
   ========================================= */
.feature-list {
  list-style-type: none;
  margin-top: 24px;
}

.feature-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.mt-4 {
  margin-top: 32px;
}

.cta-box {
  text-align: center;
  padding: 64px 40px;
  border-radius: var(--radius-lg);
  max-width: 800px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* =========================================
   Footer
   ========================================= */
footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

footer p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* =========================================
   Micro-Animations
   ========================================= */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.slide-up {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

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

/* Scroll Animation Classes */
.staggered {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.staggered.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple mobile nav approach for MVP */
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}
