/* Nine Minute Mile Company Website Styles */

/* ===========================
   CSS Variables - Design System
   =========================== */

:root {
  /* Color Palette 
     All colors meet WCAG AA contrast requirements:
     - Normal text: 4.5:1 minimum contrast ratio
     - Large text (18pt+ or 14pt+ bold): 3:1 minimum contrast ratio
     - UI components: 3:1 minimum contrast ratio
  */
  --color-primary: #2c5f8d;        /* Deep blue - running/athletic theme */
  --color-primary-dark: #1e4563;
  --color-primary-light: #4a7ba7;
  --color-secondary: #d35400;      /* Energetic orange accent - adjusted for better contrast */
  --color-secondary-dark: #a84300;
  --color-accent: #27ae60;         /* Success/CTA green */
  --color-accent-dark: #1e8449;
  
  /* Neutral Colors */
  --color-text-primary: #1a1a1a;   /* Darker for better contrast - WCAG AA compliant (15.8:1 on white) */
  --color-text-secondary: #5a5a5a; /* Adjusted for better contrast (7.4:1 on white) */
  --color-text-light: #767676;     /* Adjusted to meet WCAG AA for large text (4.5:1 on white) */
  --color-background: #ffffff;
  --color-background-alt: #f8f9fa;
  --color-border: #e1e8ed;
  
  /* Typography */
  --font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-heading: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  --font-size-base: 16px;
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-md: 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-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Spacing Scale */
  --spacing-xs: 0.25rem;    /* 4px */
  --spacing-sm: 0.5rem;     /* 8px */
  --spacing-md: 1rem;       /* 16px */
  --spacing-lg: 1.5rem;     /* 24px */
  --spacing-xl: 2rem;       /* 32px */
  --spacing-2xl: 3rem;      /* 48px */
  --spacing-3xl: 4rem;      /* 64px */
  --spacing-4xl: 6rem;      /* 96px */
  
  /* Layout */
  --max-width-content: 1200px;
  --max-width-text: 65ch;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --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);
  
  /* Responsive Breakpoints (for reference in media queries) */
  /* Mobile: < 768px */
  /* Tablet: 768px - 1024px */
  /* Desktop: > 1024px */
}

/* ===========================
   Base Styles & Reset
   =========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-md); }

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--border-radius-sm);
}

a:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--border-radius-sm);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

button:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

button:focus:not(:focus-visible) {
  outline: none;
}

button:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* ===========================
   Layout Components
   =========================== */

.container {
  width: 100%;
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Mobile-first responsive layout */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-xl);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--spacing-2xl);
  }
}


/* ===========================
   Navigation Component
   =========================== */

.site-header {
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
  min-height: 64px;
}

.site-logo {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-logo:hover {
  color: var(--color-primary-dark);
}

.site-logo:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: var(--border-radius-sm);
}

/* Mobile menu toggle button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--spacing-sm);
  cursor: pointer;
  color: var(--color-text-primary);
  font-size: var(--font-size-2xl);
  line-height: 1;
  transition: color var(--transition-fast);
}

.nav-toggle:hover {
  color: var(--color-primary);
}

.nav-toggle:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--border-radius-sm);
}

/* Navigation menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  list-style: none;
}

.nav-menu li {
  margin: 0;
}

.nav-link {
  display: block;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--color-primary);
  background-color: var(--color-background-alt);
}

.nav-link:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Active/current page highlighting */
.nav-link.active {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  background-color: var(--color-background-alt);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: var(--spacing-md);
  right: var(--spacing-md);
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px 2px 0 0;
}

/* Mobile Navigation Styles */
@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--color-background);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--transition-base), opacity var(--transition-base);
  }
  
  .nav-menu.active {
    max-height: 400px;
    opacity: 1;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-link {
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
  }
  
  .nav-link.active::after {
    display: none;
  }
  
  .nav-link.active {
    border-left: 4px solid var(--color-primary);
  }
}

