/* ============================================================
   CTRLFLOW.AI — STYLE.CSS  v2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* ====== EMERALD + LAVENDER PALETTE (sitewide) ====== */
  --color-bg-primary:   #F1EFFA;
  --color-bg-surface:   #FFFFFF;
  --color-bg-elevated:  #F7F5FC;
  --color-accent:       #065F46;
  --color-accent-dark:  #047857;
  --color-text-primary: #1E1B2E;
  --color-text-muted:   #6B6480;
  --color-border:       #E8E1F7;

  --bg: #F1EFFA; --surface: #FFFFFF; --surface-alt: #F7F5FC;
  --text: #1E1B2E; --text-muted2: #6B6480; --border: #E8E1F7;
  --accent: #065F46; --accent-deep: #047857;
  --accent-soft: #D1FAE5; --accent-on-soft: #065F46;
  --depth-bg: #0F1A14; --depth-text: #ECFDF5; --depth-accent: #34D399;

  --orb-violet: rgba(6, 95, 70, 0.10);
  --orb-deep:   rgba(4, 120, 87, 0.08);
  --orb-faint:  rgba(6, 95, 70, 0.05);

  --font-display: 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --font-serif:   'Space Grotesk', sans-serif;

  --max-width:   1100px;
  --section-pad: 120px;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg-primary);
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 76px);
  color: var(--color-text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  color: var(--color-text-primary);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  color: var(--color-text-primary);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-text-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h5 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

/* Mono accent — for power words inside headings */
.mono-accent {
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--color-accent);
  font-size: 0.85em;
  letter-spacing: -0.01em;
  font-style: normal;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.section { padding: var(--section-pad) 0; }

/* ============================================================
   SCROLL FADE-UP
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SECTION LABEL — JetBrains Mono // FORMAT
   ============================================================ */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(6, 95, 70, 0.08);
  padding: 4px 14px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 20px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

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

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--color-text-primary);
  border: 0.5px solid rgba(6, 95, 70, 0.27);
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-elevated);
  transform: translateY(-1px);
}

.btn-large {
  padding: 18px 52px;
  font-size: 17px;
}

/* ============================================================
   CARDS (shared base)
   ============================================================ */
.card {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 36px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: rgba(6, 95, 70, 0.27);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(6, 95, 70, 0.07);
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-24px); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Logo orbit ellipse — runs always, appears on hover */
@keyframes logo-orbit-path {
  0%   { transform: translate(-100px,  0px); }
  25%  { transform: translate(   0px, -22px); }
  50%  { transform: translate( 100px,  0px); }
  75%  { transform: translate(   0px,  22px); }
  100% { transform: translate(-100px,  0px); }
}

/* Testimonial orbit */
@keyframes ob-orbit {
  from { transform: rotate(0deg)   translateX(22px); }
  to   { transform: rotate(360deg) translateX(22px); }
}

/* Service icon pulse on card hover */
@keyframes icon-bounce {
  0%, 100% { transform: scale(1)    rotate(0deg); }
  50%       { transform: scale(1.18) rotate(6deg); }
}

/* Marquee scroll */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 40px;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(241, 239, 250, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo with orbit dots */
.nav-logo { display: inline-flex; align-items: center; }

.logo-orbit-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.logo-orbit-wrap img {
  width: 280px !important;
  height: auto !important;
  max-width: none !important;
  min-width: 280px !important;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.nav-logo:hover .logo-orbit-wrap img {
  filter: drop-shadow(0 0 10px rgba(6, 95, 70, 0.65))
          drop-shadow(0 0 22px rgba(6, 95, 70, 0.25));
  transform: scale(1.04);
}

/* Orbit dots */
.orbit-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  margin: -2.5px 0 0 -2.5px;
  opacity: 0;
  transition: opacity 0.35s ease;
  animation: logo-orbit-path 4s linear infinite;
  pointer-events: none;
  box-shadow: 0 0 6px rgba(6, 95, 70, 0.9);
}

.od-1 { animation-delay:  0s; }
.od-2 { animation-delay: -1s; }
.od-3 { animation-delay: -2s; }
.od-4 { animation-delay: -3s; }

.nav-logo:hover .orbit-dot { opacity: 0.85; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.nav-links a:not(.btn-primary):hover { color: var(--color-text-primary); }

.nav-links .nav-cta {
  padding: 10px 22px;
  font-size: 14px;
  color: var(--color-text-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* WebGL shader canvas — bottom-most hero layer */
.hero-shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.orb-1 { width:600px; height:600px; background:rgba(6, 95, 70,0.18); top:-220px; left:-120px; animation-delay:0s; }
.orb-2 { width:420px; height:420px; background:rgba(6, 95, 70,0.20);  top:-100px; right:-100px; animation-delay:-3s; }
.orb-3 { width:360px; height:360px; background:rgba(236,72,153,0.14); bottom:40px; left:10%; animation-delay:-5s; }
.orb-4 { width:280px; height:280px; background:rgba(4, 120, 87,0.13); bottom:-60px; right:18%; animation-delay:-2s; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 24px;
  padding-top: 88px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--color-bg-elevated);
  border: 0.5px solid rgba(6, 95, 70, 0.27);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

#hero h1 { margin-bottom: 24px; }

.hero-sub {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.scroll-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-text-muted);
  opacity: 0.4;
  animation: bounce 2.4s ease-in-out infinite;
}

/* ============================================================
   SOCIAL PROOF BAR — marquee
   ============================================================ */
#social-proof {
  border-top: 0.5px solid var(--color-border);
  border-bottom: 0.5px solid var(--color-border);
  padding: 24px 0;
  text-align: center;
  overflow: hidden;
}

.proof-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.45;
  margin-bottom: 16px;
}

.proof-marquee-outer {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.proof-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

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

.proof-marquee-inner {
  display: flex;
  align-items: center;
}

.proof-marquee-inner span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
  padding: 0 32px;
  border-right: 1px solid rgba(6, 95, 70, 0.14);
}

.proof-marquee-inner span:last-child { border-right: none; }

/* ============================================================
   SERVICES — enhanced hover
   ============================================================ */
#services h2 { margin-bottom: 52px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.4s cubic-bezier(0.16,1,0.3,1),
              transform     0.4s cubic-bezier(0.16,1,0.3,1),
              box-shadow    0.4s cubic-bezier(0.16,1,0.3,1);
}

.service-card:hover {
  border: 1px solid var(--color-accent);
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(6, 95, 70,0.25),
              0 0 80px rgba(6, 95, 70,0.10);
}

.service-icon {
  color: var(--color-accent);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon svg {
  animation: icon-bounce 0.55s ease-in-out;
}

.service-card h3 { font-size: 26px; margin-bottom: 0; }

.service-card > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

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

.service-list li {
  font-size: 14px;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  opacity: 0.55;
}

.card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
  transition: opacity 0.2s ease;
  margin-top: auto;
  padding-top: 4px;
}

.card-link:hover { opacity: 0.65; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#process { background: var(--color-bg-surface); }
#process h2 { margin-bottom: 56px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 24px;
  min-height: 300px;
  cursor: pointer;
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step:hover,
.step.is-revealed {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: 0 8px 40px rgba(6, 95, 70, 0.15);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 72px;
  color: var(--color-text-primary);
  opacity: 0.05;
  line-height: 1;
  letter-spacing: -0.04em;
}

.step-icon { color: var(--color-accent); margin-top: -18px; }
.step h4   { margin-bottom: 4px; }

.step > p {
  font-size: 15px;
  max-width: 220px;
  line-height: 1.6;
  transition: opacity 0.3s ease;
}

.step:hover > p,
.step.is-revealed > p {
  opacity: 0.6;
}

/* ============================================================
   STATS — flip cards
   ============================================================ */
.stats-section {
  background: var(--color-bg-primary);
  border-top: 0.5px solid var(--color-border);
  border-bottom: 0.5px solid var(--color-border);
}

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

/* Flip card container */
.stat-flip-card {
  perspective: 1000px;
  cursor: pointer;
  height: 180px;
}

.stat-flip-card:focus-visible {
  outline: 2px solid rgba(6, 95, 70,0.6);
  outline-offset: 4px;
  border-radius: 12px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.stat-flip-card.flipped .flip-inner { transform: rotateY(180deg); }

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 16px;
  border-radius: 12px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-front {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
}

.flip-back {
  transform: rotateY(180deg);
  background: var(--color-bg-elevated);
  border: 1px solid rgba(6, 95, 70, 0.22);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 58px;
  color: var(--color-text-primary);
  line-height: 1;
  display: block;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 140px;
  line-height: 1.4;
}

.flip-hint {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--color-accent);
  opacity: 0.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: absolute;
  bottom: 10px;
}

.flip-back p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 220px;
}

/* ============================================================
   FEATURED WORK (index preview)
   ============================================================ */
#work h2 { margin-bottom: 52px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.work-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }

.work-preview {
  height: 220px;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 14px;
  position: relative;
  overflow: hidden;
}

