/*

    Tooplate 2167 Orbital

    https://www.tooplate.com/view/2167-orbital

    Free HTML CSS Template

*/

/* ORBITAL // 297 - Void and Neon presentation template */

:root {
  --void: #050505;
  --violet: #8b5cf6;
  --cyan: #06b6d4;
  --white: #ffffff;
  --dim: rgba(255, 255, 255, 0.55);
  --faint: rgba(255, 255, 255, 0.32);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ring-radius: 360px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ========================================
   MOCKUP & COMPONENT OVERRIDES
   ======================================== */

body {
  background-color: #fcfcfd;
  font-family: 'Nunito', sans-serif;
}

/* Scrollbar Utilities */
.phone-scroll::-webkit-scrollbar,
.monitor-scroll::-webkit-scrollbar {
  display: none;
}

.phone-scroll,
.monitor-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 3D & Transform Utilities */
.perspective-container {
  perspective: 1200px;
}

.tilted-monitor {
  transform: rotateX(4deg) rotateY(-2deg) rotateZ(0.5deg);
  transform-style: preserve-3d;
}

/* Monitor Animations */
@keyframes continuousScroll {
  0% { transform: translateY(0); }
  50% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

.animate-monitor-scroll {
  animation: continuousScroll 22s ease-in-out infinite;
}

.monitor-screen-container:hover .animate-monitor-scroll {
  animation-play-state: paused;
}

/* Entrance Animations */
@keyframes slideFromLeft {
  0% { opacity: 0; transform: translateX(-80px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideFromRight {
  0% { opacity: 0; transform: translateX(80px); }
  100% { opacity: 1; transform: translateX(0); }
}

.animate-from-left {
  animation: slideFromLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-from-right {
  animation: slideFromRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }

/* ========================================
   MASTERFEED SECTION & CAROUSEL
   ======================================== */

.mf-section {
  --ink: #111827;
  --sub: #6b7280;
  font-family: 'Segoe UI', Arial, sans-serif;
  padding: 64px 16px 40px;
  background: #f8f9fb;
  overflow: hidden;
}

.mf-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.mf-title {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0 0 8px;
  color: var(--ink);
}

.mf-accent1 {
  color: #f97316;
}

.mf-accent2 {
  background: linear-gradient(90deg, #f97316, #ec1976);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mf-subtitle {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 600;
  color: #374151;
  margin: 0 0 20px;
}

.mf-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 10px 20px;
  margin-bottom: 44px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}

.mf-pill i {
  color: #3b82f6;
}

.mf-pill strong {
  color: #f97316;
  font-weight: 800;
}

/* Carousel Track */
.mf-track-wrap {
  overflow-x: hidden;
  overflow-y: visible;
  padding: 20px 0 10px;
  cursor: grab;
  touch-action: pan-y;      /* let vertical page scroll through; JS owns horizontal drag */
  -webkit-user-select: none;
  user-select: none;
}

.mf-track-wrap.mf-dragging {
  cursor: grabbing;
}

.mf-track {
  display: flex;
  gap: 15px;
  width: max-content;
  will-change: transform;
}

@media (min-width:1024px) {
  .mf-track-wrap {
    overflow: visible;
    cursor: default;
    touch-action: auto;
  }
  .mf-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px 20px;
    width: 100%;
    transform: none !important;
  }
}

/* ========================================
   MASTERFEED BOTTOM BAR
   ======================================== */

.mf-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 44px;
  padding: 18px 40px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, .08);
}

.mf-bottom-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #111827;
  white-space: nowrap;
}

.mf-bottom-brand i {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  font-size: 15px;
}

.mf-bottom-brand span {
  color: #f97316;
}

.mf-bottom-features {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.mf-bottom-features > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border-left: 1px solid #e5e7eb;
}

.mf-bottom-features > div:first-child {
  border-left: none;
}

.mf-bottom-features i {
  font-size: 17px;
  color: #1f2937;
}

.mf-bottom-features span {
  font-size: 11px;
  font-weight: 700;
  color: #4b5563;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .mf-bottom-bar {
    border-radius: 28px;
    padding: 24px 26px;
    justify-content: center;
    text-align: center;
  }
  .mf-bottom-brand { justify-content: center; white-space: normal; }
  .mf-bottom-features { justify-content: center; }
  .mf-bottom-features > div { border-left: none; padding: 0 16px; }
}

/* ========================================
   PHONE MOCKUP CARD
   ======================================== */

.phone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 220px;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

.phone-card:hover {
  transform: scale(1.08);
  z-index: 5;
}

.mf-track-wrap.mf-dragging .phone-card {
  transform: none !important;
}

.phone-card:hover .phone-mockup {
  box-shadow: 0 30px 55px rgba(0, 0, 0, .28);
}

/* Badge (icon + label) */
.badge-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
}

.badge-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--ink);
  text-transform: uppercase;
}

/* Phone Mockup Shell */
.phone-mockup {
  width: 220px;
  padding: 5px;
  border-radius: 42px;
  position: relative;
  background: var(--phone-bg);
  border: 1px solid var(--phone-border);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
  transition: transform .4s ease, box-shadow .4s ease;
}

.phone-mockup-custom {
  width: 300px;
  padding: 5px;
  border-radius: 42px;
  position: relative;
  background: var(--phone-bg);
  border: 1px solid var(--phone-border);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
  transition: transform .4s ease, box-shadow .4s ease;
}

/* Phone Buttons */
.phone-btn {
  position: absolute;
  background: var(--phone-border);
}

.btn-l1 { left: -3px; top: 70px; width: 3px; height: 20px; border-radius: 2px 0 0 2px; }
.btn-l2 { left: -3px; top: 100px; width: 3px; height: 40px; border-radius: 2px 0 0 2px; }
.btn-l3 { left: -3px; top: 145px; width: 3px; height: 40px; border-radius: 2px 0 0 2px; }
.btn-r1 { right: -3px; top: 100px; width: 3px; height: 56px; border-radius: 0 2px 2px 0; }

/* Phone Screen */
.phone-bezel {
  background: #000;
  border-radius: 38px;
  padding: 6px;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 34px;
  overflow: hidden;
  background: #000;
}

.phone-screen-custom {
  position: relative;
  width: 100%;
  height: 530px;
  border-radius: 34px;
  overflow: hidden;
  background: #000;
}

.dyn-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: 70px;
  height: 20px;
  background: #000;
  border-radius: 999px;
}

.phone-scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #f9fafb;
  /* padding-bottom: 16px; */
  scrollbar-width: none;
  -ms-overflow-style: none;
  text-align: left;
}

.phone-scroll::-webkit-scrollbar {
  display: none;
}

/* ========================================
   PHONE NAVBAR & HEADER
   ======================================== */

