/* ===========================================
   LAWCIAL — "Luminous Authority"
   Dark hero → warm light body → bold colours
   Every section alive with colour and motion
   =========================================== */

/* ================================================
   CUSTOM PROPERTIES — Extended palette
   ================================================ */
:root {
  --accent-green: #22C55E;
  --accent-purple: #9B51E0;
  --accent-orange: #F59E0B;
  --accent-red: #EF4444;
  --accent-teal: #14B8A6;
  --glow-blue: rgba(6, 147, 227, 0.15);
  --glow-green: rgba(34, 197, 94, 0.12);
  --glow-purple: rgba(155, 81, 224, 0.12);
  --glow-orange: rgba(245, 158, 11, 0.12);
  --hero-bg: #0A0E1A;
  --hero-surface: #111827;
}

/* ================================================
   ANIMATED GRADIENT MESH — Floating background orbs
   ================================================ */
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(0.95); }
  66% { transform: translate(25px, -25px) scale(1.05); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}
@keyframes heroFloat {
  0%, 100% { transform: rotateY(-8deg) rotateX(5deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(5deg) translateY(-14px); }
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================
   HERO V2 — Tailwind-free, BEM-prefixed
   Standalone hero with animated word rotation,
   cycling browser mockup, and draggable bubbles.
   ================================================ */

/* ---- Section wrapper ---- */
.hero-v2 {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--black);
}

/* Background orbs */
.hero-v2::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: rgba(0, 163, 255, 0.05);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.hero-v2::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: #f3f4f6;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

/* ---- Layout container (wider than default .container) ---- */
.hv2-layout {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hv2-layout { padding: 3rem 3rem; gap: 2.5rem; }
}

@media (min-width: 1024px) {
  .hv2-layout {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0 3rem;
  }
}

@media (min-width: 1536px) {
  .hv2-layout {
    gap: 0;
    padding: 0 6rem;
  }
}

/* ---- Text column ---- */
.hv2-text {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 50;
  position: relative;
  background: var(--white);
  /* No overflow:hidden — buttons and text must not be clipped */
}

@media (min-width: 1024px) {
  .hv2-text {
    width: 50%;
    padding-right: 2rem;
  }
}

@media (min-width: 1536px) {
  .hv2-text {
    width: 480px;
    padding-right: 3rem;
  }
}

/* ---- Animated headline ---- */
.hv2-headline {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--black);
  line-height: 1.05;
}

.hv2-headline__rotating {
  display: block;
  height: 1.2em;
  overflow: hidden;
  min-width: 5em; /* prevents clipping of longest word "Solicitors" */
}

.hv2-headline__line {
  display: block;
  line-height: 1.05;
}

.hv2-headline__accent {
  color: var(--blue);
  font-style: italic;
  font-weight: 500;
}

/* Animated word (CSS-only typing) */
.hv2-animated-word {
  position: relative;
}

.hv2-animated-word::before {
  content: '';
  animation: hv2WordRotate 16s ease-in-out infinite;
}

@keyframes hv2WordRotate {
  0%,2%{content:'';color:#00A3FF}3%{content:'L';color:#00A3FF}4%{content:'La';color:#00A3FF}5%{content:'Law';color:#00A3FF}6%{content:'Law ';color:#00A3FF}7%{content:'Law F';color:#00A3FF}8%{content:'Law Fi';color:#00A3FF}9%{content:'Law Fir';color:#00A3FF}10%,22%{content:'Law Firm';color:#00A3FF}
  23%,25%{content:'';color:#34A853}26%{content:'S';color:#34A853}27%{content:'So';color:#34A853}28%{content:'Sol';color:#34A853}29%{content:'Soli';color:#34A853}30%{content:'Solic';color:#34A853}31%{content:'Solici';color:#34A853}32%{content:'Solicit';color:#34A853}33%{content:'Solicito';color:#34A853}34%{content:'Solicitor';color:#34A853}35%,47%{content:'Solicitors';color:#34A853}
  48%,50%{content:'';color:#FBBC05}51%{content:'L';color:#FBBC05}52%{content:'La';color:#FBBC05}53%{content:'Law';color:#FBBC05}54%{content:'Lawy';color:#FBBC05}55%{content:'Lawye';color:#FBBC05}56%{content:'Lawyer';color:#FBBC05}57%,72%{content:'Lawyers';color:#FBBC05}
  73%,75%{content:'';color:#EA4335}76%{content:'A';color:#EA4335}77%{content:'At';color:#EA4335}78%{content:'Att';color:#EA4335}79%{content:'Atto';color:#EA4335}80%{content:'Attor';color:#EA4335}81%{content:'Attorn';color:#EA4335}82%{content:'Attorne';color:#EA4335}83%{content:'Attorney';color:#EA4335}84%,97%{content:'Attorneys';color:#EA4335}98%,100%{content:'';color:#00A3FF}
}

/* ---- Subtitle ---- */
.hv2-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: var(--grey-mid);
  line-height: 1.65;
  max-width: 28rem;
}

/* ---- Buttons ---- */
.hv2-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}

@media (min-width: 640px) {
  .hv2-actions {
    flex-direction: row;
    align-items: center;
  }
}

.hv2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s var(--ease-expo);
  width: 100%;
  cursor: pointer;
  border: none;
}

@media (min-width: 640px) {
  .hv2-btn {
    width: auto;
    font-size: 1.125rem;
    padding: 0.875rem 2rem;
  }
}

.hv2-btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(0, 163, 255, 0.2);
}

.hv2-btn--primary:hover {
  background: #0088d4;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 163, 255, 0.3);
}

.hv2-btn--secondary {
  background: var(--white);
  color: var(--black);
  border: 1px solid #E5E7EB;
  box-shadow: var(--shadow-sm);
}

.hv2-btn--secondary:hover {
  background: #F9FAFB;
  transform: translateY(-2px);
}

/* ---- Mockup column ---- */
.hv2-mockup-col {
  flex-grow: 1;
  position: relative;
  height: 350px;
  overflow: hidden;
  background: transparent;
}

@media (min-width: 640px)  { .hv2-mockup-col { height: 400px; } }
@media (min-width: 768px)  { .hv2-mockup-col { height: 500px; } }
@media (min-width: 1024px) { .hv2-mockup-col { height: 100%; min-height: 450px; overflow: visible; } }
@media (min-width: 1536px) { .hv2-mockup-col { height: 750px; overflow: visible; } }

/* ---- Bubble layer: sits IN FRONT of the mockup ---- */
.hv2-bubble-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* ---- Bubbles ---- */
.hv2-bubble {
  position: absolute;
  transition: filter 0.2s;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  display: none;
  pointer-events: auto;
}

@media (min-width: 1536px) {
  .hv2-bubble {
    display: block;
  }
}

.hv2-bubble:hover {
  filter: drop-shadow(0 4px 12px rgba(0, 163, 255, 0.2));
}

.hv2-bubble.is-dragging {
  z-index: 100 !important;
}

.hv2-bubble.was-dragged {
  animation: none !important;
}

/* Bubble float speeds */
.hv2-bubble--float-slow   { animation: hv2Float 6s ease-in-out infinite; }
.hv2-bubble--float-medium { animation: hv2Float 5s ease-in-out infinite 1s; }
.hv2-bubble--float-fast   { animation: hv2Float 4s ease-in-out infinite 2s; }

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

/* Circle bubble (Google, LinkedIn) */
.hv2-bubble__circle {
  width: 5rem;
  height: 5rem;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #F3F4F6;
}

.hv2-bubble__circle--sm {
  width: 4rem;
  height: 4rem;
}

.hv2-bubble__circle svg {
  width: 2.5rem;
  height: 2.5rem;
}

