/* Antu Education — shared stylesheet (landing page + forms) */
/* GHM luxury dark aesthetic — deep navy, warm gold, glass surfaces */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;700&family=Noto+Serif+TC:wght@400;700&display=swap');

/* ─── Design tokens ─────────────────────────────────────── */
:root {
  color-scheme: light dark;
  --color-bg: #FAF9F6;
  /* Neutral light beige/ivory */
  --color-bg-alt: #F2F1ED;
  /* Colder stone beige */
  --color-surface: #FFFFFF;
  --color-surface-raised: #FFFFFF;
  --hero-overlay-1: rgba(250, 249, 246, 0.65);
  --hero-overlay-2: rgba(250, 249, 246, 0.72);
  --hero-overlay-3: rgba(250, 249, 246, 0.97);
  --glass-bg: rgba(250, 249, 246, 0.85);
  --color-glass: rgba(250, 249, 246, 0.85);
  --color-accent: #C9A55A;
  /* deep gold */
  --color-accent-dark: #A88340;
  --color-accent-light: #E8C47A;
  --color-primary: #4A90B8;
  /* adjusted for light mode */
  --color-primary-dark: #357A9D;
  --color-tertiary: #2FAEBF;
  /* adjusted for light mode */
  --color-tertiary-dark: #248C9A;
  --color-muted: #6B604D;
  --color-text: #3D4A5C;
  /* body text: dark blue-slate */
  --color-text-head: #1C2535;
  /* warm navy for headings */
  --color-text-muted: #6B604D;
  --color-border: rgba(28, 37, 53, 0.12);
  --color-border-subtle: rgba(28, 37, 53, 0.07);
  --color-divider: rgba(201, 165, 90, 0.35);

  /* Semantic tokens (Light default) */
  --color-text-primary: #1C2535;
  --color-text-secondary: #3D4A5C;
  --color-text-primary-inverse: #FDFAF5;

  --status-success: #059669;
  --status-warning: #D97706;
  --status-danger: #DC2626;
  --color-error: #DC2626;
  --color-secondary: #C9A55A;
  --color-secondary-dark: #A88340;

  --radius: 0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .12);
  --shadow-glow: 0 0 32px rgba(201, 165, 90, .15);

  --font-heading: 'Playfair Display', 'Noto Serif TC', serif;
  --font-serif: 'Playfair Display', 'Noto Serif TC', serif;
  --font-base: 'Inter', 'Noto Sans TC', sans-serif;
  --transition: .2s ease;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;

  --lp-container-max: 1200px;
  --lp-section-py: 5rem;
  --lp-radius-lg: 0;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, .07);

  --hero-overlay-1: rgba(250, 249, 246, 0.45);
  --hero-overlay-2: rgba(250, 249, 246, 0.75);
  --hero-overlay-3: rgba(250, 249, 246, 0.98);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #060E18;
    --color-bg-alt: #091524;
    --color-surface: rgba(255, 255, 255, 0.04);
    --color-surface-raised: rgba(255, 255, 255, 0.07);
    --color-glass: rgba(6, 14, 24, 0.72);
    --color-text: #A8C0D6;
    --color-text-head: #F0EAD8;
    --color-text-muted: #7190AB;
    --color-muted: #546E85;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-subtle: rgba(255, 255, 255, 0.05);
    --color-divider: rgba(201, 165, 90, 0.25);
    --color-text-primary: #F0EAD8;
    --color-text-secondary: #A8C0D6;
    --color-text-primary-inverse: #060E18;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .5);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, .6);
    --shadow-glow: 0 0 32px rgba(201, 165, 90, .2);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, .4);

    /* Semantic Dark */
    --status-success: #34D399;
    --status-warning: #FBBF24;
    --status-danger: #F87171;
    --color-error: #F87171;

    --hero-overlay-1: rgba(6, 14, 24, 0.55);
    --hero-overlay-2: rgba(6, 14, 24, 0.70);
    --hero-overlay-3: rgba(6, 14, 24, 0.96);
  }
}

