/* ==========================================================================
   RE-GEN Health — Landing Page
   Versi HTML/CSS/JS murni (tanpa framework, tanpa build step).
   Struktur:
     1. Token & reset
     2. Layout dasar & tipografi
     3. Komponen (tombol, kartu, badge, form)
     4. Section per section
     5. Responsif
     6. Animasi & prefers-reduced-motion
   ========================================================================== */

/* ---------- 1. Token & reset ---------------------------------------------- */

:root {
  /* Brand */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --teal-950: #042f2e;

  --gold-100: #faf0cd;
  --gold-200: #f4df9c;
  --gold-300: #eaca66;
  --gold-400: #e0b643;
  --gold-500: #d4af37;
  --gold-600: #b6892a;
  --gold-700: #916526;

  --cream: #fbfaf7;
  --ink: #0b1a19;

  /* Teks di atas latar terang */
  --text: #042f2e;
  --text-70: rgba(19, 78, 74, 0.72);
  --text-55: rgba(19, 78, 74, 0.58);
  --text-45: rgba(19, 78, 74, 0.48);

  /* Garis */
  --line: rgba(4, 47, 46, 0.07);
  --line-strong: rgba(4, 47, 46, 0.12);

  /* Font */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Bayangan */
  --shadow-soft: 0 1px 2px rgba(4, 47, 46, 0.04), 0 8px 30px rgba(4, 47, 46, 0.06);
  --shadow-lift: 0 2px 4px rgba(4, 47, 46, 0.04), 0 18px 50px rgba(4, 47, 46, 0.1);
  --shadow-glow: 0 0 0 1px rgba(212, 175, 55, 0.25), 0 20px 60px rgba(212, 175, 55, 0.16);

  /* Ukuran */
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
}

::selection {
  background: var(--gold-200);
  color: var(--teal-950);
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Utilitas aksesibilitas */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--teal-900);
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- 2. Layout dasar & tipografi ----------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 5rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-weight: 600;
  line-height: 1.2;
}

p {
  text-wrap: pretty;
}

.h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  line-height: 1.15;
}

.lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-70);
}

.section-head {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.section-head .h2 {
  margin-top: 1.25rem;
}

.section-head .lead {
  margin-top: 1rem;
}

.text-gold-gradient {
  background: linear-gradient(90deg, var(--gold-700), var(--gold-500), var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 3. Komponen --------------------------------------------------- */

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-700);
  border-radius: 999px;
  padding: 0.375rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow--dark {
  border-color: rgba(224, 182, 67, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-300);
}

/* Tombol */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.8125rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 0.3s var(--ease), background-color 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease, color 0.3s ease;
  will-change: transform;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--teal-800);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--teal-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn--gold {
  background: var(--gold-500);
  color: var(--teal-950);
  box-shadow: var(--shadow-soft);
}

.btn--gold:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--ghost {
  border: 1px solid rgba(17, 94, 89, 0.2);
  background: rgba(255, 255, 255, 0.7);
  color: var(--teal-900);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: rgba(17, 94, 89, 0.4);
  background: #fff;
  transform: translateY(-2px);
}

.btn--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

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

.btn--sm {
  padding: 0.625rem 1.25rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Kartu */
.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card--hover:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.25);
  box-shadow: var(--shadow-lift);
}

/* Kotak ikon */
.icon-box {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(17, 94, 89, 0.1);
  color: var(--teal-800);
  transition: transform 0.3s ease;
}

.icon-box svg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-box--gold {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-700);
}

.icon-box--dark {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(224, 182, 67, 0.25);
  background: rgba(224, 182, 67, 0.1);
  color: var(--gold-300);
}

.icon-box--dark svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Logo */
.logo-lockup {
  display: block;
  flex-shrink: 0;
  height: 52px;
  width: auto;
}

.logo-lockup--footer {
  height: 62px;
}

.logo-text {
  line-height: 1;
}

.logo-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal-950);
}

.logo-name span {
  color: var(--gold-600);
}

.logo-tagline {
  display: none;
  margin-top: 0.3rem;
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-45);
}

