/* ========== FOUNDATION ========== */
:root {
  --bg-color: #050810;
  --bg-card: rgba(12, 18, 35, 0.85);
  --bg-dark: #000000;
  --bg-card-dark: #080d1a;
  --bg-surface: rgba(15, 22, 42, 0.9);

  --text-main: #F0F4FF;
  --text-muted: #7A8BA8;
  --text-light: #FFFFFF;
  --text-dim: #3a4a65;

  --accent-purple: #7c3aed;
  --accent-violet: #8b5cf6;
  --accent-fuchsia: #d946ef;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-brand: #d946ef;
  --accent-orange: #f97316;

  --glow-purple: rgba(124, 58, 237, 0.4);
  --glow-fuchsia: rgba(217, 70, 239, 0.35);
  --glow-cyan: rgba(6, 182, 212, 0.3);

  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 48px;

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.25);

  --trans-fast: 0.2s ease;
  --trans-smooth: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

::-webkit-scrollbar {
  display: none;
  width: 0px;
  background: transparent;
}

body {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

#page-zoom-wrapper {
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.6s ease;
  will-change: transform, opacity;
  width: 100%;
  position: relative;
}

/* Grid overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

::selection {
  background: var(--accent-fuchsia);
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========== NOISE TEXTURE OVERLAY ========== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

/* ========== CUSTOM CURSOR ========== */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--accent-fuchsia);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), height 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s, border 0.35s, box-shadow 0.35s;
  will-change: transform;
  box-shadow: 0 0 15px var(--accent-fuchsia);
}

.custom-cursor.hover {
  width: 90px;
  height: 90px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.custom-cursor.hover::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: none;
  background: rgba(124, 58, 237, 0.2);
  backdrop-filter: blur(10px) brightness(1.2);
  -webkit-backdrop-filter: blur(10px) brightness(1.2);
  mask-image: radial-gradient(circle, transparent 30%, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, transparent 30%, black 60%, transparent 100%);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.4), inset 0 0 30px rgba(124, 58, 237, 0.2);
  animation: cursorPulse 1.2s ease-in-out infinite alternate;
}

@keyframes cursorPulse {
  0% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1.1);
  }
}

.lens-magnify {
  transform: scale(1.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

@media (min-width: 769px) {

  a,
  .interactive-card,
  .btn,
  button {
    cursor: none;
  }
}

/* ========== AMBIENT GLOWS ========== */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  z-index: -1;
  opacity: 0.3;
  /* No will-change — these are fixed, large, blurred; promoting to GPU layer wastes VRAM */
  animation: pulseGlow 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.bg-glow.blur-red {
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.6) 0%, transparent 70%);
  top: -200px;
  right: -300px;
}

.bg-glow.blur-orange {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.5) 0%, transparent 70%);
  top: 400px;
  left: -200px;
  animation-delay: -10s;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1) translate(0, 0);
  }

  50% {
    transform: scale(1.08) translate(-40px, 60px);
  }

  100% {
    transform: scale(0.92) translate(60px, -30px);
  }
}

/* ========== AMBIENT GLOWS ========== */

/* ========== SECTION BG TEXT ========== */
.section-bg-text {
  position: absolute;
  font-size: clamp(4rem, 11vw, 13rem);
  font-weight: 900;
  letter-spacing: -3px;
  color: var(--text-main);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  user-select: none;
  text-transform: capitalize;
  overflow: hidden;
}

.section-bg-text.top-center {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.section-bg-text.top-right {
  top: 0;
  right: 0;
  -webkit-mask-image: linear-gradient(to left, black 50%, transparent 100%);
  mask-image: linear-gradient(to left, black 50%, transparent 100%);
}

.section-bg-text.bottom-left {
  bottom: 0;
  left: 0;
  -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%);
  mask-image: linear-gradient(to right, black 50%, transparent 100%);
}

.features-section,
.benefits-section,
.roadmap-section,
.instagram-stats-section,
.case-studies-section,
.faq-section,
.social-connect-section,
.split-contact-section {
  position: relative;
  overflow: visible;
}

/* Remove the black top-fade pseudo-elements — they were causing the dark bands */

.section-center-head,
.features-map-grid,
.benefits-grid,
.results-grid,
.test-grid,
.ig-client-tabs,
.ig-bento-grid {
  position: relative;
  z-index: 1;
}

.section-center-head.right-aligned {
  text-align: right;
  align-items: flex-end;
}

.section-center-head.right-aligned .section-desc {
  text-align: right;
}

.section-center-head.left-aligned {
  text-align: left;
  align-items: flex-start;
}

.section-center-head.left-aligned .section-desc {
  text-align: left;
}

/* ========== NAVBAR ========== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(5, 8, 16, 0.6);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1100px;
  border-radius: 100px;
  border: 1px solid rgba(124, 58, 237, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 9000;
  opacity: 1;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

/* Lock opacity to 1 after animation completes */
.navbar.ready {
  opacity: 1;
}

.navbar.scrolled {
  background: rgba(5, 8, 16, 0.92);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(124, 58, 237, 0.2);
  padding: 0.75rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-fuchsia));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

/* ========== LAYOUT ========== */
/* app-wrapper constrains inner content but sections that need full-bleed break out */
.app-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* Hero breaks out of app-wrapper to be full-width */
.hero-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Hero container stays centered at max-width */
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
  gap: 4rem;
  z-index: 10;
  position: relative;
}


/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  will-change: transform;
  text-transform: capitalize;
}

.btn-sm {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-fuchsia));
  color: #fff;
  border: 1px solid rgba(217, 70, 239, 0.3);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-card);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
}

.d-flex-align {
  display: inline-flex;
  align-items: center;
}

/* ========== HERO ========== */
.hero-section {
  min-height: 100vh;
  padding: 12rem 0 8rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Hero load animations */
.hero-content>* {
  opacity: 0;
  transform: translateY(40px);
  animation: heroItemReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content>*:nth-child(1) {
  animation-delay: 0.5s;
}

.hero-content>*:nth-child(2) {
  animation-delay: 0.65s;
}

.hero-content>*:nth-child(3) {
  animation-delay: 0.8s;
}

.hero-content>*:nth-child(4) {
  animation-delay: 0.95s;
}

.hero-content>*:nth-child(5) {
  animation-delay: 1.1s;
}

@keyframes heroItemReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(124, 58, 237, 0.12);
  backdrop-filter: blur(16px);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-fuchsia);
  box-shadow: 0 0 10px var(--accent-fuchsia);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    box-shadow: 0 0 6px var(--accent-fuchsia);
  }

  50% {
    box-shadow: 0 0 18px var(--accent-fuchsia), 0 0 30px rgba(217, 70, 239, 0.4);
  }
}