:root.dark {
  --color-bg: #060E18;
  --color-bg-alt: #091524;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-raised: rgba(255, 255, 255, 0.07);
  --color-glass: rgba(6, 14, 24, 0.72);
  --color-text: #A8C0D6;
  --color-text-head: #F0EAD8;
  --color-text-muted: #7190AB;
  --color-muted: #546E85;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-subtle: rgba(255, 255, 255, 0.05);
  --color-divider: rgba(201, 165, 90, 0.25);
  --color-text-primary: #F0EAD8;
  --color-text-secondary: #A8C0D6;
  --color-text-primary-inverse: #060E18;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .5);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .6);
  --shadow-glow: 0 0 32px rgba(201, 165, 90, .2);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, .4);

  /* Semantic Dark */
  --status-success: #34D399;
  --status-warning: #FBBF24;
  --status-danger: #F87171;
  --color-error: #F87171;

  --hero-overlay-1: rgba(6, 14, 24, 0.55);
  --hero-overlay-2: rgba(6, 14, 24, 0.70);
  --hero-overlay-3: rgba(6, 14, 24, 0.96);
}


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

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.lp-main {
  padding: 0;
  flex: 1;
}

main:not(.lp-main) {
  flex: 1;
  padding: 0 1.5rem 3rem;
}

/* ─── Scroll progress bar ───────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--color-accent);
  z-index: 300;
  transition: width .08s linear;
  pointer-events: none;
}

/* ─── Nav (landing) ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

@media (prefers-color-scheme: dark) {
  .nav {
    background: rgba(6, 14, 24, 0.92);
  }
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--lp-container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text-head);
  text-decoration: none;
  letter-spacing: .05em;
}

.nav__logo span {
  color: var(--color-accent);
}

.nav__link {
  font-size: var(--fs-base);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.nav__link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ─── Mobile Hamburger ──────────────────────────────────── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 44px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text-head);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

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

.nav--open .nav__hamburger span:nth-child(2) {
  opacity: 0;
}

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

@media (max-width: 768px) {
  .nav__inner {
    padding: 0 1.5rem;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 90;
  }

  @media (prefers-color-scheme: dark) {
    .nav__links {
      background: rgba(6, 14, 24, 0.97);
    }
  }

  .nav--open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
  }

  .nav__link {
    width: 100%;
    padding: 1rem 2rem;
    border-bottom: none;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
  }

  .nav__link:hover {
    background: rgba(201, 165, 90, 0.08);
    border-bottom-color: transparent;
  }
}

/* ─── Speed Dial FAB ────────────────────────────────────── */
.fab-dial {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  width: max-content;
  max-width: 100%;
}

.fab-dial__items {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.fab-dial--open .fab-dial__items {
  pointer-events: all;
  opacity: 1;
  transform: translateY(0);
}

.fab-dial__item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  min-width: 0;
  justify-content: space-between;
}

.fab-dial__label {
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-head);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: color var(--transition), background var(--transition);
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  text-align: left;
}

.fab-dial__item:hover .fab-dial__label {
  color: var(--color-accent);
  background: var(--color-surface);
}

.fab-dial__item--cta .fab-dial__label {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.fab-dial__item--cta:hover .fab-dial__label {
  background: var(--color-accent-dark);
  color: #fff;
}

.fab-dial__dot {
  width: 10px;
  height: 10px;
  background: var(--color-border);
  flex-shrink: 0;
}

.fab-dial__item--cta .fab-dial__dot {
  background: var(--color-accent);
}

.fab-dial__trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  width: 100%;
  min-width: 0;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-base);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(201, 165, 90, .45);
  transition: background var(--transition), box-shadow var(--transition);
}

.fab-dial__trigger:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 6px 32px rgba(201, 165, 90, .55);
}

.fab-dial--hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.fab-dial {
  transition: opacity 0.3s ease;
}

.fab-dial__trigger-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.fab-dial--open .fab-dial__trigger-icon {
  transform: rotate(45deg);
}

@media (max-width: 480px) {
  .fab-dial {
    bottom: 20px;
    right: 16px;
  }

  .fab-dial__item {
    width: 100%;
  }

  .fab-dial__trigger {
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
    width: 100%;
  }

  .fab-dial__label {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
  }
}

@media (prefers-color-scheme: dark) {
  .fab-dial__label {
    background: #060E18;
  }

  .fab-dial__item:hover .fab-dial__label {
    background: rgba(255, 255, 255, 0.04);
  }
}

/* ─── Registration Modal ────────────────────────────────── */
.reg-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.reg-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 20, 0.72);
  backdrop-filter: blur(4px);
}

.reg-modal__card {
  position: relative;
  z-index: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 2.25rem;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
}