.p-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 12px 8px;
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
  position: sticky;
  top: 0;
  z-index: 10;
}

.p-logo {
  font-weight: 900;
  font-size: 13px;
  color: #111827;
}

.p-logo span {
  color: #2563eb;
}

.p-navbar i {
  color: #6b7280;
  font-size: 12px;
}

/* Profile Block */
.p-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
}

.p-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex: 0 0 36px;
}

.p-biz-name {
  font-weight: 800;
  font-size: 12px;
  color: #111827;
  margin: 0 0 2px;
}

.p-biz-tag {
  font-size: 9px;
  color: #6b7280;
  font-weight: 600;
  margin: 0 0 3px;
}

.p-rating {
  font-size: 9px;
  font-weight: 700;
  color: #374151;
}

.p-rating i {
  color: #facc15;
  margin-right: 2px;
}

/* Hero Image Section */
.p-hero {
  margin: 0 12px 10px;
  height: 110px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: #111827 center/cover;
}

.p-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .15);
}

.p-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  border: 1px solid rgba(255, 255, 255, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  z-index: 2;
}

/* ========================================
   PHONE ACTION BAR & CONTENT
   ======================================== */

.p-actions {
  display: flex;
  justify-content: space-around;
  padding: 10px 8px;
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
}

.p-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.p-action .ic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.p-action span {
  font-size: 8px;
  font-weight: 700;
  color: #4b5563;
}

/* About Section */
.p-about {
  padding: 10px 12px;
  background: #fff;
}

.p-about h4 {
  font-size: 11px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 4px;
}

.p-about p {
  font-size: 9.5px;
  color: #6b7280;
  line-height: 1.4;
  margin: 0;
}

/* Items Grid */
.p-items {
  padding: 10px 12px 4px;
  background: #fff;
}

.p-items h4 {
  font-size: 11px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px;
}

.p-item-row {
  display: flex;
  gap: 8px;
}

.p-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #e5e7eb center/cover;
  flex: 0 0 52px;
}

/* Ambient void layers */
.aura {
  position: fixed;
  inset: -25%;
  background: radial-gradient(circle at 50% 44%, rgba(58, 28, 92, 0.6), rgba(24, 12, 46, 0.22) 34%, transparent 64%);
  z-index: 0;
  pointer-events: none;
  animation: drift 20s ease-in-out infinite alternate;
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 78% 14%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 34% 68%, rgba(139, 92, 246, 0.6), transparent),
    radial-gradient(1px 1px at 64% 82%, rgba(6, 182, 212, 0.5), transparent),
    radial-gradient(1px 1px at 88% 54%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 22% 88%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 50% 32%, rgba(255, 255, 255, 0.3), transparent);
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 3%, 0) scale(1.14); }
}

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 64px);
  backdrop-filter: blur(6px);
}

.logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--white);
}
.logo span { color: var(--cyan); }

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--faint);
  transition: color 0.5s var(--ease), text-shadow 0.5s var(--ease);
  position: relative;
}
.nav-links a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  position: absolute;
  left: -12px; top: 50%;
  transform: translateY(-50%) scale(0);
  transition: transform 0.5s var(--ease);
  box-shadow: 0 0 8px var(--cyan);
}
.nav-links a:hover {
  color: var(--white);
  text-shadow: 0 0 14px rgba(6, 182, 212, 0.7);
}
.nav-links a:hover::before { transform: translateY(-50%) scale(1); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 80px 24px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--dim);
  transition: color 0.4s var(--ease);
}
.mobile-menu a:hover { color: var(--cyan); }

/* Hero with orbital ring */
.hero {
  /* position: relative; */
  z-index: 2;
  height: 110vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
}

.stage {
  /* position: absolute; */
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1300px;
  /* cursor: grab; */
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.stage.dragging { cursor: grabbing; }
.stage.dragging .panel { cursor: grabbing; }

.parallax {
  position: relative;
  width: 1px; height: 1px;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}

.hero-text {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -150%) translateZ(40px);
  text-align: center;
  width: 90vw;
  max-width: 760px;
  pointer-events: none;
  margin-top: 0;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(10px, 1.4vw, 13px);
  letter-spacing: 6px;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(6, 182, 212, 0.6);
  margin-bottom: 22px;
}
.hero-text h1 {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(2.8rem, 9vw, 6.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 0 38px rgba(255, 255, 255, 0.28), 0 0 80px rgba(139, 92, 246, 0.32);
  margin-top: 0;
}
.hero-text p {
  margin-top: 20px;
  font-size: clamp(0.92rem, 2vw, 1.08rem);
  color: var(--dim);
  letter-spacing: 0.4px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* The orbital ring */
.ring-tilt {
  position: absolute;
  top: 0; left: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--tiltX, -20deg)) scale3d(var(--zoom, 1), var(--zoom, 1), var(--zoom, 1));
  transition: transform 0.8s var(--ease);
}
.ring {
  position: absolute;
  top: 0; left: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.panel {
  position: absolute;
  top: 0; left: 0;
  /* width: 200px;
  height: 450px; */
  margin-left: -79px;
  margin-top: -105px;
  border-radius: 25%;
  background: rgba(255, 255, 255, 0.035);
  /* backdrop-filter: blur(9px); */
  /* -webkit-backdrop-filter: blur(8px); */
  box-shadow: inset 0 0 34px rgba(139, 92, 246, 0.16), 0 0 42px rgba(6, 182, 212, 0.1);
  transform: rotateY(var(--ry)) translateZ(var(--tz)) rotateZ(var(--rz)) scale(var(--s, 1));
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
  cursor: pointer;
}
/* 1px gradient border via masked pseudo element */

.panel:hover {
  --s: 1.1;
  box-shadow: inset 0 0 44px rgba(139, 92, 246, 0.3), 0 0 60px rgba(6, 182, 212, 0.4);
}
.panel:hover::after {
  /* background: linear-gradient(to bottom right, rgba(139, 92, 246, 0.95), rgba(6, 182, 212, 0.7)); */
}
.panel .p-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--cyan);
}
.panel .p-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.panel .p-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--faint);
}

/* Two stacked faces per panel, crossfaded by the toggle with a staggered delay */
.panel-face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.045s);
}
.panel-face--text {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 1;
}
.panel-face--image {
  overflow: hidden;
  opacity: 0;
  background: linear-gradient(140deg, #1a1030, #0a1f26);
}
.panel-face--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  transition: transform 1.3s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.045s);
}
.panel-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.08) 56%),
    linear-gradient(140deg, rgba(139, 92, 246, 0.4), rgba(6, 182, 212, 0.28));
  transition: opacity 0.6s var(--ease);
}
.panel:hover .panel-scrim { opacity: 0; }
.panel-cap {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 0 22px rgba(0, 0, 0, 0.7);
}

