/* ===== Scrollbar gutter – prevents layout shift when modal opens ===== */
html {
  scrollbar-gutter: stable;
}

html.modal-open {
  overflow: hidden;
}

/* ===== Design Tokens (from Figma raw.html) ===== */
:root {
  /* Colors */
  --color-primary: #ffffff;
  --color-text: #222222;
  --color-text-sub: rgba(34, 34, 34, 0.60);
  --color-neutral-1: #3A3D43;
  --color-secondary-500: #473388;
  --color-stats: #463488;
  --color-accent: #8C68FF;
  --color-accent-badge: #8964FF;
  --color-pink: #FF3875;
  --color-dark: #030213;
  --color-bg: #ffffff;
  --color-bg-light: #FAF7FF;
  --color-bg-icon: #F9F6FF;
  --color-bg-purple: #EBDBFF;
  --color-bg-dark: #0F0F1A;
  --color-border: rgba(0, 0, 0, 0.12);
  --color-white: #ffffff;
  --bg-hero-gradient: linear-gradient(90deg, #FAF7FF 0%, #F3EEFF 30%, #EDE7FC 60%, #FAF7FF 100%);

  /* Typography */
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --spacing: 8px;
  --container-max: 1080px;
  --page-padding: 180px;
  --header-height: 64px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 40px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--spacing) * 6);
  margin-inline: auto;
  padding-inline: calc(var(--spacing) * 3); /* 24px mobile */
}

@media (min-width: 768px) {
  .container {
    max-width: calc(var(--container-max) + var(--spacing) * 10);
    padding-inline: calc(var(--spacing) * 5); /* 40px tablet */
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: calc(var(--container-max) + var(--page-padding) * 2);
    padding-inline: var(--page-padding); /* 180px desktop — matches Figma */
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

/* Size variants */
.btn--sm {
  padding: var(--spacing) calc(var(--spacing) * 2);
  font-size: 14px;
}

.btn--md {
  padding: 10px 22px;
  font-size: 16px;
}

.btn--lg {
  padding: calc(var(--spacing) * 1.75) calc(var(--spacing) * 4);
  font-size: 16px;
}

/* Color variants */
.btn--dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn--dark:hover {
  background: #1a1a2e;
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--accent:hover {
  background: #7b55f0;
}

.btn--outline-accent {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn--outline-accent:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--outline-white {
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--outline-white:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

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

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

/* Button icon (inline SVG) */
.btn__icon {
  flex-shrink: 0;
  fill: currentColor;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

/* Logo */
.header__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

.header__logo-img {
  height: 38px;
  width: auto;
}

/* Center navigation */
.header__nav {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav--header {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 4);
}

.nav--header li {
  position: relative;
}

.nav--header a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
  transition: color 0.2s;
}

.nav--header a:hover {
  color: var(--color-accent);
}

.nav--header .nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0;
  width: 30px;
  height: 4px;
  background: var(--color-pink);
  border-radius: 4px 4px 0 0;
}

/* Right actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 2);
  flex-shrink: 0;
}

.header__lang {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-text);
}

.header__lang-icon {
  width: 20px;
  height: 20px;
}

.header__lang-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.header__lang[aria-expanded="true"] .header__lang-arrow {
  transform: rotate(180deg);
}

/* Language dropdown */
.header__lang-wrapper {
  position: relative;
}

.header__lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 4px 0;
  margin: 0;
  z-index: 100;
}

.header__lang-dropdown--open {
  display: block;
}

.header__lang-option {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.15s;
}

.header__lang-option:hover {
  background: rgba(0, 0, 0, 0.04);
}

.header__lang-option--active {
  font-weight: 600;
  color: var(--color-secondary-500);
}

/* Mobile menu toggle icon states */
.header__menu-icon--close {
  display: none;
}

.header__menu-toggle[aria-expanded="true"] .header__menu-icon--open {
  display: none;
}

.header__menu-toggle[aria-expanded="true"] .header__menu-icon--close {
  display: block;
}

/* Mobile menu toggle */
.header__menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--color-text);
}

/* Mobile nav open state */
.nav--header.nav--open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: calc(var(--spacing) * 2) calc(var(--spacing) * 3);
  gap: calc(var(--spacing) * 2);
  z-index: 99;
}

.nav--header.nav--open a {
  display: block;
  padding: var(--spacing) 0;
}

/* ========================================
   MOBILE MENU (full-screen overlay)
   ======================================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 999;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--spacing) * 2) calc(var(--spacing) * 2) calc(var(--spacing) * 5);
  overflow-y: auto;
}

.mobile-menu--open {
  display: flex;
}

/* Nav links */
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 3);
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--color-text);
  text-decoration: none;
  padding-left: calc(var(--spacing) * 1.5);
}