.reg-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  line-height: 1;
  transition: color var(--transition);
}

.reg-modal__close:hover {
  color: var(--color-text-head);
}

@media (max-width: 480px) {
  .reg-modal__card {
    padding: 1.75rem 1.25rem;
  }
}

@media (prefers-color-scheme: dark) {
  .reg-modal__card {
    background: #060E18;
    border-color: var(--color-border);
  }

  .reg-modal__backdrop {
    background: rgba(4, 10, 20, 0.72);
  }
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1rem 6rem;
  background:
    linear-gradient(to bottom,
      var(--hero-overlay-1) 0%,
      var(--hero-overlay-2) 30%,
      var(--hero-overlay-3) 100%),
    var(--hero-bg-img, url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?auto=format&fit=crop&w=1920&q=80')) center / cover no-repeat;
}

.hero__eyebrow {
  display: inline-block;
  font-size: var(--fs-base);
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.75rem;
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-text-head);
  letter-spacing: .02em;
}

.hero__subheadline {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  max-width: 440px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  letter-spacing: .02em;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ─── Hero CTA ──────────────────────────────────────────── */
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__cta-note {
  font-size: var(--fs-xs);
  color: rgba(168, 192, 214, .6);
  margin: 0;
}

/* ─── Scroll arrow ──────────────────────────────────────── */
.hero__scroll-arrow {
  display: flex;
  justify-content: center;
  margin: 3rem auto 0;
  color: rgba(201, 165, 90, .5);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color var(--transition);
}

.hero__scroll-arrow:hover {
  color: var(--color-accent);
}

.hero__scroll-arrow svg {
  width: 24px;
  height: 24px;
}

/* ─── Animations ────────────────────────────────────────── */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero__eyebrow {
  animation: fadeUp .7s ease .1s both;
}

.hero__headline {
  animation: fadeUp .7s ease .25s both;
}

.hero__subheadline {
  animation: fadeUp .7s ease .4s both;
}

.hero__actions {
  animation: fadeUp .7s ease .55s both;
}

.hero__scroll-arrow {
  animation: fadeUp .7s ease .7s both, bounce 2.5s ease-in-out 1.4s infinite;
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

[data-delay="1"] {
  transition-delay: .1s;
}

[data-delay="2"] {
  transition-delay: .2s;
}

[data-delay="3"] {
  transition-delay: .3s;
}

[data-delay="4"] {
  transition-delay: .4s;
}

[data-delay="5"] {
  transition-delay: .5s;
}

[data-delay="6"] {
  transition-delay: .6s;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* ─── Layout helpers ────────────────────────────────────── */
.lp-container {
  width: 100%;
  max-width: var(--lp-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section {
  padding-top: var(--lp-section-py);
  padding-bottom: var(--lp-section-py);
}

.section--alt {
  background: linear-gradient(160deg, #FAF9F6 0%, #F2F1ED 60%, #E5E7EB 100%);
}

.section--dark {
  background: #F2F1ED;
}

.section--white {
  background: #FFFFFF;
}

:root.dark .section--alt {
  background: linear-gradient(160deg, #060E18 0%, #091524 60%, #0B1E35 100%);
}

:root.dark .section--dark {
  background: #040A14;
}

:root.dark .section--white {
  background: linear-gradient(160deg, #091524 0%, #0A1A2E 100%);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

:root.dark .glass-panel {
  background: rgba(0, 0, 0, 0.7);
}

.site-nav {
  background: rgba(255, 255, 255, 0.8);
}

:root.dark .site-nav {
  background: rgba(0, 0, 0, 0.8);
}

@media (prefers-color-scheme: dark) {
  .site-nav {
    background: rgba(0, 0, 0, 0.8);
  }
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--color-text-head);
  line-height: 1.25;
  margin-bottom: .75rem;
  letter-spacing: .02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  line-height: 1.75;
  letter-spacing: .01em;
}

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

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .875rem 2.25rem;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-tertiary);
  color: var(--color-bg);
  border-color: var(--color-tertiary);
}

.btn-primary:hover {
  background: var(--color-tertiary-dark);
  border-color: var(--color-tertiary-dark);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-gold:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--color-accent-dark);
}

.btn-filled {
  display: inline-block;
  padding: .75rem 2rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: var(--fs-base);
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
  border: none;
  outline: none;
}

.btn-filled:hover {
  background: var(--color-accent-light);
}

.btn-filled:focus-visible {
  outline: none;
  box-shadow: none;
}

.btn-outline-gold {
  display: inline-block;
  padding: .75rem 2rem;
  background: transparent;
  color: var(--color-accent);
  font-size: var(--fs-base);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--color-accent);
  transition: background .2s, color .2s;
  cursor: pointer;
}

.btn-outline-gold:hover {
  background: rgba(201, 165, 90, .1);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-head);
  border-color: rgba(255, 255, 255, .35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .65);
}

.btn-outline--white {
  background: transparent;
  color: var(--color-text-head);
  border: 1px solid rgba(28, 37, 53, 0.3);
}

.btn-outline--white:hover {
  background: rgba(255, 255, 255, .08);
  border-color: #fff;
}

.btn-lg {
  font-size: .9375rem;
  padding: 1rem 2.75rem;
}

/* ─── Pain points — editorial numbered layout ───────────── */
.pain-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pain-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
  align-items: start;
}

.pain-item:first-child {
  border-top: 1px solid var(--color-border-subtle);
}

.pain-item__num {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: 700;
  color: rgba(201, 165, 90, .45);
  line-height: 1;
  padding-top: .25rem;
}

.pain-item__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text-head);
  margin-bottom: .625rem;
  letter-spacing: .01em;
}