.work-preview-1 { background: linear-gradient(135deg, #0F1A14 0%, #0F1A14 100%); }
.work-preview-2 { background: linear-gradient(135deg, #0c0f1a 0%, #141b30 100%); }
.work-preview-3 { background: linear-gradient(135deg, #0F1A14 0%, #131F18 100%); }

.work-browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
}

.browser-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: block;
}

.browser-url {
  flex: 1; height: 7px;
  border-radius: 3px;
  background: rgba(255,255,255,0.07);
  margin-left: 8px;
}

.work-preview-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

.wpl { display: block; border-radius: 4px; }
.wpl-hero   { width:60%; height:10px; background:rgba(30, 27, 46,0.15); }
.wpl-sub    { width:80%; height:7px;  background:rgba(30, 27, 46,0.08); }
.wpl-btn    { width:36%; height:9px;  background:rgba(6, 95, 70,0.35); border-radius:5px; }
.wpl-flow-1 { width:50%; height:8px;  background:rgba(6, 95, 70,0.22); }
.wpl-flow-2 { width:70%; height:6px;  background:rgba(6, 95, 70,0.14); }
.wpl-flow-3 { width:40%; height:8px;  background:rgba(6, 95, 70,0.22); }

.work-info { padding: 22px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.work-info > p { flex: 1; }

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}

.work-name {
  font-weight: 500;
  font-size: 15px;
  color: var(--color-text-primary);
}

.work-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(6, 95, 70, 0.08);
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.work-info > p { font-size: 14px; color: var(--color-text-muted); line-height: 1.55; }

.work-cta { margin-top: 52px; text-align: center; }

.view-all-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-accent);
  transition: opacity 0.2s ease;
}

.view-all-link:hover { opacity: 0.65; }

/* ============================================================
   TESTIMONIALS — with orbit icons
   ============================================================ */
#testimonials { background: var(--color-bg-surface); }
#testimonials h2 { margin-bottom: 52px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.testimonial-wrap { position: relative; }

/* Orbit ring — the orbit center is positioned top-right of card */
.orbit-ring {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 0;
  height: 0;
  z-index: 2;
  pointer-events: none;
}

.ob-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  margin: -3.5px 0 0 -3.5px;
  box-shadow: 0 0 8px rgba(6, 95, 70,0.85),
              0 0 16px rgba(6, 95, 70,0.3);
  animation: ob-orbit linear infinite;
}

.ob-1 .ob-dot { animation-duration: 7s;  animation-delay: 0s; }
.ob-2 .ob-dot { animation-duration: 9s;  animation-delay: -3s; }
.ob-3 .ob-dot { animation-duration: 6s;  animation-delay: -5s; }

.testimonial-card {
  background: var(--color-bg-primary);
  border: 0.5px solid var(--color-border);
  border-left: 2px solid var(--color-accent);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 16px;
  color: var(--color-text-primary);
  line-height: 1.7;
  opacity: 0.88;
}

.testimonial-author { display: flex; flex-direction: column; gap: 3px; }

.author-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.author-biz { font-size: 12px; color: var(--color-text-muted); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-primary);
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.cta-orb-1 {
  width: 600px; height: 600px;
  background: rgba(6, 95, 70, 0.10);
  top: -200px; left: 50%;
  transform: translateX(-50%);
}

.cta-orb-2 {
  width: 300px; height: 300px;
  background: rgba(4, 120, 87, 0.09);
  bottom: -80px; right: 15%;
  animation-delay: -4s;
}

.cta-content { position: relative; z-index: 1; }
.cta-content h2 { margin-bottom: 16px; }

.cta-sub {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { padding: var(--section-pad) 0; }

.about-section h2 {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 48px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 56px;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.about-photo-wrap {
  display: flex;
  justify-content: center;
}

.about-photo-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--color-bg-elevated);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 40px rgba(6, 95, 70, 0.25), 0 0 80px rgba(6, 95, 70, 0.12);
  animation: about-glow 3s ease-in-out infinite;
}

@keyframes about-glow {
  0%, 100% { box-shadow: 0 0 40px rgba(6, 95, 70, 0.25), 0 0 80px rgba(6, 95, 70, 0.12); }
  50%       { box-shadow: 0 0 60px rgba(6, 95, 70, 0.40), 0 0 100px rgba(6, 95, 70, 0.18); }
}

.about-photo-initials {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 48px;
  font-weight: 600;
  color: var(--color-accent);
  user-select: none;
}

.about-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.about-title {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.about-location {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.about-text {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.about-socials {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.about-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.about-social-link:hover { color: var(--color-accent); }

.about-social-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .about-photo-placeholder { animation: none; }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .about-section h2 { font-size: 36px; }
  .about-socials { justify-content: center; }
}

@media (max-width: 480px) {
  .about-section h2 { font-size: 30px; }
  .about-photo-placeholder { width: 160px; height: 160px; }
  .about-photo-initials { font-size: 40px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--color-bg-primary) 0%,
    #ECEAF6 30%,
    #E9E5F3 60%,
    #E4DEF0 85%,
    #E0D8EE 100%
  );
  border-top: 0.5px solid var(--color-border);
  padding: 80px 32px 40px;
}

.footer-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.footer-orb-1 {
  width:600px; height:600px;
  background: rgba(6, 95, 70, 0.07);
  bottom:-280px; left:50%;
  transform: translateX(-50%);
}

.footer-orb-2 {
  width:300px; height:300px;
  background: rgba(4, 120, 87, 0.06);
  bottom:0; right:8%;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
}

.footer-logo img { height: 34px; width: auto; }

.footer-nav { display: flex; gap: 80px; justify-content: center; }

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--color-text-primary); }

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-email {
  font-size: 15px;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.footer-email:hover { color: var(--color-accent); }

.footer-socials { display: flex; align-items: center; gap: 20px; }

.footer-socials a {
  display: flex;
  align-items: center;
  color: var(--color-text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover { color: var(--color-accent); transform: translateY(-2px); }

.footer-copy {
  border-top: 0.5px solid rgba(232, 225, 247, 0.5);
  padding-top: 28px;
  width: 100%;
  text-align: center;
}

.footer-copy p {
  font-size: 12px;
  color: var(--color-text-muted);
  opacity: 0.38;
  letter-spacing: 0.02em;
}

/* ============================================================
   PAGE HERO (shared — work.html, book.html smaller heroes)
   ============================================================ */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 88px;
  padding-bottom: 48px;
}

.page-hero .hero-badge { margin-bottom: 24px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 16px; }

.page-hero-sub {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================================
   WORK PAGE
   ============================================================ */
.filter-section {
  border-bottom: 0.5px solid var(--color-border);
  padding: 32px 0;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  background: transparent;
  border: 0.5px solid var(--color-border);
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-pill:hover {
  color: var(--color-text-primary);
  border-color: rgba(6, 95, 70, 0.4);
}

.filter-pill.active {
  background: var(--color-accent);
  color: var(--color-text-primary);
  border-color: var(--color-accent);
}

.projects-section { padding: 60px 0 120px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.project-card {
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97);
}

/* Project preview gradients */
.pp-health    { background: linear-gradient(135deg, #0F1A14 0%, #0F1A14 100%); }
.pp-contractor{ background: linear-gradient(135deg, #0c0f1a 0%, #141b30 100%); }
.pp-realestate{ background: linear-gradient(135deg, #0F1A14 0%, #131F18 100%); }
.pp-restaurant{ background: linear-gradient(135deg, #150a10 0%, #240d1a 100%); }
.pp-ecommerce { background: linear-gradient(135deg, #080f14 0%, #0d1a24 100%); }
.pp-consulting { background: linear-gradient(135deg, #0a0f0d 0%, #121f17 100%); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-frame {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-frame { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: var(--color-bg-elevated);
  border: 0.5px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
  z-index: 1;
}

.modal-close:hover {
  color: var(--color-text-primary);
  background: var(--color-border);
}

.modal-inner { padding: 40px; }

.modal-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}

.modal-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.modal-preview-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid var(--color-border);
}

.modal-browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--color-bg-elevated);
  padding: 10px 14px;
}

.modal-url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  margin-left: 10px;
  opacity: 0.55;
}

.modal-preview-body {
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 32px;
}

.mpl { display: block; border-radius: 4px; }
.mpl-h  { width: 55%; height: 10px; background: rgba(30, 27, 46,0.14); }
.mpl-s  { width: 75%; height: 7px;  background: rgba(30, 27, 46,0.08); }
.mpl-b  { width: 32%; height: 9px;  background: rgba(6, 95, 70,0.32); border-radius:5px; }
.mpl-l1 { width: 65%; height: 6px;  background: rgba(6, 95, 70,0.18); }
.mpl-l2 { width: 80%; height: 5px;  background: rgba(6, 95, 70,0.10); }

.modal-stats-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 0.5px solid var(--color-border);
}

.modal-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.modal-stat-n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
}

.modal-stat-l {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-align: center;
}

/* ============================================================
   BOOK PAGE
   ============================================================ */
.book-form-section { padding: 56px 0 120px; }

/* Progress indicator */
.progress-outer {
  max-width: 440px;
  margin: 0 auto 56px;
}

.progress-steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 12px;
}

.ps-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 64px;
}

.ps-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.ps-item.active .ps-dot,
.ps-item.done .ps-dot {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-text-primary);
}

.ps-label {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
  text-align: center;
}

.ps-item.active .ps-label { color: var(--color-accent); }

.ps-connector {
  flex: 1;
  height: 1.5px;
  background: var(--color-border);
  margin: 13px 4px 0;
  transition: background 0.3s ease;
  min-width: 24px;
}

.ps-connector.done { background: var(--color-accent); }

.progress-bar-track {
  height: 2px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 0%;
}

/* Form steps */
.form-step { display: none; }
.form-step.active { display: block; }

.form-step-inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 32px;
}

.form-step-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: 40px;
}

/* Step selection cards grid */
.step-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.step-cards-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.step-cards-grid.grid-5 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

.step-card {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 12px;
  padding: 24px 16px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}

.step-card:hover {
  border-color: rgba(6, 95, 70, 0.4);
  transform: translateY(-3px);
}

.step-card.selected {
  border-color: var(--color-accent);
  background: rgba(6, 95, 70, 0.06);
  box-shadow: 0 0 24px rgba(6, 95, 70, 0.12);
}

.step-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(6, 95, 70, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.step-card-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.step-card-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.rec-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: var(--color-text-primary);
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Step nav buttons */
.step-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.btn-back {
  background: transparent;
  border: 0.5px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 13px 24px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-back:hover {
  color: var(--color-text-primary);
  border-color: rgba(6, 95, 70, 0.4);
}

.btn-next {
  background: var(--color-accent);
  color: var(--color-text-primary);
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-next:hover:not(:disabled) {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

.btn-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Step 4: Summary + form */
.summary-box {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 40px;
  text-align: left;
}

.summary-heading {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 18px;
  display: block;
}

.summary-items {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.summary-item { display: flex; flex-direction: column; gap: 4px; }

.summary-item-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.summary-item-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.contact-form { max-width: 520px; margin: 0 auto; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.form-field .optional {
  opacity: 0.45;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-display);
}

.form-field input {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--color-text-primary);
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.form-field input:focus { border-color: var(--color-accent); }

.form-field input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.4;
}

.form-success {
  text-align: center;
  padding: 80px 32px;
  max-width: 480px;
  margin: 0 auto;
  display: none;
}

.form-success.visible { display: block; }

.form-success h2 { margin-bottom: 16px; }

.form-success p {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE — LOGO MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  .logo-orbit-wrap img {
    width: 200px !important;
    min-width: 200px !important;
  }
}

/* ============================================================
   RESPONSIVE — TABLET (max 960px)
   ============================================================ */
@media (max-width: 960px) {
  :root { --section-pad: 80px; }

  h2 { font-size: 40px; }

  .services-grid,
  .steps-grid,
  .work-grid,
  .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 480px; margin: 0 auto; }

  .service-card { text-align: center; align-items: center; }
  .service-icon { justify-content: center; }
  .service-list li { padding-left: 0; }
  .service-list li::before { display: none; }

  .footer-nav { gap: 48px; }

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

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

/* ============================================================
   RESPONSIVE — MOBILE (max 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --section-pad: 64px; }

  #navbar { padding: 16px 20px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 62px; left: 0; right: 0;
    background: rgba(241, 239, 250, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    padding: 28px 24px;
    gap: 22px;
    border-bottom: 0.5px solid var(--color-border);
    z-index: 99;
  }

  .nav-links.open { display: flex; }

  .nav-links .nav-cta { width: 100%; text-align: center; padding: 12px 24px; }

  .nav-toggle { display: flex; }

  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }

  .hero-sub { font-size: 16px; }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-ghost { width: 100%; text-align: center; }

  .orb-1 { width:280px; height:280px; }
  .orb-2 { width:200px; height:200px; }
  .orb-3 { width:180px; height:180px; }
  .orb-4 { width:150px; height:150px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-flip-card { height: 160px; }
  .stat-number { font-size: 46px; }

  .footer-nav { flex-direction: column; align-items: center; gap: 32px; }
  #footer { padding: 60px 24px 32px; }
  .footer-inner { gap: 40px; }
  .btn-large { padding: 16px 36px; font-size: 16px; }
  .container { padding: 0 20px; }

  .project-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .modal-inner { padding: 28px 24px; }
  .modal-stats-row { gap: 20px; }

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

  .summary-items { flex-direction: column; gap: 16px; }

  .form-step-inner { padding: 0 20px; }

  .page-hero h1 { font-size: 34px; }
  .filter-bar { gap: 8px; }
}

/* ============================================================
   MARKETPLACE: NAV ACTIVE
   ============================================================ */
.nav-active {
  color: var(--color-accent) !important;
}

/* ============================================================
   MARKETPLACE: FILTER SECTION — two rows
   ============================================================ */
.filter-section-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-row-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.5;
  margin-bottom: 10px;
}

/* ============================================================
   MARKETPLACE: TYPE BADGES
   ============================================================ */
.work-type-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.type-project    { color: var(--color-accent);  background: rgba(6, 95, 70, 0.10); }
.type-template   { color: #EC4899;              background: rgba(236, 72,  153, 0.10); }
.type-automation { color: #34D399;              background: rgba(6, 95, 70, 0.12); }
.type-bundle     { color: var(--color-accent);  background: linear-gradient(90deg, rgba(6, 95, 70,0.12), rgba(236,72,153,0.10)); }

/* ============================================================
   MARKETPLACE: INDUSTRY TAG
   ============================================================ */
.work-industry-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  opacity: 0.5;
  display: block;
  margin-bottom: 8px;
}

/* ============================================================
   MARKETPLACE: CARD ACTION ROW
   ============================================================ */
.card-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 0.5px solid var(--color-border);
}

.card-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

/* Marketplace status labels (replaces price for non-purchasable items) */
.card-status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.card-status-kit {
  color: #34D399;
  background: rgba(6, 95, 70, 0.14);
  border: 0.5px solid rgba(6, 95, 70, 0.4);
}
.card-status-soon {
  color: var(--color-text-muted);
  background: rgba(107, 114, 128, 0.1);
  border: 0.5px solid rgba(107, 114, 128, 0.3);
}
.btn-card-request {
  padding: 9px 18px;
  font-size: 13px;
  display: inline-block;
}

.btn-card-buy {
  padding: 9px 18px;
  font-size: 13px;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.card-case-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  transition: opacity 0.2s ease;
  display: inline-block;
}

.card-case-link:hover { opacity: 0.65; }

/* ============================================================
   MARKETPLACE: IFRAME LIVE PREVIEW OVERLAY
   ============================================================ */
.preview-iframe-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.preview-iframe-wrap.active { opacity: 1; }

.preview-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 250%;
  height: 250%;
  border: none;
  transform: scale(0.4);
  transform-origin: top left;
  pointer-events: none;
  display: block;
}

/* ============================================================
   MARKETPLACE: NO RESULTS
   ============================================================ */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--color-text-muted);
  font-size: 15px;
}
.no-results-block {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.no-results-block .no-results { padding: 0; }
.no-results-sub {
  color: var(--color-text-muted);
  font-size: 14px;
  opacity: 0.7;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.product-hero .orb { z-index: 0; }

.product-breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 48px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.product-breadcrumb a {
  color: var(--color-accent);
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.product-breadcrumb a:hover { opacity: 1; }
.product-breadcrumb span   { opacity: 0.35; margin: 0 8px; }

.product-hero-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   V6 / V7: STEP FLOW SVG DIAGRAMS — hover reveal
   ============================================================ */
.step-flow-wrap {
  width: 100%;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(10px);
  margin-top: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity   0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.06s,
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.06s,
              margin-top 0.4s ease;
}

.step:hover .step-flow-wrap,
.step.is-revealed .step-flow-wrap {
  max-height: 160px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 20px;
}

.step-flow {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   V6: SERVICE MODALS
   ============================================================ */
.modal-trigger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(241, 239, 250, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.modal-overlay.is-open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: sticky;
  top: 16px;
  float: right;
  background: var(--color-bg-elevated);
  border: 0.5px solid var(--color-border);
  color: var(--color-text-muted);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 16px 16px 0 0;
  transition: color 0.2s, border-color 0.2s;
  z-index: 10;
  flex-shrink: 0;
}

.modal-close:hover {
  color: var(--color-text-primary);
  border-color: var(--color-accent);
}

.modal-body {
  padding: 8px 48px 48px;
  clear: both;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.modal-header-icon {
  width: 60px;
  height: 60px;
  background: var(--color-bg-elevated);
  border: 0.5px solid rgba(6, 95, 70, 0.26);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.modal-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(6, 95, 70, 0.08);
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.modal-header h2 {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 36px;
  color: var(--color-text-primary);
  margin: 0 0 8px;
}

.modal-sub {
  color: var(--color-text-muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.55;
}

.modal-section {
  margin-bottom: 36px;
}

.modal-section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 16px;
}

.modal-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.modal-tile {
  background: var(--color-bg-primary);
  border: 0.5px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 22px;
  transition: border-color 0.2s;
}

.modal-tile:hover {
  border-color: rgba(6, 95, 70, 0.26);
}

.tile-icon {
  font-size: 17px;
  color: var(--color-accent);
  display: block;
  margin-bottom: 8px;
}

.modal-tile h5 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 0 0 6px;
}

.modal-tile p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.modal-process-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mps-step {
  background: var(--color-bg-primary);
  border: 0.5px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 68px;
}

.mps-step-final {
  border-color: rgba(6, 95, 70, 0.3);
}

.mps-num {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--color-accent);
  font-weight: 500;
}

.mps-title {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--color-text-primary);
  font-weight: 500;
}

.mps-arrow {
  color: var(--color-accent);
  font-size: 16px;
  opacity: 0.5;
  line-height: 1;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tag {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--color-text-muted);
  background: var(--color-bg-elevated);
  border: 0.5px solid var(--color-border);
  border-radius: 6px;
  padding: 4px 12px;
}

.modal-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.pricing-tier {
  background: var(--color-bg-primary);
  border: 0.5px solid var(--color-border);
  border-radius: 12px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.pricing-tier-featured {
  border-color: rgba(6, 95, 70, 0.3);
  background: var(--color-bg-elevated);
}

.tier-name {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.tier-price {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.1;
}

.tier-desc {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.modal-cta {
  text-align: center;
  padding-top: 8px;
  border-top: 0.5px solid var(--color-border);
  margin-top: 4px;
  padding-top: 32px;
}

.modal-cta-note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 10px 0 0;
}

/* Mobile modal */
@media (max-width: 768px) {
  .modal-body { padding: 8px 20px 36px; }
  .modal-header { flex-direction: column; gap: 14px; }
  .modal-header h2 { font-size: 28px; }
  .modal-tiles { grid-template-columns: 1fr; }
  .modal-pricing { grid-template-columns: 1fr; }
  .modal-process-steps { justify-content: center; }
}

/* ============================================================
   V6: THANK-YOU PAGE
   ============================================================ */
.ty-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 120px 24px;
}

.ty-hero canvas { position: absolute; inset: 0; z-index: 0; }

.ty-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.ty-check-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
}

.ty-check-circle {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  animation: ty-circle-draw 0.7s ease forwards 0.2s;
}

.ty-check-tick {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: ty-tick-draw 0.4s ease forwards 0.85s;
}

@keyframes ty-circle-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes ty-tick-draw {
  to { stroke-dashoffset: 0; }
}

.ty-hero h1 {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 56px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.1;
  margin-bottom: 16px;
}

.ty-sub {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  line-height: 1.6;
}

.ty-order-card {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 20px;
  text-align: left;
}

.ty-order-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 0.5px solid var(--color-border);
  font-size: 14px;
}

.ty-order-row:last-child { border-bottom: none; }

.ty-order-label { color: var(--color-text-muted); }
.ty-order-value { color: var(--color-text-primary); font-weight: 500; }
.ty-order-value.accent { color: var(--color-accent); font-family: var(--font-mono); }

.ty-section-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 16px;
  text-align: left;
}

.ty-download-box {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 20px;
  text-align: left;
}

.ty-download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--color-border);
}

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

.ty-dl-name {
  font-size: 14px;
  color: var(--color-text-primary);
  font-weight: 500;
}

.ty-dl-size {
  font-size: 12px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  margin-left: 10px;
}

.ty-dl-btn {
  background: var(--color-bg-elevated);
  border: 0.5px solid var(--color-border);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}

.ty-dl-btn:hover {
  border-color: var(--color-accent);
  background: rgba(6, 95, 70, 0.08);
}

.ty-next-steps {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 36px;
  text-align: left;
}

.ty-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--color-border);
  font-size: 14px;
}

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

.ty-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-accent);
  background: rgba(6, 95, 70, 0.08);
  border-radius: 4px;
  padding: 2px 7px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ty-step-text { color: var(--color-text-muted); line-height: 1.5; }