.mobile-menu__link--active {
  border-left: 3px solid #FF3875;
}

/* Language pill */
.mobile-menu__lang-wrapper {
  position: relative;
  margin-top: calc(var(--spacing) * 3);
  width: fit-content;
}

.mobile-menu__lang {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--spacing) * 0.5);
  padding: var(--spacing) calc(var(--spacing) * 1.25);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 40px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  background: transparent;
}

.mobile-menu__lang-arrow {
  transition: transform 0.2s;
}

.mobile-menu__lang[aria-expanded="true"] .mobile-menu__lang-arrow {
  transform: rotate(180deg);
}

.mobile-menu__lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + var(--spacing));
  left: 0;
  min-width: 140px;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
  list-style: none;
  padding: calc(var(--spacing) * 0.5) 0;
  margin: 0;
}

.mobile-menu__lang-dropdown--open {
  display: block;
}

.mobile-menu__lang-option {
  padding: calc(var(--spacing) * 1) calc(var(--spacing) * 2);
  font-size: 14px;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.15s;
}

.mobile-menu__lang-option:hover {
  background: rgba(0, 0, 0, 0.04);
}

.mobile-menu__lang-option--active {
  font-weight: 600;
  color: var(--color-secondary-500);
}

/* Top section */
.mobile-menu__top {
  display: flex;
  flex-direction: column;
}

/* Bottom section */
.mobile-menu__bottom {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 2);
}

.mobile-menu__section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing);
}

.mobile-menu__section-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 20px;
}

.mobile-menu__badges {
  display: flex;
  gap: var(--spacing);
}

.mobile-menu__badges img {
  height: 32px;
  width: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--color-text);
}

.mobile-menu__socials {
  display: flex;
  gap: calc(var(--spacing) * 2.5);
  align-items: center;
}

.mobile-menu__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  color: var(--color-text);
}

.mobile-menu__version {
  font-size: 14px;
  font-weight: 400;
  color: rgba(34, 34, 34, 0.6);
  line-height: 20px;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .header__nav {
    display: block;
  }

  .header__lang {
    display: flex;
  }

  .header__menu-toggle {
    display: none;
  }

  .nav--header.nav--open {
    position: static;
    flex-direction: row;
    padding: 0;
    border: none;
    background: transparent;
  }
}

/* ========================================
   HERO (full section: text + devices + stats + trusted)
   ======================================== */
.hero {
  text-align: center;
}

/* Top gradient area */
.hero__top {
  padding: calc(var(--spacing) * 8) 0 calc(var(--spacing) * 4);
  background: var(--bg-hero-gradient);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: calc(var(--spacing) * 2);
}

.hero__subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-sub);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: calc(var(--spacing) * 4);
}

.hero__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: calc(var(--spacing) * 1.5);
  margin-bottom: calc(var(--spacing) * 6);
}


/* Device mockups */
.hero__visual {
  position: relative;
}

.hero__devices {
  max-width: 760px;
  margin-inline: auto;
}

.hero__devices img {
  width: 100%;
}

/* Stats row */
.hero__stats {
  padding: calc(var(--spacing) * 5) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(var(--spacing) * 4);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing);
  text-align: center;
}

.hero__stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(96deg, #463488 0.57%, #FF3875 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__stat-label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(34, 34, 34, 0.6);
}

@media (min-width: 576px) {
  .hero__stats-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--spacing) * 6);
  }

  .hero__stat-value {
    font-size: 32px;
  }

  .hero__stat-label {
    font-size: 16px;
  }
}

/* Trusted by */
.hero__trusted {
  padding: calc(var(--spacing) * 5) 0 calc(var(--spacing) * 6);
  background: var(--bg-hero-gradient);
}

.hero__trusted-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  margin-bottom: calc(var(--spacing) * 3); /* 24px */
}

.hero__trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: calc(var(--spacing) * 2) calc(var(--spacing) * 2);
  margin-bottom: calc(var(--spacing) * 5); /* 40px between rows */
}

.hero__trusted-logos:last-of-type {
  margin-bottom: calc(var(--spacing) * 8); /* 64px above creators */
}

.hero__trusted-logos img {
  height: 28px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  mix-blend-mode: luminosity;
  transition: filter 0.3s, opacity 0.3s;
}

.hero__trusted-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  mix-blend-mode: normal;
}

/* Responsive: brand logos sizing & no-wrap on desktop */
@media (min-width: 768px) {
  .hero__trusted-logos {
    flex-wrap: nowrap;
    gap: calc(var(--spacing) * 3);
  }

  .hero__trusted-logos img {
    height: 32px;
  }
}

