:root {
  --bg: #fbfafb;
  --bg-deep: #050505;
  --card: #ffffff;
  --muted: #74696b;
  --text: #171315;
  --text-soft: #5f5558;
  --primary: #ff0099;
  --primary-dark: #d80082;
  --accent: #b9aeaf;
  --line: #ebe4e6;
  --shadow: 0 24px 80px rgba(23, 19, 21, 0.12);
  --radius: 24px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

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

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(235, 228, 230, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--bg-deep);
}

.brand-logo {
  width: 118px;
  height: auto;
  border-radius: 10px;
}

.footer-brand .brand-logo {
  width: 136px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--bg-deep);
  color: #ffffff;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 0, 153, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 8%,
      rgba(185, 174, 175, 0.28),
      transparent 30%
    ),
    linear-gradient(180deg, #ffffff 0%, #fbfafb 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(5, 5, 5, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 5, 5, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--bg-deep);
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 18px;
  color: var(--bg-deep);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 12px;
  color: var(--bg-deep);
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 32px;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(255, 0, 153, 0.25);
}

.button-secondary {
  border-color: rgba(5, 5, 5, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: var(--bg-deep);
}

.hero-stats {
  display: grid;
  max-width: 700px;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 42px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(235, 228, 230, 0.95);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  color: var(--bg-deep);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(5, 5, 5, 0.97), rgba(35, 29, 32, 0.94)),
    var(--bg-deep);
  box-shadow: var(--shadow);
  color: #e2e8f0;
}

.card-glow {
  position: absolute;
  top: -90px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 0, 153, 0.28);
  filter: blur(12px);
}

.card-label {
  position: relative;
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffd6ee;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-card h2 {
  position: relative;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.check-list {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
}

.check-list li::before {
  display: inline-grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 0, 153, 0.16);
  color: #ff8ed0;
  content: "✓";
  font-weight: 900;
}

.section {
  padding: 86px 0;
}

.strip {
  padding: 26px 0;
  background: var(--bg-deep);
  color: #cbd5e1;
}

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

.strip p {
  margin: 0;
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading p:not(.eyebrow),
.split > div > p {
  color: var(--text-soft);
  font-size: 1.08rem;
}

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

.service-card,
.module-card,
.product-list article,
.timeline article,
.faq-list details {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.06);
}

.service-card {
  min-height: 285px;
  padding: 28px;
  border-radius: var(--radius);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(255, 0, 153, 0.28);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-card p,
.module-card p,
.product-list p,
.timeline p,
.faq-list p,
.cta-card p,
.site-footer p,
.site-footer span {
  color: var(--text-soft);
}

.section-muted {
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(255, 0, 153, 0.09),
      transparent 24%
    ),
    #f7f1f3;
}

.section-highlight {
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(255, 0, 153, 0.08),
      transparent 26%
    ),
    #ffffff;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 54px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 900;
}

.text-link::after {
  margin-left: 8px;
  content: "→";
}

.product-list {
  display: grid;
  gap: 18px;
}

.product-list article {
  padding: 26px;
  border-radius: 22px;
}

.product-list p {
  margin-bottom: 0;
}

.product-list strong {
  color: var(--bg-deep);
}

.product-actions {
  margin-top: 14px;
}

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

.module-card {
  min-height: 220px;
  padding: 26px;
  border-radius: 22px;
}

.module-card h3 {
  position: relative;
  padding-top: 18px;
}

.module-card h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: var(--primary);
  content: "";
}

.module-card p {
  margin-bottom: 0;
}

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

.timeline article {
  position: relative;
  min-height: 240px;
  padding: 24px;
  border-radius: 22px;
}

.timeline span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 50%;
  background: #ffe0f2;
  color: var(--primary);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 22px 24px;
  border-radius: 18px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--bg-deep);
  font-weight: 850;
}

.faq-list p {
  margin: 14px 0 0;
}

.faq-list a {
  color: var(--primary);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.cta-section {
  padding: 90px 0;
  background: #ffffff;
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 0, 153, 0.22), transparent 32%),
    linear-gradient(135deg, #050505, #33292d);
  box-shadow: var(--shadow);
}

.cta-card h2,
.cta-card .eyebrow {
  color: #ffffff;
}

.cta-card p {
  max-width: 700px;
  margin-bottom: 0;
  color: #cbd5e1;
}

.cta-card .button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-title {
  margin-bottom: 8px;
  color: var(--bg-deep);
  font-weight: 900;
}

.site-footer a:not(.brand),
.site-footer span {
  display: block;
}

.site-footer a:not(.brand) {
  color: var(--primary);
  font-weight: 850;
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .cta-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .cta-actions {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: 68px;
  }

  .brand-logo {
    width: 104px;
  }

  .nav-toggle-label {
    display: grid;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
  }

  .nav-toggle-label span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: var(--bg-deep);
  }

  .nav-links {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

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

  .hero {
    padding: 68px 0 52px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-stats,
  .cards-grid,
  .solution-grid,
  .timeline,
  .strip-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .service-card {
    padding: 24px;
  }

  .section {
    padding: 64px 0;
  }

  .button {
    width: 100%;
  }
}