.pill-highlight {
  color: var(--text-main);
  opacity: 0.9;
}

.pill-divider {
  color: rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  text-align: left;
}

.hero-subtitle-strong {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-fuchsia), var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 520px;
  line-height: 1.7;
  text-align: left;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

/* ========== HERO GRAPHICS ========== */
.hero-graphics {
  flex: 1;
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: heroItemReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

.float-card {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(28px);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.15);
  animation: floatAnim 8s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes floatAnim {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-18px);
  }
}

.card-roas {
  top: 10%;
  right: 0;
  width: 280px;
  animation-delay: 0s;
}

.card-leads {
  bottom: 20%;
  left: 0;
  width: 320px;
  animation-delay: -3s;
}

.float-badge {
  padding: 0.8rem 1.2rem;
  border-radius: 100px;
  top: 60%;
  right: -5%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(5, 8, 16, 0.9);
  border: 1px solid rgba(124, 58, 237, 0.2);
  animation-delay: -5s;
}

.fc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.fc-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-fuchsia);
  letter-spacing: 1px;
}

.fc-value {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  display: block;
}

.text-main {
  color: var(--text-main);
}

.fc-bar-container {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin: 1rem 0;
}

.fc-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-fuchsia));
  border-radius: 2px;
}

.fc-footer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: dotPulse 2s ease-in-out infinite;
}

.live-dot.sm {
  width: 6px;
  height: 6px;
}

.fc-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 40px;
  margin-top: 1.5rem;
}

.fc-chart .bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent-purple), transparent);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
}

.fc-chart .bar:last-child {
  opacity: 1;
  background: linear-gradient(to top, var(--accent-fuchsia), var(--accent-purple));
}

.text-green {
  color: var(--accent-green);
}

.text-dark {
  color: var(--text-main);
}

.text-blue {
  color: var(--accent-violet);
}

/* ========== RESPONSIVE DESIGN FOR ALL SECTIONS ========== */
@media (max-width: 1150px) {
  .ig-bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ig-bento-grid .ig-history {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {

  /* Hero */
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
    padding-top: 2rem;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    text-align: center;
  }

  .hero-subtitle-strong {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
  }

  .hero-subtitle {
    text-align: center;
    margin: 0 auto 2rem auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-graphics {
    height: 400px;
    width: 100%;
    margin-top: 2rem;
  }

  .card-roas {
    top: 0;
    right: 5%;
    width: 220px;
  }

  .card-leads {
    bottom: 0;
    left: 5%;
    width: 240px;
  }

  .float-badge {
    top: 50%;
    right: 0;
  }

  /* Services Map Grid */
  .features-map-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem;
  }

  .feature-center-brand {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    height: 100px !important;
    flex-direction: row !important;
    gap: 1rem;
    justify-self: stretch !important;
    border-radius: 20px !important;
    order: -1;
    animation: none !important;
    margin-bottom: 1rem;
  }

  .brand-center-icon {
    margin-bottom: 0 !important;
  }

  /* Other Grids */
  .roadmap-container.horizontal-roadmap {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .features-map-grid {
    grid-template-columns: 1fr !important;
  }

  /* Hide the decorative center brand connector on single-column mobile — it has no context without the grid layout */
  .feature-center-brand {
    display: none !important;
  }

  .ig-bento-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    column-count: 1;
  }

  /* Social Connect Tabs 2x2 Grid universally on sub-desktop */
  .social-links-row {
    width: 100%;
    max-width: 500px;
    gap: 0.8rem;
    justify-content: center;
  }

  .social-pill {
    padding: 0.4rem 0.4rem 0.4rem 1rem;
    gap: 0.6rem;
    font-size: 0.8rem;
    width: calc(50% - 0.5rem);
    justify-content: flex-start;
  }

  .social-pill span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sp-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .sp-icon svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .hero-graphics {
    height: 350px;
  }

  .card-roas {
    width: 180px;
    padding: 1.2rem;
    right: 0;
  }

  .card-leads {
    width: 200px;
    padding: 1.2rem;
    left: 0;
    bottom: 10%;
  }

  .float-badge {
    font-size: 0.7rem;
    padding: 0.5rem 0.8rem;
    top: 60%;
    right: -5%;
  }

  .fc-value {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .test-card {
    width: 300px;
    padding: 1.5rem;
  }
}



/* ========== SCROLL INDICATOR ========== */
.scroll-down-indicator {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  animation: heroItemReveal 0.8s ease 1.8s forwards;
}

.scroll-down-indicator a {
  pointer-events: auto;
}

.scroll-btn {
  width: 50px;
  height: 50px;
  background: rgba(124, 58, 237, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.25);
  animation: scrollBounce 2.5s infinite;
  transition: all var(--trans-fast);
}

.scroll-btn:hover {
  background: var(--accent-purple);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

@keyframes scrollBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* ========== MARQUEE ========== */
.trusted-section {
  margin-bottom: 10rem;
  text-align: center;
  overflow: hidden;
  padding: 3rem 0;
  position: relative;
}

.trusted-section::before,
.trusted-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(124, 58, 237, 0.15), transparent);
}

.trusted-section::before {
  top: 0;
}

.trusted-section::after {
  bottom: 0;
}

.trusted-heading {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 3rem;
  font-weight: 600;
}

.marquee-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, transparent);
}

.marquee-content {
  display: flex;
  gap: 7rem;
  align-items: center;
  animation: scrollMarquee 40s linear infinite;
  will-change: transform;
}

.partner-logo {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: -0.5px;
  opacity: 0.5;
  transition: var(--trans-fast);
}

.partner-logo:hover {
  opacity: 1;
  color: var(--text-main);
}

.font-bold {
  font-weight: 800;
  font-style: italic;
}

.partner-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  opacity: 0.4;
  filter: grayscale(1) brightness(2);
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
  flex-shrink: 0;
  user-select: none;
  display: block;
  pointer-events: auto;
  cursor: default;
  will-change: filter, opacity, transform;
}
.partner-logo-img.lit {
  opacity: 1;
  filter: grayscale(0) brightness(1.2) drop-shadow(0 0 16px rgba(217,70,239,0.9));
  transform: scale(1.18);
}

/* Pause marquee while any logo is hovered */
.marquee-container.paused .marquee-content {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ========== FEATURES ========== */
.features-section {
  margin-bottom: 7rem;
  position: relative;
}

.section-center-head {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-main);
  line-height: 1.1;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-top: 1rem;
  line-height: 1.6;
}

.features-map-grid {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-map-item {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 58, 237, 0.1);
  z-index: 1;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s, box-shadow 0.5s;
  overflow: hidden;
}

