/* ═══════════════════════════════════════════════════════════════
   OpenClaw Mac — Landing Page Styles
   Theme: clean-saas dark
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg: #0B0F17;
  --surface: #0F1623;
  --surface2: #121C2C;
  --text: #EAF0FF;
  --muted: #AAB6D3;
  --border: rgba(255, 255, 255, 0.10);
  --accent: #7C5CFF;
  --accent-glow: rgba(124, 92, 255, 0.25);
  --accent2: #2EE59D;
  --accent2-glow: rgba(46, 229, 157, 0.20);
  --warning: #FFB020;
  --max-w: 1120px;
  --radius: 24px;
  --radius-sm: 16px;
  --radius-btn: 999px;
  --section-py: 88px;
  --shadow-soft: 0 4px 32px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.25);
  --shadow-3d: 0 8px 40px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-3d-hover: 0 16px 56px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  --transition: 0.18s cubic-bezier(.4, 0, .2, 1);
  --transition-lift: 0.22s cubic-bezier(.4, 0, .2, 1);
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

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

ul {
  list-style: none;
}

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

/* ── Scroll Progress Bar ──────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Shared ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-sub {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 12px;
  max-width: 600px;
  margin-inline: auto;
}

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

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  padding: 12px 28px;
  gap: 8px;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow:
    0 0 20px var(--accent-glow),
    0 0 40px rgba(124, 92, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  animation: glow-breathe 3s ease-in-out infinite;
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.4), rgba(46, 229, 157, 0.2), rgba(124, 92, 255, 0.4));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.btn--primary:hover {
  background: #6B4AEE;
  box-shadow:
    0 0 32px var(--accent-glow),
    0 0 64px rgba(124, 92, 255, 0.15),
    0 0 96px rgba(124, 92, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow:
    0 0 16px var(--accent-glow),
    0 0 32px rgba(124, 92, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes glow-breathe {

  0%,
  100% {
    box-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(124, 92, 255, 0.08);
  }

  50% {
    box-shadow: 0 0 28px var(--accent-glow), 0 0 56px rgba(124, 92, 255, 0.14);
  }
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.btn--secondary:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.04);
}

.btn--lg {
  font-size: 1.05rem;
  padding: 16px 36px;
}

.btn--sm {
  font-size: 0.85rem;
  padding: 8px 20px;
}

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

/* ── Gradient Text ──────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--accent));
  background-size: 200% auto;
  animation: gradient-move 5s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

/* ── Fade-in Animation ──────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 15, 23, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav--scrolled {
  background: rgba(11, 15, 23, 0.92);
}

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

.nav__logo {
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__logo-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(124, 92, 255, 0.4));
  transition: filter var(--transition);
}

.nav__logo:hover .nav__logo-icon {
  filter: drop-shadow(0 0 12px rgba(124, 92, 255, 0.6));
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

.nav__cta {
  margin-left: 16px;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
}

.nav__mobile a {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.nav__mobile.open {
  display: flex;
}

@media (max-width: 768px) {

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  padding-top: calc(64px + var(--section-py));
  padding-bottom: var(--section-py);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 92, 255, 0.08) 0%, transparent 70%),
    var(--bg);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
  border: 1px solid var(--accent-glow);
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  background: rgba(124, 92, 255, 0.08);
}

.hero__headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 540px;
}

/* Badges */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 8px 16px;
}

.badge__icon {
  width: 16px;
  height: 16px;
  color: var(--accent2);
  flex-shrink: 0;
}

/* CTAs */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

/* Specs */
.hero__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.spec {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.spec__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}

.spec__value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent2);
}