.ty-step-text strong { color: var(--color-text-primary); font-weight: 500; }

.ty-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .ty-hero h1 { font-size: 36px; }
  .ty-order-card, .ty-download-box, .ty-next-steps { padding: 18px 18px; }
}

/* ============================================================
   V6: SETUP GUIDE PAGE
   ============================================================ */
.sg-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 32px 80px;
  align-items: start;
}

.sg-sidebar {
  position: sticky;
  top: 100px;
}

.sg-sidebar-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 16px;
}

.sg-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sg-nav-link {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.sg-nav-link:hover,
.sg-nav-link.active {
  color: var(--color-text-primary);
  background: var(--color-bg-elevated);
  border-left-color: var(--color-accent);
}

.sg-main {
  min-width: 0;
}

.sg-product-header {
  margin-bottom: 56px;
}

.sg-product-header h1 {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 48px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.sg-product-header p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 540px;
}

.sg-section {
  margin-bottom: 64px;
  scroll-margin-top: 100px;
}

.sg-section-title {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 28px;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid var(--color-border);
}

.sg-card {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 14px;
}

.sg-card-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.sg-card-body {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.sg-req-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--color-border);
  font-size: 14px;
}

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

.sg-req-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(6, 95, 70, 0.08);
  border: 0.5px solid rgba(6, 95, 70, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 13px;
  flex-shrink: 0;
}