.feature-map-item:hover {
  border-color: rgba(217, 70, 239, 0.5);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2), inset 0 0 0 1px rgba(124, 58, 237, 0.1);
  transform: translateY(-8px);
}

.feature-map-item .icon-wrapper {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
}

.feature-map-item:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 25px rgba(217, 70, 239, 0.4);
}

.features-map-grid .feature-center-brand {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.features-section.active .feature-center-brand {
  opacity: 1;
  transform: scale(1);
}

/* ===== CONNECTOR LINES — L-shaped from card center to brand center ===== */
/*
  Each connector runs from the card's vertical midpoint horizontally
  across the column gap (2rem), then turns vertically to reach the
  brand center (which is at 50% of the full grid height).

  The brand element is 150px tall, grid-row 1/3, align-self: center.
  Cards sit in row 1 (items 1,2) or row 2 (items 3,4).

  Strategy:
  - Horizontal leg: 2rem wide, sits in the column gap, at card's 50% height
  - Vertical leg: extends from card's 50% up/down to the brand's center
  - The corner (dot) is at the gap edge, at card's 50% height
  - We use top: 50% / bottom: 50% + translateY(-50%) to center on card
*/

.feature-map-item::before,
.feature-map-item::after {
  content: '';
  position: absolute;
  pointer-events: none;
  opacity: 0;
  z-index: 3;
}

/* item-1: top-left card — horizontal leg at card center going right,
   vertical leg going down to brand center */
.feature-item-1::before {
  top: 50%;
  right: calc(-2rem - 15px);
  width: calc(2rem + 15px);
  height: calc(50% + 1rem);
  border-top: 1px solid rgba(124, 58, 237, 0.55);
  border-right: 1px solid rgba(124, 58, 237, 0.55);
  border-top-right-radius: 8px;
  transition: opacity 0.4s ease 0.3s;
}

.feature-item-1::after {
  top: 50%;
  right: calc(-2rem - 15px);
  transform: translate(50%, -50%) scale(0);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d946ef;
  box-shadow: 0 0 10px #d946ef, 0 0 20px rgba(217, 70, 239, 0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.8s, opacity 0.2s 0.8s;
}

/* item-2: top-right card — horizontal leg at card center going left,
   vertical leg going down to brand center */
.feature-item-2::before {
  top: 50%;
  left: calc(-2rem - 15px);
  width: calc(2rem + 15px);
  height: calc(50% + 1rem);
  border-top: 1px solid rgba(124, 58, 237, 0.55);
  border-left: 1px solid rgba(124, 58, 237, 0.55);
  border-top-left-radius: 8px;
  transition: opacity 0.4s ease 0.9s;
}

.feature-item-2::after {
  top: 50%;
  left: calc(-2rem - 15px);
  transform: translate(-50%, -50%) scale(0);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d946ef;
  box-shadow: 0 0 10px #d946ef, 0 0 20px rgba(217, 70, 239, 0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.4s, opacity 0.2s 1.4s;
}

/* item-3: bottom-left card — horizontal leg at card center going right,
   vertical leg going up to brand center */
.feature-item-3::before {
  bottom: 50%;
  right: calc(-2rem - 15px);
  width: calc(2rem + 15px);
  height: calc(50% + 1rem);
  border-bottom: 1px solid rgba(124, 58, 237, 0.55);
  border-right: 1px solid rgba(124, 58, 237, 0.55);
  border-bottom-right-radius: 8px;
  transition: opacity 0.4s ease 1.5s;
}

.feature-item-3::after {
  bottom: 50%;
  right: calc(-2rem - 15px);
  transform: translate(50%, 50%) scale(0);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d946ef;
  box-shadow: 0 0 10px #d946ef, 0 0 20px rgba(217, 70, 239, 0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 2.0s, opacity 0.2s 2.0s;
}

/* item-4: bottom-right card — horizontal leg at card center going left,
   vertical leg going up to brand center */
.feature-item-4::before {
  bottom: 50%;
  left: calc(-2rem - 15px);
  width: calc(2rem + 15px);
  height: calc(50% + 1rem);
  border-bottom: 1px solid rgba(124, 58, 237, 0.55);
  border-left: 1px solid rgba(124, 58, 237, 0.55);
  border-bottom-left-radius: 8px;
  transition: opacity 0.4s ease 2.1s;
}

.feature-item-4::after {
  bottom: 50%;
  left: calc(-2rem - 15px);
  transform: translate(-50%, 50%) scale(0);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d946ef;
  box-shadow: 0 0 10px #d946ef, 0 0 20px rgba(217, 70, 239, 0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 2.6s, opacity 0.2s 2.6s;
}

@media (max-width: 900px) {

  .feature-map-item::before,
  .feature-map-item::after {
    display: none !important;
  }
}

/* Reveal on active */
.features-section.active .feature-item-1::before,
.features-section.active .feature-item-2::before,
.features-section.active .feature-item-3::before,
.features-section.active .feature-item-4::before {
  opacity: 1;
}

.features-section.active .feature-item-1::after {
  opacity: 1;
  transform: translate(50%, -50%) scale(1);
}

.features-section.active .feature-item-2::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.features-section.active .feature-item-3::after {
  opacity: 1;
  transform: translate(50%, 50%) scale(1);
}

.features-section.active .feature-item-4::after {
  opacity: 1;
  transform: translate(-50%, 50%) scale(1);
}

/* Card reveal sequences */
.features-section.active .feature-item-1 {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease 0.8s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

.features-section.active .feature-item-2 {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease 1.4s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.4s;
}

.features-section.active .feature-item-3 {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease 2.0s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 2.0s;
}

.features-section.active .feature-item-4 {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease 2.6s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 2.6s;
}


.shadow-soft {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.icon-wrapper {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.bg-soft-dark {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-fuchsia)) !important;
  color: #fff !important;
}

.feature-map-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.feature-map-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-center-brand {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  align-self: center;
  justify-self: center;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-fuchsia) 100%);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.5), 0 0 0 1px rgba(217, 70, 239, 0.3);
  z-index: 2;
  position: relative;
  letter-spacing: -0.5px;
  text-align: center;
  overflow: hidden;
  animation: brandPulse 3s ease-in-out infinite;
}

.feature-center-brand::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 255, 255, 0.1) 60deg, transparent 120deg);
  animation: spin 4s linear infinite;
}

.brand-center-icon {
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.feature-center-brand span {
  position: relative;
  z-index: 1;
}

@keyframes brandPulse {

  0%,
  100% {
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.5), 0 0 0 1px rgba(217, 70, 239, 0.3);
  }

  50% {
    box-shadow: 0 25px 65px rgba(124, 58, 237, 0.7), 0 0 0 1px rgba(217, 70, 239, 0.5), 0 0 60px rgba(217, 70, 239, 0.2);
  }
}

