:root {
  --color-bg: #f5f7ff;
  --color-surface: #ffffff;
  --color-surface-alt: #edf0ff;
  --color-primary: #4338ca;
  --color-primary-accent: #12c5ad;
  --color-text: #1f1850;
  --color-muted: #5b6093;
  --color-border: rgba(44, 56, 153, 0.12);
  --font-sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --transition: all 0.25s ease;
  --shadow-lg: 0 30px 60px rgba(57, 72, 171, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at 15% 20%, rgba(67, 56, 202, 0.18), transparent 55%),
              radial-gradient(circle at 85% 30%, rgba(18, 197, 173, 0.18), transparent 55%),
              linear-gradient(180deg, #fdfdff 0%, #eef2ff 100%);
  color: var(--color-text);
  line-height: 1.6;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(67, 56, 202, 0.18), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(18, 197, 173, 0.14), transparent 60%),
    repeating-linear-gradient(135deg, rgba(67, 56, 202, 0.08) 0px, rgba(67, 56, 202, 0.08) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(45deg, rgba(18, 197, 173, 0.08) 0px, rgba(18, 197, 173, 0.08) 1px, transparent 1px, transparent 24px);
  background-size: 120% 120%, 140% 140%, 220px 220px, 260px 260px;
  animation: backgroundDrift 18s ease-in-out infinite alternate;
  opacity: 0.6;
}

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

a:hover,
a:focus {
  color: var(--color-primary-accent);
}

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

main {
  overflow: hidden;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

nav {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--color-border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo svg {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 8px 16px rgba(18, 197, 173, 0.25));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.3rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-accent));
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after,
.nav-links a.active::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: linear-gradient(120deg, var(--color-primary), var(--color-primary-accent));
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(67, 56, 202, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(18, 197, 173, 0.28);
}

.btn.ghost {
  background: rgba(67, 56, 202, 0.08);
  color: var(--color-primary);
  box-shadow: inset 0 0 0 1px rgba(67, 56, 202, 0.28);
}

.btn.ghost:hover {
  box-shadow: inset 0 0 0 1px rgba(18, 197, 173, 0.4);
  color: var(--color-primary-accent);
}

.hero {
  position: relative;
  padding: 8rem 0 6rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 56, 202, 0.25), transparent 60%);
  filter: blur(14px);
  opacity: 0.6;
}

.hero::before {
  width: 360px;
  height: 360px;
  top: -120px;
  right: -120px;
}

.hero::after {
  width: 260px;
  height: 260px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(18, 197, 173, 0.3), transparent 65%);
}

.hero-grid {
  display: grid;
  gap: 4rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.hero-insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.hero-insights .insight {
  background: var(--color-surface);
  padding: 1.6rem;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 36px rgba(63, 81, 181, 0.12);
}

.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-title h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--color-muted);
  max-width: 680px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--color-surface);
  border-radius: 22px;
  padding: 2.2rem;
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(57, 72, 171, 0.12);
}

.card::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -40%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(67, 56, 202, 0.18), transparent 70%);
  z-index: 0;
  transition: transform 0.4s ease;
}

.card:hover::after {
  transform: translate(10%, -10%);
}

.card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card p,
.card ul {
  position: relative;
  z-index: 1;
  color: var(--color-muted);
}

.card ul {
  padding-left: 1.2rem;
}

.card ul li {
  margin-bottom: 0.6rem;
}

.slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  padding: 3rem;
  background: var(--color-surface);
  border-radius: 26px;
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 44px rgba(57, 72, 171, 0.14);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.8rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(67, 56, 202, 0.2);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.slider-dot.active {
  background: linear-gradient(120deg, var(--color-primary), var(--color-primary-accent));
  transform: scale(1.1);
}

.highlight {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.highlight-visual {
  position: relative;
  background: radial-gradient(circle at top, rgba(67, 56, 202, 0.16), transparent 60%),
              var(--color-surface);
  border-radius: 28px;
  padding: 3rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 28px 56px rgba(57, 72, 171, 0.16);
}

.highlight-visual::before,
.highlight-visual::after {
  content: "";
  position: absolute;
  border-radius: 40px;
  border: 1px solid rgba(67, 56, 202, 0.18);
  inset: 16px;
  filter: blur(0.4px);
  opacity: 0.5;
}

.highlight-visual::after {
  inset: 30px;
  border-color: rgba(18, 197, 173, 0.28);
  opacity: 0.35;
}

.highlight-visual svg {
  width: 100%;
  height: auto;
}

.list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tag {
  background: rgba(18, 197, 173, 0.16);
  color: var(--color-primary-accent);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid rgba(18, 197, 173, 0.32);
}

.testimonial {
  background: var(--color-surface);
  padding: 2.6rem;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 44px rgba(57, 72, 171, 0.12);
}

.testimonial footer {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-muted);
}

.footer {
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.92);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer h4 {
  margin-bottom: 0.8rem;
}

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

.footer li {
  margin-bottom: 0.6rem;
}

.footer-bottom {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.grid-two {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.form-card {
  background: var(--color-surface);
  padding: 2.4rem;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 48px rgba(57, 72, 171, 0.14);
}

form {
  display: grid;
  gap: 1.2rem;
}

label {
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  color: var(--color-text);
  font-family: var(--font-sans);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(18, 197, 173, 0.55);
  box-shadow: 0 0 0 2px rgba(18, 197, 173, 0.2);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.table thead {
  background: rgba(67, 56, 202, 0.14);
}

.table th,
.table td {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(67, 56, 202, 0.12);
  color: var(--color-primary);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid rgba(18, 197, 173, 0.26);
}

blockquote {
  border-left: 3px solid rgba(18, 197, 173, 0.5);
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  color: var(--color-muted);
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(67, 56, 202, 0.6), rgba(18, 197, 173, 0.6));
}

.timeline-event {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-event::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--color-primary), var(--color-primary-accent));
  box-shadow: 0 0 0 6px rgba(67, 56, 202, 0.18);
}

@media (max-width: 840px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .slide {
    padding: 2.2rem;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@keyframes backgroundDrift {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.05) translate3d(-1%, -1%, 0);
    opacity: 0.65;
  }
  100% {
    transform: scale(1.08) translate3d(1%, 1%, 0);
    opacity: 0.55;
  }
}
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(67, 56, 202, 0.25);
  background: rgba(67, 56, 202, 0.08);
  color: var(--color-primary);
  cursor: pointer;
}

.mobile-nav-toggle span,
.mobile-nav-toggle span::before,
.mobile-nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}

.mobile-nav-toggle span::before,
.mobile-nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-nav-toggle span::before {
  top: -6px;
}

.mobile-nav-toggle span::after {
  top: 6px;
}

@media (max-width: 840px) {
  .mobile-nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    padding: 1.2rem;
    flex-direction: column;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(57, 72, 171, 0.14);
  }

  .nav-links.is-open {
    display: flex;
  }
}
.mobile-nav-toggle.is-active span {
  background: transparent;
}

.mobile-nav-toggle.is-active span::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-nav-toggle.is-active span::after {
  top: 0;
  transform: rotate(-45deg);
}