/* Visual / Mock — 3D perspective container */
.hero__visual {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.hero__mock {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    var(--shadow-3d),
    0 0 60px rgba(124, 92, 255, 0.06);
  max-width: 520px;
  width: 100%;
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform var(--transition-lift), box-shadow var(--transition-lift);
  will-change: transform, box-shadow;
  transform-style: preserve-3d;
}

.hero__mock:hover {
  transform: rotateY(0deg) rotateX(0deg) translateZ(12px);
  box-shadow:
    var(--shadow-3d-hover),
    0 0 80px rgba(124, 92, 255, 0.1);
}

.mock__titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.mock__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mock__dot--red {
  background: #FF5F57;
}

.mock__dot--yellow {
  background: #FEBC2E;
}

.mock__dot--green {
  background: #28C840;
}

.mock__title {
  font-size: 0.78rem;
  color: var(--muted);
  margin-left: 8px;
}

.mock__body {
  padding: 0;
}

.mock__image {
  width: 100%;
  height: auto;
  display: block;
}

/* Trust micro */
.hero__trust-micro {
  text-align: center;
  padding: 32px 24px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero__trust-micro p+p {
  margin-top: 4px;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual {
    order: -1;
  }
}

/* ═══════════════════════════════════════════════════════════════
   TRUST
   ═══════════════════════════════════════════════════════════════ */
.trust {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.trust__logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 56px;
}

.trust__logo-item {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
  padding: 12px 24px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.trust__testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

/* Testimonial Card — 3D lift */
.trust__testimonials {
  perspective: 1000px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--transition-lift), box-shadow var(--transition-lift), border-color var(--transition);
  transform-style: preserve-3d;
  box-shadow: var(--shadow-card);
}

.testimonial-card:hover {
  border-color: rgba(124, 92, 255, 0.2);
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: var(--shadow-3d-hover), 0 0 24px rgba(124, 92, 255, 0.06);
}

.testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-card__title {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Gallery */
.trust__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.trust__gallery-img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

/* ═══════════════════════════════════════════════════════════════
   WHAT'S INCLUDED
   ═══════════════════════════════════════════════════════════════ */
.included {
  padding: var(--section-py) 0;
}

.card-grid {
  display: grid;
  gap: 24px;
  perspective: 1000px;
}

.card-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--transition-lift), box-shadow var(--transition-lift), border-color var(--transition);
  transform-style: preserve-3d;
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  border-color: rgba(46, 229, 157, 0.2);
  transform: translateY(-6px) rotateX(2deg) rotateY(-1deg);
  box-shadow: var(--shadow-3d-hover), 0 0 24px rgba(46, 229, 157, 0.06);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(124, 92, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-card li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}

.feature-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════ */
.how-it-works {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto 48px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
  opacity: 0.3;
}

.step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  position: relative;
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step__content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step__content p {
  color: var(--muted);
  font-size: 0.95rem;
}

.deliverables {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.deliverables h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.deliverables__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deliverables__list li {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════ */
.pricing {
  padding: var(--section-py) 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing__grid {
  perspective: 1100px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-lift), box-shadow var(--transition-lift), border-color var(--transition);
  transform-style: preserve-3d;
  box-shadow: var(--shadow-card);
}

.pricing-card:hover {
  /* transform handled by JS now */
  box-shadow: var(--shadow-3d-hover);
  z-index: 10;
}

.pricing-card--highlight {
  border-color: rgba(124, 92, 255, 0.3);
  box-shadow: 0 0 32px var(--accent-glow), 0 0 64px rgba(124, 92, 255, 0.06);
  transform: scale(1.02);
}

.pricing-card--highlight:hover {
  transform: scale(1.03) translateY(-6px) rotateX(2deg);
  box-shadow: 0 0 40px var(--accent-glow), var(--shadow-3d-hover);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-btn);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card__header {
  margin-bottom: 24px;
}

.pricing-card__header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-card__unit {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

.pricing-card__best-for {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-card__features li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 24px;
  position: relative;
}

.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-weight: 700;
}

.pricing-card__fine-print {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 16px;
  font-style: italic;
}

.pricing__note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 32px;
}

.pricing__reassurance {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   DEEP DIVES
   ═══════════════════════════════════════════════════════════════ */
.deep-dives {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.deep-card {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--transition-lift), box-shadow var(--transition-lift), border-color var(--transition);
  transform-style: preserve-3d;
  box-shadow: var(--shadow-card);
}

.deep-card:hover {
  border-color: rgba(124, 92, 255, 0.2);
  transform: translateY(-6px) rotateX(2deg) rotateY(1deg);
  box-shadow: var(--shadow-3d-hover), 0 0 24px rgba(124, 92, 255, 0.06);
}

.deep-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(46, 229, 157, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.deep-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--accent2);
}

.deep-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.deep-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.65;
}

.deep-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.deep-card li {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}

.deep-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent2);
}

/* ═══════════════════════════════════════════════════════════════
   COMPARISON
   ═══════════════════════════════════════════════════════════════ */
.comparison {
  padding: var(--section-py) 0;
}

.comparison__table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 auto;
  max-width: 900px;
}

.comparison__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.comparison__row--header {
  background: var(--surface2);
}

.comparison__row:not(.comparison__row--header) {
  border-top: 1px solid var(--border);
}

.comparison__row:not(.comparison__row--header):hover {
  background: rgba(255, 255, 255, 0.02);
}

.comparison__cell {
  padding: 16px 20px;
  font-size: 0.9rem;
}

.comparison__cell--label {
  font-weight: 600;
  color: var(--text);
}

.comparison__cell--diy {
  color: var(--muted);
}

.comparison__cell--us {
  color: var(--accent2);
  font-weight: 600;
  background: rgba(46, 229, 157, 0.04);
}

.comparison__row--header .comparison__cell {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 14px 20px;
}

.comparison__row--header .comparison__cell--us {
  color: var(--accent2);
}