.hover-glow:hover {
  box-shadow: 0 30px 60px rgba(124, 58, 237, 0.4);
}

/* ========== BENEFITS ========== */
.benefits-section {
  margin-bottom: 7rem;
}

.benefits-grid {
  column-count: 2;
  column-gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .benefits-grid {
    column-count: 1;
  }
}

.benefit-card {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 58, 237, 0.1);
  display: flex;
  flex-direction: column;
  break-inside: avoid;
  margin-bottom: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.08);
}

.benefit-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: -0.3px;
}

.benefit-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.b-visual-metrics,
.b-visual-checks,
.b-visual-icon,
.b-visual-ui {
  background: rgba(5, 8, 16, 0.8);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
  min-height: 120px;
  border: 1px solid rgba(124, 58, 237, 0.08);
}

.b-visual-checks {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.b-metric-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.b-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  flex-grow: 1;
  position: relative;
  overflow: hidden;
}

.b-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-fuchsia));
  border-radius: 10px;
}

.w-70::after {
  width: 70%;
}

.w-90::after {
  width: 90%;
}

.w-50::after {
  width: 50%;
}

.b-tag {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(124, 58, 237, 0.12);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  color: var(--text-muted);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.b-check {
  width: 48px;
  height: 48px;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.15);
  transition: 0.3s;
}

.b-check.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-fuchsia));
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.b-shield {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  background: rgba(124, 58, 237, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
  position: relative;
}

.b-shield svg {
  stroke: var(--accent-violet);
}

.b-shield::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(124, 58, 237, 0.3);
  animation: spin 10s linear infinite;
}

.b-visual-ui {
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
}

.b-ui-element {
  background: rgba(124, 58, 237, 0.1);
  border-radius: 12px;
}

.b-ui-element.block {
  width: 100px;
  height: 60px;
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.b-ui-element.chat {
  width: 80px;
  height: 80px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: flex-end;
}

.b-ui-element.chat .line {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  width: 100%;
}

.b-ui-element.chat .line.short {
  width: 60%;
  background: var(--accent-fuchsia);
  opacity: 0.6;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ========== ROADMAP ========== */
.roadmap-section {
  margin-bottom: 7rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.roadmap-container.horizontal-roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.roadmap-step {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  z-index: 1;
  background: var(--bg-card);
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 58, 237, 0.1);
  transition: var(--trans-spring);
}

.roadmap-step:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.15);
}

.rm-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent-violet);
  flex-shrink: 0;
  margin-bottom: 0.5rem;
}

.rm-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.rm-content p {
  color: var(--text-muted);
  line-height: 1.6;
}

.highlight-step {
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.1);
}

.glow-node {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-fuchsia));
  color: #fff;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.5);
  border-color: transparent;
}

.hover-scale {
  will-change: transform;
  transition: var(--trans-spring);
}

.hover-scale:hover {
  transform: translateY(-10px);
}

/* ========== CASE STUDIES ========== */
.case-studies-section {
  margin-bottom: 7rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.cs-card {
  background: var(--bg-card);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  z-index: 1;
  transition: border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.cs-card:hover {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.1);
}

.cs-card-img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  height: 200px;
  flex-shrink: 0;
  margin-bottom: 1.25rem;
}

.cs-card:hover .cs-card-img {
  transform: scale(1.02);
}

.cs-tags {
  margin-bottom: 0.5rem;
}

.cs-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-fuchsia);
}

.cs-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  font-weight: 700;
  line-height: 1.2;
}

.cs-metrics {
  display: flex;
  gap: 2rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  margin-top: auto;
}

.cs-metric strong {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--accent-violet);
}

.cs-metric span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cs-card-wide {
  grid-column: 1 / -1;
  display: flex !important;
  flex-direction: row;
  gap: 2.5rem;
  align-items: stretch;
  padding: 2.5rem !important;
}

.cs-card-wide .cs-card-img {
  width: 45%;
  height: auto;
  min-height: 280px;
  margin-bottom: 0 !important;
  flex-shrink: 0;
}

.cs-card-wide .cs-content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 900px) {
  .cs-card-wide {
    flex-direction: column;
    padding: 1.5rem !important;
  }

  .cs-card-wide .cs-card-img {
    width: 100%;
    min-height: 200px;
  }

  .cs-card-wide .cs-content-wrap {
    width: 100%;
  }
}

/* Horizontal Case Study Card */
.cs-card-horizontal {
  background: var(--bg-card);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-smooth);
  overflow: hidden;
  position: relative;
}

.cs-card-horizontal:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.1);
}

.cs-horizontal-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cs-horizontal-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cs-horizontal-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.cs-metrics-horizontal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.cs-metrics-horizontal .cs-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cs-metrics-horizontal .cs-metric strong {
  font-size: 1.8rem;
  font-weight: 700;
  color: #10b981;
  line-height: 1;
}

.cs-metrics-horizontal .cs-metric span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .cs-card-horizontal {
    padding: 2rem;
  }
  
  .cs-horizontal-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cs-horizontal-right {
    order: -1;
  }
  
  .cs-metrics-horizontal {
    gap: 1.5rem;
  }
  
  .cs-metrics-horizontal .cs-metric strong {
    font-size: 1.5rem;
  }
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  margin-bottom: 7rem;
  padding: 4rem 0;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  /* No overflow:hidden here — let the wrapper handle clipping */
}

.testimonials-section .section-center-head {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.testimonial-marquee-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  overflow: hidden;
}

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  width: 18vw;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-color) 0%, transparent 100%);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-color) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-group {
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
  animation: scrollTestimonials 40s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  contain: layout style;
}

.marquee-group.reverse {
  animation-direction: reverse;
  animation-duration: 50s;
}

.test-card {
  width: 380px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  border: 1px solid rgba(124, 58, 237, 0.1);
  box-shadow: var(--shadow-sm);
  transition: var(--trans-spring);
}

.test-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.1);
}

.quote-icon {
  color: rgba(124, 58, 237, 0.25);
  margin-bottom: 1.5rem;
}

.test-quote {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  letter-spacing: -0.2px;
  color: var(--text-main);
}

.test-author {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.test-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.test-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; color: #fff;
  flex-shrink: 0;
}

.test-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.test-info span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ========== INSTAGRAM STATS ========== */
.instagram-stats-section { margin-bottom: 7rem; }

