:root {
  --primary: #2D5A3D;
  --primary-light: #4A7C5A;
  --accent: #E8A87C;
  --accent-light: #F4C2A1;
  --neutral-50: #FAFAFA;
  --neutral-100: #F5F5F5;
  --neutral-200: #E5E5E5;
  --neutral-300: #D4D4D4;
  --neutral-600: #525252;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--neutral-800);
  background: var(--neutral-50);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Header */
header {
  background: var(--gradient-primary);
  color: white;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

header .container {
  position: relative;
  z-index: 1;
}

header h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

header p {
  margin: 0 0 3rem;
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 1;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.025em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--neutral-800);
  box-shadow: var(--shadow);
}

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

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

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

/* Sections */
section {
  padding: 5rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section:nth-child(even) {
  background: white;
}

section.visible,
header.visible {
  opacity: 1;
  transform: translateY(0);
}

h2 {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-align: center;
}

h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--neutral-800);
}

p {
  color: var(--neutral-800);
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.lead {
  font-size: 1.25rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--neutral-800);
  font-weight: 500;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--neutral-200);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: var(--radius) var(--radius) 0 0;
}

.card p {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--neutral-800);
}

/* Lists */
ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  font-size: 1.125rem;
  color: var(--neutral-800);
  border-bottom: 1px solid var(--neutral-200);
}

li:last-child {
  border-bottom: none;
}

li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.5rem;
}

/* Special sections */
.hero-alt {
  background: var(--gradient-accent);
  color: var(--neutral-800);
  text-align: center;
  padding: 4rem 0;
}

.hero-alt h2 {
  color: var(--neutral-800);
  margin-bottom: 1rem;
}

.hero-alt p {
  color: var(--neutral-800);
  font-size: 1.25rem;
  font-weight: 500;
}

/* Stats or highlights */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.stat {
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--neutral-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Footer */
footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding: 3rem 0;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

footer p {
  margin: 0;
  color: var(--neutral-400);
}

footer a {
  color: var(--accent);
  margin: 0 1rem;
  font-weight: 500;
}

footer a:hover {
  color: var(--accent-light);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  header, section {
    padding: 3rem 0;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card {
    padding: 2rem;
  }
}

/* Animation delays for staggered entrance */
section:nth-child(1) { transition-delay: 0.1s; }
section:nth-child(2) { transition-delay: 0.2s; }
section:nth-child(3) { transition-delay: 0.3s; }
section:nth-child(4) { transition-delay: 0.4s; }