.sg-req-label {
  font-weight: 500;
  color: var(--color-text-primary);
  display: block;
  margin-bottom: 2px;
}

.sg-req-detail { color: var(--color-text-muted); }
.sg-req-link { color: var(--color-accent); font-size: 12px; text-decoration: none; }
.sg-req-link:hover { text-decoration: underline; }

.sg-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.sg-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-accent);
  background: rgba(6, 95, 70, 0.08);
  border: 0.5px solid rgba(6, 95, 70, 0.2);
  border-radius: 6px;
  padding: 4px 9px;
  flex-shrink: 0;
  margin-top: 2px;
}

.sg-step-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.sg-step-body {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.sg-faq-item {
  border-bottom: 0.5px solid var(--color-border);
  padding: 16px 0;
}

.sg-faq-q {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 6px;
  cursor: pointer;
}

.sg-faq-a {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.sg-help-card {
  background: var(--color-bg-elevated);
  border: 0.5px solid rgba(6, 95, 70, 0.3);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.sg-help-card h3 {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 26px;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}

.sg-help-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.sg-help-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.sg-not-found {
  text-align: center;
  padding: 120px 24px;
  color: var(--color-text-muted);
}

.sg-not-found h2 {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 36px;
  color: var(--color-text-primary);
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .sg-layout {
    grid-template-columns: 1fr;
    padding: 80px 20px 60px;
    gap: 32px;
  }
  .sg-sidebar { position: static; }
  .sg-nav-list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .sg-nav-link { border-left: none; border-bottom: 2px solid transparent; }
  .sg-nav-link:hover, .sg-nav-link.active { border-bottom-color: var(--color-accent); border-left-color: transparent; }
}

/* Demo iframe frame */
.product-demo-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 0.5px solid var(--color-border);
  background: var(--color-bg-surface);
}

.product-demo-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--color-bg-elevated);
  padding: 10px 14px;
}

.product-demo-url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  margin-left: 10px;
  opacity: 0.5;
}

.product-demo-body {
  height: 460px;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-demo-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.product-demo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.product-demo-placeholder .mpl { display: block; border-radius: 4px; }
.product-demo-placeholder .mpl-h  { width: 55%; height: 10px; background: rgba(30, 27, 46,0.14); }
.product-demo-placeholder .mpl-s  { width: 75%; height:  7px; background: rgba(30, 27, 46,0.08); }
.product-demo-placeholder .mpl-b  { width: 32%; height:  9px; background: rgba(6, 95, 70,0.32); border-radius: 5px; }
.product-demo-placeholder .mpl-l1 { width: 65%; height:  6px; background: rgba(6, 95, 70,0.18); }
.product-demo-placeholder .mpl-l2 { width: 80%; height:  5px; background: rgba(6, 95, 70,0.10); }

/* Detail panel */
.product-detail-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.product-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  line-height: 1;
}

.product-price.is-project {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.6;
}

.product-detail-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  line-height: 1.15;
  text-align: left;
}

.product-detail-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.product-includes-preview {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-includes-preview li {
  font-size: 14px;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.product-includes-preview li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 12px;
}

.product-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-cta-note {
  font-size: 12px;
  color: var(--color-text-muted);
  opacity: 0.55;
  text-align: center;
}

/* Product sections */
.product-section {
  padding: 80px 0;
  border-top: 0.5px solid var(--color-border);
}

.product-section-grid {
  text-align: center;
}

.product-section h2 { margin-bottom: 8px; }

/* Includes list (full) */
.product-includes-list {
  list-style: none;
  max-width: 480px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.product-includes-list li {
  font-size: 15px;
  color: var(--color-text-muted);
  padding-left: 24px;
  position: relative;
  line-height: 1.55;
}

.product-includes-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
}

/* Tech stack pills */
.tech-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  justify-content: center;
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-muted);
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  padding: 7px 16px;
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tech-pill:hover {
  border-color: rgba(6, 95, 70,0.4);
  color: var(--color-text-primary);
}

/* Steps numbered (How It Works on product page) */
.steps-numbered {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  margin: 28px auto 0;
  text-align: left;
}

.step-numbered {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-numbered-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-accent);
  background: rgba(6, 95, 70,0.10);
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 500;
}

.step-numbered-text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  padding-top: 5px;
}

/* FAQ accordion */
.faq-list {
  max-width: 640px;
  margin: 28px auto 0;
  text-align: left;
}

.faq-item { border-top: 0.5px solid var(--color-border); }
.faq-item:last-child { border-bottom: 0.5px solid var(--color-border); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s ease;
}

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

.faq-chevron {
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding-bottom 0.4s ease;
  padding-bottom: 0;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

/* ============================================================
   PRODUCT PAGE — RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-detail-panel { order: -1; }
  .product-demo-body { height: 320px; }
}

@media (max-width: 640px) {
  .product-hero { padding: 100px 0 60px; }
  .product-hero-grid { padding: 0 20px; gap: 28px; }
  .product-demo-body { height: 240px; }
  .product-price { font-size: 32px; }
  .filter-section-inner { gap: 16px; }
}

/* ============================================================
   V7: MARKETPLACE MOCKUP PREVIEWS
   ============================================================ */

/* Shared mockup container — fills browser frame below the chrome bar */
.wpm {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow: hidden;
  font-family: var(--font-display);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .wpm {
  transform: scale(1.05);
  transform-origin: center center;
}

/* Tag badge */
.wpm-tag {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(6, 95, 70, 0.12);
  border-radius: 3px;
  padding: 2px 7px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1px;
}

/* Title */
.wpm-title {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.1;
}

.wpm-subtitle {
  font-size: 9px;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.wpm-divider {
  height: 0.5px;
  background: var(--color-border);
  margin: 1px 0;
}

/* CTA button strip */
.wpm-btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-text-primary);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 5px;
  margin-top: auto;
  align-self: flex-start;
}
.wpm-btn-warm { background: #c23a5a; }
.wpm-btn-blue { background: #3d6fc4; }
.wpm-btn-teal { background: #0d9488; }

/* Form input placeholders */
.wpm-fields { display: flex; flex-direction: column; gap: 4px; margin: 2px 0; }
.wpm-field {
  height: 13px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
}
.wpm-field-sm { width: 60%; }

/* Restaurant menu rows */
.wpm-menu { display: flex; flex-direction: column; gap: 0; margin: 2px 0; }
.wpm-menu-row {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: rgba(30, 27, 46, 0.6);
  padding: 5px 0;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}
.wpm-menu-row:last-child { border-bottom: none; }
.wpm-menu-special { color: rgba(6, 95, 70, 0.85); }
.wpm-price { color: rgba(30, 27, 46, 0.38); }

/* Property preview (real estate) */
.wpm-prop {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 2px 0;
}
.wpm-prop-img {
  width: 52px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.wpm-prop-img::before {
  content: '';
  position: absolute;
  bottom: 0; left: 4px; right: 4px;
  height: 55%;
  background: rgba(6, 95, 70, 0.12);
  border-radius: 2px 2px 0 0;
}
.wpm-prop-img::after {
  content: '';
  position: absolute;
  top: 4px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 10px solid rgba(6, 95, 70, 0.2);
}
.wpm-prop-price {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.2;
}
.wpm-prop-det {
  font-size: 8px;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.wpm-auto-pill {
  font-size: 8px;
  color: var(--color-accent);
  background: rgba(6, 95, 70, 0.1);
  border: 0.5px solid rgba(6, 95, 70, 0.25);
  border-radius: 3px;
  padding: 2px 7px;
  display: inline-block;
}

/* Checklist (contractors) */
.wpm-checks { display: flex; flex-direction: column; gap: 4px; margin: 2px 0; }
.wpm-check {
  font-size: 9px;
  color: rgba(30, 27, 46, 0.6);
  display: flex;
  align-items: center;
  gap: 5px;
}
.wpm-check::before {
  content: '✓';
  color: var(--color-accent);
  font-size: 8px;
}

/* Workflow diagram (automation) */
.wpm-flow {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 3px 0;
}
.wpm-flow-node {
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(6, 95, 70, 0.22);
  border-radius: 5px;
  padding: 4px 6px;
  font-size: 8px;
  color: rgba(30, 27, 46, 0.65);
  text-align: center;
  flex: 1;
  line-height: 1.3;
}
.wpm-flow-accent {
  background: rgba(6, 95, 70, 0.18);
  border-color: rgba(6, 95, 70, 0.5);
  color: #6EE7B7;
}
.wpm-flow-arr {
  font-size: 10px;
  color: rgba(6, 95, 70, 0.45);
  flex-shrink: 0;
}
.wpm-stat-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 1px 0;
}
.wpm-stat-num {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-accent);
}
.wpm-stat-label {
  font-size: 9px;
  color: var(--color-text-muted);
}

/* Class schedule (wellness) */
.wpm-schedule { display: flex; flex-direction: column; gap: 0; margin: 2px 0; }
.wpm-class {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: rgba(30, 27, 46, 0.6);
  padding: 4px 0;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.05);
}
.wpm-class:last-child { border-bottom: none; }
.wpm-class-time {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(6, 95, 70, 0.75);
  width: 30px;
  flex-shrink: 0;
}
.wpm-class-full { color: rgba(30, 27, 46, 0.28); }

/* WPM variant: dark background (CleanCut, FitLaunch, LaunchPad) */
.wpm-dark {
  background: #18181B;
  border-color: #3F3F46;
}
.wpm-dark .wpm-menu-row { border-color: #3F3F46; color: #A1A1AA; }

/* WPM variant: navy (ListingEdge) */
.wpm-navy {
  background: #0F172A;
  border-color: #1E293B;
}
.wpm-navy .wpm-menu-row { border-color: #1E293B; }

/* WPM tag color variants */
.wpm-tag-gold { background: rgba(201,162,77,0.12); color: #C9A24D; border-color: rgba(201,162,77,0.3); }
.wpm-tag-blue { background: rgba(46,134,222,0.12); color: #2E86DE; border-color: rgba(46,134,222,0.3); }

/* WPM price color variants */
.wpm-price-gold { color: #C9A24D; }

/* WPM button color variants */
.wpm-btn-gold { background: #C9A24D; color: #0F172A; }

/* WPM check color variants */
.wpm-check-blue::before { background: #2E86DE; }
.wpm-check-blue { color: #93C5FD; }

/* WPM property image variants */
.wpm-prop-img-navy {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}
.wpm-prop-img-navy::before { display: none; }
.wpm-prop-img-navy::after { display: none; }

/* ============================================================
   BOOK PAGE — STEP 4 DISCOVERY FORM EXTENSIONS
   ============================================================ */

/* Textarea (shared with contact-form) */
.form-field textarea {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--color-text-primary);
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  resize: vertical;
  min-height: 80px;
  line-height: 1.55;
}

.form-field textarea:focus { border-color: var(--color-accent); }

.form-field textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.4;
}

/* 2-column form grid */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Required star */
.required-star { color: var(--color-accent); }

/* Field hint */
.field-hint {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
  opacity: 0.65;
}

/* Checkbox grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  background: var(--color-bg-elevated);
  border: 0.5px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.4;
  user-select: none;
}

.checkbox-item:hover {
  border-color: rgba(6, 95, 70, 0.44);
  background: rgba(6, 95, 70, 0.04);
  color: var(--color-text-primary);
}

.checkbox-item input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 15px;
  height: 15px;
  min-width: 15px;
  cursor: pointer;
  margin-top: 1px;
}

/* Budget slider */
.budget-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.budget-display { text-align: center; margin-bottom: 4px; }

.budget-value-display {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-block;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

.budget-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--color-border);
  outline: none;
  cursor: pointer;
}

.budget-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(6, 95, 70, 0.5);
  transition: transform 0.15s ease;
}

.budget-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.budget-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(6, 95, 70, 0.5);
}

.budget-slider:focus {
  outline: none;
}

.budget-slider:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.3);
}

.budget-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--color-text-muted);
  opacity: 0.6;
}

/* Select wrap */
.select-wrap { position: relative; }

.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
  font-size: 13px;
}

.select-wrap select {
  width: 100%;
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-primary);
  padding: 13px 40px 13px 16px;
  font-size: 15px;
  font-family: var(--font-display);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  transition: border-color 0.2s ease;
}