.ig-client-tabs {
  display: flex; justify-content: center; gap: 1rem;
  margin-bottom: 3rem; flex-wrap: wrap;
}
.ig-tab {
  background: rgba(124,58,237,0.06);
  border: 1px solid rgba(124,58,237,0.12);
  padding: 0.8rem 1.5rem; border-radius: 100px;
  font-weight: 600; color: var(--text-muted);
  transition: var(--trans-fast); cursor: pointer; font-size: 0.95rem;
}
.ig-tab:hover { background: rgba(124,58,237,0.12); color: var(--text-main); }
.ig-tab.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-fuchsia));
  color: #fff; border-color: transparent;
  box-shadow: 0 8px 25px rgba(124,58,237,0.4);
}

/* ---- Proof grid layout ---- */
.ig-proof-grid {
  display: none;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.ig-proof-grid.active {
  display: grid;
  animation: fadeIn 0.45s ease-out forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Phone mockup ---- */
.ig-phone-wrap {
  position: relative;
  display: flex; justify-content: center;
}
.ig-phone-frame {
  position: relative;
  width: 280px;
  background: #0a0d1a;
  border-radius: 40px;
  border: 2px solid rgba(124,58,237,0.35);
  box-shadow:
    0 0 0 6px rgba(124,58,237,0.06),
    0 30px 80px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 14px 10px 10px;
}
.ig-phone-notch {
  width: 80px; height: 22px;
  background: #0a0d1a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
  position: relative; z-index: 2;
  border: 1px solid rgba(124,58,237,0.2);
  border-top: none;
}
.ig-phone-screen {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #111;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ig-screenshot {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.ig-phone-screen:hover .ig-screenshot { transform: scale(1.03); }
.ig-screen-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.2rem;
  transition: background 0.3s;
  pointer-events: none; /* let clicks pass through to the parent */
}
.ig-phone-screen:hover .ig-screen-overlay { background: rgba(0,0,0,0.45); }
.ig-zoom-hint {
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(124,58,237,0.9);
  color: #fff; font-size: 0.78rem; font-weight: 600;
  padding: 0.45rem 1rem; border-radius: 100px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.ig-phone-screen:hover .ig-zoom-hint { opacity: 1; transform: translateY(0); }
.ig-phone-glow {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 80px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.4) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

/* ---- Stats panel ---- */
.ig-stats-panel {
  display: flex; flex-direction: column; gap: 1.8rem;
}
.ig-client-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(225,48,108,0.08);
  border: 1px solid rgba(225,48,108,0.2);
  padding: 0.5rem 1rem; border-radius: 100px;
  font-size: 0.85rem; font-weight: 700; color: var(--text-main);
  width: fit-content;
}
.ig-stat-row {
  display: flex; gap: 2rem;
}
.ig-stat-block {
  display: flex; flex-direction: column; gap: 0.3rem;
  flex: 1;
  background: var(--bg-card);
  border: 1px solid rgba(124,58,237,0.1);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.6rem;
}
.ig-stat-num {
  font-size: 2.6rem; font-weight: 800;
  letter-spacing: -2px; line-height: 1;
  color: var(--text-main);
}
.ig-stat-label {
  font-size: 0.8rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
}
.ig-stat-delta {
  font-size: 0.82rem; font-weight: 600; margin-top: 0.2rem;
}
.ig-stat-delta.positive { color: var(--accent-green); }

.ig-proof-bar-section { display: flex; flex-direction: column; gap: 0.6rem; }
.ig-proof-bar-label {
  display: flex; justify-content: space-between;
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
}

.ig-status-bar {
  height: 8px; background: rgba(255,255,255,0.05);
  border-radius: 10px; overflow: hidden;
}
.ig-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-fuchsia));
  border-radius: 10px;
}
.w-80 { width: 80%; }

.ig-chart-container {
  display: flex; align-items: flex-end; justify-content: space-between;
  height: 100px; gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(124,58,237,0.08);
}
.ig-chart-bar {
  flex: 1; background: rgba(124,58,237,0.1);
  border-radius: 6px 6px 0 0; position: relative;
  transition: var(--trans-fast);
}
.ig-chart-bar.highlight {
  background: linear-gradient(to top, var(--accent-purple), var(--accent-fuchsia));
}
.ig-chart-bar:hover { background: rgba(124,58,237,0.3); }
.ig-chart-bar span {
  position: absolute; bottom: -22px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem; color: var(--text-muted);
  font-weight: 600; white-space: nowrap;
}

.ig-proof-note {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-muted);
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.15);
  padding: 0.7rem 1rem; border-radius: 10px;
}
.ig-proof-note svg { color: var(--accent-green); flex-shrink: 0; }

/* ---- Lightbox ---- */
.ig-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.ig-lightbox.open { display: flex; animation: fadeIn 0.25s ease; }
.ig-lightbox img {
  max-width: 90vw; max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 0 1px rgba(124,58,237,0.3);
  object-fit: contain;
}
.ig-lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.ig-lightbox-close:hover { background: rgba(217,70,239,0.3); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .ig-proof-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ig-phone-frame { width: 240px; }
}
@media (max-width: 600px) {
  .ig-stat-row { flex-direction: column; gap: 1rem; }

  /* Hide tabs and stats panel on mobile */
  .ig-client-tabs { display: none; }
  .ig-proof-grid,
  .ig-proof-grid.active { display: none !important; }

  /* Mobile carousel container */
  .ig-mobile-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding: 1rem 1.5rem 2rem;
    scrollbar-width: none;
    margin: 0 -1.5rem;
  }
  .ig-mobile-carousel::-webkit-scrollbar { display: none; }

  .ig-mobile-carousel-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .ig-mobile-carousel-item .ig-phone-frame {
    width: 220px;
  }

  .ig-mobile-carousel-item .ig-phone-glow { display: none; }

  .ig-mobile-carousel-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
  }

  /* Scroll dots */
  .ig-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  .ig-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: background 0.3s, width 0.3s;
  }
  .ig-carousel-dot.active {
    background: var(--accent-violet);
    width: 18px;
    border-radius: 3px;
  }
}
@media (min-width: 601px) {
  .ig-mobile-carousel,
  .ig-carousel-dots { display: none; }
}

/* ========== FAQ ========== */
.faq-section {
  margin-bottom: 7rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(124, 58, 237, 0.1);
  transition: var(--trans-fast);
}

.faq-item:hover {
  border-color: rgba(124, 58, 237, 0.25);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: none;
}

.faq-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-main);
  transition: color 0.3s;
}

.faq-header:hover h3 {
  color: var(--accent-fuchsia);
}

.faq-toggle {
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-spring);
  color: var(--text-main);
  background: rgba(124, 58, 237, 0.08);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-fuchsia));
  color: #fff;
  border-color: transparent;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  opacity: 0;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding-top: 1.5rem;
  opacity: 1;
}