.pain-item__desc {
  font-size: 1.0625rem;
  color: var(--color-text);
  line-height: 1.75;
}

.pain-item__tag {
  display: inline-block;
  margin-top: .875rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-accent);
  border-bottom: 1px solid rgba(201, 165, 90, .4);
  padding-bottom: 1px;
}

/* Fallback aliases for .card / .pain-grid */
.pain-grid {
  display: flex;
  flex-direction: column;
}

.card {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-subtle);
  padding: 2rem 0;
}

.card__icon {
  display: none;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text-head);
  margin-bottom: .5rem;
}

.card__body {
  font-size: .9375rem;
  color: var(--color-text);
  line-height: 1.75;
}

.card__badge {
  display: inline-block;
  margin-top: .75rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--color-accent);
  background: rgba(201, 165, 90, .1);
  border: 1px solid rgba(201, 165, 90, .25);
  padding: .2rem .6rem;
}

/* ─── Features grid ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1rem;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item__icon {
  display: none;
}

.feature-item__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text-head);
  margin-bottom: .375rem;
  letter-spacing: .01em;
}

.feature-item__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  border-radius: 0;
}

@media (prefers-color-scheme: dark) {
  .glass-panel {
    background: rgba(11, 30, 53, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  }

  gap: 1px;
  background: var(--color-border-subtle);
}

.form-card {
  display: block;
  background: var(--color-bg-alt);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2rem 1.75rem;
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid var(--color-border-subtle);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}

.form-card:hover {
  background: var(--color-surface);
  border-color: var(--color-accent);
  border-left-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

@media (prefers-color-scheme: dark) {
  .form-card {
    background: rgba(9, 21, 36, 0.85);
  }
}

.form-card__icon {
  display: none;
}

.form-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text-head);
  margin-bottom: .375rem;
  letter-spacing: .01em;
}

.form-card__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.form-card__arrow {
  display: inline-block;
  margin-top: .875rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ─── Founder section ───────────────────────────────────── */
.founder-section {
  background:
    linear-gradient(160deg, rgba(6, 14, 24, 0.88) 0%, rgba(9, 21, 36, 0.92) 100%),
    var(--founder-bg-img, url('https://images.unsplash.com/photo-1536440136628-849c177e76a1?auto=format&fit=crop&w=1920&q=80')) center / cover no-repeat;
  color: #fff;
  padding: var(--lp-section-py) 1rem;
}

.founder-section .lp-container {
  max-width: 800px;
}

.founder-eyebrow {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.founder-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #F0EAD8;
  margin-bottom: 2rem;
  line-height: 1.25;
}