.select-wrap select:focus { border-color: var(--color-accent); }

.select-wrap select option {
  background: var(--color-bg-surface);
  color: var(--color-text-primary);
}

/* Widen contact-form for step 4 questionnaire */
.contact-form.contact-form-wide { max-width: 720px; }

/* ============================================================
   BOOK PAGE — SUCCESS STATE (expanded with Calendly)
   ============================================================ */
.form-success {
  max-width: 660px !important;
  padding: 60px 32px !important;
}

.success-header {
  text-align: center;
  margin-bottom: 32px;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(6, 95, 70, 0.12);
  border: 1.5px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-accent);
  margin: 0 auto 20px;
}

.success-header h2 { margin-bottom: 10px; }

.success-header p {
  color: var(--color-text-muted);
  font-size: 16px;
  margin: 0;
}

/* Success summary card (shows all step 1-4 data) */
.success-summary-card {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 0 0 32px;
  text-align: left;
}

.success-summary-card .summary-items {
  flex-direction: column;
  gap: 12px;
}

.success-summary-card .summary-item {
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--color-border);
}

.success-summary-card .summary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.success-summary-card .summary-item-value {
  text-align: right;
  max-width: 60%;
  font-size: 14px;
  word-break: break-word;
}

/* Calendly placeholder card */
.calendly-placeholder {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  margin-bottom: 24px;
}

.calendly-placeholder h3 {
  font-size: 22px;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.calendly-placeholder > p {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.calendly-note {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  opacity: 0.6;
}

/* Focus visible states for accessibility */
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.btn-next:focus-visible,
.btn-back:focus-visible,
.step-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible,
.select-wrap select:focus-visible {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(6, 95, 70, 0.2);
}

/* ============================================================
   PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }

  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE — BOOK STEP 4 FORM (max 640px)
   ============================================================ */
@media (max-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .calendly-placeholder { padding: 32px 20px; }
  .success-summary-card { padding: 18px 16px; }
  .success-summary-card .summary-item { flex-direction: column; gap: 4px; }
  .success-summary-card .summary-item-value { text-align: left; max-width: 100%; }
  .contact-form.contact-form-wide { max-width: 100%; }
}

/* ============================================================
   MARKETPLACE ENHANCEMENTS
   ============================================================ */

/* Value prop bar */
.marketplace-value-bar {
  background: var(--color-bg-surface);
  border-top: 0.5px solid var(--color-border);
  border-bottom: 0.5px solid var(--color-border);
  padding: 16px 24px;
}
.mvb-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.mvb-item {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mvb-check { color: var(--color-accent); font-weight: 600; }

/* Comparison callout */
.marketplace-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 40px;
  background: linear-gradient(135deg, var(--color-bg-surface), var(--color-bg-elevated));
  border: 0.5px solid var(--color-border);
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1100px;
}
.mc-label {
  font-size: 11px;
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
}
.marketplace-callout h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.marketplace-callout p {
  color: var(--color-text-muted);
  font-size: 14px;
  max-width: 500px;
}
.mc-cta { white-space: nowrap; flex-shrink: 0; }

/* Card dual action row */
.card-action-dual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.card-btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-card-hire, .btn-card-preview {
  font-size: 13px;
  padding: 8px 14px;
}

/* product.html — "View Live Demo" full-width button above buy/hire row */
.product-preview-btn {
  display: block;
  text-align: center;
  width: 100%;
}
/* demo frame hover hint */
.product-demo-frame { transition: opacity 0.2s; }
.product-demo-frame:hover { opacity: 0.92; }

/* Most popular badge */
.card-popular-badge {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  text-align: center;
  border-radius: 12px 12px 0 0;
  margin: -0.5px -0.5px 0;
}
.card-is-popular {
  border-color: rgba(6, 95, 70,0.5) !important;
}

/* Comparison section */
.comparison-section {
  padding: 120px 24px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 48px auto 0;
}

/* ============================================================
   CIRA — AI BRAND PERSONA
   ============================================================ */

.cira-placeholder {
  background: linear-gradient(135deg, var(--color-bg-elevated) 0%, var(--color-bg-surface) 50%, var(--color-bg-elevated) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 0.5px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.cira-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(6, 95, 70,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cira-placeholder-label {
  position: relative;
  z-index: 1;
  opacity: 0.4;
  text-align: center;
}

.cira-hero {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-primary);
}
.cira-hero-content {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 60px 120px max(60px, calc((100vw - 1100px) / 2));
  position: relative;
  z-index: 2;
}
.cira-hero-h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(40px, 4.5vw, 62px);
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  line-height: 1.1;
  margin: 20px 0 20px;
}
.cira-hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-muted);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.cira-hero-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-size: 16px;
  color: var(--color-text-muted);
  margin-top: 28px;
  max-width: 420px;
}
.cira-hero-portrait-wrap {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #000;
  margin-right: 0;
  padding-right: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 25%, black 100%);
}
.cira-hero-portrait-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(241, 239, 250, 0.4) 0%, transparent 15%, transparent 85%, rgba(241, 239, 250, 0.4) 100%);
  z-index: 2;
}
.cira-hero-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  will-change: transform;
  transition: transform 0.3s ease-out;
}
/* Cira hero video — unmute toggle */
.cira-video-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
  padding: 0;
}
.cira-video-toggle:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.05);
}
.cira-video-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.cira-video-toggle-icon {
  pointer-events: none;
}
.cira-hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 95, 70, 0.12) 0%, rgba(6, 95, 70, 0.04) 40%, transparent 70%);
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}
/* Old four-side vignette retired — left handled by the wrapper mask,
   top/bottom by .cira-hero-portrait-wrap::after, right edge bleeds to viewport. */
.cira-hero-vignette {
  display: none;
}

.cira-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  text-align: left;
}
.cira-feature-card { padding: 28px 32px; }
.cira-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(6, 95, 70,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.cira-feature-card h4 { font-size: 16px; font-weight: 500; color: var(--color-text-primary); margin-bottom: 8px; }
.cira-feature-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.65; }
.cira-disclosure { font-family: 'Space Grotesk', sans-serif; font-style: normal; font-size: 16px; color: var(--color-text-muted); margin-bottom: 16px; }
.cira-learn-more-link { font-size: 15px; font-weight: 500; color: var(--color-accent); transition: opacity 0.2s; }
.cira-learn-more-link:hover { opacity: 0.65; }

.cira-page-hero {
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-primary);
  padding-bottom: 60px;
}
.cira-page-hero-glow {
  position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 95, 70,0.12) 0%, transparent 65%);
  top: 0; left: 50%; transform: translateX(-50%);
  filter: blur(80px); pointer-events: none;
}
.cira-page-hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 2; }
.cira-page-portrait { width: min(400px, 80vw); height: min(560px, 70vh); border-radius: 16px; margin-bottom: 32px; }
.cira-page-name { font-family: 'Space Grotesk', sans-serif; font-style: normal; font-weight: 600; font-size: 72px; color: var(--color-text-primary); line-height: 1; margin: 0 0 12px; }
.cira-page-tagline { font-size: 20px; font-weight: 300; color: var(--color-text-muted); }

.cira-story-grid { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; margin-top: 52px; }
.cira-story-portrait { width: 100%; aspect-ratio: 1 / 1; border-radius: 16px; }
.cira-story-text p { font-size: 16px; color: var(--color-text-muted); line-height: 1.85; margin-bottom: 20px; }
.cira-story-text em { color: var(--color-text-primary); font-style: italic; }