.faq-content p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ========== SOCIAL CONNECT ========== */
.social-connect-section {
  margin-bottom: 8rem;
  text-align: center;
  position: relative;
}

.social-connect-section .section-title {
  font-size: 4rem;
  color: rgba(124, 58, 237, 0.05);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  white-space: nowrap;
}

.social-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-logo-mark {
  width: 80px;
  height: 80px;
  background: var(--bg-card);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.social-wrapper h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.social-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.social-links-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-pill {
  background: var(--bg-card);
  padding: 0.6rem 0.6rem 0.6rem 1.8rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(124, 58, 237, 0.1);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.social-pill:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.15);
}

.social-pill span {
  color: var(--text-main);
}

.sp-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-dark {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-fuchsia));
}

.text-white {
  color: #fff;
}

/* ========== CONTACT ========== */
.split-contact-section {
  margin-bottom: 7rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.contact-heading {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 3rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.c-info-item {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid rgba(124, 58, 237, 0.1);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.c-info-item:hover {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.08);
}

.c-icon {
  width: 50px;
  height: 50px;
  background: rgba(124, 58, 237, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-violet);
}

.c-text {
  display: flex;
  flex-direction: column;
}

.c-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.c-text strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-right {
  background: var(--bg-card);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 58, 237, 0.1);
}

/* ---- Contact form status & loader ---- */
/* Ensure [hidden] always wins over display rules */
[hidden] { display: none !important; }

.cf-status {
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.cf-status.success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: #10b981;
}
.cf-status.error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: #ef4444;
}
#cf-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.cf-btn-loader { display: inline-flex; align-items: center; gap: 0.5rem; }

.cr-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
  padding: 0.5rem 0;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  background: transparent;
  transition: border-color var(--trans-fast);
  outline: none;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--accent-fuchsia);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.15);
}

.form-attachment {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  cursor: pointer;
}

.w-100 {
  width: 100%;
}

/* ========== FOOTER ========== */
.site-footer {
  background: transparent;
  padding: 8rem 0 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  /* Blend seamlessly with body */
  background: linear-gradient(to bottom, transparent 0%, var(--bg-color) 30%);
}

.footer-ambient-glow {
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-links-group h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #fff;
}

.footer-links-group a {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
  font-size: 1rem;
  transition: var(--trans-fast);
}

.footer-links-group a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-form-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  background: rgba(124, 58, 237, 0.08);
  padding: 0.5rem;
  border-radius: 100px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  transition: border 0.3s;
}

.contact-form:focus-within {
  border-color: var(--accent-fuchsia);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.contact-form input {
  flex-grow: 1;
  background: transparent !important;
  border: none;
  padding: 0.8rem 1.5rem;
  color: #fff;
  font-size: 1rem;
  outline: none;
  border-radius: 100px;
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.btn-submit {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-fuchsia));
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.btn-submit:hover {
  transform: scale(1.08) rotate(-10deg);
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.5);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(124, 58, 237, 0.15);
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  position: relative;
  z-index: 5;
}

.fb-right {
  display: flex;
  gap: 2.5rem;
}

.footer-huge-text {
  position: absolute;
  /* Shift up so it sits behind the footer grid, not below it */
  top: -2rem;
  left: 0;
  width: 100%;
  font-size: 16vw;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.09), rgba(217, 70, 239, 0.07));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -6px;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  /* Fade out at bottom so it doesn't bleed into copyright */
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 85%);
  mask-image: linear-gradient(to bottom, black 30%, transparent 85%);
}

/* ========== REVEAL / STAGGER ========== */
.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.85); /* Scroll-Triggered Zoom Initial State */
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1); /* Scroll-Triggered Zoom Final State */
}

.auto-stagger {
  opacity: 0;
  transform: translateY(40px) scale(0.85); /* Scroll-Triggered Zoom Initial State */
  filter: blur(8px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s ease;
  transition-delay: calc(var(--stagger-index) * 0.1s);
  will-change: transform, opacity, filter;
}

.reveal.active .auto-stagger {
  opacity: 1;
  transform: translateY(0) scale(1); /* Scroll-Triggered Zoom Final State */
  filter: blur(0px);
}

/* ========== INTERACTIVE CARD 3D TILT ========== */
.interactive-card {
  transition: transform 0.15s linear, box-shadow 0.3s ease;
  contain: layout style;
}

/* ========== PARALLAX LAYERS ========== */
/* will-change only on elements that actually animate via JS */
[data-parallax] {
  will-change: transform;
}

/* ========== SPACE CANVAS (replaces old particles) ========== */
#space-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -3;
  opacity: 1;
}

/* ========== SCROLL PROGRESS BAR ========== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-fuchsia), var(--accent-cyan));
  z-index: 10001;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--accent-fuchsia);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-fuchsia));
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 8999;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5);
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.7);
  transform: translateY(-3px) scale(1.08);
}

/* ========== SECTION DIVIDERS ========== */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(124, 58, 237, 0.2), transparent);
  margin: 0 auto 8rem;
}

/* ========== RESPONSIVE ========== */
/* Pause CSS animations when tab is hidden */
body.page-hidden .marquee-content,
body.page-hidden .marquee-group,
body.page-hidden .bg-glow,
body.page-hidden .hero-mesh-blob,
body.page-hidden .orbit-ring,
body.page-hidden .nebula-1,
body.page-hidden .nebula-2,
body.page-hidden .geo-cube,
body.page-hidden .geo-ring,
body.page-hidden .geo-pyramid,
body.page-hidden .pill-dot,
body.page-hidden .live-dot,
body.page-hidden .feature-center-brand,
body.page-hidden .hero-grid-floor {
  animation-play-state: paused !important;
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
    letter-spacing: -1.5px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
  }

  .cs-grid {
    grid-template-columns: 1fr;
  }

  .ig-bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ig-history {
    grid-column: 1 / 3;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    border-radius: 24px;
    padding: 1.2rem;
    top: 1rem;
    width: 95%;
  }

  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
    letter-spacing: -1px;
  }

  .hero-container {
    flex-direction: column;
  }

  .hero-graphics {
    display: none;
  }

  .contact-heading {
    font-size: 2.8rem;
    letter-spacing: -1px;
  }

  .testimonial-marquee-wrapper {
    margin-left: 0;
    width: 100%;
  }

  .testimonials-section {
    margin-left: calc(-50vw + 50%);
    width: 100vw;
  }

  .test-card {
    width: 85vw;
    padding: 2rem;
  }

  .roadmap-container.horizontal-roadmap {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }

  .cs-card {
    padding: 1.5rem;
  }

  .cs-metrics {
    gap: 2rem;
    flex-direction: column;
  }

  .ig-bento-grid {
    grid-template-columns: 1fr;
  }

  .ig-history {
    grid-column: 1 / 2;
  }

  .contact-right {
    padding: 2rem;
  }

  .benefits-grid {
    column-count: 1;
  }
}

