/* Complete redesign to match professional mockup */
:root {
  --color-primary: #10b981;
  --color-primary-dark: #059669;
  --color-accent: #f59e0b;
  --color-bg: #ffffff;
  --color-bg-alt: #f0fdf4;
  --color-fg: #1f2937;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --radius: 0.5rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-fg);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

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

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 2rem;
}

.brand-wrapper {
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-fg);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--color-primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.brand-content {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-fg);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.875rem;
  color: var(--color-muted);
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  color: var(--color-fg);
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav ul a:hover {
  background: #f3f4f6;
  color: var(--color-primary);
}

.nav ul a.active {
  color: var(--color-primary);
  background: #f0fdf4;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1.25rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

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

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

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

.btn-quote {
  padding: 0.625rem 1.25rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  padding: 5rem 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-inner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 3rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 5px;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-fg);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
}

.kicker {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Card Styles */
.card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-fg);
}

.card p {
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.card li {
  padding: 0.5rem 0;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card li:before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
}

/* Feature Cards */
.feature-card {
  background: var(--color-primary);
  color: white;
  padding: 2.5rem;
  border-radius: var(--radius);
  text-align: center;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: white;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.site-footer {
  background: #f9fafb;
  border-top: 1px solid var(--color-border);
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-fg);
}

.footer-text {
  color: var(--color-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.75rem;
}

.footer-list a {
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .header-inner {
    min-height: 64px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .brand-text {
    font-size: 1.125rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    display: none;
    box-shadow: var(--shadow-md);
  }

  .nav.open {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav ul li {
    width: 100%;
  }

  .nav ul a {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .btn-quote {
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero {
    padding: 3rem 0;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

.muted {
  color: var(--color-muted);
}

.badge {
  display: inline-block;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}
