:root {
  --peach: #f5b699;
  --coral: #e8967c;
  --sky: #7fb5c9;
  --navy: #1a3a4a;
  --cream: #fdf9f6;
}

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

body {
  font-family: "Nunito Sans", sans-serif;
  color: #334155;
  line-height: 1.6;
  background: linear-gradient(
    180deg,
    var(--cream) 0%,
    #ffffff 50%,
    rgba(127, 181, 201, 0.05) 100%
  );
}

.font-lora {
  font-family: "Lora", serif;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 48px;
  width: auto;
}

.nav-links {
  display: none;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.nav-links a {
  color: var(--navy);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--peach) 0%, var(--coral) 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245, 182, 153, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--navy);
  border: 2px solid rgba(26, 58, 74, 0.15);
}

.btn-secondary:hover {
  border-color: var(--peach);
}

.btn-nav {
  background: var(--navy);
  color: white;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 540px;
  position: relative;
  z-index: 10;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: white;
  border: 1px solid rgba(245, 182, 153, 0.3);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach), var(--coral));
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
}

.gradient-text {
  background: linear-gradient(135deg, var(--peach) 0%, var(--coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.8;
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

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

.stat {
  text-align: center;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
}

.stat-label {
  font-size: 0.75rem;
  color: #64748b;
}

/* Section styles */
section {
  padding: 3.5rem 0;
}

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

h2 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  h2 {
    font-size: 2rem;
  }
}

.section-subtitle {
  font-size: 1rem;
  color: #64748b;
  max-width: 32rem;
  margin: 0 auto;
}

/* How It Works */
.how-it-works {
  background: white;
}

.steps {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid rgba(245, 182, 153, 0.2);
  border-radius: 1rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach) 0%, var(--coral) 100%);
  color: white;
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.875rem;
  color: #64748b;
}

/* Why ICHRA */
.why-ichra {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}

.why-ichra-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .why-ichra-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-ichra h2 {
  color: white;
}

.why-ichra .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
  margin: 0 0 1.5rem 0;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit {
  display: flex;
  gap: 0.75rem;
}

.benefit-check {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach) 0%, var(--coral) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.benefit-title {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}

.benefit-desc {
  font-size: 0.875rem;
  opacity: 0.7;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.stat-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.stat-card-value {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.stat-card-label {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.stat-card-source {
  font-size: 0.75rem;
  opacity: 0.5;
}

/* Features */
.features {
  background: linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
}

.features-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(245, 182, 153, 0.25);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(245, 182, 153, 0.15);
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(300deg, var(--peach) 10%, var(--cream) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.feature p {
  font-size: 0.875rem;
  color: #64748b;
}

/* Testimonial */
.testimonial {
  background: white;
}

.testimonial-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.testimonial-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

blockquote {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  blockquote {
    font-size: 1.5rem;
  }
}

.testimonial-author {
  color: #64748b;
}

.testimonial-author strong {
  color: var(--navy);
}

/* CTA */
.cta {
  background: linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
  text-align: center;
}

.cta-content {
  max-width: 32rem;
  margin: 0 auto;
}

.contact-card {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem;
  background: white;
  border: 1px solid rgba(245, 182, 153, 0.2);
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-card p {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
}

/* Footer */
footer {
  background: var(--navy);
  padding: 2rem 0;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.logo-light {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