.founder-quote {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 2;
  color: rgba(240, 234, 216, .85);
  border-left: 2px solid var(--color-accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.founder-quote strong {
  color: var(--color-accent-light);
  font-weight: 700;
}

.founder-body {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: rgba(168, 192, 214, .75);
  line-height: 2;
  max-width: 640px;
}

.founder-sig {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: .875rem;
}

.founder-sig__line {
  width: 32px;
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.founder-sig__text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: rgba(168, 192, 214, .5);
  font-style: italic;
}

/* ─── Solve Pricing Cards ───────────────────────────────── */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto 0;
  align-items: start;
}

.pricing-card {
  background: var(--color-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 165, 90, 0.4);
  box-shadow: var(--shadow-glow);
}

.pricing-card--featured {
  background: linear-gradient(180deg, rgba(201, 165, 90, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: rgba(201, 165, 90, 0.3);
  transform: scale(1.05);
}

.pricing-card--featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-card__badge {
  position: absolute;
  top: 0;
  right: 2rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.35rem 1rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 0;
  text-transform: uppercase;
  z-index: 2;
}

.pricing-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--color-text-head);
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  line-height: 1;
}

.pricing-card__price span {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--color-text-muted);
}

.pricing-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--status-success);
  font-weight: bold;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-8px);
  }
}

/* ─── Pricing CTA section ───────────────────────────────── */
.pricing-points {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-bottom: 2.5rem;
}

.pricing-point {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-size: var(--fs-base);
  color: rgba(240, 234, 216, .85);
  font-family: var(--font-serif);
}

.pricing-point::before {
  content: '—';
  color: var(--color-accent);
  font-size: .875rem;
  flex-shrink: 0;
}

/* ─── CTA form — glass morphism ─────────────────────────── */
.cta-form {
  background: var(--color-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  padding: 2.25rem;
  max-width: 480px;
  margin: 0 auto;
}

@media (prefers-color-scheme: dark) {
  .cta-form {
    background: rgba(255, 255, 255, 0.04);
  }
}

.cta-form__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text-head);
  text-align: center;
  margin-bottom: 1.75rem;
}

.cta-form .form-group {
  margin-bottom: 1rem;
}

.cta-form label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: .375rem;
}

.form-input {
  display: block;
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--font-base);
  font-size: 1rem;
  color: var(--color-text-head);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(28, 37, 53, 0.14);
  border-radius: 0;
  outline: none;
  appearance: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(201, 165, 90, .15);
}

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238A7F6D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2rem;
  cursor: pointer;
}

@media (prefers-color-scheme: dark) {
  .form-input {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-border);
  }

  select.form-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23546E85' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  }
}

select.form-input option {
  font-size: 1rem;
  font-family: var(--font-base);
  background: var(--color-bg-secondary);
  color: var(--color-text-head);
}

/* ─── Payment badges ────────────────────────────────────── */
.payment-icons {
  padding: 2rem 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.payment-icons__label {
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 1.25rem;
}

.payment-icons__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: transparent;
  border: 1px solid var(--color-border);
  padding: .375rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--color-text-muted);
  transition: border-color var(--transition), color var(--transition);
}

.payment-badge:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ─── Footer (landing) ──────────────────────────────────── */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  text-align: center;
  padding: 2.25rem 1rem;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--color-text-head);
  margin-bottom: .5rem;
  letter-spacing: .04em;
}

.footer__copy {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  letter-spacing: .04em;
}

/* ─── Site nav (form pages) ─────────────────────────────── */
.site-nav {
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  padding: .875rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

@media (prefers-color-scheme: dark) {
  .site-nav {
    background: rgba(6, 14, 24, 0.95);
  }
}

:root.dark .site-nav {
  background: rgba(6, 14, 24, 0.95);
}

.site-nav__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-accent);
  transition: transform var(--transition), color var(--transition);
  margin-left: -0.5rem;
}

.site-nav__back:hover {
  transform: translateX(-4px);
  color: var(--color-accent-light);
}

.site-nav__back svg {
  width: 24px;
  height: 24px;
}

.site-nav__logo {
  color: var(--color-text-head);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: opacity var(--transition);
}

.site-nav__logo:hover {
  opacity: .8;
}

/* ─── Page header (form pages) ──────────────────────────── */
.page-header {
  background: linear-gradient(to bottom, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  padding: 4.5rem 2rem 3.5rem;
  color: var(--color-text-head);
  border-bottom: 1px solid var(--color-border);
}

.page-header__inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-header__eyebrow {
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .625rem;
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-head);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.page-header__desc {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  max-width: 650px;
  line-height: 1.6;
}

/* ─── Form layout ───────────────────────────────────────── */
.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.form-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 2.5rem 3rem;
  margin-bottom: 1.5rem;
}

