/* Component imports */
@import url('components/klouders-section.css');
@import url('components/download-section.css');
@import url('components/testimonials-section.css');
/* Add other component imports as needed */

/* CSS Custom Properties */
:root {
  /* Colors */
  --color-bg: #fffbf5;
  --color-dark: #2e2f3e;
  --color-peach: #e27d5a;
  --color-orange: #ebaa4a;
  --color-teal: #68b6cc;
  --color-purple: #ad598d;
  --color-green: #86bfa9;
  --color-white: #ffffff;
  --color-light: #f5f5f5;
  --color-text-muted: #555;
  
  /* Typography */
  --font-primary: 'Lato', 'Inter', sans-serif;
  --font-secondary: 'Roboto', 'Inter', sans-serif;
  --font-size-xs: 0.75rem;
  --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;
  
  /* Layout */
  --container-max-width: 1200px;
  --container-padding: 20px;
  --header-height: 80px;
  --section-padding: 80px;
  --border-radius: 20px;
  --border-radius-sm: 10px;
  --border-radius-lg: 32px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-bg);
  padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-xl); }

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Section Styles */
section {
  padding: var(--section-padding) 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: var(--font-size-4xl);
}

.section-subtitle {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-base);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-normal);
  font-family: var(--font-primary);
  line-height: 1;
  min-height: 48px;
}

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

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

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

/* Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-label {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid #d9d9d9;
  font-size: var(--font-size-base);
  font-family: var(--font-primary);
  background: var(--color-white);
  transition: border-color var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(104, 182, 204, 0.1);
}

.form-error {
  color: #dc3545;
  font-size: var(--font-size-sm);
  margin-top: 0.25rem;
  display: none;
}

.form-error.show {
  display: block;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.grid { display: grid; }

.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;
}

/* Responsive Design */
@media (max-width: 1024px) {
  :root {
    --container-padding: 16px;
    --section-padding: 60px;
  }
  
  .section-title {
    font-size: var(--font-size-3xl);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 40px;
    --header-height: 70px;
  }
  
  body {
    padding-top: var(--header-height);
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .section-subtitle {
    font-size: var(--font-size-base);
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 12px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-contrast: high) {
  .btn {
    border-width: 3px;
  }
}