/* Tablet and Desktop Navigation */
@media (min-width: 768px) {
  .site-nav {
    padding: var(--spacing-lg) 0;
  }
  
  .nav-menu {
    gap: var(--spacing-xl);
  }
}


/* ===========================
   Footer Component
   =========================== */

.site-footer {
  background-color: var(--color-background-alt);
  border-top: 1px solid var(--color-border);
  margin-top: var(--spacing-4xl);
  padding: var(--spacing-xl) 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  text-align: center;
}

.footer-copyright {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-link:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--border-radius-sm);
}

/* Tablet and Desktop Footer */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .footer-links {
    justify-content: flex-end;
  }
}


/* ===========================
   Responsive Layout System
   =========================== */

/* Main content wrapper */
.main-content {
  min-height: calc(100vh - 200px);
  padding: var(--spacing-xl) 0;
}

/* Flexbox utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

/* Grid system - mobile-first */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-cols-1 {
  grid-template-columns: 1fr;
}

/* Tablet breakpoint (768px+) */
@media (min-width: 768px) {
  .grid-cols-2-tablet {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-cols-3-tablet {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .flex-row-tablet {
    flex-direction: row;
  }
}

/* Desktop breakpoint (1024px+) */
@media (min-width: 1024px) {
  .grid-cols-2-desktop {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-cols-3-desktop {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-cols-4-desktop {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .flex-row-desktop {
    flex-direction: row;
  }
  
  .main-content {
    padding: var(--spacing-2xl) 0;
  }
}

/* Spacing utilities */
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }
.mt-3xl { margin-top: var(--spacing-3xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }
.mb-3xl { margin-bottom: var(--spacing-3xl); }

.pt-sm { padding-top: var(--spacing-sm); }
.pt-md { padding-top: var(--spacing-md); }
.pt-lg { padding-top: var(--spacing-lg); }
.pt-xl { padding-top: var(--spacing-xl); }
.pt-2xl { padding-top: var(--spacing-2xl); }

.pb-sm { padding-bottom: var(--spacing-sm); }
.pb-md { padding-bottom: var(--spacing-md); }
.pb-lg { padding-bottom: var(--spacing-lg); }
.pb-xl { padding-bottom: var(--spacing-xl); }
.pb-2xl { padding-bottom: var(--spacing-2xl); }

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Responsive text alignment */
@media (min-width: 768px) {
  .text-left-tablet { text-align: left; }
  .text-center-tablet { text-align: center; }
}

@media (min-width: 1024px) {
  .text-left-desktop { text-align: left; }
  .text-center-desktop { text-align: center; }
}

/* Section styling */
.section {
  padding: var(--spacing-2xl) 0;
}

.section-alt {
  background-color: var(--color-background-alt);
}

@media (min-width: 768px) {
  .section {
    padding: var(--spacing-3xl) 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--spacing-4xl) 0;
  }
}

/* Card component */
.card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .card {
    padding: var(--spacing-xl);
  }
}

/* Button styles */
.btn {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-background);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-background);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 4px;
}

.btn-secondary:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.btn-secondary:focus-visible {
  outline: 3px solid var(--color-secondary-dark);
  outline-offset: 4px;
}

.btn-accent:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-accent:focus-visible {
  outline: 3px solid var(--color-accent-dark);
  outline-offset: 4px;
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-background);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-dark);
  color: var(--color-background);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-background);
}

.btn-accent:hover {
  background-color: var(--color-accent-dark);
  color: var(--color-background);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Responsive typography */
@media (min-width: 768px) {
  h1 { font-size: var(--font-size-5xl); }
  h2 { font-size: var(--font-size-4xl); }
  h3 { font-size: var(--font-size-3xl); }
}

/* Accessibility helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background-color: var(--color-primary);
  color: var(--color-background);
  padding: var(--spacing-md) var(--spacing-lg);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  z-index: 10000;
  border-radius: 0 0 var(--border-radius-md) 0;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===========================
   Landing Page Styles
   =========================== */

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-background);
  padding: var(--spacing-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-background);
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-tight);
}

