/* CSS Variables and Base Styles */
:root {
  /* Brand Colors */
  --cobalt-blue: #1e40af;
  --cobalt-blue-light: #3b82f6;
  --cobalt-blue-dark: #1e3a8a;
  --mango: #f59e0b;
  --mango-light: #fbbf24;
  --mango-dark: #d97706;
  --pebble-gray: #6b7280;
  --pebble-gray-light: #9ca3af;
  --pebble-gray-dark: #4b5563;
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Spacing System (8px base) */
  --spacing-1: 0.5rem;
  --spacing-2: 1rem;
  --spacing-3: 1.5rem;
  --spacing-4: 2rem;
  --spacing-5: 2.5rem;
  --spacing-6: 3rem;
  --spacing-8: 4rem;
  --spacing-10: 5rem;
  --spacing-12: 6rem;
  --spacing-16: 8rem;
  
  /* Typography */
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Border Radius */
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1 {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-3);
}

h2 {
  font-size: var(--font-size-4xl);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-3);
}

h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-2);
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-1);
}

p {
  line-height: 1.6;
  margin-bottom: var(--spacing-2);
}

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

section {
  padding: var(--spacing-8) 0;
  width: 100%;
}

/* Logo and Branding */
.logo-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}

.logo {
  height: 40px;
  width: 40px;
  flex-shrink: 0;
}

.logo.small {
  height: 32px;
  width: 32px;
}

.brand-name {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--cobalt-blue);
  white-space: nowrap;
}

/* Buttons */
.btn-primary {
  background-color: var(--cobalt-blue);
  color: var(--white);
  border: none;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  line-height: 1.4;
}

.btn-primary:hover {
  background-color: var(--cobalt-blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary.large {
  padding: var(--spacing-3) var(--spacing-6);
  font-size: var(--font-size-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--cobalt-blue);
  border: 2px solid var(--cobalt-blue);
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  line-height: 1.4;
}

.btn-secondary:hover {
  background-color: var(--cobalt-blue);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Section Titles */
.section-title {
  text-align: center;
  color: var(--gray-800);
  margin-bottom: var(--spacing-6);
}

.section-subtitle {
  text-align: center;
  color: var(--pebble-gray);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-6);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: var(--spacing-12) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content {
  width: 100%;
}

.hero-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--spacing-8);
  align-items: center;
  margin-bottom: var(--spacing-8);
}

.logo-section {
  display: flex;
  justify-content: center;
}

.hero-text {
  text-align: left;
}

.hero-title {
  color: var(--gray-800);
  margin-bottom: var(--spacing-3);
}

.hero-subtitle {
  color: var(--pebble-gray);
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-6);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-3);
  margin-bottom: 0;
}

.hero-image-container {
  width: 100%;
  text-align: center;
}

.hero-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  max-height: 400px;
}

/* Features Section */
.features {
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-6);
}

.feature-card {
  background: var(--white);
  padding: var(--spacing-6);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-3);
  background-color: var(--gray-50);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  color: var(--gray-800);
  margin-bottom: var(--spacing-2);
}

.feature-card p {
  color: var(--pebble-gray);
}