@media (min-width: 1200px) {
  .hero__trusted-logos {
    gap: calc(var(--spacing) * 4);
  }

  .hero__trusted-logos img {
    height: 36px;
  }
}

/* Content Creator avatars */
.hero__creators {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__creators-avatars {
  margin-bottom: calc(var(--spacing) * 2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__creators-img {
  display: block;
  width: 100%;
  max-width: 1032px;
  height: auto;
  object-fit: contain;
}

/* Show mobile image by default, hide desktop */
.hero__creators-img--desktop {
  display: none;
}

@media (min-width: 768px) {
  .hero__creators-img--mobile {
    display: none;
  }

  .hero__creators-img--desktop {
    display: block;
  }
}

.hero__creators-label {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  color: var(--color-neutral-1);
  text-align: center;
  align-self: stretch;
}

/* ========================================
   SECTION (shared)
   ======================================== */
.section {
  padding: calc(var(--spacing) * 8) 0;
}

.section--light {
  background: var(--color-bg-light);
}

.section--dark {
  background: linear-gradient(135deg, #1a0533 0%, #0f0f1a 100%);
  color: var(--color-white);
}

.section__header {
  text-align: center;
  margin-bottom: calc(var(--spacing) * 5);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-neutral-1);
  margin-top: calc(var(--spacing) * 2);
  margin-bottom: calc(var(--spacing) * 2);
  line-height: 1.2;
}

.section__header .section__title {
  margin-top: calc(var(--spacing) * 3);
}

.section--dark .section__title {
  color: var(--color-white);
}

.section__subtitle {
  font-size: 16px;
  color: rgba(34, 34, 34, 0.6);
  line-height: 1.5;
  max-width: 752px;
  margin: calc(var(--spacing) * 3) auto 0;
  text-align: center;
}

.section__lead {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-sub);
  max-width: 640px;
  margin-inline: auto;
  line-height: 150%;
}

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   CARDS
   ======================================== */
.cards {
  display: grid;
  gap: calc(var(--spacing) * 3);
}

.cards--three {
  grid-template-columns: 1fr;
  gap: calc(var(--spacing) * 4);
}

.cards--three .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(var(--spacing) * 2);
  flex: 1 0 0;
  align-self: stretch;
  border: none;
}

.cards--three .card__title {
  font-weight: 600;
  color: var(--color-neutral-1);
}

.cards--three .card__icon img {
  width: 32px;
  height: 32px;
}

.cards--three .card__text {
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
}

.cards--four {
  grid-template-columns: 1fr;
}

.card {
  padding: calc(var(--spacing) * 3);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.section--light .card {
  background: var(--color-white);
}

/* Section label (pill badge) */
.section__label {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: linear-gradient(var(--color-white), var(--color-white)) padding-box,
    linear-gradient(90deg, #8964FF 0%, #FF6CEA 100%) border-box;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 20px;
  color: var(--color-text);
  margin-bottom: 0;
}

.card__icon {
  display: flex;
  width: 64px;
  height: 64px;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-xl);
  background: var(--color-bg-icon);
}

.card__icon img {
  width: 24px;
  height: 24px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: var(--color-text);
  margin-bottom: calc(var(--spacing) * 1);
}

/* Card title with left accent (Retention Trap) */
.card__title--bordered {
  padding-left: var(--spacing);
  border-left: 2px solid var(--color-pink);
}

.card__text {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .cards--three {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (min-width: 992px) {
  .cards--four {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Solution cards grid (Build fan relationships) */
.cards--solution {
  display: inline-grid;
  row-gap: calc(var(--spacing) * 3); /* 24px */
  align-self: stretch;
  grid-template-columns: 1fr;
  gap: 0;
}

.cards--solution .card {
  display: flex;
  padding: calc(var(--spacing) * 3) calc(var(--spacing) * 2) calc(var(--spacing) * 3) calc(var(--spacing) * 3); /* 24px 16px 24px 24px */
  flex-direction: column;
  align-items: flex-start;
  gap: 0; 
  justify-self: stretch;
  border: none;
  border-radius: var(--radius-md);
  border-left: var(--spacing) solid var(--color-secondary-500); /* 8px */
  background: var(--color-white);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
}

.cards--solution .card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 0;
}

.cards--solution .card__icon img {
  width: 40px;
  height: 40px;
}

.cards--solution .card__text {
  font-size: 16px;
  line-height: 150%;
}

@media (min-width: 768px) {
  .cards--solution {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .cards--solution {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(1, fit-content(100%));
  }
}

/* Section left-aligned variant */
.section--left .section__header {
  text-align: left;
}

.section--left .section__lead {
  max-width: 513px;
  margin-inline: 0;
}

/* ========================================
   PLATFORM
   ======================================== */
/* Tab switcher */
.platform__tabs {
  display: flex;
  max-width: 640px;
  margin: calc(var(--spacing) * 3) auto 0;
}

.platform__tab {
  flex: 1;
  height: 64px;
  border: none;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--color-text-sub);
  transition: background 0.2s, color 0.2s;
}

.platform__tab--active {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Panel wrapper */
.platform__panel {
  display: none;
}

.platform__panel--active {
  display: block;
}

/* Swiper feature carousel */
.platform__swiper {
  overflow: hidden;
  border-radius: 16px;
}

.platform__swiper .swiper-slide {
  height: auto;
}

/* Preview area */
.platform__preview {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 3);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0;
  padding: 0;
  position: relative;
  min-height: 400px;
}

/* Active indicator line at bottom of preview */
.platform__preview::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--indicator-left, 0);
  width: var(--indicator-width, 25%);
  height: 6px;
  background: var(--indicator-color, var(--color-secondary-500));
  transition: left 0.3s ease, width 0.3s ease, background-color 0.3s ease;
}

/* Pagination hidden on desktop, visible on mobile */
.platform__pagination.swiper-pagination {
  display: none;
  position: relative;
  bottom: auto;
  width: 100%;
}

.platform__preview-main {
  position: relative;
}

.platform__preview-main img {
  width: 100%;
  max-width: 534px;
}

.platform__preview-info {
  padding: calc(var(--spacing) * 3);
}

.platform__preview-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  max-width: 340px;
  margin-bottom: calc(var(--spacing) * 2);
}

.platform__stores {
  display: flex;
  gap: calc(var(--spacing) * 2);
  align-items: center;
}

.platform__store-badge {
  display: inline-block;
}

.platform__store-badge img {
  height: 40px;
  width: auto;
}

@media (min-width: 768px) {
  .platform__preview {
    flex-direction: row;
  }

  .platform__preview-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--spacing) * 4);
  }
}

