@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #ffffff;
  --surface: #f7f7fa;
  --surface-hover: #eeeef3;
  --ink: #111118;
  --muted: #44445a;
  --soft: #7a7a8e;
  --line: rgba(0, 0, 0, 0.08);
  --line-hover: rgba(132, 70, 255, 0.35);
  --primary: #8446ff;
  --primary-dark: #6e2bf2;
  --primary-glow: rgba(132, 70, 255, 0.15);
  --primary-glow-strong: rgba(132, 70, 255, 0.35);
  --green: #059669;
  --green-soft: rgba(5, 150, 105, 0.12);
  --amber: #b7791f;
  --amber-soft: rgba(183, 121, 31, 0.12);
  --blue: #2563eb;
  --blue-soft: rgba(37, 99, 235, 0.1);
  --shadow: 0 18px 50px rgba(17, 17, 24, 0.09);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --container: 1180px;
  --font: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
}

body {
  overflow-x: hidden;
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  padding: 18px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(16px);
}

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

.brand img {
  width: auto;
  height: 52px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--primary);
}

.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 24px var(--primary-glow-strong);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(17, 17, 24, 0.04);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: rgba(17, 17, 24, 0.07);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  padding: 154px 0 84px;
  overflow: hidden;
  background: #ffffff;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(132, 70, 255, 0.08) 0%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: 56px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 7px var(--green-soft);
  animation: pulse 2s infinite;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #a678ff 50%, #6e2bf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing-shell {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--primary);
  transform: translateY(0.08em);
  animation: cursorBlink 0.9s steps(2, start) infinite;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  color: var(--muted);
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.12rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.partner-showcase {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.mockup-glow {
  position: absolute;
  width: 125%;
  height: 100%;
  top: 4%;
  left: -12%;
  background:
    radial-gradient(circle at 50% 35%, rgba(16, 185, 129, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 64% 55%, rgba(132, 70, 255, 0.14) 0%, transparent 58%);
  z-index: -1;
  pointer-events: none;
}

.phone-stage {
  position: relative;
  width: min(360px, 76vw);
  aspect-ratio: 864 / 1821;
  animation: phoneFloat 5.5s ease-in-out infinite;
}

.checkout-phone-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(17, 24, 39, 0.2));
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.checkout-phone-shot.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.feature-pill,
.artifact {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(12px);
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0.72;
  transform: translateY(0) scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.45s ease;
}

.feature-pill.active {
  border-color: rgba(16, 185, 129, 0.48);
  opacity: 1;
  transform: translateY(-4px) scale(1);
}

.feature-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
}

.feature-pill-top {
  top: 92px;
  left: 8px;
}

.feature-pill-right {
  top: 270px;
  right: -16px;
}

.feature-pill-bottom {
  bottom: 102px;
  left: 22px;
}

.artifact {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  animation: artifactFloat 4.8s ease-in-out infinite;
}

.artifact span {
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artifact strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.artifact-code {
  top: 36px;
  right: 24px;
  border-color: rgba(132, 70, 255, 0.22);
}

.artifact-commission {
  right: 18px;
  bottom: 48px;
  animation-delay: -1.8s;
}

.logo-band {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #f5f3ff 0%, #ede9fe 50%, #f5f3ff 100%);
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading p {
  font-size: 1.05rem;
}

.steps-grid,
.slab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card,
.value-card,
.slab-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 26px;
  box-shadow: 0 12px 34px rgba(17, 17, 24, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover,
.value-card:hover,
.slab-card:hover {
  border-color: var(--line-hover);
  box-shadow: 0 16px 40px rgba(17, 17, 24, 0.08);
  transform: translateY(-4px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  color: var(--primary);
  background: #f2edff;
  font-weight: 800;
}

.step-card h3,
.value-card h3,
.slab-card h3 {
  margin-bottom: 10px;
}

.developer-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fc 100%);
}

.developer-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.developer-grid .btn {
  margin-top: 24px;
}

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

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: var(--green-soft);
  color: var(--green);
}

.value-card:nth-child(2) .icon-box {
  background: var(--blue-soft);
  color: var(--blue);
}

.value-card:nth-child(3) .icon-box {
  background: var(--amber-soft);
  color: var(--amber);
}

.value-card:nth-child(4) .icon-box {
  background: #f2edff;
  color: var(--primary);
}

.icon-box svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slabs-section {
  background: #ffffff;
}

.slab-card {
  position: relative;
}

.slab-card.featured {
  border-color: rgba(132, 70, 255, 0.34);
  background: #faf7ff;
  transform: translateY(-8px);
}

.slab-card.featured:hover {
  transform: translateY(-12px);
}

.slab-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 20px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--primary);
  background: #f2edff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.slab-card ul {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.slab-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.slab-card li::before {
  content: '';
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.audience-section {
  background: var(--surface);
}

.audience-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 38px;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.audience-list div {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
}

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

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 42px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f4efff 0%, #eef7f3 100%);
  border: 1px solid rgba(132, 70, 255, 0.15);
}

.cta-card p {
  max-width: 720px;
}

.faq-section {
  background: var(--surface);
}

.faq-wrap {
  max-width: 920px;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-question span {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.faq-question span::before,
.faq-question span::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--primary);
  transform: translateY(-50%);
}

.faq-question span::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item.active .faq-question span::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 22px 22px;
}

.faq-item.active .faq-answer {
  max-height: 180px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.footer p {
  color: var(--soft);
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.28);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(5, 150, 105, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
  }
}

@keyframes phoneFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes artifactFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes cursorBlink {
  0%, 45% {
    opacity: 1;
  }
  46%, 100% {
    opacity: 0;
  }
}

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

  .menu-toggle {
    display: flex;
  }

  .site-header.nav-open .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav a {
    padding: 12px;
    border-radius: var(--radius-sm);
  }

  .site-header.nav-open .site-nav a:hover {
    background: var(--surface);
  }

  .hero-grid,
  .developer-grid,
  .audience-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .partner-showcase {
    max-width: 560px;
  }

  .steps-grid,
  .slab-grid {
    grid-template-columns: 1fr;
  }

  .slab-card.featured {
    transform: none;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .brand img {
    height: 44px;
  }

  .hero {
    padding: 126px 0 64px;
  }

  .hero-actions,
  .nav-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-card .btn,
  .footer .btn {
    width: 100%;
  }

  .trust-row span {
    width: 100%;
  }

  .typing-shell {
    white-space: normal;
  }

  .partner-showcase,
  .step-card,
  .value-card,
  .slab-card,
  .cta-card {
    padding: 22px;
  }

  .partner-showcase {
    min-height: 500px;
    padding: 0;
  }

  .artifact {
    padding: 10px 12px;
  }

  .artifact-code {
    top: 18px;
    right: 4px;
  }

  .artifact-commission {
    right: 0;
    bottom: 26px;
  }

  .feature-pill {
    font-size: 0.78rem;
    padding: 8px 11px;
  }

  .feature-pill-top {
    left: 0;
    top: 86px;
  }

  .feature-pill-right {
    right: 0;
    top: 245px;
  }

  .feature-pill-bottom {
    bottom: 84px;
    left: 6px;
  }

  .value-grid,
  .band-grid,
  .audience-list {
    grid-template-columns: 1fr;
  }

  .section,
  .cta-section {
    padding: 68px 0;
  }
}
