/* ============ SPACE BACKGROUND ============ */
.space-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.stars,
.shooting-stars {
  position: absolute;
  inset: 0;
}
.star {
  position: absolute;
  width: 1px;
  height: 1px;
  background: #fff;
  border-radius: 50%;
  will-change: opacity;
}
.star.size-2 {
  width: 1.5px;
  height: 1.5px;
}
.star.size-3 {
  width: 2.5px;
  height: 2.5px;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.45);
}
.star.twinkle {
  animation: twinkle var(--twk-dur, 4s) ease-in-out var(--twk-delay, 0s) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.18; }
  50%      { opacity: 0.7; }
}

.shooting-star {
  position: absolute;
  width: 90px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.95));
  border-radius: 999px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
  opacity: 0;
  transform-origin: 0 50%;
  animation: shoot var(--dur, 1.4s) cubic-bezier(0.2, 0.6, 0.4, 1) forwards;
}
@keyframes shoot {
  0%   { opacity: 0; transform: translate(0, 0) rotate(var(--angle, 25deg)) scaleX(0.3); }
  10%  { opacity: 1; transform: translate(calc(var(--dx) * 0.1), calc(var(--dy) * 0.1)) rotate(var(--angle, 25deg)) scaleX(1); }
  100% { opacity: 0; transform: translate(var(--dx, 500px), var(--dy, 220px)) rotate(var(--angle, 25deg)) scaleX(1); }
}

/* Lift content above the fixed space background (preserve existing positioning) */
nav.nav { z-index: 100; }
.hero,
.marquee,
.problem,
.services,
.devices,
.process,
.stats,
.big-stats,
.cases,
.samples-section,
.pricing,
.about,
.faq,
.cta,
.footer,
.samples-hero,
.samples-grid {
  position: relative;
  z-index: 1;
}
.back-link { z-index: 100; }

/* ============ RESET ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; }
html { scroll-behavior: auto; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(180,100,55,0.10) 0%, rgba(180,100,55,0) 70%),
    radial-gradient(ellipse 80% 50% at 80% 100%, rgba(220,140,80,0.06) 0%, rgba(220,140,80,0) 70%),
    #0e0a08;
  background-attachment: fixed;
  color: #f5f5f7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}
.italic { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; }

/* Italic emphasis in main headlines: warm honey color, Lora italic. Kept simple as inline
   text (not inline-block) so it flows naturally without creating its own clipping box. */
.hero-headline .italic,
.section-title .italic,
.cta-headline .italic,
.problem-statement h2 .italic {
  font-family: 'Lora', 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #efb56a;
}
/* But not when the section title itself is "muted" (used on the secondary serif line) */
.section-title .italic.muted {
  background: none;
  -webkit-text-fill-color: rgba(245,245,247,0.4);
          color: rgba(245,245,247,0.4);
}
.muted { color: rgba(245,245,247,0.4); }

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0;
  background: #0e0a08;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader-text {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(60px, 12vw, 160px);
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 40px;
  z-index: 100;
  mix-blend-mode: difference;
}
.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.25s ease, left 0.25s ease;
}
.nav-links a:hover::after {
  width: 100%;
  left: 0;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px; height: 36px;
  padding: 0;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: #fff;
  transition: all 0.3s ease;
}
@media (max-width: 880px) {
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 880px) {
  /* When menu is open, kill the difference-blend so backdrop is opaque */
  body.nav-mobile-open nav.nav { mix-blend-mode: normal; }

  .nav-mobile-open .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    background: #0e0a08;
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: none; left: 0;
    z-index: 999;
    isolation: isolate;
  }
  .nav-mobile-open .nav-links a {
    font-size: 32px;
    font-family: 'Instrument Serif', serif;
    color: #fff;
  }
  .nav-mobile-open .nav-links a::after { display: none; }

  /* Keep hamburger visible above the menu, morph into X */
  body.nav-mobile-open .nav-toggle { z-index: 1001; }
  body.nav-mobile-open .nav-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  body.nav-mobile-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  body.nav-mobile-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}
.nav-right {
  display: flex; align-items: center; gap: 24px;
}
.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.nav-link:hover { opacity: 1; }
.nav-cta {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  transition: all 0.3s ease;
}
.nav-cta:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  /* overflow: hidden removed — was clipping italic descenders on the headline.
     .hero-bg already has its own overflow:hidden which contains the mesh blobs. */
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 0;
  /* Soft outer fade so edges don't hard-cut at the section boundary */
  mask-image: radial-gradient(ellipse at center, #000 50%, rgba(0,0,0,0.4) 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 50%, rgba(0,0,0,0.4) 100%);
}
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform, opacity;
  pointer-events: none;
}
.blob-1 {
  width: 55vw; height: 55vw;
  top: -15%; left: -15%;
  background: radial-gradient(circle, rgba(220,140,70,0.55) 0%, rgba(220,140,70,0) 70%);
  animation: drift1 14s ease-in-out infinite;
}
.blob-2 {
  width: 45vw; height: 45vw;
  top: 25%; right: -20%;
  background: radial-gradient(circle, rgba(230,110,90,0.45) 0%, rgba(230,110,90,0) 70%);
  animation: drift2 17s ease-in-out infinite;
}
.blob-3 {
  width: 60vw; height: 60vw;
  bottom: -25%; left: 10%;
  background: radial-gradient(circle, rgba(200,160,100,0.5) 0%, rgba(200,160,100,0) 70%);
  animation: drift3 16s ease-in-out infinite;
}
.blob-4 {
  width: 35vw; height: 35vw;
  top: 15%; left: 30%;
  background: radial-gradient(circle, rgba(235,200,140,0.55) 0%, rgba(235,200,140,0) 70%);
  animation: drift4 19s ease-in-out infinite;
}
.blob-5 {
  width: 30vw; height: 30vw;
  bottom: 5%; right: 10%;
  background: radial-gradient(circle, rgba(200,120,80,0.5) 0%, rgba(200,120,80,0) 70%);
  animation: drift5 12s ease-in-out infinite;
}
@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(40vw, 30vh) scale(1.25); }
  66%  { transform: translate(20vw, 50vh) scale(0.85); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-35vw, -25vh) scale(1.3); }
  66%  { transform: translate(-15vw, 25vh) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes drift3 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(40vw, -40vh) scale(1.2); }
  66%  { transform: translate(-20vw, -20vh) scale(1.4); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes drift4 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-30vw, 40vh) scale(1.5); }
  66%  { transform: translate(35vw, -15vh) scale(0.7); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes drift5 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-40vw, -30vh) scale(1.4); }
  66%  { transform: translate(-15vw, -50vh) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .mesh-blob { animation: none !important; }
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 1200px;
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,245,247,0.5);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-headline {
  font-size: clamp(56px, 11vw, 180px);
  line-height: 1.15; /* enough vertical room for Lora italic descenders */
  letter-spacing: -0.04em;
  font-weight: 600;
  margin-bottom: 32px;
  padding-bottom: 0.2em; /* extra safety so descenders never hit a clip boundary */
}
.hero-headline .line {
  display: block;
  overflow: visible; /* explicitly visible — no clipping */
  padding-bottom: 0.15em;
}
.hero-headline .word {
  display: inline-block;
  overflow: visible; /* explicitly visible — no clipping at the inline-block box */
  transform: translateY(110%);
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 22px);
  color: rgba(245,245,247,0.65);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,245,247,0.4);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(245,245,247,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.5); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============ INDUSTRIES MARQUEE ============ */