.hero .tagline {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-normal);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  line-height: var(--line-height-relaxed);
}

/* Responsive hero styles */
@media (min-width: 768px) {
  .hero {
    padding: var(--spacing-4xl) 0;
  }
  
  .hero h1 {
    font-size: var(--font-size-5xl);
  }
  
  .hero .tagline {
    font-size: var(--font-size-2xl);
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 6rem 0;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
  
  .hero .tagline {
    font-size: var(--font-size-3xl);
  }
}

/* Company Description Section */
.company-description {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-background);
}

.company-description .content-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.company-description h2 {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: var(--spacing-xl);
}

.company-description p {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-primary);
  max-width: var(--max-width-text);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-lg);
}

.company-description p:last-child {
  margin-bottom: 0;
}

/* Responsive company description */
@media (min-width: 768px) {
  .company-description {
    padding: var(--spacing-4xl) 0;
  }
  
  .company-description .content-container {
    padding: 0 var(--spacing-xl);
  }
}

/* Call-to-Action Section */
.cta-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-background-alt);
  text-align: center;
}

.cta-section .content-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.cta-section h2 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.cta-section p {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  max-width: var(--max-width-text);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-xl);
}

.cta-button {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-2xl);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-background);
  background-color: var(--color-accent);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  background-color: var(--color-accent-dark);
  color: var(--color-background);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-button:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.cta-button:focus-visible {
  outline: 3px solid var(--color-accent-dark);
  outline-offset: 5px;
}

.cta-button:active {
  transform: translateY(0);
}

/* Responsive CTA section */
@media (min-width: 768px) {
  .cta-section {
    padding: var(--spacing-4xl) 0;
  }
  
  .cta-section .content-container {
    padding: 0 var(--spacing-xl);
  }
  
  .cta-button {
    font-size: var(--font-size-xl);
    padding: var(--spacing-lg) var(--spacing-3xl);
  }
}

/* ===========================
   About Page Styles
   =========================== */

/* Page Header */
.page-header {
  background-color: var(--color-background-alt);
  padding: var(--spacing-2xl) 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.page-header .content-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.page-header h1 {
  color: var(--color-primary);
  margin-bottom: 0;
}

/* Company Background Section */
.company-background {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-background);
}

.company-background .content-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.company-background p {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-primary);
  max-width: var(--max-width-text);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-lg);
}

.company-background p:last-child {
  margin-bottom: 0;
}

/* Founders Section */
.founders {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-background-alt);
}

.founders .content-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.founders h2 {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: var(--spacing-2xl);
}

/* Founder Profiles Grid */
.founder-profiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
}

.founder-profile {
  background-color: var(--color-background);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.founder-profile:hover {
  box-shadow: var(--shadow-md);
}

/* Founder Photo Placeholder */
.founder-photo-placeholder {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

.founder-photo {
  width: 100%;
  height: auto;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 4px solid var(--color-border);
  background-color: var(--color-background-alt);
}

/* Founder Info */
.founder-info {
  text-align: center;
}

.founder-name {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.founder-title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
}

.founder-bio {
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-primary);
  margin-bottom: 0;
}

/* Responsive About Page Styles */
@media (min-width: 768px) {
  .page-header {
    padding: var(--spacing-3xl) 0;
  }
  
  .page-header .content-container {
    padding: 0 var(--spacing-xl);
  }
  
  .company-background {
    padding: var(--spacing-4xl) 0;
  }
  
  .company-background .content-container {
    padding: 0 var(--spacing-xl);
  }
  
  .founders {
    padding: var(--spacing-4xl) 0;
  }
  
  .founders .content-container {
    padding: 0 var(--spacing-xl);
  }
  
  /* Two-column grid for founder profiles on tablet */
  .founder-profiles {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-3xl);
  }
  
  .founder-profile {
    padding: var(--spacing-2xl);
  }
  
  .founder-photo-placeholder {
    max-width: 180px;
  }
}

