:root {
  --primary: #5b35f2;
  --primary-dark: #4322c9;
  --secondary: #12b3a8;
  --dark: #101828;
  --muted: #667085;
  --light: #f5f7fb;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

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

.header {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(18, 179, 168, 0.24), transparent 30%),
    linear-gradient(135deg, #31107d 0%, #5b35f2 50%, #7957ff 100%);
  color: var(--white);
  overflow: hidden;
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo,
.nav-links {
  display: flex;
  align-items: center;
}

.logo {
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.nav-links {
  gap: 28px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.nav-links a:hover {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  color: var(--white);
  background: var(--secondary);
  box-shadow: 0 14px 28px rgba(18, 179, 168, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #0d9f95;
}

.btn-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.btn-outline:hover,
.btn-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 120px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.badge,
.eyebrow {
  display: inline-flex;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge {
  padding: 9px 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  color: #dffefb;
  background: rgba(255, 255, 255, 0.12);
}

.hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  max-width: 780px;
}

.hero-desc {
  margin-top: 24px;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
  max-width: 620px;
}

.stats div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  font-size: 28px;
  line-height: 1.1;
}

.stats span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  margin-top: 6px;
}

.hero-card {
  padding: 22px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.dashboard-top {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.dashboard-top span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric,
.activity {
  border-radius: 22px;
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

.metric {
  padding: 20px;
}

.metric p {
  color: var(--muted);
  font-size: 14px;
}

.metric h3 {
  margin-top: 8px;
  font-size: 34px;
}

.activity {
  margin-top: 16px;
  padding: 22px;
}

.activity h4 {
  margin-bottom: 14px;
}

.activity p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 11px;
}

.activity span {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--secondary);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.trusted {
  padding: 42px 0;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.eyebrow {
  color: var(--primary);
  font-size: 13px;
  margin-bottom: 12px;
}

.section h2,
.cta-section h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card,
.role-grid article {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(16, 24, 40, 0.06);
}

.feature-card:hover,
.role-grid article:hover {
  transform: translateY(-4px);
  transition: 0.25s ease;
}

.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-weight: 800;
}

.feature-card h3,
.timeline-item h3,
.role-grid h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.feature-card p,
.timeline-item p,
.role-grid p,
.tech-section p,
.cta-section p {
  color: var(--muted);
}

.workflow-section {
  background: var(--light);
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - 1180px) / 2));
  padding-right: max(20px, calc((100% - 1180px) / 2));
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline-item {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--border);
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
  font-weight: 800;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tech-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tech-tags span {
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #f0edff;
  font-weight: 700;
}

.cta-section {
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto 90px;
  padding: 56px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(18, 179, 168, 0.22), transparent 35%),
    linear-gradient(135deg, #18084e, #5b35f2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-section .eyebrow,
.cta-section p {
  color: rgba(255, 255, 255, 0.76);
}

.cta-section h2 {
  max-width: 760px;
  margin-bottom: 12px;
}

.footer {
  padding: 30px 20px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

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

  .hero,
  .tech-section {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .timeline,
  .role-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .navbar,
  .section,
  .hero,
  .cta-section {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 50px;
  }

  .stats,
  .feature-grid,
  .timeline,
  .role-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 34px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}