/* Toggle ON state */
.visuals-on .panel-face--text { opacity: 0; }
.visuals-on .panel-face--image { opacity: 1; }
.visuals-on .panel-face--image img { transform: scale(1); }

/* HUD controls docked bottom right */
.hero-controls {
  position: absolute;
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(80px, 12vh, 110px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ctrl-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--faint);
}
.switch {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  padding: 0;
  transition: background 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.switch .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dim);
  transition: transform 0.6s var(--ease), background 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.switch[aria-checked="true"] {
  background: linear-gradient(to right, var(--violet), var(--cyan));
  border-color: rgba(6, 182, 212, 0.8);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}
.switch[aria-checked="true"] .knob {
  transform: translateX(20px);
  background: var(--white);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}
.switch:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* 3 step ring spacing */
.spacing {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.spacing-step {
  width: 26px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  transition: background 0.5s var(--ease);
}
.spacing-step i {
  display: block;
  border-radius: 50%;
  background: var(--faint);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.spacing-step:nth-child(1) i { width: 5px; height: 5px; }
.spacing-step:nth-child(2) i { width: 8px; height: 8px; }
.spacing-step:nth-child(3) i { width: 11px; height: 11px; }
.spacing-step.is-active { background: rgba(6, 182, 212, 0.14); }
.spacing-step.is-active i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.spacing-step:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }


@keyframes pulse-line {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Content sections */
.section {
  position: relative;
  z-index: 2;
  padding: clamp(90px, 14vh, 160px) clamp(20px, 6vw, 90px);
  max-width: 1240px;
  margin: 0 auto;
}
.section-head {
  margin-bottom: 64px;
  max-width: 620px;
}
.section-head .eyebrow { text-align: left; margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.16);
}
.section-head p {
  margin-top: 20px;
  color: var(--dim);
  font-size: 1.02rem;
  line-height: 1.6;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  position: relative;
  padding: 40px 30px 36px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.7s var(--ease), background 0.7s var(--ease);
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan), 0 0 6px var(--cyan);
  animation: pulse-top 3.2s ease-in-out infinite;
}
.feature:nth-child(2)::before { animation-delay: 1s; }
.feature:nth-child(3)::before { animation-delay: 2s; }
@keyframes pulse-top {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
.feature:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.05);
}
.feature .f-index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--violet);
  margin-bottom: 22px;
}
.feature h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.feature p {
  color: var(--dim);
  font-size: 0.94rem;
  line-height: 1.62;
}

/* Closing call to action */
.cta {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(100px, 16vh, 180px) 24px;
}
.cta h2 {
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
}
.cta p {
  margin: 24px auto 42px;
  max-width: 460px;
  color: var(--dim);
  font-size: 1.02rem;
}
.btn {
  display: inline-block;
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 3px;
  padding: 18px 42px;
  border-radius: 50px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  background-clip: padding-box;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(to right, var(--violet), var(--cyan));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.5), 0 0 18px rgba(6, 182, 212, 0.4);
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 44px clamp(20px, 6vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .logo { font-size: 13px; }
.footer .credit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--faint);
}
.footer .credit a { color: var(--dim); transition: color 0.4s var(--ease); }
.footer .credit a:hover { color: var(--cyan); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  :root { --ring-radius: 220px; }
  .panel { width: 200px; height: 400px; margin-left: -62px; margin-top: -84px; }
  .hero-text { transform: translate(-50%, -200%) translateZ(40px);}
  .ring-tilt { --tiltX: -14deg; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .aura, .ring, .feature::before { animation: none; }
  .parallax { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ========================================
   EVERYTHING YOUR CUSTOMER NEEDS SECTION
   ======================================== */

.efc-section {
  padding: 80px 20px 100px;
  background: #f8f9fb;
  overflow: hidden;
}

.efc-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.efc-title {
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: #111827;
  margin-bottom: 16px;
}

.efc-gradient {
  display: inline-block;
  background: linear-gradient(90deg, #2563eb, #7c3aed 35%, #ec1976 68%, #f97316);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: efc-shimmer 6s ease-in-out infinite;
}

@keyframes efc-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.efc-subtitle {
  max-width: 560px;
  margin: 0 auto 64px;
  color: #6b7280;
  font-weight: 500;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.6;
}

/* Grid: left col / center beam / right col */
.efc-grid {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 0 2px;
}

.efc-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cards */
.efc-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  background: #fff;
  width: 50%;
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 10px 26px rgba(17, 24, 39, .06);
  transition: transform .45s cubic-bezier(.22,1,.36,1),
              box-shadow .45s cubic-bezier(.22,1,.36,1);
}

.efc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(17, 24, 39, .12),
              0 0 0 6px color-mix(in srgb, var(--efc-accent) 14%, transparent);
}

.efc-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  background: var(--efc-accent);
  box-shadow: 0 10px 20px -6px color-mix(in srgb, var(--efc-accent) 60%, transparent);
  animation: efc-float 4.5s ease-in-out infinite;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}

.efc-col-left .efc-card:nth-child(1) .efc-icon { animation-delay: 0s; }
.efc-col-left .efc-card:nth-child(2) .efc-icon { animation-delay: .3s; }
.efc-col-left .efc-card:nth-child(3) .efc-icon { animation-delay: .6s; }
.efc-col-left .efc-card:nth-child(4) .efc-icon { animation-delay: .9s; }
.efc-col-right .efc-card:nth-child(1) .efc-icon { animation-delay: .15s; }
.efc-col-right .efc-card:nth-child(2) .efc-icon { animation-delay: .45s; }
.efc-col-right .efc-card:nth-child(3) .efc-icon { animation-delay: .75s; }
.efc-col-right .efc-card:nth-child(4) .efc-icon { animation-delay: 1.05s; }

@keyframes efc-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-4deg); }
}

.efc-card:hover .efc-icon {
  transform: scale(1.12) rotate(8deg);
  animation-play-state: paused;
}

.efc-copy {
  min-width: 0; /* allow the flex item to shrink so text wraps instead of overflowing the narrowed card */
}

.efc-copy h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--efc-accent);
  margin-bottom: 4px;
  letter-spacing: -.01em;
}

.efc-copy p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #6b7280;
  font-weight: 500;
}

/* Dashed signal lines flowing out of each card toward the center */
.efc-line {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 2px;
  transform: translateY(-50%);
  background-image: repeating-linear-gradient(
    90deg,
    var(--efc-accent) 0 6px,
    transparent 6px 12px
  );
  background-size: 24px 2px;
  opacity: .55;
  animation: efc-dash-flow 1.1s linear infinite;
}

