:root {
  --bg: #f3f1eb;
  --bg-soft: #f7f4ee;
  --card: rgba(255, 255, 255, 0.92);
  --surface: #fafaf8;
  --text: #111119;
  --text-secondary: #66667c;
  --accent: #5b4dd6;
  --accent-hover: #4338c9;
  --accent-soft: #ede9ff;
  --blue: #1d6fce;
  --border: rgba(0, 0, 0, 0.07);
  --border-strong: rgba(0, 0, 0, 0.12);
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
  --font-body: "Manrope", "DM Sans", sans-serif;
  --font-display: "Manrope", "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(91, 77, 214, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(29, 111, 206, 0.06), transparent 20%),
    linear-gradient(180deg, #f7f4ee 0%, #f3f1eb 58%, #efede7 100%);
}

body {
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
}

.landing-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 14px 18px;
}

.landing-topbar {
  position: sticky;
  top: 10px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(250, 248, 252, 0.9));
  border: 1px solid rgba(91, 77, 214, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transition: background 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.landing-topbar.is-scrolled {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 244, 252, 0.96));
  border-color: rgba(91, 77, 214, 0.12);
  box-shadow: 0 18px 42px rgba(28, 24, 56, 0.08);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  padding: 6px;
  border-radius: 13px;
  background: linear-gradient(135deg, #f6f4ff, #ece7ff);
  border: 1px solid rgba(91, 77, 214, 0.12);
  box-shadow: 0 10px 24px rgba(91, 77, 214, 0.12);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.landing-nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.hamburger-btn {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu {
  display: none;
  position: sticky;
  top: 78px;
  z-index: 39;
}

.topbar-link-btn,
.topbar-cta,
.hero-primary-btn,
.google-fallback-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.topbar-link-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
}

.topbar-cta,
.hero-primary-btn {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(91, 77, 214, 0.2);
}

.topbar-link-btn:hover,
.topbar-cta:hover,
.hero-primary-btn:hover,
.google-fallback-btn:hover {
  transform: translateY(-1px);
}

.topbar-cta:hover,
.hero-primary-btn:hover {
  background: var(--accent-hover);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.92fr);
  gap: 22px;
  align-items: center;
  min-height: auto;
  padding: 18px 4px 10px;
}

.hero-copy,
.hero-visual {
  opacity: 0;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-copy {
  min-height: 0;
  padding: 0 0 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation-name: heroRevealLeft;
}

.hero-visual {
  animation-name: heroRevealRight;
}

.hero-chip,
.tiny-pill,
.dashboard-pill,
.card-tab,
.dashboard-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-chip {
  background: rgba(17, 17, 25, 0.94);
  color: #fff;
}

.hero-copy h1 {
  margin: 12px 0 0;
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-description {
  margin: 12px 0 0;
  max-width: 660px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.62;
}

.hero-actions {
  margin-top: 16px;
}

.hero-start-field {
  width: min(100%, 360px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 6px 6px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(91, 77, 214, 0.1);
  box-shadow: var(--shadow-soft);
}

.hero-start-field span {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.hero-primary-btn {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 12px;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  padding: 4px 0 0 10px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 22px 0 0 40px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(91, 77, 214, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(245, 243, 251, 0.58));
}

.dashboard-preview {
  position: relative;
  width: min(100%, 560px);
  margin-left: auto;
  z-index: 1;
}

.preview-image-shell,
.signin-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(91, 77, 214, 0.08);
  box-shadow: var(--shadow);
}

.preview-image-shell {
  position: relative;
  padding: 8px;
  border-radius: 22px;
  overflow: hidden;
}

.preview-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.card-subtitle,
.setup-note {
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-auth-card {
  width: min(100%, 360px);
  padding: 18px;
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(17, 13, 40, 0.18);
}

.card-tab {
  background: rgba(91, 77, 214, 0.08);
  color: var(--accent);
}

.hero-auth-card h2 {
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
}

.card-subtitle {
  margin: 6px 0 0;
  font-size: 14px;
}

.signin-actions {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.google-button-mount {
  min-height: 40px;
}

.google-button-mount.hidden:empty {
  min-height: 0;
}

.google-fallback-btn {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 13px;
}

.google-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.google-icon svg {
  width: 100%;
  height: 100%;
}

.setup-note {
  margin: 8px 0 0;
  min-height: 16px;
  font-size: 12px;
}

.signin-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 90;
}

.signin-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.signin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 15, 44, 0.58);
  backdrop-filter: blur(10px);
}

.signin-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  transform: translateY(18px) scale(0.96);
  transition: transform 0.24s ease;
}

.signin-modal.open .signin-modal-dialog {
  transform: translateY(0) scale(1);
}

.signin-modal-close {
  position: absolute;
  top: -14px;
  right: -10px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(91, 77, 214, 0.12);
  box-shadow: 0 16px 30px rgba(16, 12, 38, 0.14);
  color: #241f49;
  font-size: 24px;
  line-height: 1;
}

.platform-marquee-section {
  padding: 2px 4px 0;
}

.platform-marquee-label {
  margin: 0 0 10px 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.platform-marquee {
  display: flex;
  overflow: hidden;
  gap: 10px;
  mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
}

.platform-marquee-track {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: max-content;
  animation: marqueeScroll 34s linear infinite;
}

.platform-marquee:hover .platform-marquee-track {
  animation-play-state: paused;
}

.platform-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(91, 77, 214, 0.08);
  box-shadow: var(--shadow-soft);
}

.platform-logo-pill img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 6px;
}

