/* Main Styles */
:root {
  /* Color system */
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-300: #7dd3fc;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;
  
  --secondary-50: #f0fdfa;
  --secondary-100: #ccfbf1;
  --secondary-200: #99f6e4;
  --secondary-300: #5eead4;
  --secondary-400: #2dd4bf;
  --secondary-500: #14b8a6;
  --secondary-600: #0d9488;
  --secondary-700: #0f766e;
  --secondary-800: #115e59;
  --secondary-900: #134e4a;
  
  --accent-50: #fff7ed;
  --accent-100: #ffedd5;
  --accent-200: #fed7aa;
  --accent-300: #fdba74;
  --accent-400: #fb923c;
  --accent-500: #f97316;
  --accent-600: #ea580c;
  --accent-700: #c2410c;
  --accent-800: #9a3412;
  --accent-900: #7c2d12;
  
  --success-50: #f0fdf4;
  --success-500: #22c55e;
  --success-700: #15803d;
  
  --warning-50: #fffbeb;
  --warning-500: #eab308;
  --warning-700: #a16207;
  
  --error-50: #fef2f2;
  --error-500: #ef4444;
  --error-700: #b91c1c;
  
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  
  /* Spacing system (based on 8px) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  
  /* Typography */
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */
  --font-size-6xl: 3.75rem;  /* 60px */
  
  /* Borders & Shadows */
  --border-radius-sm: 0.25rem; /* 4px */
  --border-radius: 0.5rem;     /* 8px */
  --border-radius-lg: 1rem;    /* 16px */
  --border-radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-default: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --transition-fast: all 0.15s ease;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  transition: var(--transition-default);
}

.btn-primary {
  background-color: var(--primary-600);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-700);
  border: 1px solid var(--primary-600);
}

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

.btn-tertiary {
  background-color: transparent;
  color: var(--primary-700);
  position: relative;
}

.btn-tertiary::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-600);
  transition: var(--transition-default);
}

.btn-tertiary:hover::after {
  width: 100%;
}

.btn-calendly {
  background-color: var(--secondary-600);
  color: white;
}

.btn-calendly:hover {
  background-color: var(--secondary-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-default);
}

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

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  height: 80px;
}

.logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-800);
}

.nav-menu {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--neutral-700);
  transition: var(--transition-default);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-600);
  transition: var(--transition-default);
}

.nav-link:hover {
  color: var(--primary-700);
}

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

.contact-btn {
  background-color: var(--primary-600);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--border-radius);
}

.contact-btn:hover {
  background-color: var(--primary-700);
  color: white;
}

.contact-btn::after {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background-color: var(--neutral-800);
  border-radius: 10px;
  transition: var(--transition-default);
}

/* Sections */
section {
  padding: var(--space-20) 0;
}

.section-title {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-12);
  text-align: center;
  color: var(--neutral-900);
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
  color: var(--neutral-600);
  font-size: var(--font-size-lg);
}

/* Footer */
.footer {
  background-color: var(--neutral-900);
  color: var(--neutral-200);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-logo {
  font-size: var(--font-size-2xl);
  font-weight: 700;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer-column h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
  color: white;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-column a {
  color: var(--neutral-400);
  transition: var(--transition-default);
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--neutral-800);
  text-align: center;
  color: var(--neutral-500);
  font-size: var(--font-size-sm);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-logo {
    margin-bottom: var(--space-4);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    flex-direction: column;
    background-color: white;
    width: 80%;
    height: calc(100vh - 80px);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-default);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-8);
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Placeholder images */
.placeholder-image {
  background-color: var(--neutral-200);
  border-radius: var(--border-radius);
  width: 100%;
  height: 0;
  padding-bottom: 75%; /* 4:3 aspect ratio */
  position: relative;
  overflow: hidden;
}

.placeholder-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--neutral-300), var(--neutral-200));
}