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

body {
  font-family: 'Inter', sans-serif;
  background: #f9fafc;
  color: #1e1e2f;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

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

header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}

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

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo i {
  -webkit-text-fill-color: #6366f1;
  margin-right: 6px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

nav ul li a {
  font-weight: 500;
  color: #4b4b63;
  transition: color 0.2s;
  font-size: 0.95rem;
}

nav ul li a:hover {
  color: #6366f1;
}

.nav-cta {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
  color: #fff !important;
}

.burger {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #1e1e2f;
}

.hero {
  padding: 80px 0 100px;
  background: linear-gradient(160deg, #f0f1ff 0%, #f9fafc 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.08), transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 500px;
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-text h1 span {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.2rem;
  color: #5a5a72;
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  padding: 14px 36px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #4b4b63;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #d0d5e0;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: #6366f1;
  color: #6366f1;
  transform: translateY(-2px);
}

.hero-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  width: 450px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

.services {
  padding: 80px 0;
  background: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: #6b6b85;
  font-size: 1.1rem;
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.card {
  background: #f9fafc;
  border-radius: 28px;
  padding: 40px 32px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #f0f1f5;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04), 0 8px 20px rgba(99, 102, 241, 0.06);
  border-color: #d9ddf0;
}

.card-icon {
  font-size: 3rem;
  color: #6366f1;
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(99, 102, 241, 0.10);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  transition: background 0.3s;
}

.card:hover .card-icon {
  background: rgba(99, 102, 241, 0.18);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.card p {
  color: #5a5a72;
  font-size: 0.98rem;
}

.why {
  padding: 80px 0;
  background: #f9fafc;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-item {
  text-align: center;
  padding: 20px 16px;
}

.feature-item i {
  font-size: 2.2rem;
  color: #6366f1;
  margin-bottom: 12px;
}

.feature-item h4 {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.feature-item p {
  color: #6b6b85;
  font-size: 0.95rem;
}

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: #ffffff;
  color: #6366f1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
  background: #f0f0ff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.cta-section .btn-secondary:hover {
  border-color: #fff;
  color: #fff;
}

footer {
  background: #1e1e2f;
  color: #b0b0c8;
  padding: 40px 0;
  font-size: 0.95rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer .footer-links {
  display: flex;
  gap: 24px;
}

footer .footer-links a {
  color: #b0b0c8;
  transition: color 0.2s;
}

footer .footer-links a:hover {
  color: #fff;
}

footer .socials {
  display: flex;
  gap: 16px;
  font-size: 1.2rem;
}

footer .socials a {
  color: #b0b0c8;
  transition: color 0.2s;
}

footer .socials a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .hero-text h1 {
    font-size: 2.6rem;
  }

  .hero-text p {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-radius: 0 0 24px 24px;
    display: none;
  }

  nav ul.open {
    display: flex;
  }

  nav ul li a {
    font-size: 1.1rem;
  }

  .nav-cta {
    align-self: center;
  }

  .hero {
    padding: 60px 0 70px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    width: 100%;
    max-width: 320px;
  }

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

  .cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.9rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
  }
}