@media (min-width: 1024px) {
  .page-header h1 {
    font-size: var(--font-size-5xl);
  }
  
  .founder-profiles {
    gap: var(--spacing-4xl);
  }
  
  /* Horizontal layout for founder profiles on desktop */
  .founder-profile {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--spacing-2xl);
  }
  
  .founder-photo-placeholder {
    flex-shrink: 0;
    margin: 0;
  }
  
  .founder-info {
    text-align: left;
    flex: 1;
  }
  
  .founder-name {
    font-size: var(--font-size-3xl);
  }
  
  .founder-title {
    font-size: var(--font-size-lg);
  }
  
  .founder-bio {
    font-size: var(--font-size-lg);
  }
}
/* ===========================
   Product Page Styles
   =========================== */

/* Product Hero Section */
.product-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
  color: var(--color-background);
  padding: var(--spacing-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(230, 126, 34, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.product-hero .hero-container {
  position: relative;
  z-index: 1;
}

.product-hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-background);
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-tight);
}

.product-tagline {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  line-height: var(--line-height-relaxed);
  font-style: italic;
}

/* Product Description Section */
.product-description {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-background);
}

.product-description .content-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.product-description h2 {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: var(--spacing-xl);
}

.product-description p {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-primary);
  max-width: var(--max-width-text);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-lg);
}

.product-description p:last-child {
  margin-bottom: 0;
}

/* Product Features Section */
.product-features {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-background-alt);
}

.product-features .content-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.product-features h2 {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: var(--spacing-2xl);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

.feature-item {
  background-color: var(--color-background);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border-left: 4px solid var(--color-primary);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-left-color: var(--color-secondary);
}

.feature-item h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.feature-item p {
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-primary);
  margin-bottom: 0;
}

/* Product CTA Section */
.product-cta {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: var(--color-background);
  text-align: center;
}

.product-cta .content-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.product-cta h2 {
  color: var(--color-background);
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-lg);
}

.product-cta p {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: rgba(255, 255, 255, 0.95);
  max-width: var(--max-width-text);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-lg);
}

.product-cta p:last-child {
  margin-bottom: 0;
}

/* Responsive Product Page Styles */
@media (min-width: 768px) {
  .product-hero {
    padding: var(--spacing-4xl) 0;
  }
  
  .product-hero h1 {
    font-size: var(--font-size-5xl);
  }
  
  .product-tagline {
    font-size: var(--font-size-2xl);
  }
  
  .product-description {
    padding: var(--spacing-4xl) 0;
  }
  
  .product-description .content-container {
    padding: 0 var(--spacing-xl);
  }
  
  .product-features {
    padding: var(--spacing-4xl) 0;
  }
  
  .product-features .content-container {
    padding: 0 var(--spacing-xl);
  }
  
  /* Two-column grid for features on tablet */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
  }
  
  .product-cta {
    padding: var(--spacing-4xl) 0;
  }
  
  .product-cta .content-container {
    padding: 0 var(--spacing-xl);
  }
  
  .product-cta h2 {
    font-size: var(--font-size-4xl);
  }
}

@media (min-width: 1024px) {
  .product-hero {
    padding: 6rem 0;
  }
  
  .product-hero h1 {
    font-size: 4rem;
  }
  
  .product-tagline {
    font-size: var(--font-size-3xl);
  }
  
  .features-grid {
    gap: var(--spacing-3xl);
  }
  
  .feature-item {
    padding: var(--spacing-2xl);
  }
  
  .feature-item h3 {
    font-size: var(--font-size-2xl);
  }
  
  .feature-item p {
    font-size: var(--font-size-lg);
  }
}
/* ===========================
   Privacy Policy Page Styles
   =========================== */

/* Privacy Policy Section */
.privacy-policy {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-background);
}