fieldset {
  border: none;
  padding: 0;
}

legend {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--color-text-head);
  margin-bottom: 1.25rem;
  display: block;
  width: 100%;
  letter-spacing: .02em;
}

legend .required-star {
  color: var(--status-danger);
  margin-left: .2em;
}

.form-group {
  margin-bottom: 2.25rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

label.field-label {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: .75rem;
}

label.field-label .required-star {
  color: var(--status-danger);
  margin-left: .2em;
}

/* ─── Radio & checkbox options ──────────────────────────── */
.options-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.option-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  padding: .875rem 1.25rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, .02);
  font-size: 1.0625rem;
  color: var(--color-text);
  transition: border-color var(--transition), background var(--transition);
}

.option-item:hover {
  border-color: var(--color-accent);
  background: rgba(201, 165, 90, .05);
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: .25rem;
  accent-color: var(--color-accent);
  width: 1rem;
  height: 1rem;
}

.options-list--scale {
  flex-direction: row;
  flex-wrap: wrap;
  gap: .5rem;
}

.options-list--scale .option-item {
  flex: 1 1 auto;
  min-width: 3.5rem;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  text-align: center;
  padding: .625rem .5rem;
}

.scale-label {
  font-size: .95rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* ─── Text inputs ───────────────────────────────────────── */
input[type="text"],
input[type="number"],
input[type="date"],
textarea {
  display: block;
  width: 100%;
  padding: .8125rem 1rem;
  font-family: var(--font-base);
  font-size: 1.0625rem;
  color: var(--color-text-head);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--color-border);
  border-radius: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(201, 165, 90, .15);
}

textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

input[type="number"] {
  max-width: 220px;
}

.input-prefix-group {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.input-prefix {
  font-size: .9375rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  font-weight: 500;
}

/* ─── Section sub-heading ───────────────────────────────── */
.subsection-heading {
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(201, 165, 90, .05);
  border-left: 2px solid var(--color-accent);
  padding: .625rem .875rem;
  margin-bottom: 1.25rem;
}

/* ─── Conditional sections ──────────────────────────────── */
.conditional-section {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, .02);
  border: 1px dashed var(--color-border);
}

.conditional-section .form-group:last-child {
  margin-bottom: 0;
}

/* ─── Submit button ─────────────────────────────────────── */
.btn-submit {
  display: block;
  width: 100%;
  padding: .875rem 2rem;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-base);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: 1.5rem;
}

.btn-submit:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 4px 18px rgba(201, 165, 90, .4);
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ─── Site footer (form pages) ──────────────────────────── */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-align: center;
  padding: 1.25rem 1.5rem;
  font-size: var(--fs-sm);
  letter-spacing: .04em;
}

/* ─── Responsive — 768px ────────────────────────────────── */
@media (min-width: 768px) {
  .lp-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .hero__headline {
    font-size: var(--fs-5xl);
  }

  .hero__subheadline {
    font-size: var(--fs-xl);
  }

  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }

  .section-title {
    font-size: var(--fs-4xl);
  }

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

  .features-grid .feature-item:nth-child(odd) {
    padding-right: 3rem;
  }

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

  .pricing-points {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .pain-item {
    grid-template-columns: 4.5rem 1fr;
    gap: 2.5rem;
  }
}

/* ─── Responsive — 1200px ───────────────────────────────── */
@media (min-width: 1200px) {
  :root {
    --lp-section-py: 6rem;
  }

  .lp-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero__headline {
    font-size: var(--fs-6xl);
  }

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

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

/* ─── Responsive — 480px ────────────────────────────────── */
@media (max-width: 480px) {
  .lp-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero {
    min-height: 100vh;
    padding: calc(64px + 3rem) 1.25rem 4rem;
  }

  .hero__headline {
    font-size: var(--fs-3xl);
    word-break: keep-all;
    line-height: 1.3;
  }

  .hero__subheadline {
    font-size: .85rem;
  }

  .pain-item {
    grid-template-columns: 3rem 1fr;
    gap: 1.25rem;
    padding: 1.75rem 0;
  }

  .pain-item__num {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: var(--fs-2xl);
  }

  .cta-form {
    padding: 1.5rem;
  }

  .features-grid .feature-item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

  .form-section {
    padding: 1.25rem 1rem;
  }

  .options-list--scale {
    gap: .375rem;
  }

  .options-list--scale .option-item {
    min-width: 2.75rem;
  }

  input[type="number"] {
    max-width: 100%;
  }
}

/* Replaced by baseline inversion */

/* ─── Function Demo Section ──────────────────────────────── */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.demo-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .demo-item {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .demo-item:nth-child(even) .demo-image-wrapper {
    order: 2;
  }

  .demo-item:nth-child(even) .demo-content {
    order: 1;
  }
}

.demo-image-wrapper {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: var(--color-bg-alt);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.demo-image-wrapper:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 165, 90, 0.1);
}