/* Form */
.label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-55);
}

.label .req {
  color: var(--gold-600);
}

.field {
  width: 100%;
  border: 1px solid rgba(4, 47, 46, 0.1);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--teal-950);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field::placeholder {
  color: rgba(19, 78, 74, 0.35);
}

.field:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

textarea.field {
  resize: vertical;
  min-height: 7rem;
}

select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.05rem;
  padding-right: 2.5rem;
}

.field-error {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #b91c1c;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}

/* ---------- 4. Section per section ---------------------------------------- */

/* Header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(4, 47, 46, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-desktop,
.header-actions {
  display: none;
}

.nav-link {
  position: relative;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(19, 78, 74, 0.68);
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  inset-inline: 1rem;
  bottom: -2px;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--teal-800);
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(4, 47, 46, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--teal-900);
  backdrop-filter: blur(6px);
}

.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nav-toggle .icon-close {
  display: none;
}

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

.nav-toggle[aria-expanded='true'] .icon-menu {
  display: none;
}

.nav-mobile {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-top: 1px solid transparent;
  background: rgba(251, 250, 247, 0.97);
  backdrop-filter: blur(16px);
  transition: max-height 0.4s var(--ease), opacity 0.3s ease;
}

.nav-mobile.is-open {
  max-height: 460px;
  opacity: 1;
  border-top-color: var(--line);
}

.nav-mobile .container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 1rem;
}

.nav-mobile a:not(.btn) {
  border-radius: 0.75rem;
  padding: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--teal-900);
  transition: background-color 0.2s ease;
}

.nav-mobile a:not(.btn):hover {
  background: rgba(17, 94, 89, 0.06);
}

.nav-mobile-cta {
  display: grid;
  gap: 0.625rem;
  margin-top: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 2.5rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-bg .grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image: linear-gradient(to right, rgba(15, 118, 110, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 118, 110, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-bg .blob-teal,
.hero-bg .blob-gold {
  position: absolute;
  border-radius: 999px;
}

.hero-bg .blob-teal {
  left: -8rem;
  top: -8rem;
  width: 420px;
  height: 420px;
  background: rgba(20, 184, 166, 0.15);
  filter: blur(110px);
}

.hero-bg .blob-gold {
  right: -6rem;
  top: 6rem;
  width: 380px;
  height: 380px;
  background: rgba(224, 182, 67, 0.2);
  filter: blur(120px);
}

.hero-bg .fade-bottom {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 10rem;
  background: linear-gradient(to bottom, transparent, var(--cream));
}

.hero-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
  padding-bottom: 4rem;
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(1.8rem, 1.1rem + 2.6vw, 2.85rem);
  line-height: 1.14;
  font-weight: 600;
}

/* Pemenggal baris judul hero: hanya aktif di layar lebar,
   di ponsel biar teks mengalir sendiri. */
.h1-break {
  display: none;
}

@media (min-width: 1024px) {
  .h1-break {
    display: block;
  }
}

.hero .lead {
  margin-top: 1.5rem;
  max-width: 36rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-points {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(19, 78, 74, 0.78);
}

.hero-points svg {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  color: var(--gold-600);
}

.hero-visual {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -1rem;
  z-index: -1;
  border-radius: 2.5rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.1), transparent 55%, rgba(212, 175, 55, 0.15));
  filter: blur(28px);
}

.hero-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow-lift);
}

.hero-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-chip {
  display: none;
  position: absolute;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.875rem 1.25rem 0.875rem 0.875rem;
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}

.hero-chip--left {
  left: -1rem;
  top: 18%;
}

.hero-chip--right {
  right: -1rem;
  bottom: 14%;
  animation-delay: 1.2s;
}

.hero-chip .chip-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(17, 94, 89, 0.1);
  color: var(--teal-800);
}

.hero-chip--right .chip-icon {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-700);
}

.hero-chip .chip-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.hero-chip strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-950);
}

.hero-chip span.chip-sub {
  font-size: 0.75rem;
  color: var(--text-55);
}

/* Statistik */
.stats {
  padding-bottom: 4rem;
}

.stats-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