/* Product labels */
.platform__labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0;
  height: 64px;
}

.platform__label {
  flex: 1;
  padding: calc(var(--spacing) * 3) calc(var(--spacing) * 2);
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text-sub);
  cursor: pointer;
  transition: color 0.2s, font-weight 0.2s;
}

.platform__label--active {
  color: var(--color-secondary-500);
  font-weight: 600;
}

/* ========================================
   APIs SECTION
   ======================================== */
.apis {
  padding: calc(var(--spacing) * 10) 0;
  background: #5136B4;
  color: var(--color-white);
}

.apis__inner {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 5);
}

.apis__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(var(--spacing) * 3);
}

.apis__chip {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 16px;
  background: var(--color-white);
  color: #463488;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}

.apis__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
}

.apis__desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-white);
}

.apis__code {
  background: radial-gradient(ellipse at center, rgba(14,14,15,1) 18%, rgba(14,14,15,0.71) 100%);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: calc(var(--spacing) * 3) calc(var(--spacing) * 4);
  overflow-x: auto;
  box-shadow: 0 0 13.6px 0 rgba(225, 169, 255, 0.24);
  /* Force Latin monospace so code looks correct in JA (avoid CJK monospace) */
  font-family: 'Source Code Pro', 'SF Mono', Consolas, Monaco, 'Courier New', monospace;
}

.code-block {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-white);
}

.code-block code {
  white-space: pre;
}

/* JA page: keep code block in Latin monospace (avoid CJK font) */
[lang="ja"] .apis__code,
[lang="ja"] .apis__code .code-block,
[lang="ja"] .apis__code code {
  font-family: 'Source Code Pro', 'SF Mono', Consolas, Monaco, 'Courier New', monospace !important;
}

.code-key {
  color: var(--color-white);
}

.code-string {
  color: #4BCC48;
}

.code-number {
  color: #0997FF;
}

@media (min-width: 768px) {
  .apis__inner {
    flex-direction: row;
    align-items: center;
    gap: calc(var(--spacing) * 5);
  }

  .apis__content {
    flex: 1;
  }

  .apis__code {
    flex-shrink: 0;
    width: 588px;
    max-width: 50%;
    min-height: 360px;
  }
}

/* ========================================
   USE CASES
   ======================================== */
.section--use-cases {
  background:
    radial-gradient(ellipse at 50% 75%, rgba(186,217,249,0.2) 0%, rgba(242,242,242,0.2) 50%, transparent 70%),
    linear-gradient(90deg, #FAF7FF 0%, #FAF7FF 100%);
  overflow: hidden; /* clip peeking slides at section edges */
}

/* Swiper overrides */
.use-cases__swiper {
  overflow: visible; /* allow shadows + adjacent slides to peek */
}

.use-cases__swiper .swiper-slide {
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: flex-start;
  height: auto;
}

/* Pagination hidden on desktop */
.use-cases__pagination.swiper-pagination {
  display: none;
  position: relative;
  bottom: auto;
  width: 100%;
}

/* Card layout */
.use-case-card {
  display: flex;
  align-items: stretch;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 18.5px 37px -9px rgba(0, 0, 0, 0.25);
  min-height: 340px;
}

.use-case-card__content {
  flex: 1;
  padding: calc(var(--spacing) * 3);
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 2);
}