.cira-timeline { max-width: 600px; margin: 52px auto 0; position: relative; text-align: left; }
.cira-timeline::before { content: ''; position: absolute; left: 11px; top: 0; bottom: 0; width: 1px; background: var(--color-border); }
.cira-timeline-item { display: flex; gap: 24px; margin-bottom: 40px; position: relative; }
.cira-tl-dot { width: 23px; height: 23px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; position: relative; z-index: 1; }
.cira-tl-complete .cira-tl-dot { background: var(--color-accent); box-shadow: 0 0 12px rgba(6, 95, 70,0.5); }
.cira-tl-progress .cira-tl-dot { background: var(--color-bg-surface); border: 2px solid #F59E0B; }
.cira-tl-upcoming .cira-tl-dot { background: var(--color-bg-surface); border: 1px dashed #374151; }
.cira-tl-content { flex: 1; padding-bottom: 8px; }
.cira-tl-content h4 { font-size: 16px; font-weight: 500; color: var(--color-text-primary); margin: 6px 0; }
.cira-tl-content p { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; }
.cira-tl-status { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: 0.1em; padding: 2px 10px; border-radius: 4px; }
.cira-tl-live { background: rgba(34,197,94,0.12); color: #22C55E; }
.cira-tl-wip { background: rgba(245,158,11,0.12); color: #F59E0B; }
.cira-tl-soon { background: rgba(107,114,128,0.12); color: var(--color-text-muted); }

.cira-social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.cira-social-card { padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; text-align: center; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.cira-social-card:hover { border-color: rgba(6, 95, 70,0.4); transform: translateY(-4px); box-shadow: 0 8px 40px rgba(6, 95, 70,0.08); }
.cira-social-icon { color: var(--color-accent); }
.cira-social-platform { font-size: 13px; font-weight: 500; color: var(--color-text-primary); }
.cira-social-handle { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--color-text-muted); }
.cira-social-follow { font-size: 13px; color: var(--color-accent); margin-top: 4px; }

.cira-tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.cira-tier-card { padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.cira-tier-flagship { border-color: rgba(6, 95, 70,0.4); background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg-surface) 100%); }
.cira-tier-badge { position: absolute; top: -1px; right: 20px; background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark)); color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: 0.08em; padding: 4px 12px; border-radius: 0 0 8px 8px; }
.cira-tier-name { font-size: 14px; font-weight: 500; color: var(--color-text-muted); margin-bottom: 8px; }
.cira-tier-price { font-family: 'Space Grotesk', sans-serif; font-style: normal; font-weight: 600; font-size: 40px; color: var(--color-text-primary); line-height: 1.1; margin-bottom: 24px; }
.cira-tier-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cira-tier-list li { font-size: 14px; color: var(--color-text-muted); padding-left: 16px; position: relative; line-height: 1.5; }
.cira-tier-list li::before { content: '\2192'; position: absolute; left: 0; color: var(--color-accent); }
.cira-tier-note { font-size: 12px; color: var(--color-text-muted); font-style: italic; margin-bottom: 20px; }

.cira-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.cira-gallery-item { aspect-ratio: 3 / 4; border-radius: 12px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.cira-gallery-item:hover { transform: scale(1.02); box-shadow: 0 8px 40px rgba(6, 95, 70,0.1); }

.section-sub-text { font-size: 16px; color: var(--color-text-muted); line-height: 1.7; }

@media (max-width: 900px) {
  .cira-hero { flex-direction: column-reverse; }
  .cira-hero-content { flex: none; padding: 48px 24px 40px; text-align: center; }
  .cira-hero-content .hero-btns { justify-content: center; }
  .cira-hero-content .cira-hero-sub { margin-left: auto; margin-right: auto; }
  .cira-hero-content .cira-hero-quote { display: none; }
  .cira-hero-portrait-wrap {
    flex: none;
    width: 100%;
    height: 50vh;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
  }
  .cira-hero-portrait { height: 50vh; }
  .cira-features-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 40px; }
  .cira-story-grid { grid-template-columns: 1fr; gap: 32px; }
  .cira-social-grid { grid-template-columns: repeat(2, 1fr); }
  .cira-tiers-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .cira-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cira-hero-h1 { font-size: 36px; }
  .cira-gallery-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cira-hero-portrait { transition: none !important; }
}
.comparison-col {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
}
.comparison-col-featured {
  border-color: rgba(6, 95, 70,0.4);
  background: linear-gradient(135deg, var(--color-bg-surface), var(--color-bg-elevated));
}
.comp-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.comp-badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}
.comp-badge-template { background: rgba(6, 95, 70,0.1); color: var(--color-accent); }
.comp-badge-custom   { background: rgba(6, 95, 70,0.2); color: #34D399; }
.comparison-col-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}
.comp-price {
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  color: var(--color-accent);
  margin-bottom: 24px;
}
.comp-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.comp-list li { font-size: 14px; line-height: 1.7; padding: 3px 0; }
.comp-pro { color: #D4D4D8; }
.comp-con { color: var(--color-text-muted); }

@media (max-width: 768px) {
  .marketplace-callout { flex-direction: column; text-align: center; padding: 28px 24px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .mc-cta { width: 100%; text-align: center; }
}

/* ============================================================
   PRODUCT HIRE CALLOUT + CTA BTN ROW
   ============================================================ */

.hire-callout-section { padding: 80px 24px; }

.hire-callout-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  background: linear-gradient(135deg, var(--color-bg-surface), var(--color-bg-elevated));
  border: 0.5px solid rgba(6, 95, 70,0.3);
  border-radius: 20px;
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}
.hcb-tag {
  font-size: 11px;
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
}
.hire-callout-block h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 26px;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}
.hire-callout-block p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 16px;
}
.hcb-list {
  list-style: none;
  padding: 0;
}
.hcb-list li {
  color: #D4D4D8;
  font-size: 13px;
  padding: 3px 0;
}
.hcb-right {
  text-align: center;
  flex-shrink: 0;
  min-width: 200px;
}
.hcb-price {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.hcb-price span {
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-size: 36px;
  font-weight: 600;
  color: var(--color-accent);
}
.hcb-cta { display: block; width: 100%; text-align: center; margin-bottom: 10px; }
.hcb-note { font-size: 12px; color: var(--color-text-muted); }

.product-cta-btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}
.hire-cta-btn { white-space: nowrap; }

@media (max-width: 768px) {
  .hire-callout-block { flex-direction: column; padding: 32px 24px; }
  .hcb-right { width: 100%; }
  .hcb-cta { max-width: 280px; margin: 0 auto 10px; }
}

/* ============================================================
   BOOK PAGE — TEMPLATE PRE-SELECTION BANNER
   ============================================================ */

.template-preselect-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-bg-surface));
  border: 0.5px solid rgba(6, 95, 70,0.4);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 32px;
}
.tpb-icon { font-size: 24px; flex-shrink: 0; }
.tpb-text { flex: 1; }
.tpb-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}
.tpb-sub {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
}
.tpb-change {
  font-size: 12px;
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.tpb-change:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .template-preselect-banner { flex-direction: column; text-align: center; }
  .tpb-change { align-self: center; }
}

/* ============================================================
   AUTOMATION — card preview + detail diagram
   ============================================================ */