.stats-grid > div {
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.stats-grid > div:last-child {
  border-bottom: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--teal-800);
}

.stat-value span {
  font-size: 1.25rem;
  color: var(--gold-600);
}

.stat-label {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-950);
}

.stat-note {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-55);
}

/* Value strip */
.value-strip {
  border-block: 1px solid var(--line);
  background: var(--teal-950);
  color: #fff;
}

.value-grid {
  display: grid;
  gap: 2rem;
  padding-block: 3rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.value-item p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

/* Cara kerja */
.steps {
  position: relative;
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.step-line {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 46px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(17, 94, 89, 0.2), transparent);
}

.step-number {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--teal-950);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gold-400);
}

.card h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--teal-950);
}

.card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-70);
}

/* Simulasi */
.simulation {
  position: relative;
  overflow: hidden;
  background: var(--teal-950);
  color: #fff;
  padding-block: 5rem;
}

.simulation-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
}

.simulation-bg span {
  position: absolute;
  border-radius: 999px;
}

.simulation-bg .s1 {
  left: -5rem;
  top: 2.5rem;
  width: 320px;
  height: 320px;
  background: rgba(20, 184, 166, 0.25);
  filter: blur(120px);
}

.simulation-bg .s2 {
  right: -4rem;
  bottom: 0;
  width: 320px;
  height: 320px;
  background: rgba(212, 175, 55, 0.2);
  filter: blur(130px);
}

.simulation .container {
  position: relative;
}

.simulation .section-head p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.sim-window {
  max-width: 900px;
  margin: 3rem auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.sim-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1rem;
}

.sim-dots {
  display: flex;
  gap: 0.375rem;
}

.sim-dots span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
}

.sim-dots span:nth-child(1) {
  background: rgba(248, 113, 113, 0.7);
}

.sim-dots span:nth-child(2) {
  background: rgba(224, 182, 67, 0.7);
}

.sim-dots span:nth-child(3) {
  background: rgba(45, 212, 191, 0.7);
}

.sim-tabs {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.sim-tabs::-webkit-scrollbar {
  display: none;
}

.sim-tab {
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.sim-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sim-tab[aria-selected='true'] {
  background: var(--gold-500);
  color: var(--teal-950);
}

.sim-body {
  padding: 1.25rem;
}

.sim-panel[hidden] {
  display: none;
}

.rec-bar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 0.75rem;
  background: rgba(248, 113, 113, 0.08);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.rec-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  background: #f87171;
  animation: pulseDot 1.4s ease-in-out infinite;
}

.transcript {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.bubble {
  display: flex;
  gap: 0.75rem;
  max-width: 92%;
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 1rem;
  background: rgba(45, 212, 191, 0.07);
  padding: 0.875rem;
  animation: fadeUp 0.7s var(--ease) both;
}

.bubble--pasien {
  margin-left: auto;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.bubble-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(45, 212, 191, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-200);
}

.bubble--pasien .bubble-avatar {
  background: rgba(224, 182, 67, 0.2);
  color: var(--gold-200);
}

.bubble-who {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
}

.bubble-text {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.sim-analyzing {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--gold-400);
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
}

.soap-grid {
  display: grid;
  gap: 1rem;
}

.soap-box {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem;
}

.soap-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.soap-box h3 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-300);
}