.privacy-policy .content-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.privacy-policy h1 {
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.last-updated {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  font-style: italic;
  margin-bottom: var(--spacing-2xl);
}

/* Table of Contents */
.table-of-contents {
  background-color: var(--color-background-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-3xl);
}

.table-of-contents h2 {
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.table-of-contents ol {
  list-style-position: inside;
  margin: 0;
  padding: 0;
}

.table-of-contents li {
  margin-bottom: var(--spacing-sm);
  line-height: var(--line-height-relaxed);
}

.table-of-contents li:last-child {
  margin-bottom: 0;
}

.table-of-contents a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
}

.table-of-contents a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.table-of-contents a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--border-radius-sm);
}

/* Policy Sections */
.policy-section {
  margin-bottom: var(--spacing-3xl);
  scroll-margin-top: 80px; /* Offset for sticky header */
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-border);
}

.policy-section h3 {
  font-size: var(--font-size-xl);
  color: var(--color-text-primary);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.policy-section p {
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.policy-section p:last-child {
  margin-bottom: 0;
}

/* Lists in policy sections */
.policy-section ul,
.policy-section ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-xl);
}

.policy-section li {
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
}

.policy-section li:last-child {
  margin-bottom: 0;
}

.policy-section ul li {
  list-style-type: disc;
}

.policy-section ol li {
  list-style-type: decimal;
}

/* Nested lists */
.policy-section ul ul,
.policy-section ol ol,
.policy-section ul ol,
.policy-section ol ul {
  margin-top: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

/* Strong/bold text in policy */
.policy-section strong {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

/* Links in policy sections */
.policy-section a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.policy-section a:hover {
  color: var(--color-primary-dark);
}

.policy-section a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--border-radius-sm);
}

/* Contact Details */
.contact-details {
  background-color: var(--color-background-alt);
  border-left: 4px solid var(--color-primary);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  margin-top: var(--spacing-lg);
}

.contact-details p {
  margin-bottom: var(--spacing-sm);
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.contact-details strong {
  color: var(--color-primary);
}

.contact-details a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Responsive Privacy Policy Styles */
@media (min-width: 768px) {
  .privacy-policy {
    padding: var(--spacing-4xl) 0;
  }
  
  .privacy-policy .content-container {
    padding: 0 var(--spacing-xl);
  }
  
  .table-of-contents {
    padding: var(--spacing-2xl);
  }
  
  .table-of-contents h2 {
    font-size: var(--font-size-2xl);
  }
  
  .policy-section h2 {
    font-size: var(--font-size-3xl);
  }
  
  .policy-section h3 {
    font-size: var(--font-size-2xl);
  }
  
  .policy-section p,
  .policy-section li {
    font-size: var(--font-size-lg);
  }
}

@media (min-width: 1024px) {
  .privacy-policy h1 {
    font-size: var(--font-size-5xl);
  }
  
  .last-updated {
    font-size: var(--font-size-md);
  }
}

/* ===========================
   404 Error Page Styles
   =========================== */

.error-page {
  min-height: calc(100vh - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--color-background-alt) 0%, var(--color-background) 100%);
}

.error-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  text-align: center;
}

.error-code {
  font-size: 8rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--spacing-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.error-message {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.error-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
}

.error-actions .btn {
  min-width: 200px;
}

/* Responsive 404 Error Page Styles */
@media (min-width: 768px) {
  .error-page {
    padding: var(--spacing-4xl) 0;
  }
  
  .error-container {
    padding: 0 var(--spacing-xl);
  }
  
  .error-code {
    font-size: 10rem;
  }
  
  .error-title {
    font-size: var(--font-size-4xl);
  }
  
  .error-message {
    font-size: var(--font-size-xl);
  }
  
  .error-actions {
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-lg);
  }
}

@media (min-width: 1024px) {
  .error-code {
    font-size: 12rem;
  }
  
  .error-title {
    font-size: var(--font-size-5xl);
  }
}