.use-case-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
  line-height: 20px;
}

.use-case-card__section {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 1.5);
  padding-bottom: var(--spacing);
}

.use-case-card__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 36px;
}

.use-case-card__text {
  font-size: 20px;
  color: rgba(34, 34, 34, 0.6);
  line-height: 1.5;
}

/* Metrics area */
.use-case-card__metrics {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: calc(var(--spacing) * 2);
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 2);
  margin-top: auto;
}

.use-case-card__metrics-label {
  font-size: 14px;
  color: rgba(34, 34, 34, 0.6);
  text-transform: uppercase;
  line-height: 1.5;
}

.use-case-card__stats {
  display: flex;
  gap: calc(var(--spacing) * 2);
}

.use-case-card__stat {
  flex: 1;
  border-left: 4px solid currentColor;
  padding-left: calc(var(--spacing) * 2);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing);
}

.use-case-card__stat-value {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 30px;
}

.use-case-card__stat-label {
  font-size: 14px;
  color: rgba(34, 34, 34, 0.6);
  line-height: 1.5;
}

/* Image area */
.use-case-card__image {
  width: 340px;
  flex-shrink: 0;
  padding: 4px;
}

.use-case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* Logo navigation */
.use-cases__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(var(--spacing) * 5);
  margin-top: calc(var(--spacing) * 8);
}

.use-cases__logo {
  background: none;
  border: none;
  padding: calc(var(--spacing) * 1) calc(var(--spacing) * 2);
  cursor: pointer;
  filter: grayscale(100%);
  mix-blend-mode: luminosity;
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease, mix-blend-mode 0.3s ease;
}

.use-cases__logo:hover {
  opacity: 0.8;
}

.use-cases__logo--active {
  filter: grayscale(0%);
  mix-blend-mode: normal;
  opacity: 1;
}

.use-cases__logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* Responsive (handled in consolidated mobile block at bottom) */
@media (max-width: 768px) {
  .use-cases__logos {
    gap: calc(var(--spacing) * 3);
    flex-wrap: wrap;
  }

  .use-cases__logo img {
    height: 24px;
  }
}

/* ========================================
   WHY 24KARAT
   ======================================== */

/* Feature cards grid */
.why__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--spacing) * 4);
}

.why__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing);
  padding: calc(var(--spacing) * 3) 0;
  text-align: center;
}

.why__feature-icon {
  width: 64px;
  height: 64px;
}

.why__feature-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
}

.why__feature-text {
  font-size: 16px;
  color: rgba(34, 34, 34, 0.6);
  line-height: 1.5;
  max-width: 229px;
}

@media (min-width: 768px) {
  .why__features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .why__features {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Stats row */
.why__stats {
  display: flex;
  flex-direction: column;
  margin-top: calc(var(--spacing) * 9.5);
}

.why__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing);
  height: 132px;
  text-align: center;
}

/* Border variants matching Figma */
.why__stat--purple-tr {
  border-top: 4px solid #8C68FF;
  border-right: 4px solid #8C68FF;
}

.why__stat--pink-br {
  border-bottom: 4px solid #FF70EA;
  border-right: 4px solid #FF70EA;
}

.why__stat--cyan-t {
  border-top: 4px solid #34EAFF;
}

.why__stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.why__stat-label {
  font-size: 18px;
  color: rgba(34, 34, 34, 0.6);
  line-height: 28px;
  letter-spacing: -0.44px;
}

@media (min-width: 576px) {
  .why__stats {
    flex-direction: row;
  }
}

/* ========================================
   BOTTOM CTA
   ======================================== */
.cta-bottom {
  position: relative;
  padding: calc(var(--spacing) * 10) 0;
  color: var(--color-white);
  overflow: hidden;
}

.cta-bottom__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.cta-bottom__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 5);
}

.cta-bottom__left {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 3);
}

.cta-bottom__app-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.cta-bottom__app-links {
  display: flex;
  gap: calc(var(--spacing) * 2);
}

.cta-bottom__store-badge img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.cta-bottom__right {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 2);
  max-width: 520px;
}