/* ========== FAQ ACCORDION WRAPPER ========== */
.faq-accordion {
  display: flex;
  flex-direction: column;
}

/* ========== LOGO SYMBOL DARK FIX ========== */
.logo-symbol rect {
  fill: rgba(124, 58, 237, 0.2);
}

.logo-symbol path {
  stroke: var(--accent-violet);
}

.logo-symbol circle {
  fill: var(--accent-fuchsia);
}

/* ========== BRAND CENTER ICON FIX ========== */
.brand-center-icon rect {
  fill: rgba(255, 255, 255, 0.15);
}

.brand-center-icon path {
  stroke: #fff;
}

.brand-center-icon circle {
  fill: #fff;
}

/* ========== SOCIAL LOGO MARK FIX ========== */
.social-logo-mark svg rect {
  fill: rgba(124, 58, 237, 0.2);
}

.social-logo-mark svg path {
  stroke: var(--accent-violet);
}

.social-logo-mark svg circle {
  fill: var(--accent-fuchsia);
}

/* ========== FOOTER LOGO FIX ========== */
.footer-brand .logo-symbol rect {
  fill: rgba(124, 58, 237, 0.2);
}

/* ========== PILL BADGE SM ========== */
.pill-badge.sm {
  margin-bottom: 1rem;
  font-size: 0.7rem;
}

/* ========== CONTACT FORM SUBMIT BUTTON ========== */
.btn-submit svg {
  pointer-events: none;
}

/* ========== FOOTER DARK THEME ========== */
.site-footer.dark-theme {
  background: linear-gradient(to bottom, transparent 0%, #020408 20%);
  padding-bottom: 0;
}

/* Fade the last section into the footer seamlessly */
.split-contact-section {
  padding-bottom: 4rem;
}

/* ========== SECTION PARALLAX ========== */
.section-parallax {
  will-change: transform;
}

/* ========== LIVING GLOW RINGS (hero) ========== */
.hero-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  border: 1px solid rgba(217, 70, 239, 0.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 8s ease-in-out infinite 2s;
  pointer-events: none;
  z-index: 0;
}

@keyframes ringPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
  }
}

/* ========== GRADIENT TEXT UTILITY ========== */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-fuchsia));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========== CARD HOVER GLOW BORDER ========== */
.float-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow-md), 0 0 30px rgba(124, 58, 237, 0.15);
}

/* ========== THIRD AMBIENT GLOW ========== */
.bg-glow.blur-cyan {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  bottom: 20%;
  right: 10%;
  animation-delay: -5s;
}

/* ========== NEBULA DEPTH LAYERS ========== */
.nebula-layer {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  /* will-change removed — large blurred elements create huge GPU textures */
}

.nebula-1 {
  width: 1000px;
  height: 500px;
  top: -50px;
  left: 50%;
  transform: translateX(-60%);
  background: radial-gradient(ellipse at 40% 50%,
      rgba(124, 58, 237, 0.1) 0%,
      rgba(217, 70, 239, 0.05) 40%,
      transparent 70%);
  filter: blur(60px);
  animation: nebulaDrift 30s ease-in-out infinite alternate;
}

.nebula-2 {
  width: 800px;
  height: 400px;
  bottom: 0;
  left: 50%;
  transform: translateX(-40%);
  background: radial-gradient(ellipse at 60% 50%,
      rgba(6, 182, 212, 0.08) 0%,
      rgba(124, 58, 237, 0.06) 40%,
      transparent 70%);
  filter: blur(80px);
  animation: nebulaDrift 25s ease-in-out infinite alternate-reverse;
}

@keyframes nebulaDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(60px, -40px) scale(1.08);
  }

  100% {
    transform: translate(-40px, 60px) scale(0.95);
  }
}

/* ========== 3D PERSPECTIVE GRID FLOOR REMOVED ========== */

/* ========== FLOATING 3D GEOMETRY ========== */
.geo-shape {
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

/* Wireframe Cube */
.geo-cube {
  width: 80px;
  height: 80px;
  top: 15%;
  right: 8%;
  transform-style: preserve-3d;
  animation: cubeFloat 18s ease-in-out infinite, cubeSpin 25s linear infinite;
}

.cube-face {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(124, 58, 237, 0.25);
  background: rgba(124, 58, 237, 0.03);
  backdrop-filter: blur(2px);
}

.cube-front {
  transform: translateZ(40px);
}

.cube-back {
  transform: translateZ(-40px) rotateY(180deg);
}

.cube-left {
  transform: translateX(-40px) rotateY(-90deg);
}

.cube-right {
  transform: translateX(40px) rotateY(90deg);
}

.cube-top {
  transform: translateY(-40px) rotateX(90deg);
}

.cube-bottom {
  transform: translateY(40px) rotateX(-90deg);
}

@keyframes cubeSpin {
  from {
    transform: rotateX(20deg) rotateY(0deg) rotateZ(10deg);
  }

  to {
    transform: rotateX(20deg) rotateY(360deg) rotateZ(10deg);
  }
}

@keyframes cubeFloat {

  0%,
  100% {
    top: 15%;
  }

  50% {
    top: 18%;
  }
}

/* Glowing Ring */
.geo-ring {
  width: 120px;
  height: 120px;
  bottom: 25%;
  left: 5%;
  border-radius: 50%;
  border: 2px solid rgba(217, 70, 239, 0.2);
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.1), inset 0 0 20px rgba(217, 70, 239, 0.05);
  animation: ringFloat 14s ease-in-out infinite, ringGlow 4s ease-in-out infinite alternate;
  transform: rotateX(60deg);
}

@keyframes ringFloat {

  0%,
  100% {
    transform: rotateX(60deg) translateY(0);
  }

  50% {
    transform: rotateX(60deg) translateY(-30px);
  }
}

@keyframes ringGlow {
  from {
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.1), inset 0 0 20px rgba(217, 70, 239, 0.05);
    border-color: rgba(217, 70, 239, 0.2);
  }

  to {
    box-shadow: 0 0 40px rgba(217, 70, 239, 0.3), inset 0 0 30px rgba(217, 70, 239, 0.1);
    border-color: rgba(217, 70, 239, 0.5);
  }
}

/* Pyramid / Triangle */
.geo-pyramid {
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid rgba(6, 182, 212, 0.08);
  top: 60%;
  right: 3%;
  filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.2));
  animation: pyramidFloat 20s ease-in-out infinite;
}