.demo-image {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.4s ease;
}

.demo-image-wrapper:hover .demo-image {
  opacity: 1;
}

.demo-content {
  padding: 1rem 0;
}

.demo-tag {
  display: inline-block;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.demo-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-head);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.demo-desc {
  font-size: 1.0625rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.demo-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.demo-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.demo-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

@media (min-width: 768px) {
  .demo-title {
    font-size: var(--fs-4xl);
  }

  .demo-desc {
    font-size: 1.125rem;
  }
}

/* ===== Modal Success State ===== */
.modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-4);
}

.modal-success[hidden] {
  display: none;
}

.modal-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: var(--fs-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ===== CTA Row (shared across all pages) ===== */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

@media (max-width: 600px) {
  .cta-row {
    flex-direction: column;
    align-items: stretch;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cta-row .btn,
  .cta-row .btn-filled,
  .cta-row .btn-outline-gold {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ===== Inner Hero (shared across subpages) ===== */
.inner-hero {
  padding: calc(64px + 3rem) 1.5rem 3.5rem;
  text-align: center;
  background-image:
    <<<<<<< HEAD linear-gradient(to bottom, var(--hero-overlay-2) 0%, var(--hero-overlay-3) 100%),
    =======linear-gradient(to bottom, rgba(253, 250, 245, 0.70) 0%, rgba(253, 250, 245, 0.97) 100%),
    >>>>>>> origin/main var(--hero-bg-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (prefers-color-scheme: dark) {
  .inner-hero {
    background-image:
      linear-gradient(to bottom, rgba(6, 14, 24, 0.72) 0%, rgba(6, 14, 24, 0.98) 100%),
      var(--hero-bg-img, none);
  }
}

:root.dark .inner-hero {
  background-image:
    linear-gradient(to bottom, rgba(6, 14, 24, 0.72) 0%, rgba(6, 14, 24, 0.98) 100%),
    var(--hero-bg-img, none);
}

.inner-hero__eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.inner-hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  color: var(--color-text-head);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.inner-hero__sub {
  font-size: var(--fs-lg);
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .inner-hero__title {
    font-size: var(--fs-3xl);
  }
}

/* =========================================================
   Product Cards (home.html)
   ========================================================= */
.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid rgba(28, 37, 53, 0.1);
  border-radius: 0;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s, transform 0.3s;
  box-shadow: 0 4px 20px rgba(28, 37, 53, 0.06);
}

@media (prefers-color-scheme: dark) {
  .product-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(201, 165, 90, 0.18);
  }
}

.product-card:hover {
  border-color: rgba(201, 165, 90, 0.5);
  transform: translateY(-4px);
}

.product-card__eyebrow {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-family: var(--font-base);
}

.product-card__title {
  font-size: var(--fs-2xl);
  font-family: var(--font-serif);
  color: var(--color-text-primary);
  margin: 0;
}

.product-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  flex: 1;
}

.product-card__cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.65rem 1.5rem;
  border: 1px solid var(--color-accent);
  border-radius: 0;
  color: var(--color-accent);
  font-size: var(--fs-sm);
  text-decoration: none;
  font-family: var(--font-base);
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}

.product-card__cta:hover {
  background: var(--color-accent);
  color: var(--color-text-primary-inverse);
}

@media (max-width: 768px) {
  .product-cards {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Platform badge strip (solve.html)
   ========================================================= */
.platform-strip {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(201, 165, 90, 0.1);
  border-bottom: 1px solid rgba(201, 165, 90, 0.1);
  padding: 2rem 0;
  text-align: center;
}

.platform-strip__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.platform-strip__items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.platform-badge {
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--color-primary-dark, rgba(91, 168, 204, 0.3));
  border-radius: 0;
  font-size: var(--fs-xs);
  color: var(--color-primary);
  font-family: var(--font-base);
}