.platform-logo-pill span {
  font-size: 12px;
  font-weight: 700;
  color: #27364e;
  white-space: nowrap;
}

.how-it-works-section {
  margin-top: 28px;
  padding: 10px 4px 24px;
}

.how-it-works-shell {
  padding: 28px 20px 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(161, 132, 255, 0.18), transparent 18%),
    radial-gradient(circle at bottom right, rgba(91, 77, 214, 0.2), transparent 24%),
    linear-gradient(180deg, #1f1848 0%, #241d56 55%, #1a153e 100%);
  color: #f8f7ff;
  box-shadow: 0 28px 60px rgba(31, 24, 72, 0.28);
  overflow: hidden;
}

.how-it-works-heading {
  max-width: 980px;
}

.how-it-works-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(176, 160, 255, 0.16);
  border: 1px solid rgba(201, 190, 255, 0.18);
  color: #c8bdff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-it-works-heading h2 {
  margin: 14px 0 0;
  max-width: 980px;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.how-step-card {
  position: relative;
  min-height: 340px;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 190, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.how-step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 190, 255, 0.2);
  box-shadow:
    0 22px 36px rgba(9, 7, 24, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.how-step-content {
  position: relative;
  z-index: 1;
}

.how-step-content h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.how-step-content p {
  margin: 12px 0 0;
  color: rgba(240, 236, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
}

.how-step-preview {
  margin-top: 26px;
  padding: 12px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)),
    rgba(11, 8, 28, 0.3);
  border: 1px solid rgba(210, 201, 255, 0.08);
  animation: previewPulse 7s ease-in-out infinite;
  overflow: hidden;
}

.how-step-preview img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  box-shadow: 0 16px 26px rgba(8, 6, 20, 0.18);
}

.why-jumai-section {
  padding: 34px 4px 42px;
}

.why-jumai-shell {
  padding: 26px 20px 10px;
  position: relative;
}

.why-jumai-shell::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 77, 214, 0.16), transparent);
}

.testimonials-section {
  padding: 8px 4px 34px;
}

.testimonials-shell {
  padding: 12px 20px 8px;
}

.testimonials-heading {
  max-width: 860px;
}

.testimonials-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(91, 77, 214, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonials-heading h2 {
  margin: 14px 0 0;
  max-width: 900px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  font-weight: 800;
  color: #18152a;
}

.testimonials-heading p {
  margin: 14px 0 0;
  max-width: 700px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.72;
}

.testimonials-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 16px;
  margin-top: 26px;
  padding: 6px 2px 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 77, 214, 0.35) transparent;
}