.geo-pyramid::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-top: 60px solid rgba(6, 182, 212, 0.05);
  top: 60px;
  left: -35px;
}

@keyframes pyramidFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-25px) rotate(5deg);
  }

  66% {
    transform: translateY(-10px) rotate(-3deg);
  }
}

/* ========== ENHANCED HERO MESH BLOB REMOVED ========== */

/* ========== DEPTH CARD ENHANCEMENTS ========== */
.float-card {
  transform-style: preserve-3d;
}

.float-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(217, 70, 239, 0.1), transparent 60%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.float-card:hover::before {
  opacity: 1;
}

/* ========== 3D SECTION DEPTH CARDS ========== */
.feature-map-item,
.benefit-card,
.roadmap-step,
.cs-card,
.ig-card {
  transform-style: preserve-3d;
  transition: transform 0.15s linear, box-shadow 0.3s ease, border-color 0.3s;
}

/* ========== LIVING STAR TRAILS ========== */
.star-trail {
  position: fixed;
  width: 2px;
  border-radius: 2px;
  pointer-events: none;
  z-index: -2;
  animation: trailFall linear infinite;
  opacity: 0;
}

@keyframes trailFall {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.4;
  }

  100% {
    opacity: 0;
    transform: translateY(100vh);
  }
}

/* ========== DEPTH GLOW ON SECTION HEADINGS ========== */
.section-title {
  text-shadow: 0 0 60px rgba(124, 58, 237, 0.15);
}

.hero-title {
  text-shadow: 0 0 80px rgba(124, 58, 237, 0.2), 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* ========== INTERACTIVE CARD DEPTH SHADOW ========== */
.interactive-card:hover {
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(124, 58, 237, 0.2),
    0 0 40px rgba(124, 58, 237, 0.1);
}

/* ========== SPACE DEPTH DIVIDERS ========== */
.section-divider {
  background: linear-gradient(to right, transparent, rgba(124, 58, 237, 0.3), rgba(217, 70, 239, 0.2), transparent);
  height: 1px;
  position: relative;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-fuchsia);
  box-shadow: 0 0 15px var(--accent-fuchsia);
}

/* ========== HERO CONTENT DEPTH ========== */
.hero-content {
  transform-style: preserve-3d;
}

.hero-title {
  transform: translateZ(20px);
}

/* ========== LIVING METRIC BARS (animated fill) ========== */
.b-bar::after {
  animation: barFill 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  width: 0;
}

.reveal.active .b-bar::after {
  animation: none;
}

.w-70::after {
  width: 70%;
}

.w-90::after {
  width: 90%;
}

.w-50::after {
  width: 50%;
}

/* ========== GLOWING NAV ACTIVE STATE ========== */
.nav-links a.active {
  color: var(--text-main);
  text-shadow: 0 0 20px rgba(217, 70, 239, 0.5);
}

/* ========== PILL BADGE DEPTH ========== */
.pill-badge {
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ========== FEATURE CENTER BRAND 3D ========== */
.feature-center-brand {
  transform-style: preserve-3d;
  perspective: 800px;
}

.feature-center-brand:hover {
  transform: scale(1.05) rotateY(10deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========== ROADMAP NODE GLOW ========== */
.rm-node {
  position: relative;
}

.rm-node::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(124, 58, 237, 0.2);
  animation: spin 12s linear infinite;
}

.glow-node {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-fuchsia));
  border-color: transparent;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.6), 0 0 60px rgba(217, 70, 239, 0.3);
  color: #fff;
}

/* ========== DEPTH BACKGROUND GRID (enhanced) ========== */
body::before {
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(217, 70, 239, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 70, 239, 0.02) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 20px 20px, 20px 20px;
}

/* ========== SCROLL PROGRESS DEPTH ========== */
#scroll-progress {
  box-shadow: 0 0 15px var(--accent-fuchsia), 0 0 30px rgba(217, 70, 239, 0.3);
}

/* ========== LIVING COUNTER GLOW ========== */
.ig-big-num,
.fc-value {
  text-shadow: 0 0 40px rgba(124, 58, 237, 0.3);
}

/* ========== TESTIMONIAL CARD DEPTH ========== */
.test-card {
  transform-style: preserve-3d;
  background: linear-gradient(135deg, rgba(12, 18, 35, 0.9), rgba(8, 13, 26, 0.95));
}

/* ========== FOOTER DEPTH ========== */
.footer-huge-text {
  text-shadow: none;
  filter: blur(0.5px);
}

/* ========== FULL SCREEN SERVICE DETAIL VIEW ========== */
.service-detail-view {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  overflow: hidden;
}

.service-detail-view.active {
  opacity: 1;
  pointer-events: auto;
}

.view-close {
  position: absolute;
  top: 2rem;
  right: 3rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
  cursor: pointer;
}

.view-close:hover {
  background: rgba(217, 70, 239, 0.2);
  border-color: rgba(217, 70, 239, 0.4);
  transform: rotate(90deg) scale(1.1);
}

.view-content-wrapper {
  max-width: 1200px;
  width: 100%;
  display: flex;
  gap: 5rem;
  align-items: center;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.service-detail-view.active .view-content-wrapper {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.view-illustration {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-illustration svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  fill: var(--accent-fuchsia);
  filter: drop-shadow(0 0 20px rgba(217, 70, 239, 0.4));
  opacity: 0;
  transition: opacity 0.8s ease 0.5s;
}

.service-detail-view.active .view-illustration svg {
  opacity: 1;
  animation: none;
}

.view-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.view-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, var(--accent-fuchsia));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.view-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.view-features-list {
  list-style: none;
  width: 100%;
  margin-bottom: 2.5rem;
  padding: 0;
}

.view-features-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  font-size: 1.1rem;
}

.view-features-list li svg {
  stroke: var(--accent-cyan);
  flex-shrink: 0;
}

.mt-4 {
  margin-top: 1rem;
}

@media (max-width: 991px) {
  .view-content-wrapper {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .view-body {
    align-items: center;
    text-align: center;
  }

  .view-title {
    font-size: 2.5rem;
  }

  .view-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .view-illustration svg {
    max-width: 250px;
  }
}

@media (max-width: 600px) {
  .service-detail-view {
    align-items: flex-start;
    overflow-y: auto;
  }

  .view-content-wrapper {
    padding: 5rem 1.25rem 2.5rem;
    gap: 1.5rem;
  }

  .view-title {
    font-size: 1.9rem;
  }

  .view-desc {
    font-size: 1rem;
  }

  .view-features-list li {
    font-size: 0.95rem;
  }

  .view-illustration {
    display: none;
  }

  .view-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 38px;
    height: 38px;
  }
}