@media (max-width: 600px) {
  .comparison__row {
    grid-template-columns: 1fr;
  }

  .comparison__cell--label {
    background: var(--surface2);
    font-size: 0.8rem;
    padding: 10px 20px;
  }

  .comparison__cell--diy,
  .comparison__cell--us {
    padding: 8px 20px 16px;
  }

  .comparison__cell--diy::before {
    content: 'DIY: ';
    color: var(--muted);
    font-weight: 400;
  }

  .comparison__cell--us::before {
    content: 'OpenClaw Mac: ';
    color: var(--accent);
    font-weight: 400;
  }

  .comparison__row--header {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: rgba(124, 92, 255, 0.3);
}

.faq-item__q {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition);
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-item__q::after {
  content: '−';
}

.faq-item__q:hover {
  color: var(--accent);
}

.faq-item__a {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   BOOK
   ═══════════════════════════════════════════════════════════════ */
.book {
  padding: var(--section-py) 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(124, 92, 255, 0.08) 0%, transparent 70%),
    var(--bg);
}

.book__toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 4px;
  width: fit-content;
  margin-inline: auto;
}

.book__option {
  padding: 10px 24px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: var(--transition);
}

.book__option--active {
  background: var(--accent);
  color: #fff;
}

.book__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.required {
  color: var(--accent);
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(170, 182, 211, 0.4);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AAB6D3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-fine-print {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
}

@media (max-width: 500px) {
  .book__form {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  padding: 56px 0 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.footer__col a {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}

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

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer__disclaimer {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(170, 182, 211, 0.5);
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ═══════════════════════════════════════════════════════════════
   3D AMBIENT — subtle background grid for spatial depth
   ═══════════════════════════════════════════════════════════════ */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(124, 92, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(46, 229, 157, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero {
  position: relative;
}

.hero .container,
.hero__trust-micro {
  position: relative;
  z-index: 1;
}
/* Banner Break */
.banner-break {
  padding: 2rem 0;
  text-align: center;
}
.banner-img {
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Meme Image */
.comparison-visual {
  text-align: center;
  margin-bottom: 3rem;
}
.meme-img {
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}
.meme-img:hover {
  transform: scale(1.02);
}

/* ── Spotlight / Glow Button ────────────────────────────────── */
.btn--primary {
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, background-color 0.2s ease;
  will-change: transform;
  /* Default vars for spotlight */
  --x: 50%;
  --y: 50%;
}

/* Spotlight follow overlay */
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at var(--x) var(--y), rgba(255, 255, 255, 0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
}

.btn--primary:hover::after {
  opacity: 1;
}

/* Ensure text is above the spotlight */
.btn--primary span,
.btn--primary svg {
  position: relative;
  z-index: 2;
}

/* Typewriter Cursor */
.cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Spotlight / Glow Cards ─────────────────────────────────── */
.feature-card, .pricing-card, .deep-card {
  /* position: relative; */ /* already defined in earlier blocks */
  /* Remove old border approach if possible, but we'll override below */
  overflow: hidden;
}

/* Disable old pseudo-element glow since we are doing border glow now */
.feature-card::after, 
.pricing-card::after, 
.deep-card::after {
  display: none;
}

/* Kinetic Border - Added by Rick */
.feature-card,
.pricing-card,
.deep-card {
  position: relative;
  /* Background layers: 
     1. Inner bg (opaque surface)
     2. Border gradient (follows mouse)
  */
  background: 
    linear-gradient(var(--surface), var(--surface)) padding-box,
    radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(124, 92, 255, 0.6), rgba(255, 255, 255, 0.08) 40%) border-box;
  
  border: 1px solid transparent;
  border-radius: var(--radius);
  
  transition: transform var(--transition-lift), box-shadow var(--transition-lift);
  transform-style: preserve-3d;
  box-shadow: var(--shadow-card);
}

/* Update highlight card to be punchier */
.pricing-card--highlight {
  background: 
    linear-gradient(var(--surface), var(--surface)) padding-box,
    radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(124, 92, 255, 0.8), rgba(124, 92, 255, 0.3) 40%) border-box;
  box-shadow: 0 0 32px var(--accent-glow), 0 0 64px rgba(124, 92, 255, 0.06);
  transform: scale(1.02);
}

.pricing-card--highlight:hover {
  transform: scale(1.03) translateY(-6px) rotateX(2deg);
  box-shadow: 0 0 40px var(--accent-glow), var(--shadow-3d-hover);
}

/* ── Mobile Sticky CTA ──────────────────────────────────────── */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: rgba(15, 22, 35, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 999;
  display: none;
  animation: slide-up 0.5s ease-out;
}

@keyframes slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (max-width: 768px) {
  .mobile-cta {
    display: block;
  }
  .footer {
    padding-bottom: 88px;
  }
}

/* ── Shimmer Button Effect ────────────────────────────────── */
.btn--shimmer {
  position: relative;
  overflow: hidden;
}

.btn--shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shimmer 6s infinite; /* Slow repeat */
  pointer-events: none;
}

@keyframes shimmer {
  0% { left: -150%; }
  15% { left: 150%; } /* Fast pass */
  100% { left: 150%; } /* Long wait */
}