.tag-draft {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.1rem 0.625rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.soap-box p {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

.soap-box p.muted {
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
}

.sim-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.icd-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  border: 1px solid rgba(224, 182, 67, 0.25);
  border-radius: 0.75rem;
  background: rgba(224, 182, 67, 0.08);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #fdf6e0;
}

.icd-alert svg {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.15rem;
  color: var(--gold-300);
}

.icd-groups {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.icd-groups h3 {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
}

.icd-list {
  display: grid;
  gap: 0.625rem;
  margin-top: 0.75rem;
}

.icd-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.875rem;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.icd-item.is-picked {
  border-color: rgba(224, 182, 67, 0.5);
  background: rgba(224, 182, 67, 0.1);
}

.icd-code {
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.625rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-300);
}

.icd-desc {
  flex: 1;
  min-width: 0;
}

.icd-desc span {
  display: block;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

.icd-desc small {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
}

.icd-pick {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.icd-pick:hover {
  background: rgba(255, 255, 255, 0.1);
}

.icd-item.is-picked .icd-pick {
  border-color: transparent;
  background: var(--gold-500);
  color: var(--teal-950);
}

/* Fitur */
.grid-cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.card--hover:hover .icon-box {
  transform: scale(1.05);
}

/* Perbandingan */
.section--tinted {
  background: rgba(255, 255, 255, 0.6);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
  margin-top: 3rem;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  text-align: left;
}

.compare-table thead tr {
  border-bottom: 1px solid var(--line);
}

.compare-table th[scope='col'] {
  padding: 1.25rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-45);
}

.compare-table th.col-regen {
  background: var(--teal-950);
  color: var(--gold-300);
}

.compare-table tbody tr {
  border-bottom: 1px solid rgba(4, 47, 46, 0.05);
}

.compare-table tbody tr:last-child {
  border-bottom: 0;
}

.compare-table th[scope='row'] {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-950);
}

.compare-table td {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-55);
}

.compare-table td.cell-regen {
  background: rgba(4, 47, 46, 0.03);
  font-weight: 500;
  color: var(--teal-900);
}

.cell-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cell-inner svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.cell-manual svg {
  color: rgba(19, 78, 74, 0.3);
}

.cell-regen svg {
  color: var(--gold-600);
}

.table-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-45);
}

/* Keamanan */
.security {
  position: relative;
  overflow: hidden;
  background: var(--teal-950);
  color: #fff;
  padding-block: 5rem;
}

.security-bg {
  position: absolute;
  left: 50%;
  top: 0;
  width: 384px;
  height: 384px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.25);
  filter: blur(130px);
  opacity: 0.3;
  pointer-events: none;
}

.security .container {
  position: relative;
}

.security .section-head p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.security-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3.5rem;
}

.security-card {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.security-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 182, 67, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.security-card h3 {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.security-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.security-note {
  max-width: 48rem;
  margin: 2.5rem auto 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

/* Target pengguna */
.target-card {
  text-align: center;
}

.target-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-inline: auto;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  color: var(--gold-400);
}

.target-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Harga */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  margin-top: 3.5rem;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.plan:not(.plan--featured):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.plan--featured {
  border-color: rgba(212, 175, 55, 0.4);
  background: var(--teal-950);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.plan-badge {
  position: absolute;
  left: 50%;
  top: -0.75rem;
  transform: translateX(-50%);
  white-space: nowrap;
  border-radius: 999px;
  background: var(--gold-500);
  padding: 0.25rem 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal-950);
}

.plan h3 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--teal-950);
}

.plan--featured h3 {
  color: var(--gold-300);
}

.plan-price {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
}

.plan-price span {
  margin-left: 0.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-45);
}

.plan--featured .plan-price span {
  color: rgba(255, 255, 255, 0.5);
}

.plan-note {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-55);
}

.plan--featured .plan-note {
  color: rgba(255, 255, 255, 0.6);
}

.plan-features {
  display: grid;
  gap: 0.75rem;
  flex: 1;
  margin-top: 1.75rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(19, 78, 74, 0.75);
}

.plan--featured .plan-features li {
  color: rgba(255, 255, 255, 0.8);
}

.plan-features svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  color: var(--teal-700);
}

.plan--featured .plan-features svg {
  color: var(--gold-400);
}

.plan .btn {
  margin-top: 2rem;
}

.pricing-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-45);
}

/* FAQ */
.faq-grid {
  display: grid;
  gap: 3rem;
}

.faq-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem;
  text-align: left;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background: rgba(17, 94, 89, 0.03);
}

.faq-question span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--teal-950);
}

.faq-question svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--teal-800);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded='true'] svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.3s ease, opacity 0.3s ease;
}

.faq-answer.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer > div {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-70);
}

/* Form demo */
.demo-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow-lift);
}

.demo-aside {
  position: relative;
  overflow: hidden;
  background: var(--teal-950);
  color: #fff;
  padding: 2rem;
}