.cta-bottom__headline {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.cta-bottom__text {
  font-size: 16px;
  color: var(--color-white);
  line-height: 1.5;
}

/* White button variant */
.btn--white {
  background: var(--color-white);
  color: var(--color-text);
  border: none;
  width: fit-content;
}

.btn--white:hover {
  background: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .cta-bottom__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-white);
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 5);
  padding-top: calc(var(--spacing) * 10);
  padding-bottom: calc(var(--spacing) * 6);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 2);
  width: 236px;
}

.footer__logo img {
  height: 38px;
  width: auto;
}

.footer__tagline {
  font-size: 13px;
  color: rgba(34, 34, 34, 0.6);
  line-height: 1.5;
  letter-spacing: -0.31px;
  max-width: 219px;
}

.footer__social {
  display: flex;
  gap: calc(var(--spacing) * 2);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  color: var(--color-text);
  transition: background 0.2s, color 0.2s;
}

.footer__social-link:hover {
  background: rgba(0, 0, 0, 0.04);
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--spacing) * 3);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 2);
}

.footer__col-group {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 2);
}

.footer__col-group + .footer__col-group {
  margin-top: calc(var(--spacing) * 3);
}

.footer__col-title {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-secondary-500);
  line-height: 18px;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 1.5);
}

.footer__links a,
.footer__links span {
  font-size: 16px;
  color: rgba(34, 34, 34, 0.6);
  line-height: 24px;
  letter-spacing: -0.31px;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--color-text);
}

/* Footer bottom bar */
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--spacing);
  padding-top: calc(var(--spacing) * 2);
  padding-bottom: calc(var(--spacing) * 2);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.footer__copy,
.footer__note {
  font-size: 14px;
  color: rgba(34, 34, 34, 0.6);
  line-height: 20px;
  letter-spacing: -0.15px;
}

@media (min-width: 768px) {
  .footer__top {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__nav {
    grid-template-columns: repeat(4, 160px);
    gap: calc(var(--spacing) * 3);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ========================================
   MODAL
   ======================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.modal--open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.modal__content {
  position: relative;
  display: flex;
  width: 90%;
  max-width: 800px;
  padding: calc(var(--spacing) * 5) calc(var(--spacing) * 5) calc(var(--spacing) * 3); /* 40px 40px 24px */
  flex-direction: column;
  align-items: center;
  gap: calc(var(--spacing) * 3); /* 24px */
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);
  max-height: 90vh;
  overflow-y: auto;
}

.modal__close {
  position: absolute;
  top: calc(var(--spacing) * 4);
  right: calc(var(--spacing) * 4);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 100px;
  cursor: pointer;
  color: var(--color-text);
  padding: calc(var(--spacing) * 0.5);
  transition: background 0.2s;
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.modal__header {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 2); /* 16px */
  align-items: center;
  text-align: center;
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
}

.modal__subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 150%;
  color: var(--color-text-sub);
}

/* Form */
.modal__form {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 2.5); /* 20px */
  width: 100%;
  cursor: default;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 2.5); /* 20px */
}

@media (min-width: 576px) {
  .form__row {
    flex-direction: row;
    gap: calc(var(--spacing) * 2.5);
  }

  .form__row .form__group {
    flex: 1 0 0;
    min-width: 0;
  }
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing); /* 8px */
}

.form__label {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-neutral-1);
}

.form__required {
  color: #E8094B;
}

.form__input,
.form__textarea {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid #D7D6D6;
  border-radius: 6px;
  padding: calc(var(--spacing) * 1.5); /* 12px */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  outline: none;
  transition: border-color 0.2s;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #AAAAAA;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-accent);
}

.form__textarea {
  min-height: 105px;
  resize: vertical;
}

.modal__submit {
  align-self: center;
  min-width: 104px;
  height: calc(var(--spacing) * 6); /* 48px */
}

/* ========================================
   MOBILE OPTIMIZATIONS (max-width: 767px)
   ======================================== */