.hv2-bubble__circle--sm svg {
  width: 2rem;
  height: 2rem;
}

/* AI dark circle */
.hv2-bubble__circle--dark {
  width: 5rem;
  height: 5rem;
  background: #111827;
  border: 4px solid var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.hv2-bubble__ai-label {
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.hv2-bubble__ai-label svg {
  width: 1rem;
  height: 1rem;
  margin-left: 2px;
  color: #FACC15;
}

/* Pill bubble */
.hv2-bubble__pill {
  background: var(--white);
  padding: 0.625rem 1rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #F3F4F6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hv2-bubble__pill-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hv2-bubble__pill-icon svg {
  width: 0.875rem;
  height: 0.875rem;
}

.hv2-bubble__pill-icon--green   { background: #DCFCE7; color: #16A34A; }
.hv2-bubble__pill-icon--pink    { background: #FCE7F3; color: #EC4899; }
.hv2-bubble__pill-icon--purple  { background: #F3E8FF; color: #9333EA; }
.hv2-bubble__pill-icon--orange  { background: #FFEDD5; color: #EA580C; }
.hv2-bubble__pill-icon--blue    { background: #DBEAFE; color: #2563EB; }
.hv2-bubble__pill-icon--teal    { background: #CCFBF1; color: #0D9488; }
.hv2-bubble__pill-icon--indigo  { background: #E0E7FF; color: #4F46E5; }
.hv2-bubble__pill-icon--emerald { background: #D1FAE5; color: #059669; }

.hv2-bubble__pill-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1F2937;
  white-space: nowrap;
}

/* Bubble positions — spread around the EDGES, no overlaps */
.hv2-bubble--google     { top: 6%;  right: 10%; }
.hv2-bubble--linkedin   { bottom: 4%; left: 22%; }
.hv2-bubble--ai         { top: 22%; left: 8%; }
.hv2-bubble--leadgen    { top: 2%;  left: 32%; }
.hv2-bubble--instagram  { bottom: 6%; right: 4%; }
.hv2-bubble--aimarket   { top: 2%;  right: 2%; }
.hv2-bubble--seo        { bottom: 4%; left: 38%; }
.hv2-bubble--ppc        { bottom: 16%; right: 2%; }
.hv2-bubble--content    { top: 8%; left: 14%; }
.hv2-bubble--aisite     { top: 38%; right: 1%; }
.hv2-bubble--geo        { bottom: 28%; left: 6%; }
.hv2-bubble--social     { top: 46%; left: 14%; }

/* ---- Mockup perspective container ---- */
.hv2-mockup-perspective {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
  z-index: 2; /* Below bubble-layer (z-index: 3) so bubbles float on top */
}

@media (min-width: 1024px) {
  .hv2-mockup-perspective {
    justify-content: flex-end;
    padding-right: 0;
  }
}

@media (min-width: 1536px) {
  .hv2-mockup-perspective {
    padding-right: 2rem;
  }
}

/* ---- Browser mockup ---- */
.hv2-mockup {
  position: relative;
  width: 92%;
  max-width: 700px;
  aspect-ratio: 16 / 10;
  background: #171717;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  pointer-events: auto;
  box-shadow:
    -30px 40px 60px rgba(0, 0, 0, 0.15),
    -10px 10px 20px rgba(0, 163, 255, 0.05);
  animation: hv2MockupFloat 8s ease-in-out infinite;
}

@media (min-width: 640px)  { .hv2-mockup { width: 88%; } }
@media (min-width: 768px)  { .hv2-mockup { width: 85%; } }
@media (min-width: 1024px) { .hv2-mockup { width: 100%; max-width: 580px; } }

@keyframes hv2MockupFloat {
  0%, 100% { transform: rotateY(-12deg) rotateX(5deg) translateY(0); }
  50%      { transform: rotateY(-10deg) rotateX(4deg) translateY(-10px); }
}

/* Browser chrome bar */
.hv2-mockup__bar {
  height: 1.75rem;
  background: #2d2d2d;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  gap: 0.375rem;
  border-bottom: 1px solid #3d3d3d;
  position: relative;
  z-index: 50;
}

@media (min-width: 640px) { .hv2-mockup__bar { height: 2rem; gap: 0.5rem; padding: 0 1rem; } }

.hv2-mockup__dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
}

@media (min-width: 640px) { .hv2-mockup__dot { width: 0.75rem; height: 0.75rem; } }

.hv2-mockup__dot--red    { background: #FF5F56; }
.hv2-mockup__dot--yellow { background: #FFBD2E; }
.hv2-mockup__dot--green  { background: #27C93F; }

.hv2-mockup__url {
  margin: 0 auto;
  width: 50%;
  height: 1rem;
  background: #1a1a1a;
  border-radius: 0.25rem;
  font-size: 0.5rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) { .hv2-mockup__url { height: 1.25rem; font-size: 0.625rem; } }

.hv2-mockup__url svg {
  width: 0.625rem;
  height: 0.625rem;
  margin-right: 0.25rem;
}

@media (min-width: 640px) { .hv2-mockup__url svg { width: 0.75rem; height: 0.75rem; } }

/* ---- Screen container ---- */
.hv2-mockup__screens {
  position: relative;
  width: 100%;
  height: calc(100% - 1.75rem);
  background: var(--white);
  overflow: hidden;
}

@media (min-width: 640px) { .hv2-mockup__screens { height: calc(100% - 2rem); } }

/* Color flash overlay */
.hv2-mockup__flash {
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  mix-blend-mode: overlay;
  animation: hv2Flash 20s infinite;
}

@keyframes hv2Flash {
  0%,20%{opacity:0}
  22.5%{opacity:1;background:linear-gradient(135deg,#4285F4,#EA4335 33%,#FBBC05 66%,#34A853)}
  25%,45%{opacity:0}
  47.5%{opacity:1;background:linear-gradient(135deg,#34A853,#4285F4 33%,#EA4335 66%,#FBBC05)}
  50%,70%{opacity:0}
  72.5%{opacity:1;background:linear-gradient(135deg,#FBBC05,#34A853 33%,#4285F4 66%,#EA4335)}
  75%,95%{opacity:0}
  97.5%{opacity:1;background:linear-gradient(135deg,#EA4335,#FBBC05 33%,#34A853 66%,#4285F4)}
  100%{opacity:0}
}

/* Screen cycling */
.hv2-screen { position: absolute; inset: 0; }

.hv2-screen--1 { animation: hv2S1 20s infinite; z-index: 30; }
.hv2-screen--2 { animation: hv2S2 20s infinite; z-index: 20; }
.hv2-screen--3 { animation: hv2S3 20s infinite; z-index: 10; }
.hv2-screen--4 { animation: hv2S4 20s infinite; z-index: 0; }

@keyframes hv2S1 { 0%,20%{opacity:1;visibility:visible}23%,97%{opacity:0;visibility:hidden}100%{opacity:1;visibility:visible} }
@keyframes hv2S2 { 0%,22%{opacity:0;visibility:hidden}25%,45%{opacity:1;visibility:visible}48%,100%{opacity:0;visibility:hidden} }
@keyframes hv2S3 { 0%,47%{opacity:0;visibility:hidden}50%,70%{opacity:1;visibility:visible}73%,100%{opacity:0;visibility:hidden} }
@keyframes hv2S4 { 0%,72%{opacity:0;visibility:hidden}75%,95%{opacity:1;visibility:visible}98%,100%{opacity:0;visibility:hidden} }

/* ---- Screen 1: Splash ---- */
.hv2-splash {
  width: 100%; height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hv2-splash__logo {
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.hv2-splash__logo span { color: var(--blue); }

.hv2-splash__line {
  width: 3rem;
  height: 0.25rem;
  background: var(--blue);
  border-radius: 9999px;
  margin: 0.75rem 0 1.5rem;
}

@media (min-width: 640px) { .hv2-splash__line { width: 4rem; margin: 1rem 0 1.5rem; } }

.hv2-splash__text {
  font-size: 0.75rem;
  color: #9CA3AF;
  font-weight: 500;
}

/* ---- Screen 2: Google ---- */
.hv2-google {
  width: 100%; height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 3rem);
}

.hv2-google__logo {
  display: flex;
  align-items: center;
  margin-bottom: clamp(0.625rem, 2vw, 1.25rem);
}

.hv2-google__logo span {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
}

.hv2-google__searchbar {
  width: 100%;
  height: clamp(2rem, 3vw, 3rem);
  border: 1px solid #E5E7EB;
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  margin-bottom: clamp(0.625rem, 2vw, 1.25rem);
  box-shadow: var(--shadow-sm);
}

.hv2-google__searchbar svg {
  width: clamp(0.875rem, 1.2vw, 1.25rem);
  height: clamp(0.875rem, 1.2vw, 1.25rem);
  color: #9CA3AF;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.hv2-google__query {
  font-size: clamp(0.625rem, 0.9vw, 0.875rem);
  color: #1F2937;
}

.hv2-typing-cursor::after {
  content: '|';
  animation: hv2Blink 1s step-start infinite;
  color: var(--blue);
}

@keyframes hv2Blink { 50% { opacity: 0; } }

.hv2-google__results {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}

.hv2-google__result {}

.hv2-google__result-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.5rem, 0.7vw, 0.75rem);
  margin-bottom: 0.25rem;
}

.hv2-google__result-dot {
  width: clamp(1rem, 1.5vw, 1.5rem);
  height: clamp(1rem, 1.5vw, 1.5rem);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hv2-google__result-dot svg {
  width: 60%;
  height: 60%;
}

.hv2-google__result-title {
  font-size: clamp(0.75rem, 1.2vw, 1.25rem);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.hv2-google__result-desc {
  font-size: clamp(0.5rem, 0.7vw, 0.875rem);
  color: #6B7280;
  line-height: 1.5;
}

.hv2-google__result--faded { opacity: 0.6; }

/* ---- Screen 3: AI Search ---- */
.hv2-ai {
  width: 100%; height: 100%;
  background: #F8F9FA;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 3vw, 2rem);
}

.hv2-ai__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.875rem, 1.2vw, 1.25rem);
  font-weight: 600;
  color: #1F2937;
  margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
}

.hv2-ai__header svg {
  width: clamp(1rem, 1.5vw, 1.5rem);
  height: clamp(1rem, 1.5vw, 1.5rem);
  color: var(--blue);
}

.hv2-ai__query {
  font-size: clamp(1rem, 2vw, 1.875rem);
  font-weight: 700;
  color: #1F2937;
  margin-bottom: clamp(1rem, 3vw, 2rem);
  max-width: 90%;
  line-height: 1.3;
}

.hv2-ai__card {
  background: var(--white);
  border-radius: 0.75rem;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  border: 1px solid #F3F4F6;
  box-shadow: var(--shadow-sm);
}

.hv2-ai__loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.hv2-ai__spinner {
  width: clamp(0.875rem, 1.2vw, 1.25rem);
  height: clamp(0.875rem, 1.2vw, 1.25rem);
  border: 2px solid var(--blue);
  border-top-color: transparent;
  border-radius: 50%;
  animation: hv2Spin 1s linear infinite;
}

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

.hv2-ai__loading-text {
  font-size: clamp(0.5rem, 0.8vw, 0.875rem);
  font-weight: 500;
  color: var(--blue);
}

.hv2-ai__lines {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hv2-ai__line {
  height: clamp(0.5rem, 0.8vw, 0.75rem);
  background: #F3F4F6;
  border-radius: 0.25rem;
}

.hv2-ai__line--full  { width: 100%; }
.hv2-ai__line--5of6  { width: 83%; }
.hv2-ai__line--4of6  { width: 66%; }

/* ---- Screen 4: ChatGPT ---- */
.hv2-chat {
  width: 100%; height: 100%;
  background: #212121;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.hv2-chat__header {
  height: clamp(2rem, 3vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  flex-shrink: 0;
}

.hv2-chat__header-label {
  font-size: clamp(0.625rem, 0.9vw, 0.875rem);
  font-weight: 600;
  color: #D1D5DB;
  display: flex;
  align-items: center;
}

.hv2-chat__header-label svg {
  width: clamp(0.875rem, 1vw, 1rem);
  height: clamp(0.875rem, 1vw, 1rem);
  margin-left: 0.25rem;
  color: #9CA3AF;
}

.hv2-chat__body {
  flex: 1;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  overflow: hidden;
}

.hv2-chat__msg {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.5rem, 1vw, 1rem);
}

.hv2-chat__avatar {
  width: clamp(1.5rem, 2vw, 2rem);
  height: clamp(1.5rem, 2vw, 2rem);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.5rem, 0.7vw, 0.75rem);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--white);
}

.hv2-chat__avatar--user { background: #3B82F6; }
.hv2-chat__avatar--gpt  { background: #10A37F; }

.hv2-chat__avatar--gpt svg {
  width: clamp(0.75rem, 1vw, 1rem);
  height: clamp(0.75rem, 1vw, 1rem);
}

.hv2-chat__sender {
  font-size: clamp(0.5rem, 0.7vw, 0.75rem);
  font-weight: 600;
  color: #9CA3AF;
  margin-bottom: 0.125rem;
}

.hv2-chat__text {
  font-size: clamp(0.5rem, 0.8vw, 0.875rem);
  line-height: 1.65;
  color: #E5E7EB;
}

.hv2-chat__highlight {
  color: #4ADE80;
  font-weight: 700;
  background: rgba(74, 222, 128, 0.1);
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
}

.hv2-chat__footer {
  padding: 0.5rem 0.75rem 0.5rem;
  background: #212121;
  flex-shrink: 0;
}

@media (min-width: 640px) { .hv2-chat__footer { padding: 0.75rem 1rem; } }

.hv2-chat__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.hv2-chat__input {
  width: 100%;
  background: #2F2F2F;
  color: var(--white);
  font-size: clamp(0.5rem, 0.8vw, 0.875rem);
  border-radius: 0.75rem;
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: none;
}

@media (min-width: 640px)  { .hv2-chat__input { padding: 0.625rem 3rem 0.625rem 1rem; } }
@media (min-width: 1024px) { .hv2-chat__input { padding: 0.75rem 3rem 0.75rem 1rem; } }

.hv2-chat__send {
  position: absolute;
  right: 0.375rem;
  padding: 0.25rem;
  background: #555;
  border-radius: 0.5rem;
  color: var(--white);
  opacity: 0.5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: default;
}

@media (min-width: 640px) { .hv2-chat__send { right: 0.5rem; padding: 0.375rem; } }

.hv2-chat__send svg {
  width: 0.75rem;
  height: 0.75rem;
}

@media (min-width: 640px)  { .hv2-chat__send svg { width: 0.875rem; height: 0.875rem; } }
@media (min-width: 1024px) { .hv2-chat__send svg { width: 1rem; height: 1rem; } }

.hv2-chat__disclaimer {
  text-align: center;
  font-size: clamp(0.375rem, 0.5vw, 0.625rem);
  color: #6B7280;
  margin-top: 0.375rem;
}

@media (min-width: 640px) { .hv2-chat__disclaimer { margin-top: 0.5rem; } }

/* ---- Nav on white hero ---- */
.nav {
  background-color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(24, 22, 22, 0.06);
  backdrop-filter: blur(16px);
}

.nav--scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(24, 22, 22, 0.06);
}

.nav__logo { color: var(--black); }
.nav__link { color: var(--grey-mid); }
.nav__link:hover { color: var(--black); }
.nav--scrolled .nav__logo { color: var(--black); }
.nav--scrolled .nav__link { color: var(--grey-mid); }
.nav--scrolled .nav__link:hover { color: var(--black); }

/* ================================================
   HERO V2 — Responsive: below 1536px
   Hide bubbles, disable 3D mockup tilt, stack layout
   ================================================ */
@media (max-width: 1535px) {
  .hv2-mockup { animation: none !important; transform: none !important; }
}

@media (max-width: 767px) {
  .hero-v2 { min-height: auto; padding-top: calc(72px + 2rem); padding-bottom: 2rem; }
  .hv2-headline { font-size: clamp(2.5rem, 10vw, 3.5rem); }
}

/* ================================================
   AUDIT BANNER — Deep with animated gradient line
   ================================================ */
.audit-banner {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(135deg, var(--hero-bg) 0%, #0F1A2E 100%);
  position: relative;
  overflow: hidden;
}

.audit-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
}

.audit-banner::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 30%;
  width: 30vw;
  height: 30vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 147, 227, 0.06) 0%, transparent 50%);
  animation: orbFloat3 15s ease-in-out infinite;
  pointer-events: none;
}

.audit-banner__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}


.audit-banner__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-xs);
}

.audit-banner__desc {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--fs-body);
  max-width: 460px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.audit-banner .btn--primary {
  background: linear-gradient(135deg, #0693E3 0%, #04BEFE 100%);
  box-shadow: 0 4px 20px rgba(6, 147, 227, 0.3);
}

/* ================================================
   FEATURED SERVICE V2 — Animated browser showcase
   ================================================ */
#websites {
  padding-top: clamp(7rem, 14vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 4rem);
}

/* Card container */
.fs2-card {
  background: linear-gradient(135deg, #EAF4FD 0%, #F2F8FE 50%, #DDEFFE 100%);
  border-radius: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 50, 100, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Animated SVG background lines */
.fs2-bglines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.15;
  z-index: 0;
}

.fs2-bglines__path { animation: fs2Dash 20s linear infinite; }
.fs2-bglines__path--2 { animation-direction: reverse; animation-duration: 25s; }
.fs2-bglines__path--3 { animation-duration: 30s; }

@keyframes fs2Dash { to { stroke-dashoffset: -200; } }

/* Grid layout */
.fs2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

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

/* Text column */
.fs2-text {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  order: 2;
}

@media (min-width: 1024px) { .fs2-text { order: 1; } }

.fs2-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.fs2-title__accent {
  color: var(--blue);
  font-style: italic;
  font-weight: 600;
}

.fs2-desc {
  font-size: clamp(0.9375rem, 1.1vw, 1.125rem);
  color: #6B7280;
  line-height: 1.7;
  max-width: 32rem;
}

/* Benefits grid */
.fs2-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 1.5rem;
  padding: 0.5rem 0 1rem;
}

@media (min-width: 640px) { .fs2-benefits { grid-template-columns: 1fr 1fr; } }

.fs2-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: default;
}

.fs2-benefit__icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(219, 234, 254, 0.8);
  border: 1px solid #BFDBFE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  transition: all 0.3s ease;
  margin-top: 1px;
}

.fs2-benefit:hover .fs2-benefit__icon {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  transform: scale(1.1);
}

.fs2-benefit span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1F2937;
  line-height: 1.4;
}

/* CTA button */
.fs2-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(0, 163, 255, 0.6);
  transition: all 0.3s var(--ease-expo);
  width: fit-content;
  position: relative;
  overflow: hidden;
}

.fs2-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -8px rgba(0, 163, 255, 0.7);
  background: linear-gradient(135deg, #2176ff, #00d4ff);
}

.fs2-cta svg { transition: transform 0.3s ease; }
.fs2-cta:hover svg { transform: translateX(4px); }

@media (max-width: 639px) {
  .fs2-cta { width: 100%; justify-content: center; }
}

/* Mockup column */
.fs2-mockup-col {
  position: relative;
  order: 1;
}

@media (min-width: 1024px) { .fs2-mockup-col { order: 2; } }

/* Floating icons */
.fs2-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid white;
  z-index: 30;
}

.fs2-float--code {
  top: -0.75rem;
  left: -0.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: fs2Float 6s ease-in-out infinite;
}

.fs2-float--ai {
  bottom: -0.5rem;
  right: -0.25rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(16, 163, 127, 0.15);
  animation: fs2Float 4s ease-in-out infinite 2s;
}

@media (min-width: 640px) {
  .fs2-float--code { top: -1.5rem; left: -1.5rem; width: 3.5rem; height: 3.5rem; border-radius: 1rem; }
  .fs2-float--ai { bottom: -1.5rem; right: -1.5rem; width: 4.5rem; height: 4.5rem; }
}

@media (min-width: 1024px) {
  .fs2-float--code { top: -2rem; left: -2rem; width: 4rem; height: 4rem; }
  .fs2-float--ai { bottom: -2rem; right: -2rem; width: 5rem; height: 5rem; }
}

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

/* Browser mockup */
.fs2-browser {
  width: 100%;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 50px -12px rgba(0, 50, 100, 0.15);
  border: 1px solid rgba(243, 244, 246, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 20;
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
  transition: all 0.7s var(--ease-expo);
}

.fs2-browser:hover {
  transform: perspective(1000px) rotateX(0) rotateY(0);
  box-shadow: 0 30px 60px -15px rgba(0, 50, 100, 0.2);
}

@media (min-width: 640px) {
  .fs2-browser { min-height: 320px; aspect-ratio: 16 / 10; border-radius: 1.5rem; }
}

/* Browser bar */
.fs2-browser__bar {
  height: 2rem;
  background: #F8FAFC;
  border-bottom: 1px solid #F3F4F6;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  gap: 0.375rem;
  flex-shrink: 0;
  position: relative;
  z-index: 50;
}

@media (min-width: 640px) { .fs2-browser__bar { height: 2.5rem; padding: 0 1rem; gap: 0.5rem; } }

.fs2-browser__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; }
@media (min-width: 640px) { .fs2-browser__dot { width: 0.75rem; height: 0.75rem; } }
.fs2-browser__dot--red { background: #FF5F56; }
.fs2-browser__dot--yellow { background: #FFBD2E; }
.fs2-browser__dot--green { background: #27C93F; }

.fs2-browser__url {
  flex: 1;
  margin-left: 0.5rem;
  margin-right: 1.5rem;
  height: 1.25rem;
  background: white;
  border-radius: 0.25rem;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  font-size: 0.5625rem;
  color: #9CA3AF;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

@media (min-width: 640px) { .fs2-browser__url { height: 1.5rem; font-size: 0.6875rem; } }
.fs2-browser__url svg { opacity: 0.6; }

/* Screen container */
.fs2-browser__screens {
  flex: 1;
  position: relative;
  background: #F9FAFB;
  overflow: hidden;
}

/* Screen cycling */
.fs2-bscreen { position: absolute; inset: 0; }
.fs2-bscreen--1 { animation: fs2State1 16s infinite cubic-bezier(0.4, 0, 0.2, 1); }
.fs2-bscreen--2 { animation: fs2State2 16s infinite cubic-bezier(0.4, 0, 0.2, 1); }
.fs2-bscreen--3 { animation: fs2State3 16s infinite cubic-bezier(0.4, 0, 0.2, 1); }
.fs2-bscreen--4 { animation: fs2State4 16s infinite cubic-bezier(0.4, 0, 0.2, 1); }

@keyframes fs2State1 {
  0%,22%{opacity:1;z-index:10;transform:translateY(0) scale(1)}
  25%,97%{opacity:0;z-index:0;transform:translateY(-10px) scale(0.98)}
  100%{opacity:1;z-index:10;transform:translateY(0) scale(1)}
}
@keyframes fs2State2 {
  0%,22%{opacity:0;z-index:0;transform:translateY(10px) scale(0.98)}
  25%,47%{opacity:1;z-index:10;transform:translateY(0) scale(1)}
  50%,100%{opacity:0;z-index:0;transform:translateY(-10px) scale(0.98)}
}
@keyframes fs2State3 {
  0%,47%{opacity:0;z-index:0;transform:translateY(10px) scale(0.98)}
  50%,72%{opacity:1;z-index:10;transform:translateY(0) scale(1)}
  75%,100%{opacity:0;z-index:0;transform:translateY(-10px) scale(0.98)}
}
@keyframes fs2State4 {
  0%,72%{opacity:0;z-index:0;transform:translateY(10px) scale(0.98)}
  75%,97%{opacity:1;z-index:10;transform:translateY(0) scale(1)}
  100%{opacity:0;z-index:0;transform:translateY(10px) scale(0.98)}
}

/* ---- Screen 1: Code terminal ---- */
.fs2-code {
  width: 100%; height: 100%;
  background: #0d1117;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: clamp(0.5rem, 0.85vw, 0.6875rem);
  color: #d1d5db;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

.fs2-code__terminal {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.fs2-code__prompt { color: #34D399; }
.fs2-code__path { color: #60A5FA; }
.fs2-code__git { color: #6B7280; }
.fs2-code__cmd { color: #d1d5db; animation: fs2Blink 2s ease-in-out infinite; }
.fs2-code__line { margin-left: 0.75rem; margin-bottom: 0.125rem; }
.fs2-code__line--dim { color: #6B7280; }
.fs2-code__block { margin-top: 0.5rem; }
.fs2-code__indent { margin-left: 1.25rem; margin-top: 0.125rem; }
.fs2-code__kw { color: #F472B6; }
.fs2-code__fn { color: #93C5FD; }
.fs2-code__prop { color: #FDE68A; }
.fs2-code__val { color: #C084FC; }
.fs2-code__num { color: #34D399; }
.fs2-code__str { color: #34D399; }
.fs2-code__success { color: #34D399; margin-top: 0.75rem; }
.fs2-code__cursor { margin-top: auto; color: #34D399; animation: fs2Blink 1s step-start infinite; font-size: 0.875rem; }

@keyframes fs2Blink { 50% { opacity: 0; } }

/* ---- Screen 2: Google search ---- */
.fs2-google {
  width: 100%; height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
}

.fs2-google__logo {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
  transform: scale(1.25);
}

.fs2-google__searchbar {
  width: 80%;
  max-width: 300px;
  height: clamp(2rem, 3vw, 2.75rem);
  border: 1px solid #E5E7EB;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
  background: white;
  overflow: hidden;
}

.fs2-google__searchbar svg { flex-shrink: 0; margin-right: 0.5rem; }

.fs2-google__query {
  font-size: clamp(0.5625rem, 0.85vw, 0.8125rem);
  color: #1F2937;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid transparent;
  display: inline-block;
  animation: fs2Typing 4s steps(22, end) infinite;
}

@keyframes fs2Typing {
  0%,15%{width:0;border-color:transparent}
  15.1%{border-color:var(--blue)}
  45%,85%{width:100%;border-color:transparent}
  100%{width:0;border-color:transparent}
}

.fs2-google__result {
  width: 80%;
  max-width: 320px;
  background: white;
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.fs2-google__result-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.fs2-google__result-icon {
  width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #E5E7EB;
  position: relative;
}
.fs2-google__result-icon::after {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 0.75rem; height: 0.75rem; border-radius: 50%; background: #9CA3AF;
}
.fs2-google__result-lines { display: flex; flex-direction: column; gap: 0.25rem; }
.fs2-google__result-line1 { width: 6rem; height: 0.5rem; background: #E5E7EB; border-radius: 0.25rem; }
.fs2-google__result-line2 { width: 4rem; height: 0.375rem; background: #F3F4F6; border-radius: 0.25rem; }
.fs2-google__result-title { width: 85%; height: clamp(0.875rem, 1.5vw, 1.25rem); background: #1a0dab; border-radius: 0.25rem; margin-bottom: 0.5rem; }
.fs2-google__result-desc1 { width: 100%; height: 0.5rem; background: #6B7280; border-radius: 0.25rem; margin-bottom: 0.25rem; opacity: 0.5; }
.fs2-google__result-desc2 { width: 92%; height: 0.5rem; background: #6B7280; border-radius: 0.25rem; opacity: 0.5; }

/* ---- Screen 3: Globe ---- */
.fs2-globe {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0F2027 0%, #203A43 50%, #2C5364 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.fs2-globe__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 163, 255, 0.3) 0%, transparent 70%);
  opacity: 0.5;
}

.fs2-globe__wireframe {
  position: relative;
  width: clamp(8rem, 16vw, 12rem);
  height: clamp(8rem, 16vw, 12rem);
  animation: fs2Spin 12s linear infinite;
  color: rgba(103, 232, 249, 0.7);
}

.fs2-globe__wireframe svg { width: 100%; height: 100%; }

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

.fs2-globe__dot { position: absolute; border-radius: 50%; }
.fs2-globe__dot--1 { top: 20%; left: 20%; width: 0.5rem; height: 0.5rem; background: white; box-shadow: 0 0 15px white; animation: fs2Ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite; }
.fs2-globe__dot--2 { bottom: 25%; right: 20%; width: 0.625rem; height: 0.625rem; background: var(--blue); box-shadow: 0 0 20px var(--blue); animation: fs2Blink 2s ease-in-out infinite; }
.fs2-globe__dot--3 { top: 50%; left: 5%; width: 0.375rem; height: 0.375rem; background: #F472B6; box-shadow: 0 0 10px #F472B6; animation: fs2Blink 2s ease-in-out infinite 1s; }
.fs2-globe__dot--4 { top: 30%; right: 10%; width: 0.5rem; height: 0.5rem; background: #FACC15; box-shadow: 0 0 15px #FACC15; animation: fs2Blink 2s ease-in-out infinite 0.5s; }

@keyframes fs2Ping {
  0% { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(2); opacity: 0; }
}

.fs2-globe__label {
  position: absolute;
  bottom: clamp(0.75rem, 2vw, 2rem);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.375rem 0.75rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.fs2-globe__label-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #34D399; animation: fs2Blink 2s ease-in-out infinite; }
.fs2-globe__label span { color: #ECFEFF; font-size: clamp(0.5rem, 0.75vw, 0.6875rem); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---- Screen 4: AI Chat ---- */
.fs2-chat {
  width: 100%; height: 100%;
  background: #212121;
  display: flex;
  flex-direction: column;
  color: white;
}

.fs2-chat__header {
  height: clamp(2rem, 3vw, 2.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  gap: 0.5rem;
  background: #2f2f2f;
  flex-shrink: 0;
}

.fs2-chat__header-icon {
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #2563EB);
  display: flex; align-items: center; justify-content: center;
}

.fs2-chat__header span { font-size: clamp(0.625rem, 0.85vw, 0.8125rem); font-weight: 600; color: #E5E7EB; }

.fs2-chat__body {
  flex: 1;
  padding: clamp(0.625rem, 1.5vw, 1.25rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.625rem, 1.5vw, 1rem);
  overflow: hidden;
}

.fs2-chat__msg { display: flex; align-items: flex-start; gap: clamp(0.375rem, 0.75vw, 0.625rem); }

.fs2-chat__avatar {
  width: clamp(1.25rem, 1.75vw, 1.625rem); height: clamp(1.25rem, 1.75vw, 1.625rem);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: clamp(0.4375rem, 0.6vw, 0.5625rem); font-weight: 700;
}

.fs2-chat__avatar--user { background: #4B5563; color: white; }
.fs2-chat__avatar--ai { background: #10A37F; }

.fs2-chat__bubble--user {
  background: #374151; color: #F3F4F6;
  font-size: clamp(0.5rem, 0.75vw, 0.6875rem);
  padding: clamp(0.375rem, 0.75vw, 0.625rem);
  border-radius: 0.625rem; border-top-left-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 85%; line-height: 1.5;
}

.fs2-chat__response {
  font-size: clamp(0.5rem, 0.75vw, 0.6875rem);
  color: #D1D5DB; line-height: 1.6; max-width: 95%;
}

.fs2-chat__highlight {
  color: white; background: rgba(255, 255, 255, 0.1);
  padding: 0.0625rem 0.25rem; border-radius: 0.25rem; font-weight: 700;
}

.fs2-chat__actions { display: flex; gap: 0.375rem; margin-top: 0.5rem; }

.fs2-chat__btn {
  padding: 0.1875rem 0.5rem; border-radius: 0.25rem;
  font-size: clamp(0.4375rem, 0.6vw, 0.5625rem); font-weight: 500;
  border: none; cursor: pointer; transition: background 0.2s;
}

.fs2-chat__btn--primary { background: var(--blue); color: white; }
.fs2-chat__btn--primary:hover { background: #0088d4; }
.fs2-chat__btn--secondary { background: #374151; color: #E5E7EB; border: 1px solid #4B5563; }
.fs2-chat__btn--secondary:hover { background: #4B5563; }

/* Progress dots */
.fs2-dots { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }

.fs2-dot { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: #CBD5E1; }

.fs2-dot--1 { animation: fs2Dot1 16s infinite; }
.fs2-dot--2 { animation: fs2Dot2 16s infinite; }
.fs2-dot--3 { animation: fs2Dot3 16s infinite; }
.fs2-dot--4 { animation: fs2Dot4 16s infinite; }

@keyframes fs2Dot1 { 0%,22%{background:var(--blue);transform:scale(1.3)}25%,100%{background:#CBD5E1;transform:scale(1)} }
@keyframes fs2Dot2 { 0%,22%{background:#CBD5E1;transform:scale(1)}25%,47%{background:var(--blue);transform:scale(1.3)}50%,100%{background:#CBD5E1;transform:scale(1)} }
@keyframes fs2Dot3 { 0%,47%{background:#CBD5E1;transform:scale(1)}50%,72%{background:var(--blue);transform:scale(1.3)}75%,100%{background:#CBD5E1;transform:scale(1)} }
@keyframes fs2Dot4 { 0%,72%{background:#CBD5E1;transform:scale(1)}75%,97%{background:var(--blue);transform:scale(1.3)}100%{background:#CBD5E1;transform:scale(1)} }

/* Mobile responsive */
@media (max-width: 767px) {
  .fs2-browser { transform: none; }
  .fs2-browser:hover { transform: none; }
}

/* ================================================
   SERVICES — Colourful cards with glow hover
   ================================================ */
.section {
  padding: clamp(7rem, 14vw, 11rem) 0;
}

.services-section__header {
  text-align: center;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.services-section__header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em;
}

.services-section__header p {
  font-size: 1rem;
  color: var(--grey-mid);
  margin: var(--space-xs) auto 0;
}

.label {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  display: block;
}

.grid--3 {
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

a.service-card { text-decoration: none; }
.service-card a { text-decoration: none; }

.service-card {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border-radius: 20px;
  border: 1px solid rgba(24, 22, 22, 0.04);
  background: var(--white);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-expo),
              box-shadow 0.5s var(--ease-expo),
              border-color 0.5s var(--ease-expo),
              background 0.4s var(--ease-expo),
              color 0.4s var(--ease-expo);
}

/* Coloured top accent line */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-expo);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Coloured glow on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--card-glow, var(--glow-blue));
  opacity: 0;
  transition: opacity 0.5s var(--ease-expo);
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(24, 22, 22, 0.08);
  background: var(--card-pastel, #EAF4FD);
  border-color: var(--card-accent, var(--blue));
}

.service-card:hover .service-card__title { color: var(--card-accent, var(--blue)); }
.service-card:hover .service-card__desc { color: var(--grey-mid); }
.service-card:hover .service-card__icon { background: var(--card-accent, var(--blue)); color: var(--white); }

/* Per-card colour accents + pastel hover backgrounds */
.service-card:nth-child(1) { --card-accent: var(--blue); --card-glow: var(--glow-blue); --card-pastel: #E8F4FD; }
.service-card:nth-child(2) { --card-accent: var(--accent-green); --card-glow: var(--glow-green); --card-pastel: #ECFDF5; }
.service-card:nth-child(3) { --card-accent: var(--accent-orange); --card-glow: var(--glow-orange); --card-pastel: #FFF7ED; }
.service-card:nth-child(4) { --card-accent: var(--accent-purple); --card-glow: var(--glow-purple); --card-pastel: #F3E8FF; }
.service-card:nth-child(5) { --card-accent: var(--accent-teal); --card-glow: rgba(20, 184, 166, 0.1); --card-pastel: #F0FDFA; }
.service-card:nth-child(6) { --card-accent: var(--accent-red); --card-glow: rgba(239, 68, 68, 0.08); --card-pastel: #FEF2F2; }

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: var(--space-md);
  transition: background 0.4s var(--ease-expo), color 0.4s var(--ease-expo);
}

.service-card__title {
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.375rem;
  transition: color 0.4s var(--ease-expo);
}

.service-card__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--grey-mid);
  margin-bottom: var(--space-md);
  flex: 1;
  transition: color 0.4s var(--ease-expo);
}

.service-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  transition: color 0.4s var(--ease-expo);
  color: var(--card-accent, var(--blue));
  display: inline-block;
  margin-top: auto;
}

.service-card:hover .service-card__link { color: var(--card-accent, var(--blue)); }

/* ---- Service card dropdown (inline) ---- */
.service-card__dropdown {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.service-card__dropdown summary {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--card-accent, var(--blue));
  cursor: pointer;
  padding: 0.5rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  user-select: none;
  transition: color 0.3s;
}

.service-card__dropdown summary::-webkit-details-marker { display: none; }
.service-card__dropdown summary::marker { display: none; content: ''; }

.service-card__dropdown summary::before {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--card-accent, var(--blue));
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-expo), background 0.3s;
}

.service-card__dropdown[open] summary::before {
  content: '\2212';
  transform: rotate(180deg);
}

.service-card__dropdown-body {
  padding: 0.75rem 0 0.25rem;
  animation: scDropOpen 0.3s var(--ease-expo);
}

@keyframes scDropOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-card__dropdown-body p {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--grey-mid);
  margin-bottom: 0.625rem;
}

.service-card__price {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--card-accent, var(--blue));
  background: rgba(0, 0, 0, 0.04);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

/* ================================================
   WHY US — Kümmerlein circles on warm bg
   ================================================ */
.why-us {
  background: linear-gradient(180deg, #F8F6F3 0%, #F2EFE9 100%);
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}

.why-us__text .label { color: var(--blue); }

.why-us__text h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em;
}

.why-us__circle {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* Active state — must beat [data-index] specificity for z-index */
.why-us__circle.why-us__circle--active {
  color: var(--white);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
  z-index: 50;
}

.why-us__circle--inactive {
  background: rgba(24, 22, 22, 0.04);
  color: var(--grey-mid);
}

/* Each circle gets its own card colour when active */
.why-us__circle[data-index="0"].why-us__circle--active {
  background: #094F52; /* teal */
  box-shadow: 0 20px 40px rgba(9, 79, 82, 0.35);
}
.why-us__circle[data-index="1"].why-us__circle--active {
  background: #C5AFFF; /* lavender */
  color: #1a1a2e;
  box-shadow: 0 20px 40px rgba(197, 175, 255, 0.35);
}
.why-us__circle[data-index="2"].why-us__circle--active {
  background: #FF9F43; /* amber */
  color: #2D3436;
  box-shadow: 0 20px 40px rgba(255, 159, 67, 0.35);
}
.why-us__circle[data-index="3"].why-us__circle--active {
  background: #0984E3; /* blue */
  box-shadow: 0 20px 40px rgba(9, 132, 227, 0.35);
}

/* ================================================
   PROCESS — 4-column cards with data widgets
   ================================================ */
.process-section__header {
  text-align: center;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.process-section__header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em;
}

.process-section__gradient {
  background: linear-gradient(90deg, #0984E3, #C5AFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

@media (max-width: 1023px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .process-grid { grid-template-columns: 1fr; } }

/* ---- Card base ---- */
.process-card {
  background: var(--white);
  border-radius: 2rem;
  border: 1px solid #E2E8F0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-expo);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.process-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

/* Giant background number */
.process-card__bg-num {
  position: absolute;
  right: -0.25rem;
  top: -1.5rem;
  font-size: clamp(7rem, 10vw, 8.75rem);
  font-weight: 900;
  color: #F8FAFC;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color 0.3s;
}

.process-card--blue:hover .process-card__bg-num { color: #E8F4FD; }
.process-card--lavender:hover .process-card__bg-num { color: #F5F0FF; }
.process-card--amber:hover .process-card__bg-num { color: #FFF4E6; }
.process-card--teal:hover .process-card__bg-num { color: #E8F5F5; }

/* Inner content (above bg number) */
.process-card__inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Icon box */
.process-card__icon-box {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s var(--ease-expo);
}

.process-card:hover .process-card__icon-box {
  transform: scale(1.1) rotate(5deg);
}

.process-card__icon-box--blue { background: rgba(9, 132, 227, 0.08); border: 1px solid rgba(9, 132, 227, 0.15); color: #0984E3; }
.process-card__icon-box--lavender { background: rgba(197, 175, 255, 0.1); border: 1px solid rgba(197, 175, 255, 0.2); color: #C5AFFF; }
.process-card__icon-box--amber { background: rgba(255, 159, 67, 0.08); border: 1px solid rgba(255, 159, 67, 0.15); color: #FF9F43; }
.process-card__icon-box--teal { background: rgba(9, 79, 82, 0.08); border: 1px solid rgba(9, 79, 82, 0.15); color: #094F52; }

/* Title */
.process-card__title {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.process-card--blue:hover .process-card__title { color: #0984E3; }
.process-card--lavender:hover .process-card__title { color: #9B7AE0; }
.process-card--amber:hover .process-card__title { color: #FF9F43; }
.process-card--teal:hover .process-card__title { color: #094F52; }

/* Description */
.process-card__desc {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--grey-mid);
  margin-bottom: 2rem;
}

/* ---- Widget area (bottom of card) ---- */
.process-card__widget {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid #F1F5F9;
}

.process-card__widget-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-mid);
}

.process-card__widget-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
}

.process-card__widget-dot--blue { background: #0984E3; }
.process-card__widget-dot--lavender { background: #C5AFFF; }
.process-card__widget-dot--amber { background: #FF9F43; }
.process-card__widget-dot--teal { background: #094F52; }

/* Widget: value + progress bar (card 1) */
.process-card__widget-value {
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  text-align: right;
}

.process-card__widget-value--blue { color: #0984E3; }

.process-card__bar {
  height: 0.5rem;
  background: #F1F5F9;
  border-radius: 50px;
  overflow: hidden;
}

.process-card__bar-fill {
  height: 100%;
  border-radius: 50px;
  width: 100%;
}

.process-card__bar-fill--blue { background: #0984E3; }

/* Widget: mini bar chart (card 2) */
.process-card__chart {
  display: flex;
  align-items: flex-end;
  gap: 0.375rem;
  height: 2rem;
}

.process-card__chart-bar {
  flex: 1;
  background: rgba(197, 175, 255, 0.3);
  border-radius: 0.125rem 0.125rem 0 0;
  transition: background 0.3s;
}

.process-card--lavender:hover .process-card__chart-bar { background: rgba(197, 175, 255, 0.5); }

.process-card__chart-bar--active {
  background: #C5AFFF;
  box-shadow: 0 0 10px rgba(197, 175, 255, 0.4);
}

/* Widget: step progress (card 3) */
.process-card__steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.process-card__step {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-card__step--done { background: #FF9F43; box-shadow: 0 2px 8px rgba(255, 159, 67, 0.3); }
.process-card__step--current { border: 2px solid rgba(255, 159, 67, 0.4); background: white; }
.process-card__step--current::after { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: rgba(255, 159, 67, 0.4); }
.process-card__step--pending { border: 2px solid #E2E8F0; background: white; }

.process-card__step-line {
  flex: 1;
  height: 2px;
  background: #F1F5F9;
  margin: 0 -2px;
}

.process-card__step-line--active {
  background: linear-gradient(90deg, #FF9F43, rgba(255, 159, 67, 0.3));
}

/* Widget: sparkline chart (card 4) */
.process-card__spark {
  height: 2rem;
  margin-top: 0.375rem;
  color: #094F52;
}

.process-card__spark svg { width: 100%; height: 100%; overflow: visible; }

.process-card__badge {
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.125rem 0.5rem;
  border-radius: 50px;
}

.process-card__badge--teal { background: #E8F5F5; color: #094F52; }

/* ================================================
   CARD PILE — Interactive services showcase
   ================================================ */
.cardpile-section {
  --cp-card-w: 24vw;
  --cp-card-h: 32vw;
  --cp-card-radius: 1.2vw;
  --cp-cutout-r: 0.8vw;
  background: #000000;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.cardpile-viewport {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cardpile-pile {
  position: relative;
  width: 0;
  height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cardpile-wrapper {
  position: absolute;
  width: var(--cp-card-w);
  height: var(--cp-card-h);
  transform-origin: center center;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6)) drop-shadow(0 4px 10px rgba(0,0,0,0.4));
  cursor: pointer;
  will-change: transform;
}

.cardpile-card {
  width: 100%;
  height: 100%;
  border-radius: var(--cp-card-radius);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2vw;
  -webkit-mask-image:
    radial-gradient(circle at 0% 50%, transparent var(--cp-cutout-r), black calc(var(--cp-cutout-r) + 0.5px)),
    radial-gradient(circle at 100% 50%, transparent var(--cp-cutout-r), black calc(var(--cp-cutout-r) + 0.5px));
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card themes */
.cardpile-theme-teal { background-color: #094F52; }
.cardpile-theme-teal .cardpile-headline { color: #00E575; }
.cardpile-theme-teal .cardpile-logo path,
.cardpile-theme-teal .cardpile-brand,
.cardpile-theme-teal .cardpile-meta { color: #16161D; fill: #16161D; }

.cardpile-theme-lime { background-color: #D1F92B; }
.cardpile-theme-lime .cardpile-headline { color: #16161D; }
.cardpile-theme-lime .cardpile-logo path,
.cardpile-theme-lime .cardpile-brand,
.cardpile-theme-lime .cardpile-meta { color: #16161D; fill: #16161D; }

.cardpile-theme-lav { background-color: #C5AFFF; }
.cardpile-theme-lav .cardpile-headline { color: #E2ECFE; }
.cardpile-theme-lav .cardpile-logo path,
.cardpile-theme-lav .cardpile-brand,
.cardpile-theme-lav .cardpile-meta { color: #16161D; fill: #16161D; }

.cardpile-theme-pink { background-color: #F5DFD8; }
.cardpile-theme-pink .cardpile-headline { color: #C2EB1A; }
.cardpile-theme-pink .cardpile-logo path,
.cardpile-theme-pink .cardpile-brand,
.cardpile-theme-pink .cardpile-meta { color: #16161D; fill: #16161D; }

.cardpile-theme-amber { background-color: #FF9F43; }
.cardpile-theme-amber .cardpile-headline { color: #2D3436; }
.cardpile-theme-amber .cardpile-logo path,
.cardpile-theme-amber .cardpile-brand,
.cardpile-theme-amber .cardpile-meta { color: #2D3436; fill: #2D3436; }

.cardpile-theme-blue { background-color: #0984E3; }
.cardpile-theme-blue .cardpile-headline { color: #74B9FF; }
.cardpile-theme-blue .cardpile-logo path { fill: #fff; }
.cardpile-theme-blue .cardpile-brand,
.cardpile-theme-blue .cardpile-meta { color: #fff; }

/* Card layout */
.cardpile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cardpile-logo {
  width: 4.5vw;
  height: auto;
}

.cardpile-svg-y { overflow: visible; }
.cardpile-svg-y path { stroke: none; }

.cardpile-brand {
  font-size: 1.1vw;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cardpile-brand-star {
  display: flex;
  align-items: center;
}

.cardpile-star-icon {
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.5));
}

.cardpile-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  bottom: -0.5vw;
}

.cardpile-headline {
  font-size: 3.8vw;
  line-height: 0.82;
  font-weight: 900;
  letter-spacing: -0.05em;
  width: 80%;
  word-wrap: break-word;
}

.cardpile-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 1vw;
  margin-bottom: 0.5vw;
}

.cardpile-mtitle {
  font-size: 0.9vw;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}

.cardpile-mdetail {
  font-size: 0.45vw;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
  opacity: 0.8;
}

.cardpile-hint {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  padding: 1.5rem 0 2.5rem;
  background: #000000;
}

/* Tablet */
@media (max-width: 1024px) {
  .cardpile-section {
    --cp-card-w: 35vw;
    --cp-card-h: 46vw;
    --cp-card-radius: 20px;
    --cp-cutout-r: 12px;
  }
  .cardpile-brand { font-size: 1.6vw; }
  .cardpile-logo { width: 6vw; }
  .cardpile-headline { font-size: 5vw; }
  .cardpile-mtitle { font-size: 1.4vw; }
  .cardpile-mdetail { font-size: 0.7vw; }
}

/* Mobile */
@media (max-width: 768px) {
  .cardpile-section {
    --cp-card-w: 20vw;
    --cp-card-h: 28vw;
    --cp-card-radius: 8px;
    --cp-cutout-r: 4px;
  }
  .cardpile-viewport {
    height: auto;
    min-height: 50vw;
    padding: 1.5rem 0;
  }
  .cardpile-wrapper {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
  }
  .cardpile-brand { font-size: 1.2vw; }
  .cardpile-logo { width: 3.5vw; }
  .cardpile-headline { font-size: 3vw; }
  .cardpile-mtitle { font-size: 1vw; }
  .cardpile-mdetail { font-size: 0.6vw; }
  .cardpile-card { padding: 2vw; }
  .cardpile-meta { gap: 1vw; }
  .cardpile-hint { font-size: 0.55rem; }
}

/* ================================================
   TESTIMONIALS — Warm bg, accent borders
   ================================================ */
.section--grey {
  background: linear-gradient(180deg, #FAFAF6 0%, #F5F3EE 100%);
}

.testimonials-section__header {
  text-align: center;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.testimonials-section__header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em;
}

.testimonial-card {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border-radius: 20px;
  border: 1px solid rgba(24, 22, 22, 0.04);
  background: var(--white);
  transition: all 0.5s var(--ease-expo);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(24, 22, 22, 0.06);
}

.testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.75;
  font-style: italic;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #0693E3, #04BEFE) 1;
  padding-left: var(--space-md);
}

.testimonial-card__author {
  font-weight: 700;
  font-size: 0.875rem;
}

/* ================================================
   CTA — Blue gradient with shimmer
   ================================================ */
.section--blue {
  background: linear-gradient(140deg, #0574B8 0%, var(--blue) 40%, #04BEFE 100%);
  position: relative;
  overflow: hidden;
}

.section--blue::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 55%);
  animation: orbFloat1 20s ease-in-out infinite;
  pointer-events: none;
}

.section--blue::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -8%;
  width: 30vw;
  height: 30vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: orbFloat2 18s ease-in-out infinite;
  pointer-events: none;
}

.cta-section {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em;
}

.cta-section .form-input {
  border-radius: 10px;
  padding: 0.875rem 1rem;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.cta-section .form-input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ================================================
   BLOG — Cards with gradient image placeholders
   ================================================ */
/* Hide blog preview on mobile — accessible via Blog nav link */
@media (max-width: 768px) {
  #blog { display: none !important; }
}

.blog-section__header {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.blog-section__header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em;
}

.blog-card {
  border-radius: 20px;
  border: 1px solid rgba(24, 22, 22, 0.04);
  overflow: hidden;
  transition: all 0.5s var(--ease-expo);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(24, 22, 22, 0.06);
}

/* Each blog card gets a distinct gradient for the image placeholder */
.blog-card:nth-child(1) .blog-card__image {
  background: linear-gradient(135deg, #E8F4FD 0%, #D4E8F9 50%, #C0DCFF 100%);
}

.blog-card:nth-child(2) .blog-card__image {
  background: linear-gradient(135deg, #E8F8F0 0%, #D0F0E0 50%, #B8E8D0 100%);
}

.blog-card:nth-child(3) .blog-card__image {
  background: linear-gradient(135deg, #FFF3E8 0%, #FFE8D0 50%, #FFDDB8 100%);
}

.blog-card__image {
  aspect-ratio: 16 / 9;
}

.blog-card__tag {
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.625rem;
  background: var(--blue-soft);
  border-radius: 4px;
  display: inline-block;
  margin-bottom: var(--space-xs);
}

.blog-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

/* ================================================
   FOOTER — Spacious dark
   ================================================ */
.footer {
  padding: clamp(5rem, 10vw, 7rem) 0 var(--space-xl);
  background: var(--hero-bg);
}

.footer .nav__logo { color: var(--white); }

.footer__brand p { color: rgba(255, 255, 255, 0.35); }
.footer__heading { color: #F5F5F5; }
.footer__link { color: rgba(255, 255, 255, 0.5); }
.footer__link:hover { color: var(--white); }
.footer__bottom { border-top-color: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.3); }
.footer__social-link { color: rgba(255, 255, 255, 0.3); }
.footer__social-link:hover { color: var(--white); }

/* ================================================
   BUTTONS — Global override
   ================================================ */
.btn {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0;
  transition: all 0.4s var(--ease-expo);
}

.btn--large {
  padding: 0.9375rem 2rem;
  font-size: 0.9375rem;
}

/* ================================================
   NAV LOGO
   ================================================ */
.nav__logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* ================================================
   SCROLL PADDING
   ================================================ */
html {
  scroll-padding-top: 80px;
}

/* ================================================
   REDUCED MOTION
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-v2::before, .hero-v2::after,
  .audit-banner::after,
  .section--blue::before, .section--blue::after,
  .hv2-bubble, .hv2-mockup,
  .fs2-bglines__path, .fs2-float,
  .fs2-bscreen, .fs2-dot {
    animation: none;
  }
}