.testimonials-rail::-webkit-scrollbar {
  height: 10px;
}

.testimonials-rail::-webkit-scrollbar-track {
  background: transparent;
}

.testimonials-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(91, 77, 214, 0.3);
}

.testimonial-card {
  min-height: 250px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(91, 77, 214, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 255, 0.88));
  border: 1px solid rgba(91, 77, 214, 0.08);
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 77, 214, 0.16);
  box-shadow: 0 22px 40px rgba(31, 24, 72, 0.1);
}

.testimonial-card p {
  margin: 0;
  color: #303552;
  font-size: 16px;
  line-height: 1.78;
}

.testimonial-meta {
  display: grid;
  gap: 6px;
  margin-top: 26px;
}

.testimonial-meta strong {
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #18152a;
}

.testimonial-meta span {
  color: #6b6f86;
  font-size: 13px;
  font-weight: 700;
}

.why-jumai-heading {
  text-align: center;
}

.why-jumai-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.why-jumai-heading h2 {
  margin: 18px auto 0;
  max-width: 980px;
  font-size: clamp(30px, 4.3vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  font-weight: 800;
  color: #171428;
}

.why-jumai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.why-card {
  position: relative;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(244, 241, 255, 0.72), rgba(239, 236, 249, 0.54));
  border: 1px solid rgba(91, 77, 214, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 102, 255, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.4s ease;
  transform: translate3d(-12px, 8px, 0);
  pointer-events: none;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 77, 214, 0.16);
  box-shadow: 0 24px 40px rgba(32, 28, 69, 0.1);
}