@media (max-width: 767px) {

  /* ---- Container ---- */
  .container {
    padding-inline: calc(var(--spacing) * 2); /* 16px */
  }

  /* ---- Header ---- */
  .header__lang-wrapper {
    display: none;
  }

  /* Hide "Get started" button in header on mobile */
  .header__actions .btn {
    display: none;
  }

  /* ---- Hero ---- */
  .hero__top {
    padding: calc(var(--spacing) * 5) 0;
  }

  .hero__title {
    font-size: 28px;
    line-height: 1.15;
  }

  .hero__subtitle {
    font-size: 14px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta .btn {
    justify-content: center;
    width: 200px;
  }

  /* ---- Hero Stats ---- */
  .hero__stats {
    flex-direction: column;
    gap: calc(var(--spacing) * 2);
    padding: calc(var(--spacing) * 3) calc(var(--spacing) * 2);
  }

  .hero__stat {
    text-align: center;
  }

  /* ---- Trusted ---- */
  .hero__trusted-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: calc(var(--spacing) * 2) calc(var(--spacing) * 3);
    margin-bottom: calc(var(--spacing) * 2); /* reduce gap between rows on mobile */
  }

  .hero__trusted-logos:last-of-type {
    margin-bottom: calc(var(--spacing) * 4); /* before creators */
  }

  .hero__trusted-logos img {
    height: 24px;
  }

  /* Creators image: full viewport width on mobile */
  .hero__creators-avatars {
    margin-left: calc(var(--spacing) * -2);
    margin-right: calc(var(--spacing) * -2);
    width: calc(100% + var(--spacing) * 4);
  }

  .hero__creators-img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero__creators-label {
    font-size: 16px;
  }

  /* ---- Section headers ---- */
  .section__title {
    font-size: 24px;
  }

  .section__subtitle {
    font-size: 14px;
  }

  .section__header {
    margin-bottom: calc(var(--spacing) * 4);
  }

  /* ---- Retention Trap cards ---- */
  .cards--three {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing) * 3);
  }

  .cards--three .card {
    align-items: center;
    text-align: center;
  }

  .card__icon {
    width: 56px;
    height: 56px;
  }

  .card__icon img {
    width: 32px;
    height: 32px;
  }

  /* On mobile, title border moves from left to bottom */
  .card__title--bordered {
    border-left: none;
    padding-left: 0;
    border-bottom: 2px solid #FF3875;
    padding-bottom: var(--spacing);
  }

  /* ---- Build fan relationships ---- */
  .cards--solution {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cards--solution .card {
    display: flex;
    min-height: 200px;
    padding: calc(var(--spacing) * 3) calc(var(--spacing) * 2);
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: calc(var(--spacing) * 1.5);
    align-self: stretch;
    border-left: none;
    border-radius: var(--radius-md);
    border-top: 8px solid var(--color-secondary-500);
    background: var(--color-white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
  }

  .section--left .section__header {
    text-align: center;
  }

  /* ---- Platform section ---- */
  .platform__tabs {
    flex-direction: row;
  }

  .platform__tab {
    font-size: 14px;
    padding: var(--spacing) calc(var(--spacing) * 2);
    min-width: 0;
  }

  .platform__preview {
    align-items: center;
    text-align: center;
  }

  .platform__preview-main {
    padding: calc(var(--spacing) * 2);
    display: flex;
    justify-content: center;
  }

  .platform__preview-main img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .platform__preview-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(var(--spacing) * 2);
  }

  .platform__preview-text {
    font-size: 14px;
  }

  .platform__labels {
    display: none;
  }

  .platform__pagination.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: calc(var(--spacing) * 0.5);
    padding: calc(var(--spacing) * 2) 0;
  }

  .platform__pagination .swiper-pagination-bullet {
    width: 16px;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.2);
    opacity: 1;
    margin: 0 !important;
  }

  .platform__pagination .swiper-pagination-bullet-active {
    background: var(--color-secondary-500);
  }

  /* Hide indicator line on mobile */
  .platform__preview::after {
    display: none;
  }

  .platform__stores {
    justify-content: center;
  }

  /* ---- APIs section ---- */
  .apis {
    padding: calc(var(--spacing) * 5) 0;
  }

  .apis__inner {
    flex-direction: column;
    gap: calc(var(--spacing) * 3);
    align-items: center;
  }

  .apis__content {
    max-width: 100%;
    align-items: center;
    text-align: center;
    gap: calc(var(--spacing) * 2);
  }

  .apis__title {
    font-size: 24px;
    line-height: 1;
  }

  .apis__desc {
    font-size: 14px;
    line-height: 21px;
  }

  .apis__content .btn {
    background: var(--color-white);
    color: var(--color-text);
    border-color: var(--color-white);
  }

  .apis__code {
    max-width: 100%;
    width: 100%;
  }

  .apis__code .code-block {
    height: 210px;
    overflow: hidden;
    font-size: 9.33px;
    line-height: 1.5;
    padding: 14px 18.67px;
    border-radius: 20px;
  }

  /* ---- Use Cases ---- */
  .section--use-cases {
    padding: calc(var(--spacing) * 5) 0;
  }

  .section--use-cases .section__header {
    text-align: center;
    align-items: center;
  }

  .section--use-cases .section__title {
    font-size: 24px;
  }

  .section--use-cases .section__subtitle {
    font-size: 14px;
    line-height: 21px;
  }

  .use-cases__swiper .swiper-slide {
    width: 343px;
  }

  .use-case-card {
    flex-direction: column;
    min-height: auto;
    border-radius: var(--radius-md);
  }

  .use-case-card__image {
    width: 100%;
    height: 206px;
    order: -1;
  }

  .use-case-card__content {
    padding: calc(var(--spacing) * 2);
  }

  .use-case-card__section {
    gap: calc(var(--spacing) * 0.5);
  }

  .use-case-card__title {
    font-size: 20px;
    line-height: 28px;
  }

  .use-case-card__text {
    font-size: 14px;
    line-height: 21px;
  }

  .use-case-card__stats {
    flex-direction: column;
    gap: calc(var(--spacing) * 2);
  }

  /* Hide brand logos, show pagination on mobile */
  .use-cases__logos {
    display: none;
  }

  .use-cases__pagination.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: calc(var(--spacing) * 0.5);
    padding: calc(var(--spacing) * 3) 0 0;
  }

  .use-cases__pagination .swiper-pagination-bullet {
    width: 16px;
    height: 4px;
    border-radius: 1px;
    background: rgba(0, 0, 0, 0.1);
    opacity: 1;
    margin: 0 !important;
  }

  .use-cases__pagination .swiper-pagination-bullet-active {
    background: var(--color-text);
  }

  /* ---- Why 24karat ---- */
  #why .section__header {
    text-align: center;
  }

  #why .section__title {
    font-size: 24px;
  }

  #why .section__subtitle {
    font-size: 14px;
    line-height: 21px;
  }

  .why__features {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing) * 3);
  }

  .why__feature {
    padding: calc(var(--spacing) * 2) 0;
  }

  .why__feature-icon {
    width: 48px;
    height: 48px;
  }

  .why__feature-title {
    font-size: 18px;
  }

  .why__feature-text {
    max-width: 100%;
    font-size: 14px;
    line-height: 21px;
  }

  .why__stats {
    flex-direction: column;
    margin-top: calc(var(--spacing) * 4);
  }

  .why__stat {
    height: auto;
    padding: calc(var(--spacing) * 2) calc(var(--spacing) * 3);
  }

  .why__stat--purple-tr {
    border-top: none;
    border-left: none;
    border-bottom: 4px solid #8C68FF;
    border-right: 4px solid #8C68FF;
  }

  .why__stat--pink-br {
    border-bottom: 4px solid #FF70EA;
    border-left: 4px solid #FF70EA;
    border-right: none;
    border-top: none;
  }

  .why__stat--cyan-t {
    border-top: none;
    border-bottom: none;
    border-right: 4px solid #34EAFF;
    border-left: none;
  }

  .why__stat-value {
    font-size: 32px;
  }

  .why__stat-label {
    font-size: 14px;
  }

  /* ---- Bottom CTA ---- */
  .cta-bottom {
    padding: calc(var(--spacing) * 5) 0;
  }

  .cta-bottom__inner {
    flex-direction: column;
    gap: calc(var(--spacing) * 5);
    align-items: center;
  }

  .cta-bottom__left {
    align-items: center;
    text-align: center;
    gap: calc(var(--spacing) * 2);
  }

  .cta-bottom__app-title {
    font-size: 32px;
    line-height: 48px;
  }

  .cta-bottom__app-links {
    justify-content: center;
  }

  .cta-bottom__right {
    max-width: 100%;
    align-items: center;
    text-align: center;
    gap: calc(var(--spacing) * 2);
  }

  .cta-bottom__headline {
    font-size: 32px;
    line-height: 32px;
  }

  .cta-bottom__text {
    font-size: 14px;
    line-height: 21px;
  }

  /* ---- Footer ---- */
  .footer__top {
    flex-direction: column;
    gap: calc(var(--spacing) * 3);
    padding-top: calc(var(--spacing) * 5);
    padding-bottom: calc(var(--spacing) * 5);
  }

  .footer__brand {
    gap: var(--spacing);
  }

  .footer__logo img {
    height: 24px;
    width: auto;
  }

  .footer__tagline {
    font-size: 12px;
    line-height: 18px;
  }

  .footer__nav {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing) * 3);
  }

  .footer__col-title {
    font-size: 14px;
  }

  .footer__links {
    gap: calc(var(--spacing) * 1.5);
  }

  .footer__links a,
  .footer__links span {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.3125px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: calc(var(--spacing) * 2);
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    padding-top: calc(var(--spacing) * 1.125);
  }

  .footer__copy,
  .footer__note {
    font-size: 12px;
    line-height: 20px;
    letter-spacing: -0.15px;
  }

  /* ---- Modal ---- */
  .modal__content {
    width: calc(100% - 32px);
    max-width: 100%;
    padding: calc(var(--spacing) * 3);
  }

  .modal__submit {
    width: 100%;
  }

  .form__row {
    flex-direction: column;
  }
}