.demo-aside::before {
  content: '';
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 256px;
  height: 256px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.2);
  filter: blur(90px);
  pointer-events: none;
}

.demo-aside > div {
  position: relative;
}

.demo-aside h2 {
  margin-top: 1.25rem;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  line-height: 1.2;
}

.demo-aside > div > p {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.demo-points {
  display: grid;
  gap: 0.875rem;
  margin-top: 2rem;
}

.demo-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.demo-points svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  color: var(--gold-400);
}

.demo-contact {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.demo-contact p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.4);
}

.demo-contact div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.demo-form-wrap {
  padding: 2rem;
}

.demo-form {
  display: grid;
  gap: 1rem;
}

.demo-form > p:first-of-type {
  font-size: 0.875rem;
  color: var(--text-55);
}

.field-row {
  display: grid;
  gap: 1rem;
}

.form-alert {
  border: 1px solid #fecaca;
  border-radius: 0.75rem;
  background: #fef2f2;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #b91c1c;
}

.form-privacy {
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--text-45);
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  height: 100%;
  text-align: center;
}

.form-success.is-visible {
  display: flex;
}

.form-success .success-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: rgba(17, 94, 89, 0.1);
  color: var(--teal-800);
}

.form-success .success-icon svg {
  width: 2rem;
  height: 2rem;
}

.form-success h3 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  color: var(--teal-950);
}

.form-success p {
  max-width: 24rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-70);
}

.form-success .btn {
  margin-top: 1.75rem;
}

/* CTA akhir */
.final-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-900), var(--teal-950) 55%, var(--teal-950));
  color: #fff;
  padding-block: 5rem;
  text-align: center;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.final-cta-bg .grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: linear-gradient(to right, rgba(15, 118, 110, 0.6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 118, 110, 0.6) 1px, transparent 1px);
  background-size: 56px 56px;
}

.final-cta-bg .halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 720px;
  height: 420px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  filter: blur(140px);
}

.final-cta .container {
  position: relative;
}

.final-logo {
  display: inline-block;
  margin-bottom: 1.75rem;
}

.final-logo img {
  width: 92px;
  height: auto;
}

.final-cta h2 {
  max-width: 48rem;
  margin-inline: auto;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.9rem);
  line-height: 1.2;
}

.final-cta > .container > p {
  max-width: 36rem;
  margin: 1.25rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}

.footer-brand p {
  max-width: 20rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-55);
}

.footer-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--text-45);
}

.footer-disclaimer svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  color: var(--gold-600);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-45);
}

.footer-list {
  display: grid;
  gap: 0.625rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-70);
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: var(--teal-800);
}

.footer-list svg {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-block: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-45);
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--teal-900);
  color: #fff;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: translateY(0.75rem);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--teal-800);
}

.back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ---------- 5. Responsif -------------------------------------------------- */

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }

  .section {
    padding-block: 6rem;
  }

  .lead {
    font-size: 1.125rem;
  }

  .logo-tagline {
    display: block;
  }

  .hero {
    padding-top: calc(var(--header-h) + 3.5rem);
  }

  .hero-chip {
    display: flex;
  }

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

  .stats-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .value-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

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

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

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

  .sim-body {
    padding: 1.75rem;
  }

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

  .soap-grid .sim-note {
    grid-column: 1 / -1;
  }

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

  .demo-aside,
  .demo-form-wrap {
    padding: 2.5rem;
  }

  .footer-bottom .container {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }

  .section {
    padding-block: 7rem;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
  }

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

  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 2.5rem;
    padding-bottom: 6rem;
  }

  .stats {
    padding-bottom: 5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats-grid > div {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .stats-grid > div:last-child {
    border-right: 0;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .step-line {
    display: block;
  }

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

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

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

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .plan--featured {
    margin-top: -1rem;
    padding-block: 2.5rem;
  }

  .faq-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
  }

  .demo-card {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* ---------- 6. Animasi ---------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.85);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header,
  .back-to-top,
  .hero-chip,
  .sim-window {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
