/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* === Utilities === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: #1a1a2e;
}
.section-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.btn--primary {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.btn--primary:hover { background: #1d4ed8; border-color: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); }
.btn--outline {
  background: transparent;
  color: #2563eb;
  border-color: #2563eb;
}
.btn--outline:hover { background: #2563eb; color: #fff; transform: translateY(-2px); }
.btn--white {
  background: #fff;
  color: #2563eb;
  border-color: #fff;
}
.btn--white:hover { background: #f0f4ff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn--full { width: 100%; }

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.header--scrolled { border-bottom-color: #e2e8f0; box-shadow: 0 1px 12px rgba(0,0,0,0.06); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a2e;
}
.logo span { color: #2563eb; }
.nav { display: flex; gap: 32px; }
.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s;
}
.nav__link:hover { color: #2563eb; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: all 0.3s;
}

/* === Hero === */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 50%, #dbeafe 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero__inner { position: relative; max-width: 800px; }
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #1a1a2e;
}
.hero__title span { color: #2563eb; }
.hero__subtitle {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 36px;
  max-width: 600px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero__stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__number {
  font-size: 2rem;
  font-weight: 800;
  color: #2563eb;
}
.stat__label { font-size: 0.9rem; color: #64748b; margin-top: 2px; }

/* === Services === */
.services { padding: 100px 0; background: #fff; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 28px;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: #c7d2fe;
}
.card__icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #2563eb;
}
.card__icon svg { width: 24px; height: 24px; }
.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.card__text { color: #64748b; font-size: 0.95rem; line-height: 1.6; }

/* === Why === */
.why { padding: 100px 0; background: #f8fafc; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why__item { padding: 8px 0; }
.why__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #dbeafe;
  margin-bottom: 12px;
  line-height: 1;
}
.why__item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.why__item p { color: #64748b; font-size: 0.95rem; }

/* === Process === */
.process { padding: 100px 0; background: #fff; }
.process__timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.process__timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dbeafe;
}
.process__step {
  display: flex;
  gap: 28px;
  padding-bottom: 40px;
  position: relative;
}
.process__step:last-child { padding-bottom: 0; }
.process__marker {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}
.process__content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  padding-top: 2px;
}
.process__content p { color: #64748b; font-size: 0.95rem; }

/* === Pricing === */
.pricing { padding: 100px 0; background: #f8fafc; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}
.pricing__card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.pricing__card--featured {
  border-color: #2563eb;
  box-shadow: 0 8px 32px rgba(37,99,235,0.15);
  transform: scale(1.03);
}
.pricing__card--featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 20px;
}
.pricing__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 12px;
}
.pricing__price {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 28px;
  color: #1a1a2e;
}
.pricing__price span { font-size: 1rem; font-weight: 500; color: #64748b; }
.pricing__features {
  text-align: left;
  margin-bottom: 32px;
}
.pricing__features li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  color: #475569;
  padding-left: 24px;
  position: relative;
}
.pricing__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: #dbeafe;
  border-radius: 50%;
}
.pricing__features li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 4px;
  height: 8px;
  border-bottom: 2px solid #2563eb;
  border-right: 2px solid #2563eb;
}

/* === CTA === */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e40af, #2563eb, #3b82f6);
  color: #fff;
  text-align: center;
}
.cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* === Contact === */
.contact { padding: 100px 0; background: #fff; }
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__group--full { grid-column: 1 / -1; }
.form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}
.form input, .form select, .form textarea {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form textarea { resize: vertical; }
.form .btn { grid-column: 1 / -1; margin-top: 8px; }

.contact__info { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact__item svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: #2563eb;
  margin-top: 4px;
}
.contact__item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: #1a1a2e;
}
.contact__item p { color: #64748b; font-size: 0.95rem; }

/* === Footer === */
.footer { background: #0f172a; color: #94a3b8; padding: 64px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1e293b;
}
.footer__brand .logo { color: #fff; margin-bottom: 12px; display: inline-block; }
.footer__brand p { font-size: 0.95rem; line-height: 1.6; }
.footer__links h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer__links a {
  display: block;
  font-size: 0.9rem;
  padding: 6px 0;
  color: #94a3b8;
  transition: color 0.2s;
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .services__grid, .why__grid, .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing__card--featured { transform: scale(1); }
  .pricing__card--featured:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav--open { display: flex; }
  .burger { display: flex; }
  .burger--open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .burger--open span:nth-child(2) { opacity: 0; }
  .burger--open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero { padding: 120px 0 80px; }
  .hero__stats { gap: 24px; }

  .services__grid, .why__grid, .pricing__grid {
    grid-template-columns: 1fr;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .form {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