.marquee {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  /* fade edges */
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee-row {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-shrink: 0;
}
.marquee-row span {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.02em;
  color: rgba(245, 245, 247, 0.45);
  white-space: nowrap;
  font-style: italic;
}
.marquee-row span:nth-child(2n) {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: clamp(20px, 3vw, 32px);
  color: rgba(245,245,247,0.18);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============ PROBLEM (pinned) ============ */
.problem {
  position: relative;
  height: 400vh; /* room for scroll-pin */
}
@media (max-width: 768px) {
  .problem {
    height: 240vh; /* shorter pinned scroll on mobile */
  }
}
.problem-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 0 24px;
  overflow: hidden;
}
.problem-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
  filter: saturate(0.9) contrast(1.05);
}
.problem-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(7,7,10,0.15) 0%, rgba(7,7,10,0.5) 70%, rgba(7,7,10,0.8) 100%),
    linear-gradient(180deg, rgba(7,7,10,0.25) 0%, rgba(7,7,10,0.05) 50%, rgba(7,7,10,0.35) 100%);
}
.problem-statement {
  position: absolute;
  text-align: center;
  max-width: 1100px;
  opacity: 0;
  z-index: 2;
}
.problem-statement[data-step="1"] {
  opacity: 1;
}
.problem-num {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  color: rgba(245,245,247,0.4);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}
.problem-statement h2 {
  font-size: clamp(40px, 7vw, 110px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
}

/* ============ SERVICES ============ */
.services {
  padding: 200px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.services-intro {
  margin-bottom: 100px;
  max-width: 900px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,245,247,0.4);
  margin-bottom: 24px;
}
.section-title {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 56px 48px;
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0;
  transform: translateY(60px);
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.service-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.service-num {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  color: rgba(245,245,247,0.4);
  margin-bottom: 80px;
}
.service-card h3 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.service-card p {
  font-size: 16px;
  color: rgba(245,245,247,0.6);
  line-height: 1.6;
}

/* ============ BENTO GRID ============ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.bento-card {
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.bento-card:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}
.bento-design  { grid-column: span 7; grid-row: span 2; }
.bento-seo     { grid-column: span 5; grid-row: span 1; }
.bento-gbp     { grid-column: span 5; grid-row: span 1; }
.bento-support { grid-column: span 12; grid-row: span 1; }

@media (max-width: 880px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .bento-design  { grid-column: span 2; grid-row: span 2; }
  .bento-seo     { grid-column: span 2; grid-row: span 1; }
  .bento-gbp     { grid-column: span 2; grid-row: span 1; }
  .bento-support { grid-column: span 2; grid-row: span 1; }
}

.bento-visual {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 28px 0;
  overflow: hidden;
}
.bento-text {
  padding: 20px 28px 28px;
}
.bento-text h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.bento-text p {
  font-size: 14px;
  color: rgba(245,245,247,0.55);
  line-height: 1.5;
}

/* --- mini browser (Custom Design card) --- */
.mini-browser {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 16/10;
  background: #0d0d12;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: rotate(-1.5deg) translateY(4px);
}
.mini-chrome {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mini-chrome span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.mini-chrome span:nth-child(1) { background: #ff5f57; }
.mini-chrome span:nth-child(2) { background: #febc2e; }
.mini-chrome span:nth-child(3) { background: #28c840; }
.mini-canvas {
  position: relative;
  height: calc(100% - 26px);
  padding: 22px 26px 20px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 70% 80% at 80% 110%, rgba(230,150,80,0.38) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 0% 0%, rgba(180,100,60,0.18) 0%, transparent 60%),
    linear-gradient(160deg, #1a120c 0%, #0e0a08 60%, #14100c 100%);
}
.mini-canvas::after {
  /* Subtle floating photo-tile on the right to fill the empty quadrant */
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 38%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(235,180,120,0.25) 0%, rgba(140,80,50,0.18) 100%);
  border: 1px solid rgba(255,220,180,0.12);
  pointer-events: none;
}
.mini-canvas-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 13px;
  color: rgba(245,241,234,0.8);
  margin-bottom: auto;
}
.mini-canvas-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: rgba(245,241,234,0.92);
  margin-bottom: 14px;
}
.mini-canvas-headline em {
  font-style: italic;
  color: #efb56a;
}
.mini-canvas-btn {
  align-self: flex-start;
  background: #efb56a;
  color: #14100c;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 999px;
}

/* --- mini Google search (SEO card) --- */
/* Google search mock — dark-mode styling so it integrates with the dark site */
.mini-search {
  width: 100%;
  max-width: 320px;
  background: #1f1f1f;
  color: #e8eaed;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px;
  font-family: -apple-system, sans-serif;
  font-size: 11px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.mini-search-bar {
  display: flex; align-items: center; gap: 8px;
  background: #303134;
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 10px;
}
.mini-g {
  width: 16px; height: 16px;
  background: linear-gradient(135deg, #4285f4 25%, #ea4335 25% 50%, #fbbc04 50% 75%, #34a853 75%);
  border-radius: 50%;
  font-size: 0;
}
.mini-q { color: #e8eaed; font-size: 11px; }
.mini-result {
  padding: 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.mini-result.top {
  background: rgba(230,192,142,0.08);
  border: 1px solid rgba(230,192,142,0.22);
}
.mini-result-url {
  font-size: 9px;
  color: #9aa0a6;
  margin-bottom: 2px;
}
.mini-result-title {
  font-size: 11px;
  color: #8ab4f8;
  font-weight: 500;
  line-height: 1.2;
}
.mini-result-stars {
  font-size: 9px;
  color: #fbbc04;
  margin-top: 3px;
}
.mini-result-stars span { color: #9aa0a6; margin-left: 4px; }

/* --- mini map (Google Business card) --- */
.mini-map {
  position: relative;
  width: 100%;
  height: 80px;
  background: #1f2a36;
  border-radius: 10px;
  overflow: hidden;
}
.mini-map-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.mini-map-pin {
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  background: #ea4335;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 4px rgba(234,67,53,0.25), 0 0 20px rgba(234,67,53,0.5);
  z-index: 2;
}
.mini-map-callout {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(14px, -28px);
  background: #fff;
  color: #0a0a14;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 7px;
  border-radius: 5px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  z-index: 3;
}
.bento-gbp .bento-visual {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.mini-business-card {
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mini-bc-name { font-size: 12px; font-weight: 500; white-space: nowrap; }
.mini-bc-meta { font-size: 10px; color: rgba(245,245,247,0.55); white-space: nowrap; }

/* --- mini chat (Support card) --- */
.mini-chat {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 720px;
  justify-content: flex-start;
}
.mini-bubble {
  padding: 10px 16px;
  border-radius: 18px;
  font-size: 13px;
  max-width: 220px;
  line-height: 1.4;
}
.mini-bubble-them {
  background: rgba(255,255,255,0.08);
  border-bottom-left-radius: 4px;
}
.mini-bubble-us {
  background: linear-gradient(135deg, #e6c08e 0%, #8470d4 100%);
  color: #0a0a14;
  border-bottom-right-radius: 4px;
}

/* ============ DEVICES (multi-device showcase) ============ */
.devices {
  padding: 200px 40px 100px;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  overflow: visible;
}
.devices-header {
  margin-bottom: 100px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.devices-sub {
  font-size: 17px;
  color: rgba(245,245,247,0.55);
  line-height: 1.6;
  max-width: 560px;
  margin: 24px auto 0;
}
.devices-stage {
  position: relative;
  height: 560px;
  perspective: 1800px;
  perspective-origin: 50% 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}
.device {
  position: absolute;
  transform-style: preserve-3d;
}

/* ---------- Laptop ---------- */
.device-laptop {
  width: 640px;
  z-index: 2;
  transform: translateZ(0) rotateX(8deg);
}
.device-laptop .device-frame {
  width: 100%;
  background: linear-gradient(180deg, #2a2a32 0%, #1a1a22 100%);
  border-radius: 14px 14px 4px 4px;
  padding: 14px 14px 22px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 50px 100px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset;
}
.device-laptop .device-screen {
  aspect-ratio: 16/10;
  background: #0e0a08;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
}
.device-laptop .device-base {
  width: 110%;
  height: 14px;
  margin: -2px auto 0;
  background: linear-gradient(180deg, #2a2a32 0%, #1a1a22 100%);
  border-radius: 0 0 18px 18px;
  position: relative;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.device-laptop .device-base::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 4px;
  background: rgba(0,0,0,0.4);
  border-radius: 0 0 8px 8px;
}

/* ---------- Tablet ---------- */
.device-tablet {
  width: 280px;
  z-index: 1;
  transform: translate(-360px, 60px) rotateY(18deg) rotateX(4deg);
}
.device-tablet .device-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: #1a1a22;
  border-radius: 24px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset;
}
.device-tablet .device-screen {
  width: 100%;
  height: 100%;
  background: #0e0a08;
  border-radius: 12px;
  overflow: hidden;
}

/* ---------- Phone ---------- */
.device-phone {
  width: 170px;
  z-index: 3;
  transform: translate(330px, 90px) rotateY(-15deg) rotateX(4deg);
}
.device-phone .device-frame {
  width: 100%;
  aspect-ratio: 9/19.5;
  background: #1a1a22;
  border-radius: 28px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset;
}
.device-phone .device-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 18px;
  background: #0e0a08;
  border-radius: 999px;
  z-index: 5;
}
.device-phone .device-screen {
  width: 100%;
  height: 100%;
  background: #0e0a08;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

/* ---------- Screen content (device-showcase mockup) ---------- */
.device-content {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a3a2a 0%, #1a2a1a 100%);
  color: #f5f1ea;
  font-family: 'Instrument Serif', serif;
  position: relative;
  overflow: hidden;
}
.device-chrome {
  display: flex;
  gap: 5px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.device-chrome span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.device-chrome span:nth-child(1) { background: #ff5f57; }
.device-chrome span:nth-child(2) { background: #febc2e; }
.device-chrome span:nth-child(3) { background: #28c840; }

.laptop-content {
  padding: 0;
}
.dc-nav {
  display: flex;
  justify-content: space-between;
  padding: 18px 28px;
  font-family: 'Inter', sans-serif;
}
.dc-logo { font-family: 'Instrument Serif', serif; font-size: 20px; }
.dc-link { font-size: 11px; opacity: 0.6; }
.dc-hero {
  padding: 30px 28px;
}
.dc-headline {
  font-size: 56px;
  line-height: 0.95;
  margin-bottom: 12px;
}
.dc-headline em { font-style: italic; }
.dc-sub {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 18px;
}
.dc-btn {
  display: inline-block;
  background: #f5f1ea;
  color: #1f2419;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tablet-content {
  padding: 28px 22px;
}
.dc-headline-sm {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 18px;
}
.dc-headline-sm em { font-style: italic; }
.dc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dc-tile {
  aspect-ratio: 1;
  background: rgba(245,241,234,0.1);
  border-radius: 8px;
}
.dc-tile:nth-child(1) { background: linear-gradient(135deg, rgba(168,201,168,0.4), rgba(74,90,58,0.5)); }
.dc-tile:nth-child(2) { background: linear-gradient(135deg, rgba(245,241,234,0.18), rgba(245,241,234,0.05)); }
.dc-tile:nth-child(3) { background: linear-gradient(135deg, rgba(168,201,168,0.25), rgba(106,117,96,0.4)); }
.dc-tile:nth-child(4) { background: linear-gradient(135deg, rgba(74,90,58,0.6), rgba(42,58,42,0.7)); }

.phone-content {
  padding: 28px 14px 14px;
  display: flex;
  flex-direction: column;
}
.dc-status {
  display: flex;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  margin-bottom: 22px;
  opacity: 0.7;
}
.dc-hero-phone {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.dc-headline-xs {
  font-size: 28px;
  line-height: 0.95;
  margin-bottom: 18px;
}
.dc-headline-xs em { font-style: italic; }
.dc-btn-sm {
  align-self: flex-start;
  background: #f5f1ea;
  color: #1f2419;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
}

/* Mobile: stack devices */
@media (max-width: 880px) {
  .devices-stage {
    height: auto;
    min-height: 700px;
    flex-direction: column;
    gap: 40px;
    perspective: none;
  }
  .device { position: relative; transform: none !important; }
  .device-laptop { width: 90%; max-width: 480px; }
  .device-tablet { width: 220px; }
  .device-phone { width: 140px; }
}

/* ============ PROCESS (vertical timeline) ============ */
.process {
  position: relative;
  background: #050507;
  padding-bottom: 160px;
}
.process-header {
  padding: 200px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.timeline {
  position: relative;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
  padding-left: 40px;
  padding-right: 40px;
}
/* the connecting vertical line */
.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 64px;
  width: 1px;
  background: linear-gradient(180deg,
    rgba(230,192,142,0.4) 0%,
    rgba(255,255,255,0.12) 50%,
    rgba(230,192,142,0) 100%);
}
.tl-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 32px;
  padding: 24px 0 56px;
  align-items: flex-start;
}
.tl-step.tl-last { padding-bottom: 0; }
.tl-marker {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230,192,142,0.18) 0%, rgba(80,180,255,0.08) 100%);
  border: 1px solid rgba(230,192,142,0.35);
  display: flex; align-items: center; justify-content: center;
  color: #e6c08e;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.tl-marker svg {
  width: 24px; height: 24px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tl-body {
  padding-top: 6px;
}
.tl-day {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: rgba(230,192,142,0.85);
  margin-bottom: 6px;
}
.tl-body h3 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.tl-body p {
  font-size: 17px;
  color: rgba(245,245,247,0.6);
  line-height: 1.6;
  max-width: 540px;
}
@media (max-width: 600px) {
  .timeline { padding-left: 24px; padding-right: 24px; }
  .timeline::before { left: 48px; }
  .tl-step { grid-template-columns: 48px 1fr; gap: 20px; padding-bottom: 40px; }
  .tl-marker { width: 48px; height: 48px; }
  .tl-marker svg { width: 20px; height: 20px; }
  .tl-body p { font-size: 15px; }
}

/* ============ EDITORIAL BIG STATS ============ */
.big-stats {
  padding: 100px 40px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.big-stat {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 100px;
}
.big-stat:first-child { border-top: none; padding-top: 0; }
@media (max-width: 768px) {
  .big-stats {
    padding: 60px 24px;
    gap: 36px;
  }
  .big-stat {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 36px;
  }
}
.big-stat-eyebrow {
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,245,247,0.45);
  font-weight: 500;
}
.big-stat-eyebrow .italic {
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 18px;
  color: rgba(245,245,247,0.6);
  margin-right: 4px;
}
.big-stat-number {
  font-family: 'Playfair Display', 'Instrument Serif', Georgia, serif;
  font-weight: 500;
  font-size: clamp(120px, 20vw, 280px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #f4e8d4; /* warm cream — solid, no gradient text clipping */
  display: flex;
  align-items: baseline;
  justify-self: center; /* center each number in its grid column */
}
.big-stat-number .prefix {
  font-size: 0.6em;
  margin-right: 4px;
  opacity: 0.7;
}
.big-stat-number .suffix {
  font-size: 0.45em;
  margin-left: 8px;
  opacity: 0.7;
}
.big-stat-caption {
  grid-column: 1;
  font-size: 17px;
  color: rgba(245,245,247,0.6);
  line-height: 1.55;
  max-width: 420px;
  margin-top: 16px;
}
@media (max-width: 880px) {
  .big-stat {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 60px;
  }
  .big-stats { gap: 60px; padding: 80px 24px; }
  .big-stat-number { justify-self: center; }
  .big-stat-caption { margin-top: 0; }
}

/* ============ CASES (stacking) ============ */
.cases {
  padding: 200px 40px 0;
  max-width: 1400px;
  margin: 0 auto;
}
.cases-header {
  margin-bottom: 100px;
}
.case-card {
  position: sticky;
  top: 120px;
  background: #0d0d12;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  padding: 80px 64px;
  margin-bottom: 24px;
  min-height: 480px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.case-meta {
  display: flex; gap: 24px;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,245,247,0.4);
}
.case-card h3 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 900px;
  margin: 40px 0 24px;
}
.case-card p {
  font-size: 18px;
  color: rgba(245,245,247,0.6);
  max-width: 700px;
}

/* ============ BEFORE / AFTER ============ */
.ba-section {
  padding: 200px 40px 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.ba-header { max-width: 700px; margin-bottom: 60px; }
.ba-sub {
  font-size: 17px;
  color: rgba(245,245,247,0.55);
  line-height: 1.6;
  margin-top: 20px;
  max-width: 540px;
}
.ba-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 700px;
  border-radius: 16px;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  background: #0a0a14;
}
.ba-after, .ba-before {
  position: absolute;
  inset: 0;
}
.ba-before {
  width: 50%;
  overflow: hidden;
  border-right: 2px solid rgba(255,255,255,0.6);
  z-index: 2;
}
.ba-mini-browser {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.ba-before-browser {
  width: 200%; /* keep the underlying browser the same width as ba-after */
}
.ba-mini-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: #2a2a32;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ba-mini-chrome span:nth-child(-n+3) {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.ba-mini-chrome span:nth-child(1) { background: #ff5f57; }
.ba-mini-chrome span:nth-child(2) { background: #febc2e; }
.ba-mini-chrome span:nth-child(3) { background: #28c840; }
.ba-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  padding: 4px 12px;
  font-family: 'Inter', sans-serif;
}

/* AFTER (clean, modern HPD-built) */
.ba-after-content {
  flex: 1;
  background: linear-gradient(135deg, #0e0a08 0%, #1a1525 100%);
  color: #fff;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.ba-after-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}
.ba-after-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.ba-after-cta {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
}
.ba-after-nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ba-after-availability {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
}
.ba-after-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: ba-pulse-dot 2.2s ease-in-out infinite;
}
@keyframes ba-pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.ba-after-hero {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
}
.ba-after-hero-left {
  flex: 1.3;
  min-width: 0;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ba-after-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.ba-after-headline em { font-style: italic; color: #e6c08e; }
.ba-after-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.ba-after-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.ba-after-services span {
  font-size: 11px;
  padding: 5px 11px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.03);
}
.ba-after-cta-btn {
  align-self: flex-start;
  background: #fff;
  color: #0a0a14;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}
.ba-after-trust {
  flex: 1;
  max-width: 320px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 18px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ba-after-trust-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 6px;
}
.ba-after-trust-stars {
  color: #ffc54d;
  font-size: 13px;
  letter-spacing: 2px;
}
.ba-after-trust-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}
.ba-after-review {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ba-after-review:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.ba-after-review-text {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,0.78);
  font-style: italic;
  margin-bottom: 4px;
}
.ba-after-review-author {
  color: rgba(255,255,255,0.42);
  font-size: 10px;
  letter-spacing: 0.02em;
}
.ba-after-stats {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
}
.ba-after-stats strong { color: #fff; font-weight: 600; }

/* BEFORE (realistic dated small-business site) */
.ba-before-content {
  width: 50%; /* fits within ba-before clip */
  flex: 1;
  background: #f4f1ea;
  color: #222;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
  overflow: hidden;
}
.ba-before-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1f3a6a;
  color: #fff;
  padding: 10px 18px;
}
.ba-before-logo {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ba-before-phone {
  font-size: 12px;
  font-weight: 700;
  color: #ffd84d;
}
.ba-before-nav {
  display: flex;
  gap: 18px;
  background: #2a4f8a;
  color: #fff;
  padding: 7px 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 3px solid #ffd84d;
}
.ba-before-hero {
  position: relative;
  height: 110px;
  background:
    linear-gradient(180deg, rgba(0,30,60,0.55), rgba(0,30,60,0.7)),
    radial-gradient(ellipse at 30% 40%, #6fb6e8 0%, #2a6ea3 60%, #14375a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-before-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 60%, rgba(255,255,255,0.18) 0 8px, transparent 9px),
    radial-gradient(circle at 75% 30%, rgba(255,255,255,0.14) 0 6px, transparent 7px),
    radial-gradient(circle at 55% 80%, rgba(255,255,255,0.12) 0 5px, transparent 6px);
}
.ba-before-hero-overlay {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 0 16px;
}
.ba-before-hero-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
  margin-bottom: 4px;
}
.ba-before-hero-sub {
  font-size: 11px;
  font-style: italic;
  color: #ffd84d;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}
.ba-before-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  border-bottom: 1px solid #d8d3c7;
  padding: 8px 12px;
  font-size: 10px;
  color: #555;
  font-weight: 700;
}
.ba-before-badges span:first-child { color: #f4a800; letter-spacing: 1px; }
.ba-before-text {
  font-size: 11px;
  color: #333;
  line-height: 1.5;
  padding: 12px 18px 8px;
}
.ba-before-cta {
  display: inline-block;
  margin: 0 18px 16px;
  background: linear-gradient(180deg, #ffb732 0%, #e89412 100%);
  border: 1px solid #b8740a;
  border-radius: 3px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 12px;
  color: #3a2700;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
  cursor: pointer;
}

/* Labels */
.ba-label {
  position: absolute;
  top: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  z-index: 5;
  pointer-events: none;
}
.ba-label-after {
  right: 24px;
  background: rgba(230,192,142,0.15);
  color: #e6c08e;
  border: 1px solid rgba(230,192,142,0.4);
}
.ba-label-before {
  left: 24px;
  background: rgba(255,0,0,0.15);
  color: #ff8a8a;
  border: 1px solid rgba(255,0,0,0.4);
}

/* Drag handle */
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 4;
  cursor: ew-resize;
  pointer-events: none;
}
.ba-handle-line {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent, #fff 40%, #fff 60%, transparent);
}
.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  color: #0a0a14;
  pointer-events: auto;
}
.ba-handle-circle svg {
  width: 24px; height: 24px;
}

/* Tablet/intermediate: stack the trust card below hero text instead of hiding */
@media (max-width: 900px) {
  .ba-after-hero {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .ba-after-hero-left { max-width: 100%; }
  .ba-after-trust { max-width: 100%; }
  .ba-after-trust-header { padding-bottom: 8px; margin-bottom: 4px; }
  .ba-after-review { padding: 6px 0; }
  .ba-after-review-text { font-size: 11px; }
}
@media (max-width: 768px) {
  .ba-compare { aspect-ratio: 9/12; }
  .ba-after-content { padding: 16px 18px; }
  .ba-after-headline { font-size: 24px; }
  .ba-after-stats { font-size: 11px; gap: 12px 16px; }
  .ba-after-availability { display: none; }
  .ba-after-services span { font-size: 10px; padding: 4px 9px; }
  .ba-after-hero { gap: 12px; }
  .ba-before-content { padding: 0; }
  .ba-before-hero-title { font-size: 14px; }
  .ba-handle-circle { width: 44px; height: 44px; }
}
/* Very narrow: hide trust card to keep mobile clean */
@media (max-width: 540px) {
  .ba-after-trust { display: none; }
}

/* ============ SAMPLES SECTION (homepage) ============ */
.samples-section {
  padding: 200px 40px 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.samples-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 80px;
  gap: 40px;
  flex-wrap: wrap;
}
.samples-section-header .heading-block { max-width: 700px; }
.samples-view-all {
  color: rgba(245,245,247,0.7);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(245,245,247,0.3);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.samples-view-all:hover {
  color: #fff;
  border-color: #fff;
}
.samples-section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 968px) {
  .samples-section-grid { grid-template-columns: 1fr; }
}

/* ============ BROWSER-FRAME PREVIEW (shared) ============ */
.preview-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.preview-frame {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: #1a1a20;
}
.preview-chrome {
  display: flex; align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 10px;
}
.preview-dots {
  display: flex; gap: 6px;
}
.preview-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:nth-child(3) { background: #28c840; }
.preview-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: 'Inter', sans-serif;
}
.preview-viewport {
  position: relative;
  width: 100%;
  height: calc(100% - 38px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 24px 28px;
  overflow: hidden;
}
.preview-logo {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
  position: absolute; top: 22px; left: 28px;
}
.preview-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  font-weight: 400;
}
.preview-headline em { font-style: italic; }
.preview-sub {
  font-size: 11px;
  opacity: 0.7;
  max-width: 60%;
  line-height: 1.4;
  margin-bottom: 14px;
}
.preview-btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  align-self: flex-start;
  width: fit-content;
}

/* Per-demo theming */
.preview-cedar .preview-viewport {
  background:
    radial-gradient(ellipse at 25% 0%, rgba(180,160,110,0.10) 0%, transparent 55%),
    linear-gradient(135deg, #2d3d2c 0%, #1a2618 60%, #14201a 100%);
  color: #f5f1ea;
  font-family: 'Instrument Serif', serif;
}
.preview-cedar .preview-logo { font-family: 'Instrument Serif', serif; font-size: 14px; }
.preview-cedar .preview-btn {
  background: #f5f1ea;
  color: #1f2419;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.preview-coffee .preview-viewport {
  background:
    repeating-linear-gradient(
      0deg,
      rgba(139,69,19,0.012) 0px,
      rgba(139,69,19,0.012) 1px,
      transparent 1px,
      transparent 3px
    ),
    radial-gradient(ellipse at 80% 100%, rgba(139,69,19,0.05) 0%, transparent 50%),
    linear-gradient(180deg, #faf5ee 0%, #f4ede1 100%);
  color: #2c1810;
}
.preview-coffee .preview-logo { font-family: 'Instrument Serif', serif; font-size: 16px; color: #2c1810; }
.preview-coffee .preview-headline em { color: #8b4513; }
.preview-coffee .preview-btn {
  background: #2c1810;
  color: #f8f3ec;
  box-shadow: 0 4px 12px rgba(44,24,16,0.2);
}

.preview-dental .preview-viewport {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(74,124,140,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(15,31,46,0.06) 0%, transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #f0f6f9 60%, #e4ecf2 100%);
  color: #0f1f2e;
}
.preview-dental .preview-logo { font-family: 'Instrument Serif', serif; font-size: 15px; color: #0f1f2e; }
.preview-dental .preview-headline em { color: #4a7c8c; }
.preview-dental .preview-btn {
  background: #0f1f2e;
  color: #fafbfc;
  box-shadow: 0 4px 14px rgba(15,31,46,0.25);
}

.preview-bakery .preview-viewport {
  background: linear-gradient(135deg, #2a1525 0%, #15080f 100%);
  color: #f5d6e6;
}
.preview-bakery .preview-logo { color: #f5d6e6; font-style: italic; font-family: 'Instrument Serif', serif; font-size: 16px; }
.preview-bakery .preview-headline em { color: #e6a8c9; }
.preview-bakery .preview-btn { background: #e6a8c9; color: #2a1525; }

.preview-fitness .preview-viewport {
  background: #0a0a14;
  color: #fff;
}
.preview-fitness .preview-logo { font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; font-size: 12px; }
.preview-fitness .preview-headline em { color: #c9a8e6; }
.preview-fitness .preview-btn { background: #c9a8e6; color: #0a0a14; }

.preview-salon .preview-viewport {
  background: #1a1812;
  color: #e6e6a8;
}
.preview-salon .preview-logo { font-family: 'Instrument Serif', serif; font-size: 16px; }
.preview-salon .preview-headline em { color: #c9c98a; }
.preview-salon .preview-btn { background: #e6e6a8; color: #1a1812; }

/* ============ Per-card layouts (so each card reads as a different site) ============ */

/* COFFEE — menu/storefront layout */
.preview-viewport-coffee {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  padding-top: 22px !important;
}
.preview-viewport-coffee .preview-logo {
  position: static;
  font-size: 18px !important;
}
.preview-viewport-coffee .preview-headline {
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 4px;
  max-width: 80%;
}
.preview-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.preview-status {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #2c1810;
  display: flex;
  align-items: center;
  gap: 6px;
}
.preview-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(44,24,16,0.15);
  padding-top: 12px;
  margin-top: 4px;
}
.preview-menu-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 11px;
  color: #2c1810;
  font-weight: 500;
}
.preview-menu-row .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(44,24,16,0.3);
  height: 1px;
  position: relative;
  top: -3px;
}

/* DENTAL — booking-flow layout */
.preview-viewport-dental {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  padding-top: 22px !important;
}
.preview-viewport-dental .preview-logo {
  position: static;
  font-size: 16px !important;
}
.preview-viewport-dental .preview-headline {
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 4px;
  max-width: 90%;
}
.preview-location {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15,31,46,0.55);
  font-weight: 500;
}
.preview-slots {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.preview-slot {
  flex: 1;
  background: rgba(15,31,46,0.04);
  border: 1px solid rgba(15,31,46,0.1);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  font-size: 10px;
  color: rgba(15,31,46,0.7);
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}
.preview-slot .day {
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 9px;
}
.preview-slot .time {
  font-size: 11px;
  font-weight: 500;
  color: #0f1f2e;
}
.preview-slot.featured {
  background: #0f1f2e;
  color: #fff;
  border-color: #0f1f2e;
}
.preview-slot.featured .day,
.preview-slot.featured .time { color: #fff; }

/* CEDAR — boutique editorial layout */
.preview-viewport-cedar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 28px !important;
}
.preview-viewport-cedar .preview-cedar-mark {
  position: absolute;
  top: 22px;
  right: 28px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.5);
}
.preview-viewport-cedar .preview-cedar-logo {
  font-family: 'Cormorant Garamond', 'Instrument Serif', serif;
  font-size: 18px;
  font-style: italic;
  margin-top: 6px;
  margin-bottom: 6px;
}
.preview-viewport-cedar .preview-cedar-rule {
  width: 24px;
  height: 1px;
  background: rgba(245,241,234,0.3);
  margin-bottom: 14px;
}
.preview-viewport-cedar .preview-headline {
  text-align: center;
  margin-bottom: 8px;
}
.preview-viewport-cedar .preview-sub {
  text-align: center;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}
.preview-viewport-cedar .preview-btn {
  align-self: center;
  margin-top: 6px;
}
.preview-cedar-leaf {
  position: absolute;
  right: -10px;
  bottom: 30px;
  width: 90px;
  height: 120px;
  pointer-events: none;
  opacity: 0.9;
}
.preview-cedar-areas {
  display: flex;
  gap: 8px;
  justify-content: center;
  font-family: 'Cormorant Garamond', 'Instrument Serif', serif;
  font-style: italic;
  font-size: 12px;
  color: rgba(245,241,234,0.55);
  margin-bottom: 10px;
  margin-top: -2px;
}

/* Coffee — fancier details */
.preview-coffee-special {
  font-family: 'Instrument Serif', serif;
  font-size: 11px;
  font-style: italic;
  color: rgba(44,24,16,0.6);
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px dashed rgba(44,24,16,0.2);
  letter-spacing: 0.02em;
}
.preview-coffee-special em {
  font-weight: 500;
  color: #8b4513;
  font-style: italic;
}
.preview-coffee-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}
.preview-coffee-addr {
  font-size: 10px;
  color: rgba(44,24,16,0.55);
  font-style: italic;
  letter-spacing: 0.01em;
  text-align: right;
  max-width: 50%;
  line-height: 1.3;
}

/* Dental — fancier details */
.preview-slots-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(15,31,46,0.5);
  font-weight: 500;
  margin-bottom: -4px;
}
.preview-slot {
  box-shadow: 0 2px 6px rgba(15,31,46,0.04);
  transition: transform 0.2s;
}
.preview-slot.featured {
  box-shadow: 0 6px 18px rgba(15,31,46,0.25);
}
.preview-dental-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}
.preview-dental-trust {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: rgba(15,31,46,0.65);
  font-weight: 500;
}
.preview-dental-trust .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4a7c8c;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

/* Per-card distinguishing bottom strip */
.preview-strip {
  position: absolute;
  bottom: 18px;
  left: 28px;
  right: 28px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.preview-strip-cedar {
  font-family: 'Cormorant Garamond', 'Instrument Serif', serif;
  font-style: italic;
  font-size: 12px;
  color: rgba(245,241,234,0.55);
  border-top: 1px solid rgba(245,241,234,0.15);
  padding-top: 10px;
}
.preview-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4a8c3f;
  box-shadow: 0 0 0 2px rgba(74,140,63,0.18);
}

/* Per-card tag chip color (so the info row also varies) */
.preview-cedar .preview-tag {
  color: #8fb89a;
}
.preview-coffee .preview-tag {
  color: #c4845b;
}
.preview-dental .preview-tag {
  color: #6fa3b8;
}

.preview-info {
  padding: 24px 28px;
}
.preview-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,245,247,0.4);
  margin-bottom: 8px;
}
.preview-info h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.preview-info p {
  font-size: 13px;
  color: rgba(245,245,247,0.55);
  line-height: 1.5;
}
.preview-link {
  margin-top: 16px;
  font-size: 13px;
  color: #fff;
  display: inline-flex; align-items: center; gap: 6px;
}
.preview-link .arrow { transition: transform 0.3s ease; display: inline-block; }
.preview-card:hover .preview-link .arrow { transform: translateX(4px); }
.preview-card.coming-soon { opacity: 0.55; pointer-events: none; }
.preview-card.coming-soon .preview-link { color: rgba(245,245,247,0.5); }

/* ============ PRICING ============ */
.pricing {
  padding: 200px 40px 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.pricing-header {
  text-align: center;
  margin-bottom: 80px;
}
.pricing-header .eyebrow { display: inline-block; }
.pricing-header .section-title { margin-top: 16px; }
.pricing-header p {
  font-size: 18px;
  color: rgba(245,245,247,0.55);
  max-width: 560px;
  margin: 24px auto 0;
  line-height: 1.6;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tier {
  position: relative;
  display: flex; flex-direction: column;
  padding: 48px 36px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.tier:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}
.tier.popular {
  border-color: rgba(160,140,255,0.4);
  background: linear-gradient(180deg, rgba(160,140,255,0.08) 0%, rgba(160,140,255,0.02) 100%);
  box-shadow: 0 30px 80px rgba(160,140,255,0.08);
}
.tier-badge {
  position: absolute;
  top: -14px; left: 36px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #e6c08e 0%, #8470d4 100%);
  color: #0a0a14;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
}
.tier-name {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,245,247,0.6);
  margin-bottom: 16px;
}
.tier-price {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 12px;
}
.tier-price-num {
  font-family: 'Instrument Serif', serif;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.tier-price-monthly {
  font-size: 14px;
  color: rgba(245,245,247,0.55);
  font-weight: 400;
}
.tier-desc {
  font-size: 14px;
  color: rgba(245,245,247,0.6);
  line-height: 1.6;
  margin-bottom: 32px;
  min-height: 44px;
}
.tier-features {
  list-style: none;
  margin: 0 0 36px 0;
  padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.tier-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: rgba(245,245,247,0.85);
  line-height: 1.5;
}
.tier-features .tier-base {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(230,192,142,0.85);
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tier-features .check {
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(160,140,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: #e6c08e;
  font-size: 10px;
}
.tier.popular .tier-features .check {
  background: rgba(160,140,255,0.3);
}
.tier-cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  transition: all 0.3s ease;
}
.tier-cta:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
}
.tier.popular .tier-cta {
  background: #fff;
  color: #0a0a14;
  border-color: #fff;
}
.tier.popular .tier-cta:hover {
  background: #e6c08e;
  border-color: #e6c08e;
  color: #0a0a14;
}
.pricing-note {
  text-align: center;
  margin-top: 48px;
  font-size: 13px;
  color: rgba(245,245,247,0.4);
}

@media (max-width: 968px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .tier { padding: 36px 28px; }
  .tier-price-num { font-size: 56px; }
}

/* ============ ABOUT ============ */
.about {
  padding: 200px 40px 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.about-right p {
  font-size: 17px;
  color: rgba(245,245,247,0.7);
  line-height: 1.7;
  margin-bottom: 20px;
}
.about-right p em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: rgba(245,245,247,0.85);
  font-size: 18px;
  letter-spacing: -0.01em;
}
@media (max-width: 880px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ FAQ ============ */
.faq {
  padding: 100px 40px 200px;
  max-width: 1100px;
  margin: 0 auto;
}
.faq-header {
  text-align: center;
  margin-bottom: 80px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s ease;
}
.faq-item[open] {
  border-color: rgba(230,192,142,0.3);
  background: rgba(230,192,142,0.04);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  position: relative;
  transition: all 0.3s ease;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: #fff;
  transition: transform 0.3s ease;
}
.faq-icon::before {
  width: 12px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1.5px; height: 12px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-icon {
  border-color: #e6c08e;
  background: #e6c08e;
}
.faq-item[open] .faq-icon::before {
  background: #0a0a14;
  width: 14px;
}
.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}
.faq-body {
  padding: 0 28px 24px;
  font-size: 16px;
  color: rgba(245,245,247,0.65);
  line-height: 1.65;
  max-width: 760px;
}

/* ============ CTA ============ */
.cta {
  margin-top: 200px;
  padding: 200px 40px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(120,80,255,0.12) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}
.cta-headline {
  font-size: clamp(56px, 12vw, 200px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 24px 0 80px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-primary {
  background: #fff;
  color: #000;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
}
.cta-sub {
  font-size: 17px;
  color: rgba(245,245,247,0.55);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* CTA contact form */
.cta-form {
  max-width: 640px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 16px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: rgba(245,245,247,0.4);
}
.cta-form input:focus,
.cta-form textarea:focus {
  border-color: rgba(230,192,142,0.5);
  background: rgba(255,255,255,0.06);
}
.cta-form textarea { resize: vertical; min-height: 100px; }
.cta-form button {
  align-self: stretch;
  cursor: pointer;
  border: none;
  font-family: inherit;
  margin-top: 8px;
}
.cta-form-status {
  text-align: center;
  font-size: 14px;
  color: rgba(230,192,142,0.85);
  margin-top: 8px;
  min-height: 20px;
}
.cta-form-disclaimer {
  text-align: center;
  font-size: 12px;
  color: rgba(245,245,247,0.4);
  margin-top: 12px;
  line-height: 1.5;
}
.cta-form-disclaimer a {
  color: rgba(230,192,142,0.7);
  text-decoration: underline;
  text-decoration-color: rgba(230,192,142,0.3);
  text-underline-offset: 2px;
}
.cta-form-disclaimer a:hover { color: #e6c08e; }

/* Success panel that replaces the form after submission */
.form-success {
  background: linear-gradient(180deg, rgba(230,192,142,0.06) 0%, rgba(230,192,142,0.02) 100%);
  border: 1px solid rgba(230,192,142,0.18);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.form-success-check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(230,192,142,0.15);
  border: 1px solid rgba(230,192,142,0.3);
  color: #e6c08e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.form-success-check svg { width: 26px; height: 26px; }
.form-success-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}
.cta-or {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  margin: 24px auto 24px;
  max-width: 200px;
  font-size: 13px;
  color: rgba(245,245,247,0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.cta-or::before, .cta-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
@media (max-width: 600px) {
  .cta-form-row { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.footer {
  padding: 80px 40px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
  color: rgba(245,245,247,0.5);
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-brand .footer-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(245,245,247,0.5);
  max-width: 240px;
  line-height: 1.5;
}
.footer-links {
  display: flex; flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: rgba(245,245,247,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: #fff; }
.footer-meta {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245,245,247,0.4);
  text-align: right;
}
@media (max-width: 768px) {
  .footer {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }
  .footer-meta { text-align: left; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav { padding: 18px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 60px; }
  .service-card { padding: 40px 32px; min-height: 240px; }
  .service-num { margin-bottom: 40px; }
  .case-card { padding: 48px 32px; min-height: 380px; }
  .process-step { flex: 0 0 78vw; padding: 40px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 80%; max-width: 320px; text-align: center; }
}
