/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a202c;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* Variables */
:root {
  --primary: #0066FF;
  --primary-dark: #0052cc;
  --primary-light: #e8f0fe;
  --success: #22c55e;
  --success-light: rgba(34, 197, 94, 0.1);
  --text-dark: #1a202c;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-alt: #f1f5f9;
  --border: #e2e8f0;
  --shadow: 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);
  --radius: 0.75rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.nav-desktop {
  display: none;
  gap: 1.5rem;
}

.nav-desktop a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--text-dark);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.mobile-menu-btn {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--text-dark);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.nav-mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.nav-mobile-open a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

/* Buttons */
.cta-button {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
}

.cta-button-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.cta-button-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.cta-button-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 2px solid var(--primary);
  transition: all 0.3s;
}

.cta-button-outline:hover {
  background: var(--primary);
  color: #fff;
}

.cta-button-white {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-button-white:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom right, var(--bg-light), #fff);
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
  }
}

.hero-text {
  flex: 1;
  animation: fadeUp 0.6s ease-out;
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 3rem;
  }
}

.hero-text h2 {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-text h2 {
    font-size: 1.5rem;
  }
}

.hero-text p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  animation: fadeIn 0.5s ease-out 0.3s both;
}

.hero-illustration {
  width: 100%;
  max-width: 400px;
}

.hero-illustration svg {
  width: 100%;
  height: auto;
}

/* Section Titles */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.section-title-light {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-title-light {
    font-size: 1.875rem;
  }
}

/* Services Section */
.services-section {
  padding: 4rem 0;
}

.services-section-alt {
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  flex: 1;
  margin-bottom: 1rem;
}

.price-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  align-self: flex-start;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

.section-cta p {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* How It Works */
.how-it-works {
  background: var(--primary);
  padding: 4rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-icon svg {
  width: 2rem;
  height: 2rem;
  color: #fff;
}

.step-number {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.step h3 {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}

.how-it-works-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Features */
.features {
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: background 0.3s;
}

.feature:hover {
  background: var(--bg-alt);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.feature h3 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Advantages */
.advantages {
  background: var(--bg-alt);
  padding: 4rem 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.advantage-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.advantage-card:hover {
  box-shadow: var(--shadow-lg);
}

.advantage-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--success-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.advantage-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--success);
}

.advantage-card h3 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.advantage-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
  background: var(--text-dark);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 1.875rem;
  }
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--text-dark);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}