/* Card background for automation products */
.pp-automation { background: linear-gradient(135deg, #080d1a 0%, #0F1A14 100%); }

/* Automation card header bar (replaces browser chrome) */
.auto-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  flex-shrink: 0;
  background: rgba(6, 95, 70, 0.1);
  border-bottom: 0.5px solid rgba(6, 95, 70, 0.18);
}
.auto-preview-badge {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: #34D399;
  background: rgba(6, 95, 70, 0.15);
  padding: 2px 6px;
  border-radius: 3px;
}
.auto-preview-platform {
  font-family: var(--font-mono);
  font-size: 7px;
  color: rgba(52, 211, 153, 0.5);
}

/* Pulse dot animation */
@keyframes wpm-pulse {
  0%, 100% { transform: scale(0.7); opacity: 0.4; }
  50%       { transform: scale(1.3); opacity: 1; }
}
.wpm-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34D399;
  animation: wpm-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.wpm-pulse-2 { animation-delay: 0.5s; }
.wpm-pulse-3 { animation-delay: 1s; }
.wpm-pulse-green { background: #34D399; }

/* Automation detail diagram — fills productDemoBody on product.html */
.auto-detail-diag {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  gap: 18px;
  background: var(--color-bg-surface);
  box-sizing: border-box;
  overflow: auto;
}
.auto-detail-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.auto-detail-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #34D399;
  background: rgba(6, 95, 70, 0.14);
  border: 0.5px solid rgba(6, 95, 70, 0.3);
  padding: 4px 10px;
  border-radius: 4px;
}
.auto-detail-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
}
.auto-detail-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(52, 211, 153, 0.45);
  margin-top: 4px;
}
.auto-detail-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.auto-detail-flow-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* Auto detail node (adn) */
.adn {
  background: rgba(6, 95, 70, 0.18);
  border: 0.5px solid rgba(6, 95, 70, 0.4);
  color: #6EE7B7;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 7px 14px;
  border-radius: 6px;
  white-space: nowrap;
}
.adn-start { background: rgba(6, 95, 70, 0.18); border-color: rgba(6, 95, 70, 0.45); color: #6EE7B7; }
.adn-end   { background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.4);  color: #6EE7B7; }
.adn-warn  { background: rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.4);  color: #FCD34D; }
.adn-arr   { color: rgba(52, 211, 153, 0.45); font-size: 16px; flex-shrink: 0; user-select: none; }
.adn-arr-dotted { color: rgba(52, 211, 153, 0.22); font-size: 12px; letter-spacing: 3px; flex-shrink: 0; }
.adn-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  animation: wpm-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.adn-pulse-2 { animation-delay: 0.5s; }
.adn-pulse-3 { animation-delay: 1s; }
.adn-pulse-green { background: #34D399; }

/* ============================================================
   AUTOMATION WORKFLOW DIAGRAM — getAutomationDiagramHTML output
   ============================================================ */

/* Vertical flow diagram rendered inside card preview and product demo body */
.auto-diag {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  background: #ECEAF6;
  height: 100%;
  box-sizing: border-box;
  gap: 0;
  font-family: 'JetBrains Mono', monospace;
}

.auto-diag-node {
  background: #131F18;
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 10px;
  color: var(--color-text-primary);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.auto-diag-conn {
  position: relative;
  width: 2px;
  height: 20px;
  background: var(--color-accent);
  margin: 0 auto;
  flex-shrink: 0;
  overflow: visible;
}

.auto-diag-pulse {
  position: absolute;
  top: -4px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: auto-diag-travel 2s linear infinite;
}

@keyframes auto-diag-travel {
  0%   { top: -4px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 22px; opacity: 0; }
}

/* Background gradient for automation cards in work.html */
.pp-automation {
  background: linear-gradient(135deg, #ECEAF6 0%, #0F1A14 100%);
}

/* Automation card hover glow — indigo instead of violet */
.automation-card:hover {
  border-color: rgba(6, 95, 70, 0.5) !important;
  box-shadow: 0 8px 40px rgba(6, 95, 70, 0.12) !important;
}

/* Indigo "Buy Now" button for automation cards */
.btn-indigo {
  background: var(--color-accent) !important;
}
.btn-indigo:hover {
  background: var(--color-accent-dark) !important;
  transform: translateY(-1px);
}

/* Automation card meta row (platform + setup time) */
.card-auto-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.card-auto-platform,
.card-auto-setup {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #34D399;
  background: rgba(6, 95, 70, 0.10);
  border: 0.5px solid rgba(6, 95, 70, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* Product detail page: demo frame override for automation diagrams */
.product-demo-frame.auto-demo {
  cursor: default !important;
}
.product-demo-frame.auto-demo .product-demo-bar {
  display: none;
}
.product-demo-frame.auto-demo .product-demo-body {
  border-radius: 12px;
  overflow: hidden;
  background: #ECEAF6;
  height: 100%;
}

/* Platform/setup tag pills on product detail right panel */
.product-meta-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 16px;
}
.product-meta-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: rgba(6, 95, 70, 0.12);
  border: 0.5px solid rgba(6, 95, 70, 0.3);
  color: #34D399;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Automation how-it-works 3-column grid */
.auto-how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.auto-how-col {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 14px;
  padding: 22px 20px;
}

.auto-how-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  display: block;
}

.auto-how-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.auto-how-col ul li {
  color: var(--color-text-muted);
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 0.5px solid var(--color-border);
  line-height: 1.5;
}
.auto-how-col ul li:last-child { border-bottom: none; }

.auto-how-col ul li::before {
  content: '→ ';
  color: #34D399;
  font-family: 'JetBrains Mono', monospace;
}

.auto-how-result {
  border-color: rgba(6, 95, 70, 0.4);
  background: linear-gradient(135deg, #0F1A14, #0F1A14);
}
.auto-how-result .auto-how-label { color: var(--color-accent); }
.auto-how-result ul li { color: var(--color-text-primary); }
.auto-how-result ul li::before { color: var(--color-accent); }

/* Tools required grid on product detail page */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.tool-card {
  background: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.tool-card-free {
  font-size: 11px;
  color: #22C55E;
  font-family: 'JetBrains Mono', monospace;
  display: block;
  margin-top: 4px;
}
.tool-card-paid {
  font-size: 11px;
  color: #F59E0B;
  font-family: 'JetBrains Mono', monospace;
  display: block;
  margin-top: 4px;
}

/* prefers-reduced-motion: stop the pulse animation */
@media (prefers-reduced-motion: reduce) {
  .auto-diag-pulse { animation: none; opacity: 0.5; top: 50%; }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .auto-how-grid { grid-template-columns: 1fr; }
  .tools-grid    { grid-template-columns: 1fr 1fr; }
}

/* Space Grotesk display headlines — geometric, modern, no italics */
h1, h2, h3 { letter-spacing: -0.02em; }

/* ============================================================
   CONFIGURATOR (book.html) — futuristic polish (item 8)
   ============================================================ */
.progress-bar-fill {
  background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent), #34D399) !important;
  background-size: 200% 100%;
  box-shadow: 0 0 12px rgba(6, 95, 70,0.6);
  transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
  animation: cfgProgressShimmer 3s linear infinite;
}
@keyframes cfgProgressShimmer { to { background-position: 200% 0; } }

.step-card { transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.step-card:hover { transform: translateY(-3px) scale(1.02); border-color: rgba(6, 95, 70,0.5); box-shadow: 0 0 28px rgba(6, 95, 70,0.18); }
.step-card:focus-visible { border-color: var(--color-accent); box-shadow: 0 0 0 2px rgba(6, 95, 70,0.5); outline: none; }
.step-card.selected {
  border-color: var(--color-accent);
  background: linear-gradient(160deg, rgba(6, 95, 70,0.16), rgba(6, 95, 70,0.02));
  box-shadow: inset 0 0 22px rgba(6, 95, 70,0.12), 0 0 26px rgba(6, 95, 70,0.2);
  position: relative;
}
.step-card.selected::after {
  content: '\2713';
  position: absolute; top: 10px; right: 12px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-accent); color: #fff; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 10px rgba(6, 95, 70,0.6);
}

.form-step.active { animation: cfgStepIn 0.45s cubic-bezier(0.16,1,0.3,1); }
@keyframes cfgStepIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* "Prepping your call..." overlay */
.prepping-overlay {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(241, 239, 250,0.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.3s ease;
}
.prepping-overlay.show { opacity: 1; }
.prepping-box { text-align: center; }
.prepping-spinner {
  width: 48px; height: 48px; margin: 0 auto 20px; border-radius: 50%;
  border: 3px solid rgba(6, 95, 70,0.2); border-top-color: var(--color-accent);
  animation: prepSpin 0.8s linear infinite;
}
@keyframes prepSpin { to { transform: rotate(360deg); } }
.prepping-text { font-family: var(--font-mono); font-size: 14px; color: #34D399; letter-spacing: 0.05em; }

@media (prefers-reduced-motion: reduce) {
  .prepping-spinner, .progress-bar-fill, .form-step.active { animation: none; }
}
/* ============================================================
   ITEM 9 — MARKETPLACE PREVIEW THUMBNAILS (futuristic cards)
   ============================================================ */
.work-preview {
  border-radius: 14px 14px 0 0;
  position: relative;
  box-shadow: inset 0 0 30px rgba(6, 95, 70,0.06);
}
.work-preview::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 14px 14px 0 0;
  padding: 1px;
  background: linear-gradient(135deg, rgba(6, 95, 70,0.4), rgba(6, 95, 70,0.06) 50%, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}
.work-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.work-card:hover { box-shadow: 0 12px 50px rgba(6, 95, 70,0.18); }
/* ============================================================
   MOBILE TAP RESPONSIVENESS (Step 0)
   Fixes the tap-delay caused by sticky :hover on touch devices.
   Loaded by every page (base stylesheet); !important overrides
   any later hover rules in futuristic-effects.css / inline styles.
   ============================================================ */

/* 1. Remove 300ms delay + double-tap zoom on controls; instant taps */
a, button, [role="button"], input, select, textarea,
.btn-primary, .btn-ghost, .btn-large, .nav-cta, .card-link,
.card, .work-card, .project-card, .step-card, .filter-pill,
.cira-gallery-item, .stat-flip-card, .path-cta, .mc-cta, .tier-cta,
.hcb-cta, .iwc-buy, .iwc-preview-link, .checkbox-item, .faq-question {
  touch-action: manipulation;
}

/* 2. Instant press feedback (works on touch + mouse) */
.btn-primary:active, .btn-ghost:active, .btn-large:active, .nav-cta:active,
.filter-pill:active, .step-card:active, .mc-cta:active, .path-cta:active,
.tier-cta:active, .hcb-cta:active, .card-link:active, .iwc-buy:active,
.iwc-preview-link:active, button:active {
  transform: scale(0.97);
  filter: brightness(1.06);
  transition: transform 0.08s ease, filter 0.08s ease;
}

/* 3. HOVER ONLY ON HOVER-CAPABLE POINTERS (desktop).
   Touch users never get the sticky lift/glow that made the first tap feel dead. */
@media (hover: none), (pointer: coarse) {
  .btn-primary:hover, .btn-ghost:hover, .btn-large:hover, .nav-cta:hover,
  .nav-links a:hover, .card:hover, .work-card:hover, .project-card:hover,
  .step-card:hover, .cira-tier-card:hover, .tier-card:hover, .comparison-col:hover,
  .index-work-card:hover, .process-step-tile:hover, .service-card:hover,
  .kit-card:hover, .fit-col:hover, .cira-gallery-item:hover, .stat-flip-card:hover,
  .testimonial-card-v2:hover, .cira-social-card:hover, .cira-feature-card:hover,
  .pitch-card:hover, .toolkit-card:hover, .filter-pill:hover, .path-card:hover,
  .mc-cta:hover, .work-preview:hover, .card-link:hover, .view-all-link:hover,
  .whofor-col:hover, .calc-card:hover, .iwc-buy:hover, .iwc-preview-link:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .work-card:hover .wpm, .project-card:hover .wpm,
  .work-card:hover .work-preview img,
  .index-work-card:hover .iwc-preview { transform: none !important; }
  .btn-primary.cf-magnetic:hover::before { opacity: 0 !important; }
  .nav-links a:not(.btn-primary):hover::after { transform: scaleX(0) !important; }
  .cf-tilt.cf-tilting { transform: none !important; box-shadow: none !important; }
}

/* 4. Desktop hover enhancements only (and documents the gating intent) */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { filter: brightness(1.05); }
}
/* ============================================================
   FREE STARTER KIT FUNNEL  (secondary to the $497 Founder Kit)
   ============================================================ */
/* Nav link — subtle glowing violet dot; eye-catching, not loud */
.nav-free { position: relative; }
.nav-free::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-right: 7px;
  vertical-align: middle;
  box-shadow: 0 0 6px rgba(6, 95, 70,0.75);
}

/* Homepage START_FREE band — quiet, clearly secondary */
.start-free { text-align: center; }
.start-free .sf-card {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(6, 95, 70,0.05);
  border: 0.5px solid rgba(6, 95, 70,0.22);
  border-radius: 16px;
  padding: 44px 32px;
}
.start-free .sf-sub { color: var(--color-text-muted); font-size: 16px; line-height: 1.65; max-width: 540px; margin: 16px auto 26px; }
.start-free .sf-trust { font-size: 12.5px; color: var(--color-text-muted); margin-top: 14px; }

/* Inline secondary "start free" links (founder-kit / cira) */
.free-secondary {
  display: inline-block;
  font-size: 14px;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.free-secondary:hover { border-bottom-color: var(--color-accent); }

/* ---- Discount / exit-intent popup ---- */
.ds-overlay {
  position: fixed; inset: 0; z-index: 1500;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(241, 239, 250,0.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.ds-overlay.open { opacity: 1; pointer-events: auto; }
.ds-modal {
  width: 100%; max-width: 440px;
  background: var(--color-bg-surface);
  border: 0.5px solid rgba(6, 95, 70,0.3);
  border-radius: 16px;
  padding: 40px 36px 30px;
  position: relative; text-align: center;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 70px rgba(0,0,0,0.6), 0 0 60px rgba(6, 95, 70,0.12);
}
.ds-overlay.open .ds-modal { transform: translateY(0) scale(1); }
.ds-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 0.5px solid rgba(6, 95, 70,0.2);
  color: var(--color-text-primary); cursor: pointer; font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.ds-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--color-accent); text-transform: uppercase; display: block; margin-bottom: 14px; }
.ds-modal h2 { font-family: 'Space Grotesk', sans-serif; font-style: normal; font-weight: 600; font-size: 28px; color: var(--color-text-primary); line-height: 1.15; margin-bottom: 14px; letter-spacing: -0.02em; }
.ds-body { font-size: 15px; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 24px; }
.ds-body strong { color: #34D399; font-family: var(--font-mono); letter-spacing: 0.02em; }
.ds-primary { display: block; width: 100%; text-align: center; box-sizing: border-box; }
.ds-secondary { display: inline-block; margin-top: 16px; font-size: 13.5px; color: var(--color-accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.ds-secondary:hover { border-bottom-color: var(--color-accent); }
.ds-nothanks { display: block; margin: 14px auto 0; background: none; border: none; color: var(--color-text-muted); font-size: 12.5px; cursor: pointer; font-family: 'Inter', sans-serif; }
@media (max-width: 480px) { .ds-modal { padding: 32px 24px 22px; } .ds-modal h2 { font-size: 23px; } }
@media (hover: hover) and (pointer: fine) { .ds-close:hover { background: rgba(6, 95, 70,0.15); } .ds-nothanks:hover { color: var(--color-text-muted); } }
@media (prefers-reduced-motion: reduce) { .ds-overlay, .ds-modal { transition: opacity 0.01s; } }

/* ============================================================
   ████  DARK HOMEPAGE — NEW STRUCTURE + PREMIUM POLISH  ████
   Light theme abandoned. The new homepage sections + the polish
   that worked, re-styled in the original dark palette.
   Page-targeted polish is scoped to body.home; the new section
   components are homepage-only by nature.
   ============================================================ */

/* ---- DEPTH dramatic sections (now part of the dark flow) ---- */
.depth {
  position: relative; overflow: hidden; background: #0F1A14;
  /* dark GREEN-tinted depth context — re-set tokens so children adapt */
  --color-bg-primary:   #0F1A14;
  --color-bg-surface:   #13241B;
  --color-bg-elevated:  #1B3328;
  --color-text-primary: #ECFDF5;
  --color-text-muted:   #AFC2B6;
  --color-accent:       #34D399;
  --color-accent-dark:  #10B981;
  --color-border:       #21362B;
  color: #AFC2B6;
}
.depth h1, .depth h2, .depth h3, .depth h4 { color: #ECFDF5; }
.depth .btn-primary { color: #06241B; }

/* ---- CIRA MOMENT (dramatic, framed portrait) ---- */
.cira-moment { padding: clamp(120px, 16vw, 200px) 0; text-align: center; }
.cira-moment .container { position: relative; z-index: 2; }
.cira-moment .cm-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); display: inline-block; margin-bottom: 24px; }
.cira-moment h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(46px, 7vw, 92px); line-height: 1.03; letter-spacing: -0.02em; color: var(--color-text-primary); margin-bottom: 30px; }
.cira-moment h2 em { font-style: italic; color: var(--color-accent); }
.cira-moment .cm-sub { font-size: 19px; color: #AFC2B6; max-width: 540px; margin: 0 auto 60px; line-height: 1.65; }
.cm-portrait-wrap { position: relative; width: min(520px, 84vw); margin: 0 auto 56px; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,0.6), 0 0 0 1px rgba(6, 95, 70,0.18); }
.cm-portrait-wrap img { width: 100%; height: auto; display: block; }
.cm-portrait-wrap::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 120%, rgba(6, 95, 70,0.22), transparent 60%); }
.cm-glow { position: absolute; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(6, 95, 70,0.16) 0%, transparent 68%); filter: blur(70px); top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 0; pointer-events: none; }
.cira-moment .cm-cta { display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---- FINAL CTA depth ---- */
.cta-section.depth { padding: clamp(120px, 15vw, 190px) 0; text-align: center; }
.cta-section.depth h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(40px, 6vw, 76px); }
.cta-section.depth .cta-sub { max-width: 560px; margin-left: auto; margin-right: auto; font-size: 19px; color: #AFC2B6; }
.cta-cta-row { display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ---- PROOF stat cards (dark) ---- */
.proof-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 64px auto 0; max-width: 920px; }
.proof-stat { background: var(--color-bg-surface); border: 0.5px solid var(--color-border); border-radius: 16px; padding: 28px 20px; text-align: center; }
.proof-stat .ps-num { font-family: var(--font-serif); font-weight: 600; font-size: 40px; color: var(--color-text-primary); line-height: 1; display: block; }
.proof-stat .ps-label { font-size: 12.5px; color: var(--color-text-muted); margin-top: 10px; display: block; line-height: 1.45; }
@media (max-width: 760px) { .proof-stats-grid { grid-template-columns: 1fr 1fr; } }

/* ---- FEATURED WORK — faux browser chrome (dark) ---- */
.iwc-browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.06); }
.iwc-browser-bar .bdot { width: 9px; height: 9px; border-radius: 50%; opacity: 0.9; }
.iwc-browser-bar .bdot.r { background: #FF5F57; }
.iwc-browser-bar .bdot.y { background: #FEBC2E; }
.iwc-browser-bar .bdot.g { background: #28C840; }
.iwc-browser-bar .burl { margin-left: 10px; flex: 1; height: 16px; border-radius: 5px; background: rgba(255,255,255,0.07); }

/* ---- AUTOMATION flow diagram (dark) ---- */
.flow-diagram { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 0; margin: 56px auto 0; max-width: 920px; }
.flow-node { background: var(--color-bg-surface); border: 0.5px solid var(--color-border); border-radius: 16px; padding: 24px 16px; width: 158px; text-align: center; position: relative; }
.flow-node .fn-ico { width: 38px; height: 38px; border-radius: 10px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; background: rgba(6, 95, 70,0.12); color: var(--color-accent); }
.flow-node .fn-kind { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); display: block; margin-bottom: 4px; }
.flow-node .fn-name { font-size: 13.5px; font-weight: 600; color: var(--color-text-primary); }
.flow-arrow { align-self: center; color: var(--color-accent); flex-shrink: 0; width: 40px; text-align: center; font-size: 18px; opacity: 0.65; }
@media (max-width: 720px) { .flow-diagram { flex-direction: column; align-items: center; } .flow-node { width: 100%; max-width: 280px; } .flow-arrow { transform: rotate(90deg); height: 26px; } }

/* ---- SCROLL REVEAL (fade + rise) ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .fade-up { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ============================================================
   PREMIUM POLISH (dark) — scoped to homepage via body.home
   ============================================================ */
body.home { --section-pad: 150px; }
body.home .section { padding: var(--section-pad) 0; }
body.home h2 { margin-bottom: 26px; }
body.home .section-sub-text { max-width: 720px; margin-left: auto; margin-right: auto; font-size: 18px; line-height: 1.62; }
body.home .two-path-grid { margin-top: 76px; }
body.home .cira-features-grid { margin-top: 64px; }
body.home .process-steps-row { margin-top: 76px; }
body.home .index-work-grid { margin-top: 64px; }

/* Typography — confident Space Grotesk, strict scale */
body.home h1, body.home h2, body.home h3,
body.home .cira-hero-h1, body.home .path-card h3 {
  font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.02em;
}
body.home .cira-hero-h1 { font-size: clamp(48px, 6vw, 78px); line-height: 1.05; font-weight: 700; color: var(--color-text-primary); margin: 22px 0 22px; }
body.home h2 { font-size: clamp(34px, 4.4vw, 48px); line-height: 1.08; }
body.home .cira-hero-sub { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; }

/* Accent restraint — mono labels subtle */
body.home .section-label, body.home .path-tag, body.home .proof-label {
  background: transparent; color: #5C8772; letter-spacing: 0.18em; font-size: 11px; padding: 0;
}

/* Cards — consistent 16px radius, hairline, soft dark shadow */
body.home .card, body.home .path-card, body.home .process-step-tile,
body.home .index-work-card, body.home .proof-stat, body.home .flow-node,
body.home .testimonial-card-v2 {
  border-radius: 16px; border: 1px solid var(--color-border); background: var(--color-bg-surface);
  box-shadow: 0 1px 3px rgba(30,27,46,0.05), 0 10px 30px rgba(6,95,70,0.06);
}
body.home .card, body.home .path-card { padding: 32px; }
body.home .card:hover, body.home .index-work-card:hover,
body.home .process-step-tile:hover, body.home .path-card:hover {
  border-color: rgba(6, 95, 70,0.40);
  box-shadow: 0 1px 3px rgba(30,27,46,0.06), 0 18px 44px rgba(6, 95, 70,0.12);
}
/* $497 Founder Kit = the focal point of two-paths */
body.home .path-card.is-featured {
  border-color: rgba(6, 95, 70,0.5);
  box-shadow: 0 0 0 1px rgba(6, 95, 70,0.20), 0 24px 60px rgba(6, 95, 70,0.16);
}

/* Buttons — refined + tactile (global, dark) */
.btn-primary, .btn-ghost { border-radius: 14px; transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn-primary { padding: 14px 28px; font-weight: 500; }
.btn-large { padding: 17px 40px; font-size: 16px; }
.btn-arrow { display: inline-block; transition: transform .15s ease; }
.btn-primary:active, .btn-ghost:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(6, 95, 70,0.28); }
  .btn-ghost:hover { transform: translateY(-1px); }
  .btn-primary:hover .btn-arrow, .btn-ghost:hover .btn-arrow { transform: translateX(3px); }
}
/* Soft free-kit button — clearly quieter than primary */
body.home .start-free .btn-ghost { background: rgba(6, 95, 70,0.10); border: 0.5px solid rgba(6, 95, 70,0.25); color: #34D399; }
body.home .start-free .btn-ghost:hover { background: rgba(6, 95, 70,0.16); border-color: rgba(6, 95, 70,0.40); }

/* Mobile */
@media (max-width: 640px) {
  body.home { --section-pad: 84px; }
  body.home .cira-hero-h1 { font-size: clamp(40px, 11vw, 50px); }
  body.home .two-path-grid, body.home .cira-features-grid,
  body.home .process-steps-row, body.home .index-work-grid,
  body.home .proof-stats-grid, body.home .flow-diagram { margin-top: 44px; }
  body.home .card, body.home .path-card { padding: 26px; }
  .cira-moment { padding: 92px 0; }
  .cta-section.depth { padding: 92px 0; }
}
/* ============================================================
   LOGO — ink on the lavender base (was violet/light).
   brightness(0) renders the transparent PNG solid ink-black,
   neutral and legible on lavender nav + light footer.
   ============================================================ */
.nav-logo img, .footer-logo img { filter: brightness(0); }
.nav-toggle span { background: var(--color-text-primary); }