.why-card:hover::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.why-card h3 {
  margin: 0;
  font-size: clamp(21px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #151a3c;
  position: relative;
  z-index: 1;
}

.why-card p {
  margin: 16px 0 0;
  max-width: 34ch;
  color: #526078;
  font-size: 14px;
  line-height: 1.72;
  position: relative;
  z-index: 1;
}

.why-card-price {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.why-card-price strong {
  display: block;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.08em;
  color: #5b4dd6;
  position: relative;
  z-index: 1;
}

.why-card-price h3 {
  margin-top: 24px;
}

.why-card-benefit {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.why-card-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.benefit-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #6858ef, #5847d5);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(91, 77, 214, 0.2);
}

.benefit-arrow {
  position: relative;
  width: 74px;
  height: 2px;
  background: rgba(91, 77, 214, 0.2);
}

.benefit-arrow::after,
.benefit-arrow::before {
  content: "";
  position: absolute;
  right: -2px;
  width: 12px;
  height: 2px;
  background: rgba(91, 77, 214, 0.32);
  transform-origin: right center;
}

.benefit-arrow::before {
  top: -4px;
  transform: rotate(34deg);
}

.benefit-arrow::after {
  top: 4px;
  transform: rotate(-34deg);
}

.why-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

.why-wide-copy h3 {
  font-size: clamp(24px, 2.7vw, 36px);
}

.why-wide-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 200px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(91, 77, 214, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.why-card-wide:hover .why-wide-visual {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px rgba(29, 23, 68, 0.08);
}

.why-flow-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 110px;
  padding: 16px;
  border-radius: 28px;
  background: #fff;
  color: #1f2650;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.why-flow-node:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 34px rgba(15, 23, 42, 0.12);
}

.why-flow-node.active {
  background: linear-gradient(180deg, #6d5df2, #5748d8);
  color: #fff;
}

.why-flow-line {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(91, 77, 214, 0.22), rgba(91, 77, 214, 0.08));
}

.cta-footer-section {
  padding: 34px 4px 8px;
  background:
    radial-gradient(circle at bottom right, rgba(91, 77, 214, 0.06), transparent 22%);
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 46px 40px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(127, 107, 255, 0.2), transparent 24%),
    linear-gradient(180deg, #1d1744 0%, #211b4f 100%);
  color: #f7f5ff;
  box-shadow: 0 30px 60px rgba(25, 20, 60, 0.26);
  overflow: hidden;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -80px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(136, 116, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.cta-copy {
  max-width: 760px;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b8abff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.cta-copy p {
  margin: 18px 0 0;
  max-width: 620px;
  color: rgba(232, 228, 255, 0.72);
  font-size: 15px;
  line-height: 1.72;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-primary,
.cta-secondary {
  min-height: 64px;
  padding: 0 28px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  position: relative;
  z-index: 1;
}

.cta-primary {
  background: linear-gradient(180deg, #6b5cf0, #5748d7);
  color: #fff;
  box-shadow: 0 18px 28px rgba(91, 77, 214, 0.26);
}

.cta-secondary {
  border: 1px solid rgba(196, 188, 255, 0.22);
  color: #f6f3ff;
  background: rgba(255, 255, 255, 0.03);
}

.cta-primary:hover,
.cta-secondary:hover {
  transform: translateY(-2px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 26px;
  margin-top: 30px;
  padding: 30px 4px 26px;
  border-radius: 0;
  background: transparent;
  color: #201c39;
  border-top: 1px solid rgba(91, 77, 214, 0.12);
}

.footer-brand-line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-mark {
  width: 46px;
  height: 46px;
  padding: 6px;
  border-radius: 14px;
  background: linear-gradient(135deg, #725ff4, #4f3fd1);
  box-shadow: 0 14px 26px rgba(91, 77, 214, 0.24);
}

.footer-brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #171428;
}

.footer-brand-block p,
.footer-detail-block li,
.footer-detail-block a,
.footer-developer-note {
  color: #5e6279;
  font-size: 14px;
  line-height: 1.8;
}

.footer-brand-block p {
  max-width: 420px;
  margin: 18px 0 0;
}

.footer-detail-block h3 {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #1f2240;
}

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

.footer-detail-block li + li {
  margin-top: 6px;
}

.footer-detail-block a:hover {
  color: var(--accent);
}

.footer-developer-note a {
  color: #2a2f57;
  font-weight: 800;
}

.footer-developer-note a:hover {
  color: var(--accent);
}

.footer-detail-block li,
.footer-detail-block a,
.footer-brand-mark,
.footer-brand-line {
  transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.footer-detail-block li:hover,
.footer-detail-block a:hover {
  transform: translateX(4px);
}

.footer-brand-line:hover .footer-brand-mark {
  transform: translateY(-3px) rotate(-3deg);
}

.footer-developer-note {
  margin: 0 0 12px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.how-step-card.reveal-on-scroll:nth-child(1),
.why-card.reveal-on-scroll:nth-child(1),
.footer-detail-block.reveal-on-scroll:nth-child(1) {
  transition-delay: 0.02s;
}

.how-step-card.reveal-on-scroll:nth-child(2),
.why-card.reveal-on-scroll:nth-child(2),
.footer-detail-block.reveal-on-scroll:nth-child(2) {
  transition-delay: 0.12s;
}

.how-step-card.reveal-on-scroll:nth-child(3),
.why-card.reveal-on-scroll:nth-child(3),
.footer-detail-block.reveal-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.footer-detail-block.reveal-on-scroll:nth-child(4) {
  transition-delay: 0.28s;
}

@keyframes previewPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: inset 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

.hidden {
  display: none !important;
}

@keyframes heroRevealLeft {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroRevealRight {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

@media (max-width: 1180px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    min-height: auto;
    padding-left: 14px;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .hero-visual {
    min-height: 560px;
    padding-top: 14px;
  }

  .dashboard-preview {
    margin: 0 auto;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .landing-shell {
    padding: 14px 14px 24px;
  }

  .landing-topbar {
    flex-wrap: wrap;
    padding: 16px 18px;
  }

  .landing-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    font-size: 15px;
  }

  .hero-section {
    padding: 24px 0 18px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-visual {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-visual::before {
    inset: 16px 0 0 0;
  }

  .dashboard-content-grid {
    grid-template-columns: 1fr;
  }

  .platform-marquee-label {
    margin-left: 0;
  }

  .how-it-works-shell {
    padding: 24px 16px 28px;
    border-radius: 28px;
  }

  .how-it-works-grid {
    gap: 16px;
  }

  .why-jumai-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .cta-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .landing-topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
  }

  .landing-nav,
  .topbar-actions {
    display: none;
  }

  .hamburger-btn {
    display: inline-flex;
  }

  .mobile-menu {
    display: grid;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    margin: 10px 2px 0;
    padding: 0 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(91, 77, 214, 0.08);
    box-shadow: var(--shadow-soft);
    transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease, padding 0.25s ease;
  }

  .mobile-menu.open {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    padding: 14px;
  }

  .mobile-menu a {
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
  }

  .mobile-menu-outline {
    border: 1px solid var(--border);
    background: #fff;
  }

  .mobile-menu-primary {
    background: var(--accent);
    color: #fff;
    text-align: center;
  }

  .topbar-actions,
  .hero-start-field {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-link-btn,
  .topbar-cta,
  .hero-primary-btn {
    width: 100%;
  }

  .hero-section {
    gap: 18px;
    padding-top: 20px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(30px, 9vw, 42px);
  }

  .hero-description {
    font-size: 15px;
  }

  .dashboard-preview {
    width: 100%;
  }

  .preview-image-shell {
    padding: 8px;
    border-radius: 24px;
  }

  .signin-modal {
    padding: 16px;
  }

  .signin-modal-dialog {
    width: min(100%, 360px);
  }

  .hero-auth-card {
    width: 100%;
    padding: 16px;
    border-radius: 22px;
  }

  .platform-logo-pill {
    padding: 10px 12px;
  }

  .platform-logo-pill span {
    font-size: 12px;
  }

  .how-it-works-heading h2 {
    font-size: clamp(24px, 8vw, 32px);
  }

  .how-step-card {
    min-height: auto;
    padding: 22px 18px;
    border-radius: 24px;
  }

  .how-step-content h3 {
    font-size: 19px;
  }

  .how-step-content p {
    font-size: 13px;
  }

  .how-step-preview img {
    height: 180px;
  }

  .why-jumai-section {
    padding-top: 28px;
  }

  .why-jumai-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .why-jumai-shell::after {
    left: 0;
    right: 0;
  }

  .why-jumai-heading h2 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .testimonials-heading h2 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .testimonials-heading p {
    font-size: 14px;
  }

  .testimonials-rail {
    grid-auto-columns: minmax(260px, 86vw);
    gap: 14px;
  }

  .testimonial-card {
    min-height: 220px;
    padding: 20px;
    border-radius: 24px;
  }

  .testimonial-card p {
    font-size: 14px;
  }

  .why-card {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .why-card p {
    font-size: 14px;
  }

  .why-card-icons {
    flex-direction: column;
    align-items: flex-start;
  }

  .benefit-arrow {
    width: 2px;
    height: 28px;
    margin-left: 24px;
  }

  .benefit-arrow::before,
  .benefit-arrow::after {
    top: auto;
    right: -5px;
    width: 10px;
  }

  .benefit-arrow::before {
    bottom: 2px;
    transform: rotate(55deg);
  }

  .benefit-arrow::after {
    bottom: 2px;
    transform: rotate(-55deg);
  }

  .why-card-wide {
    grid-template-columns: 1fr;
  }

  .why-wide-visual {
    flex-direction: column;
    min-height: auto;
  }

  .why-flow-line {
    width: 3px;
    height: 30px;
  }

  .cta-footer-section {
    padding-top: 24px;
  }

  .cta-panel {
    padding: 28px 18px;
    border-radius: 26px;
  }

  .cta-copy h2 {
    font-size: clamp(24px, 8vw, 32px);
  }

  .cta-copy p {
    font-size: 14px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    min-height: 56px;
  }

  .site-footer {
    padding: 24px 0 22px;
  }

  .footer-brand-name {
    font-size: 22px;
  }

  .footer-detail-block h3 {
    font-size: 18px;
  }
}