.efc-line-r { left: 100%; transform-origin: left center; }
.efc-line-l { right: 100%; transform-origin: right center; }
.efc-line-l { animation-direction: reverse; }

.efc-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--efc-accent);
  transform: translateY(-50%);
  box-shadow: 0 0 8px var(--efc-accent);
}

.efc-line-r::after { right: -3px; }
.efc-line-l::after { left: -3px; }

@keyframes efc-dash-flow {
  from { background-position: 0 0; }
  to   { background-position: 24px 0; }
}

/* Center beam standing in for the removed phone mockup */
.efc-center {
  position: relative;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.efc-beam {
  position: absolute;
  width: 3px;
  height: 92%;
  border-radius: 3px;
  background: linear-gradient(180deg, #2563eb, #7c3aed 35%, #ec1976 68%, #f97316);
  background-size: 100% 300%;
  opacity: .5;
  animation: efc-beam-flow 5s ease-in-out infinite;
}

@keyframes efc-beam-flow {
  0%, 100% { background-position: 0 0%; }
  50% { background-position: 0 100%; }
}

.efc-core {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, #c4b5fd);
  box-shadow: 0 0 0 6px rgba(124, 58, 237, .18),
              0 0 24px rgba(124, 58, 237, .55);
  animation: efc-pulse-core 2.4s ease-in-out infinite;
}

@keyframes efc-pulse-core {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(124, 58, 237, .18), 0 0 24px rgba(124, 58, 237, .55); }
  50%      { transform: scale(1.35); box-shadow: 0 0 0 10px rgba(236, 25, 118, .16), 0 0 34px rgba(236, 25, 118, .6); }
}

/* Scroll-reveal direction per column (uses the existing .reveal / .visible
   IntersectionObserver already wired up in the script - no JS changes needed) */
.efc-card.reveal { transform: translateX(-32px); }
.efc-col-right .efc-card.reveal { transform: translateX(32px); }
.efc-card.reveal.visible { transform: translateX(0); }

.efc-col-left .efc-card:nth-child(1) { transition-delay: .05s; }
.efc-col-left .efc-card:nth-child(2) { transition-delay: .15s; }
.efc-col-left .efc-card:nth-child(3) { transition-delay: .25s; }
.efc-col-left .efc-card:nth-child(4) { transition-delay: .35s; }
.efc-col-right .efc-card:nth-child(1) { transition-delay: .1s; }
.efc-col-right .efc-card:nth-child(2) { transition-delay: .2s; }
.efc-col-right .efc-card:nth-child(3) { transition-delay: .3s; }
.efc-col-right .efc-card:nth-child(4) { transition-delay: .4s; }

/* Responsive: stack into one column, drop the center beam and connector lines */
@media (max-width: 900px) {
  .efc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .efc-center { display: none; }
  .efc-line { display: none; }
  .efc-card.reveal,
  .efc-col-right .efc-card.reveal { transform: translateY(24px); }
  .efc-card.reveal.visible { transform: translateY(0); }
  .efc-card {
    width: 50%;
  }

  /* Zigzag: odd cards hug the left, even cards hug the right.
     Both columns restart at "odd", but the left column has an even
     count (4 cards) so the pattern continues seamlessly into the
     right column when they stack into one on mobile. */
  .efc-col-left .efc-card:nth-child(odd),
  .efc-col-right .efc-card:nth-child(odd) {
    margin-right: auto;
  }
  .efc-col-left .efc-card:nth-child(even),
  .efc-col-right .efc-card:nth-child(even) {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .efc-gradient, .efc-icon, .efc-line, .efc-beam, .efc-core {
    animation: none;
  }
}

    .fp-section {
      --ink: #111827;
      --sub: #6b7280;
      font-family: 'Segoe UI', Arial, sans-serif;
      /* padding: 10px 16px 60px; */
      background: #f8f9fb;
    }

    .fp-container {
      max-width: 1280px;
      margin: 0 auto;
    }

    .fp-title {
      text-align: center;
      font-size: clamp(28px, 5vw, 50px);
      font-weight: 900;
      letter-spacing: -.02em;
      margin: 0 0 10px;
      color: var(--ink);
    }

    .fp-accent {
      background: linear-gradient(90deg, #7c3aed, #f97316);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .fp-subtitle {
      text-align: center;
      font-size: clamp(14px, 2vw, 18px);
      color: #4b5563;
      font-weight: 500;
      margin: 0 0 40px;
    }

    .fp-subtitle strong {
      color: #7c3aed;
    }

    /* ---- Plans grid ---- */
    .fp-plans {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      align-items: start;
      margin-bottom: 56px;
    }

    .fp-card {
      position: relative;
      background: #fff;
      border-radius: 22px;
      padding: 32px 26px 28px;
      text-align: center;
      border: 2px solid #ede9f7;
      box-shadow: 0 10px 30px rgba(17, 24, 39, .05);
      transition: transform .3s ease, box-shadow .3s ease;
    }

    .fp-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 40px rgba(17, 24, 39, .1);
    }

    .fp-basic {
      border-color: #ddd6fe;
    }

    .fp-premier {
      border-color: #fed7aa;
      margin-top: -16px;
      padding-top: 44px;
      padding-bottom: 36px;
      box-shadow: 0 18px 45px rgba(249, 115, 22, .18);
    }

    .fp-ultra {
      border-color: #bbf7d0;
    }

    .fp-badge {
      display: inline-block;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .04em;
      color: #fff;
      border-radius: 999px;
      padding: 6px 22px;
      margin-bottom: 18px;
    }

    .fp-badge-basic {
      background: #5b21b6;
    }

    .fp-badge-premier {
      background: #ea580c;
    }

    .fp-badge-ultra {
      background: #15803d;
    }

    .fp-ribbon {
      position: absolute;
      top: -14px;
      left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(90deg, #f43f5e, #ec4899);
      color: #fff;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .05em;
      padding: 6px 18px;
      border-radius: 999px;
      white-space: nowrap;
      box-shadow: 0 6px 14px rgba(236, 72, 153, .35);
    }

    .fp-price {
      font-size: clamp(34px, 4.5vw, 46px);
      font-weight: 900;
      color: var(--ink);
      margin-bottom: 6px;
    }

    .fp-basic .fp-price {
      color: #5b21b6;
    }

    .fp-premier .fp-price {
      color: #ea580c;
    }

    .fp-ultra .fp-price {
      color: #15803d;
    }

    .fp-currency {
      font-size: .55em;
      font-weight: 800;
      vertical-align: 2px;
    }

    .fp-period {
      font-size: 15px;
      font-weight: 600;
      color: #9ca3af;
      margin-left: 2px;
    }

    .fp-tagline {
      font-size: 13px;
      color: #6b7280;
      margin: 0 0 20px;
    }

    .fp-features {
      list-style: none;
      margin: 0 0 26px;
      padding: 18px 0 0;
      border-top: 1px solid #f1f0f6;
      text-align: left;
    }

    .fp-features li {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 0;
      font-size: 13px;
      color: #374151;
      font-weight: 500;
    }

    .fp-features li span:nth-child(2) {
      flex: 1;
    }

    .fp-ic {
      width: 26px;
      height: 26px;
      border-radius: 7px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      flex: 0 0 26px;
    }

    .fp-ic-basic {
      background: #ede9fe;
      color: #7c3aed;
    }

    .fp-ic-premier {
      background: #ffedd5;
      color: #ea580c;
    }

    .fp-ic-ultra {
      background: #dcfce7;
      color: #16a34a;
    }

    .fp-check {
      font-size: 12px;
      flex: 0 0 auto;
    }

    .fp-check-basic {
      color: #7c3aed;
    }

    .fp-check-premier {
      color: #ea580c;
    }

    .fp-check-ultra {
      color: #16a34a;
    }

    .fp-cta {
      width: 100%;
      border: none;
      border-radius: 12px;
      padding: 15px 0;
      font-size: 14px;
      font-weight: 800;
      letter-spacing: .03em;
      color: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: filter .2s ease, transform .2s ease;
    }

    .fp-cta:hover {
      filter: brightness(1.08);
      transform: translateY(-2px);
    }

    .fp-cta-basic {
      background: #5b21b6;
    }

    .fp-cta-premier {
      background: linear-gradient(90deg, #f97316, #ea580c);
    }

    .fp-cta-ultra {
      background: #15803d;
    }

    /* ---- Feature strip ---- */
    .fp-strip {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 28px;
      background: #fff;
      border: 1px solid #eef0f3;
      border-radius: 20px;
      padding: 26px 30px;
      margin-bottom: 28px;
      box-shadow: 0 8px 24px rgba(17, 24, 39, .04);
    }

    .fp-strip-head {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      flex: 0 0 auto;
      padding-right: 26px;
      border-right: 1px solid #eef0f3;
    }

    .fp-strip-icon {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: #f5f3ff;
      color: #7c3aed;
      flex: 0 0 46px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
    }

    .fp-strip-headline {
      font-size: 15px;
      font-weight: 800;
      color: var(--ink);
      line-height: 1.35;
    }

    .fp-strip-headline strong {
      color: #7c3aed;
    }

    .fp-strip-items {
      display: flex;
      flex-wrap: wrap;
      gap: 26px 30px;
      flex: 1;
    }

    .fp-strip-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      min-width: 70px;
    }

    .fp-strip-item i {
      font-size: 50px;
      /* color: #7c3aed; */
    }

    .fp-strip-item span {
      font-size: 11.5px;
      font-weight: 700;
      color: #4b5563;
      text-align: center;
    }

    /* ---- Stats bar ---- */
    .fp-stats-bar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      background: radial-gradient(circle at 8% 50%, #1c1042 0%, #0b0f24 55%, #050714 100%);
      border-radius: 20px;
      padding: 26px 34px;
    }

    .fp-stats-lead {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .fp-stats-icon {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: #0b0f24;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      box-shadow: 0 0 0 6px rgba(124, 58, 237, .18), 0 0 30px rgba(124, 58, 237, .55);
    }

    .fp-stats-lead h4 {
      margin: 0 0 4px;
      font-size: 16px;
      font-weight: 800;
      color: #fff;
    }

    .fp-stats-lead p {
      margin: 0;
      font-size: 12.5px;
      color: #c7c9d9;
      max-width: 320px;
    }

    .fp-stats-items {
      display: flex;
      flex-wrap: wrap;
      gap: 28px;
    }

    .fp-stat {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .fp-stat i {
      font-size: 18px;
    }

    .fp-stat strong {
      display: block;
      font-size: 15px;
      color: #fff;
      font-weight: 800;
      line-height: 1.2;
    }

    .fp-stat span {
      font-size: 11px;
      color: #9ca3af;
      font-weight: 600;
    }

    /* ---- Floating Cards Canvas Section ---- */
    .floating-cards-wrapper {
      position: relative;
      width: 100%;
      height: 400px;
      background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
      overflow: hidden;
    }

    .floating-card {
      position: absolute;
      top: 0;
      left: 0;
      will-change: transform;
      cursor: pointer;
      user-select: none;
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
      transition: box-shadow 0.3s ease;
      z-index: 5;
    }

    .floating-card:hover {
      box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.12);
      z-index: 20;
    }

    /* =====================================================
     RESPONSIVE
     ===================================================== */

    /* Tablet */
    @media (max-width:1024px) {
      .fp-plans {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
      }

      .fp-premier {
        margin-top: 0;
      }

      .fp-strip {
        padding: 22px;
      }

      .fp-strip-head {
        border-right: none;
        border-bottom: 1px solid #eef0f3;
        padding-right: 0;
        padding-bottom: 18px;
        width: 100%;
        margin-bottom: 6px;
      }

      .fp-strip-items {
        justify-content: center;
      }

      .fp-stats-bar {
        justify-content: center;
        text-align: center;
      }

      .fp-stats-lead {
        flex-direction: column;
        text-align: center;
      }

      .fp-stats-lead p {
        max-width: none;
      }

      .fp-stats-items {
        justify-content: center;
      }

      .floating-cards-wrapper {
        height: 480px;
      }
    }

    /* Mobile */
    @media (max-width:640px) {
      .fp-section {
        /* padding: 10px 16px; */
      }

      .fp-card {
        padding: 26px 18px 24px;
        margin: 0 5%;
      }

      .fp-strip-items {
        gap: 20px 18px;
      }

      .fp-strip-item {
        min-width: 60px;
      }

      .fp-stats-items {
        gap: 18px 22px;
      }

      .fp-stat {
        flex: 1 1 40%;
        justify-content: center;
      }

      .floating-cards-wrapper {
        height: 750px;
      }

      .mf-section {
        padding: 10px 16px;
      }

      /* .fp-strip-item i {
          font-size: 50px;
      } */
    }

            .custom-pricing-wrapper {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 70px;
            padding: 20px 20px;
            /* background-color: #e5e5e5; */
        }

        .pr-card {
            width: 320px;
            background: #fff;
            border-radius: 15px;
            position: relative;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            margin-top: 50px;
            margin-bottom: 25px;
        }

        .pr-card.is-popular {
            transform: scale(1.04);
            z-index: 2;
        }

        /* Price Bubble */
        .pr-price-bubble {
            position: absolute;
            top: -50px;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 120px;
            background: #fff;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
            z-index: 10;
        }

        .pr-price-bubble .pr-currency { font-size: 15px; font-weight: bold; }
        .pr-price-bubble .pr-amount { font-size: 28px; font-weight: 800; line-height: 1; }
        .pr-price-bubble .pr-period { font-size: 11px; color: #888; }

        /* Extended Wider Pentagon Header */
        .pr-header {
            position: relative;
            margin-left: -15px;
            margin-right: -15px;
            padding: 60px 20px 40px;
            border-radius: 18px 18px 0 0;
            text-align: center;
            color: #fff;
            clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 50% 100%, 0 calc(100% - 22px));
        }

        .theme-purple .pr-header { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
        .theme-magenta .pr-header { background: linear-gradient(135deg, #d946ef, #ec4899); }
        .theme-red .pr-header { background: linear-gradient(135deg, #f43f5e, #ef4444); }

        .pr-title { margin: 4%; font-size: 22px; font-weight: 800; letter-spacing: 1px; }
        .pr-subtitle { margin: 4px 0 0; font-size: 9px; opacity: 0.85; letter-spacing: 0.5px; }

        .pr-badge {
            background: #fff;
            color: #d946ef;
            font-size: 10px;
            font-weight: 800;
            padding: 4px 14px;
            border-radius: 12px;
            display: inline-block;
            margin-top: 10px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        }

        /* Card Body & Billing Section */
        .pr-body { padding: 20px 10px 30px; text-align: center; }

        .pr-billing-options {
            display: flex;
            flex-direction: column;
            gap: 6px;
            margin-bottom: 20px;
            padding: 0 15px;
        }

        .pr-billing-row {
            font-size: 13px;
            font-weight: 600;
            color: #374151;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .pr-billing-price { font-weight: 800; color: #111827; }
        .pr-billing-discount { font-size: 11px; font-weight: 700; color: #16a34a; }

        /* Features List */
        .pr-features { list-style: none; padding: 0; margin: 0; }
        .pr-features li {
            padding: 12px 20px;
            font-size: 13px;
            color: #6b7280;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .pr-features li:nth-child(even) { background-color: #f9fafb; }
        .pr-check { color: #22c55e; }

        /* Footer Button */
        .pr-footer { position: absolute; bottom: -20px; left: 0; width: 100%; text-align: center; }
        .pr-btn {
            border: none;
            color: #fff;
            padding: 12px 38px;
            border-radius: 25px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 8px 18px rgba(0,0,0,0.18);
            transition: transform 0.2s;
        }
        .pr-btn:hover { transform: translateY(-2px); }

        .theme-purple .pr-btn { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
        .theme-magenta .pr-btn { background: linear-gradient(135deg, #d946ef, #ec4899); }
        .theme-red .pr-btn { background: linear-gradient(135deg, #f43f5e, #ef4444); }

        .theme-purple .pr-price-bubble { color: #8b5cf6; }
        .theme-magenta .pr-price-bubble { color: #d946ef; }
        .theme-red .pr-price-bubble { color: #f43f5e; }


        .pr-timeline-features {
            position: relative;
            padding: 15px 10px 20px 35px;
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        /* Left Vertical Line */
        .pr-timeline-line {
            position: absolute;
            top: 35px;
            bottom: 35px;
            left: 15px;
            width: 3px;
            background: #cbd5e1;
            z-index: 1;
        }

        /* Timeline Item Wrapper */
        .pr-timeline-item {
            position: relative;
            display: flex;
            align-items: center;
        }

        /* Node on the vertical line */
        .pr-timeline-node {
            position: absolute;
            left: -28px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #fff;
            border: 3px solid currentColor;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }

        .pr-timeline-node .node-inner {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: currentColor;
        }

        /* Rounded Pill Capsule */
        .pr-feature-capsule {
            position: relative;
            flex: 1;
            display: flex;
            align-items: center;
            border-radius: 50px;
            padding: 10px 18px 10px 75px;
            color: #ffffff;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
        }

        /* Small Arrow Pointing to Line */
        .pr-feature-capsule::before {
            content: '';
            position: absolute;
            left: -8px;
            top: 50%;
            transform: translateY(-50%);
            border-top: 7px solid transparent;
            border-bottom: 7px solid transparent;
            border-right: 9px solid currentColor;
        }

        /* Floating Step Circle */
        .pr-step-circle {
            position: absolute;
            left: 8px;
            top: 50%;
            transform: translateY(-50%);
            width: 54px;
            height: 54px;
            background: #ffffff;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            z-index: 3;
        }

        .pr-step-label {
            font-size: 8px;
            font-weight: 700;
            color: #94a3b8;
            line-height: 1;
            letter-spacing: 0.5px;
        }

        .pr-step-num {
            font-size: 18px;
            font-weight: 800;
            line-height: 1.1;
            color: currentColor;
        }

        /* Feature Text */
        .pr-feature-content {
            flex: 1;
            text-align: left;
            padding-right: 10px;
        }

        .pr-feature-title {
            margin: 0;
            font-size: 16px;
            font-weight: 800;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            color: #ffffff;
        }

        .pr-feature-desc {
            margin: 2px 0 0;
            font-size: 16px;
            line-height: 1.25;
            opacity: 0.95;
            color: #ffffff;
        }

        /* Right Side Icon */
        .pr-feature-icon {
            font-size: 22px;
            opacity: 0.85;
        }

        /* STEP COLOR SCHEMES */
        /* Teal */
        .step-teal { color: #00b4d8; }
        .step-teal .pr-feature-capsule { background-color: #00b4d8; }

        /* Green */
        .step-green { color: #8ac926; }
        .step-green .pr-feature-capsule { background-color: #8ac926; }

        /* Gray */
        .step-gray { color: #78909c; }
        .step-gray .pr-feature-capsule { background-color: #78909c; }

        /* Red */
        .step-red { color: #ff5964; }
        .step-red .pr-feature-capsule { background-color: #ff5964; }

        /* Orange */
        .step-orange { color: #f2a65a; }
        .step-orange .pr-feature-capsule { background-color: #f2a65a; }

        /* Single Row Grid Container */
        .pr-highlights-grid {
            display: flex;
            flex-wrap: nowrap; /* Forces all cards into a single row */
            gap: 10px;
            justify-content: space-between;
            align-items: stretch;
            width: 100%;
            padding: 5px 0;
            margin-bottom: 5px;
        }

        /* Individual Card (Equal sizing in row) */
        .pr-hl-card {
            flex: 1 1 0px; /* Forces cards to shrink equally to fit in one row */
            min-width: 0; /* Prevents overflow inside flex child */
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Header Tab */
        .pr-hl-header {
            position: relative;
            width: 70%;
            padding: 6px 8px;
            border-radius: 10px 10px 0 0;
            text-align: center;
            color: #ffffff;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            z-index: 1;
        }

        /* Pointer Arrow */
        .pr-hl-pointer {
            position: absolute;
            bottom: -6px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 6px solid currentColor;
            z-index: 3;
        }

        /* White Content Box */
        .pr-hl-body {
            position: relative;
            width: 100%;
            height: 100%;
            background: #ffffff;
            border-radius: 16px;
            padding: 6px 5px;
            display: flex;
            align-items: center;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
            margin-top: -2px;
            z-index: 2;
        }

        /* Left Icon */
        .pr-hl-icon {
            font-size: 20px;
            padding: 0 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        /* Vertical Line Divider */
        .pr-hl-divider {
            width: 1px;
            height: 30px;
            background-color: #e2e8f0;
            margin: 0 4px;
            flex-shrink: 0;
        }

        /* Text Container */
        .pr-hl-text {
            flex: 1;
            min-width: 0;
        }

        .pr-hl-text p {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
            color: #64748b;
            line-height: 1.3;
        }

        /* Color Themes */
        .hl-blue .pr-hl-header { background-color: #458a9f; padding: 6px 8px; width: 8em; }
        .hl-blue .pr-hl-pointer { color: #458a9f; }
        .hl-blue .pr-hl-icon { color: #458a9f; }

        .hl-green .pr-hl-header { background-color: #48a278; padding: 6px 8px; width: 80%; }
        .hl-green .pr-hl-pointer { color: #48a278; }
        .hl-green .pr-hl-icon { color: #48a278; }

        .hl-red .pr-hl-header { background-color: #d9534f; padding: 6px 8px; width: 80%; }
        .hl-red .pr-hl-pointer { color: #d9534f; }
        .hl-red .pr-hl-icon { color: #d9534f; }

        /* Responsive Layout Fixes (Tablet & Mobile) */
        @media (max-width: 768px) {
            .pr-highlights-grid {
                gap: 6px;
                padding: 5px 0;
            }

            .pr-hl-header {
                width: 85%;
                font-size: 10px;
                padding: 4px 2px;
                line-height: 1.2;
            }

            .pr-hl-body {
                padding: 6px 4px;
            }

            .pr-hl-icon {
                font-size: 14px;
                /* padding: 0 2px; */
            }

            .pr-hl-divider {
                margin: 0 3px;
                height: 20px;
            }

            .pr-hl-text p {
                font-size: 18px;
                font-weight: 600;
            }
        }

        @media (max-width: 480px) {
            .pr-highlights-grid {
                gap: 4px; /* Tighten gap to maximize space */
            }

            .pr-hl-header {
                width: 90%;
                font-size: 9px;
                padding: 3px 2px;
                letter-spacing: 0;
                line-height: 1.1;
            }

            .pr-hl-body {
                padding: 6px 4px;
                justify-content: center;
            }

            /* Hide divider on tiny screens to preserve horizontal space */
            .pr-hl-divider {
                display: none; 
            }

            .pr-hl-icon {
                font-size: 11px;
                /* padding: 0 1px; */
            }

            .pr-hl-text p {
                font-size: 18px;
                font-weight: 700;
                text-align: center;
            }
        }

         /* ================= RESPONSIVE FOOTER ================= */
        .flagup-footer {
            background: #080b1d;
            color: #aeb3c7;
            border-top: 1px solid rgba(148, 163, 184, 0.16);
            margin-top: 0;
            font-family: "Space Grotesk", sans-serif;
        }

        .flagup-footer .footer-container {
            width: min(1180px, calc(100% - 40px));
            margin: 0 auto;
            padding: 48px 0 22px;
        }

        .flagup-footer .footer-main {
            display: grid;
            grid-template-columns: 1.35fr 1fr 1fr;
            gap: 42px;
            align-items: start;
        }

        .flagup-footer .footer-brand {
            min-width: 0;
        }

        .flagup-footer .footer-logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: #fff;
            margin-bottom: 12px;
        }

        .flagup-footer .footer-logo img {
            width: 48px;
            height: 48px;
            object-fit: contain;
        }

        .flagup-footer .footer-logo-text {
            font-size: 28px;
            line-height: 1;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: #0d6ddb;
        }

        .flagup-footer .footer-logo-text span {
            color: #da3434;
        }

        .flagup-footer .footer-tagline {
            margin: 0;
            max-width: 320px;
            color: #9da4ba;
            font-size: 15px;
            line-height: 1.7;
        }

        .flagup-footer .footer-title {
            margin: 4px 0 18px;
            color: #fff;
            font-size: 18px;
            font-weight: 700;
        }

        .flagup-footer .footer-contact {
            display: flex;
            flex-direction: column;
            gap: 13px;
        }

        .flagup-footer .footer-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            color: #aeb3c7;
            text-decoration: none;
            font-size: 14px;
            line-height: 1.5;
            transition: color .2s ease;
        }

        .flagup-footer .footer-contact-item:hover {
            color: #fff;
        }

        .flagup-footer .footer-contact-item i {
            width: 20px;
            margin-top: 3px;
            color: #8b5cf6;
            font-size: 16px;
            text-align: center;
            flex-shrink: 0;
        }

        .flagup-footer .footer-socials {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .flagup-footer .footer-social {
            width: 46px;
            height: 46px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(30, 36, 65, 0.8);
            border: 1px solid rgba(139, 92, 246, 0.12);
            color: #b8c0d8;
            text-decoration: none;
            font-size: 18px;
            transition: transform .2s ease, color .2s ease, background .2s ease;
        }

        .flagup-footer .footer-social:hover {
            transform: translateY(-3px);
            color: #fff;
            background: rgba(139, 92, 246, 0.22);
        }

        .flagup-footer .footer-links {
            display: flex;
            flex-wrap: wrap;
            gap: 18px;
            margin-top: 22px;
        }

        .flagup-footer .footer-links a {
            color: #9da4ba;
            text-decoration: none;
            font-size: 13px;
            transition: color .2s ease;
        }

        .flagup-footer .footer-links a:hover {
            color: #a78bfa;
        }

        .flagup-footer .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            margin-top: 38px;
            padding-top: 20px;
            border-top: 1px solid rgba(148, 163, 184, 0.13);
            font-size: 13px;
        }

        .flagup-footer .footer-bottom p {
            margin: 0;
        }

        .flagup-footer .footer-made {
            color: #9da4ba;
        }

        .flagup-footer .footer-made i {
            color: #8b5cf6;
            margin: 0 3px;
        }

        @media (max-width: 768px) {
            .flagup-footer .footer-container {
                width: min(100% - 30px, 620px);
                padding: 38px 0 20px;
            }

            .flagup-footer .footer-main {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .flagup-footer .footer-title {
                margin-bottom: 13px;
            }

            .flagup-footer .footer-brand {
                text-align: center;
            }

            .flagup-footer .footer-logo {
                justify-content: center;
            }

            .flagup-footer .footer-tagline {
                margin: 0 auto;
            }

            .flagup-footer .footer-socials {
                justify-content: center;
            }

            .flagup-footer .footer-links {
                justify-content: center;
                margin-top: 18px;
            }

            .flagup-footer .footer-contact {
                max-width: 360px;
                margin: 0 auto;
            }

            .flagup-footer .footer-bottom {
                flex-direction: column;
                text-align: center;
                margin-top: 28px;
                gap: 8px;
            }
        }

        @media (max-width: 400px) {
            .flagup-footer .footer-container {
                width: calc(100% - 24px);
            }

            .flagup-footer .footer-logo-text {
                font-size: 24px;
            }

            .flagup-footer .footer-social {
                width: 42px;
                height: 42px;
                font-size: 16px;
            }
        }

        /* ================= FP-STRIP MOBILE STYLES ================= */
        @media (max-width: 768px) {
            .fp-strip-head {
                display: none;
            }

            .fp-strip-items {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
        }

        @media (max-width: 768px) {

            .flagup-footer .footer-container {
                width: min(100% - 30px, 620px);
                padding: 38px 0 20px;
            }

            .flagup-footer .footer-main {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            /* Brand */
            .flagup-footer .footer-brand {
                text-align: center;
            }

            .flagup-footer .footer-logo {
                justify-content: center;
            }

            .flagup-footer .footer-tagline {
                margin: 0 auto;
            }

            /* Contact - CENTER ON MOBILE */
            .flagup-footer .footer-contact-column {
                text-align: center;
            }

            .flagup-footer .footer-contact-column .footer-title {
                text-align: center;
            }

            .flagup-footer .footer-contact {
                max-width: 380px;
                margin: 0 auto;
                align-items: center;
            }

            .flagup-footer .footer-contact-item {
                justify-content: center;
                text-align: center;
                width: 100%;
            }

            .flagup-footer .footer-contact-item i {
                flex-shrink: 0;
            }

            /* Social */
            .flagup-footer .footer-social-column {
                text-align: center;
            }

            .flagup-footer .footer-social-column .footer-title {
                text-align: center;
            }

            .flagup-footer .footer-socials {
                justify-content: center;
            }

            /* Footer links */
            .flagup-footer .footer-links {
                justify-content: center;
                margin-top: 18px;
            }

            /* Bottom */
            .flagup-footer .footer-bottom {
                flex-direction: column;
                text-align: center;
                margin-top: 28px;
                gap: 8px;
            }
        }

        /* ================= FLAGUP HEADER ================= */

        .flagup-header-logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: #fff;
            transition: opacity 0.2s ease, transform 0.2s ease;
        }

        .flagup-header-logo:hover {
            color: #fff;
            opacity: 0.9;
            transform: translateY(-1px);
        }

        .flagup-header-logo-img {
            width: 46px;
            height: 46px;
            object-fit: contain;
        }

        .flagup-header-logo-text {
            font-family: "Space Grotesk", sans-serif;
            font-size: 28px;
            line-height: 1;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: #0d6ddb;
        }

        .flagup-header-logo-text span {
            color: #da3434;
        }

        /* Header background */
        header,
        .flagup-header {
            background: #080b1d !important;
            border-bottom: 1px solid rgba(148, 163, 184, 0.13);
        }

        /* Header links */
        .flagup-header a {
            color: #aeb3c7;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .flagup-header a:hover {
            color: #fff;
        }

        /* Mobile */
        @media (max-width: 768px) {

            .flagup-header-logo-img {
                width: 40px;
                height: 40px;
            }

            .flagup-header-logo-text {
                font-size: 24px;
            }
        }

        @media (max-width: 400px) {

            .flagup-header-logo {
                gap: 7px;
            }

            .flagup-header-logo-img {
                width: 36px;
                height: 36px;
            }

            .flagup-header-logo-text {
                font-size: 22px;
            }
        }

        .floating-contact-stack {
            position: fixed;
            bottom: 25px;
            right: 25px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            z-index: 45;
            /* was 99999 — now correctly sits below .mobile-menu (49) and modals */
            font-family: system-ui, -apple-system, sans-serif;
        }

        /* Core Circular Button Styling */
        .floating-action-btn {
            position: relative;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #ffffff !important;
            text-decoration: none !important;
            font-size: 24px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            /* removes gray flash on tap */
            touch-action: manipulation;
            /* removes tap delay on mobile */
        }

        /* Specific Branding Colors */
        .call-btn {
            background-color: #007bff;
        }

        /* Bootstrap Primary Blue */
        .email-btn {
            background-color: #6c757d;
        }

        /* Sleek Neutral Gray */
        .whatsapp-btn {
            background-color: #25d366;
        }

        /* Official WhatsApp Green */

        /* Desktop Hover Mechanics */
        .floating-action-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
        }

        /* Tooltip Box Styles */
        .floating-action-btn .action-tooltip {
            visibility: hidden;
            opacity: 0;
            position: absolute;
            right: 70px;
            background-color: #212529;
            color: #ffffff;
            font-size: 13px;
            font-weight: 500;
            padding: 6px 12px;
            border-radius: 6px;
            white-space: nowrap;
            transition: opacity 0.2s ease, transform 0.2s ease;
            transform: translateX(10px);
            pointer-events: none;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        /* Tooltip Hover Trigger (Desktop Only) */
        @media (min-width: 769px) {
            .floating-action-btn:hover .action-tooltip {
                visibility: visible;
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Mobile Layout Adaptation (768px and below) */
        @media (max-width: 768px) {
            .floating-contact-stack {
                bottom: calc(20px + env(safe-area-inset-bottom));
                right: calc(20px + env(safe-area-inset-right));
                flex-direction: row;
                /* was row-reverse */
                gap: 10px;
            }

            /* Explicit order = the actual fix for "WhatsApp on the outer edge" */
            .call-btn {
                order: 1;
            }

            .email-btn {
                order: 2;
            }

            .whatsapp-btn {
                order: 3;
            }

            .floating-action-btn {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }

            /* Suppress tooltips on touch devices to prevent layout disruption */
            .floating-action-btn .action-tooltip {
                display: none !important;
            }
        }

        /* Extra-small phones, matches your existing 400px breakpoint pattern */
        @media (max-width: 400px) {
            .floating-contact-stack {
                right: calc(14px + env(safe-area-inset-right));
                bottom: calc(16px + env(safe-area-inset-bottom));
                gap: 8px;
            }

            .floating-action-btn {
                width: 44px;
                height: 44px;
                font-size: 18px;
            }
        }