/* ═══════════════════════════════════════════════════════════
   MARKQORA — SHARED DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════ */

/* ── RESET & TOKENS ── */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #181818;
  --surface: rgba(255, 255, 255, 0.03);
  --white: #fafafa;
  --gray-100: #e5e5e5;
  --gray-300: #a3a3a3;
  --gray-500: #737373;
  --gray-700: #404040;
  --accent: #6366f1;
  --accent-h: #818cf8;
  --accent-bg: rgba(99, 102, 241, 0.08);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── LIGHT MODE VARIABLES ── */
body.light-mode {
  --bg: #ffffff;
  --bg-2: #f9fafb;
  --bg-3: #f3f4f6;
  --surface: rgba(0, 0, 0, 0.03);
  --white: #111111;
  --gray-100: #1f2937;
  --gray-300: #4b5563;
  --gray-400: #6b7280;
  --gray-500: #9ca3af;
  --gray-600: #9ca3af;
  --gray-700: #d1d5db;
  --border: rgba(0, 0, 0, 0.1);
}

/* ── THEME TOGGLE BUTTON ── */
.theme-toggle-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-toggle-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(255, 255, 255, 0.15);
}

body.light-mode .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: clip
}

a {
  text-decoration: none;
  color: inherit
}

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

ul {
  list-style: none
}

/* ── LAYOUT ── */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px
}

@media(min-width:768px) {
  .wrap {
    padding: 0 40px
  }
}

@media(min-width:1200px) {
  .wrap {
    padding: 0 60px
  }
}

/* ── TYPOGRAPHY ── */
.heading-xl {
  font-size: clamp(2.2rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em
}

.heading-lg {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em
}

.heading-md {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em
}

.body-lg {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--gray-300);
  line-height: 1.7
}

.body-md {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.7
}

.label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent)
}

.accent {
  color: var(--accent)
}

/* ═══════════════════════════════════════════════════════════
   ALTERNATING SECTION COLORS
   ═══════════════════════════════════════════════════════════ */
.section-light {
  background: #f5f5f5;
  color: #111;
  border-top: 1px solid #e0e0e0;
}

.section-light .heading-xl,
.section-light .heading-lg,
.section-light .heading-md,
.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4 {
  color: #111;
}

.section-light .body-lg,
.section-light .body-md {
  color: #555;
}

.section-light .label {
  color: var(--accent);
}

.section-light .gray-300 {
  color: #555;
}

.section-light .svc-card {
  background: #fff;
  border-color: #e0e0e0;
}

.section-light .svc-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.1);
}

.section-light .svc-card-title {
  color: #111;
}

.section-light .svc-card-desc {
  color: #555;
}

.section-light .stat {
  border-top-color: #ddd;
}

.section-light .stat-title {
  color: #111;
}

.section-light .stat-desc {
  color: #777;
}

.section-light .detail-item {
  color: #333;
  border-bottom-color: #e0e0e0;
}

.section-light .faq-q {
  color: #111;
}

.section-light .faq-q:hover {
  color: var(--accent);
}

.section-light .faq-q-icon {
  border-color: #ddd;
  color: #999;
}

.section-light .faq-item {
  border-bottom-color: #e0e0e0;
}

.section-light .faq-a p {
  color: #555;
}

.section-light .hero-proof {
  color: #777;
}

.section-light .hero-proof strong {
  color: #333;
}

.section-dark {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* ── ANIMATIONS ── */
.rv {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease)
}

.rv.vis {
  opacity: 1;
  transform: none
}

.rv-d1 {
  transition-delay: 0.1s
}

.rv-d2 {
  transition-delay: 0.2s
}

.rv-d3 {
  transition-delay: 0.3s
}

.rv-d4 {
  transition-delay: 0.4s
}

.rv-d5 {
  transition-delay: 0.5s
}

.rv-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease)
}

.rv-left.vis {
  opacity: 1;
  transform: none
}

.rv-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease)
}

.rv-right.vis {
  opacity: 1;
  transform: none
}

.rv-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease)
}

.rv-scale.vis {
  opacity: 1;
  transform: none
}

.line-reveal {
  overflow: hidden;
  display: block
}

.line-reveal span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease)
}

.line-reveal.vis span {
  transform: translateY(0)
}

.line-reveal:nth-child(2) span {
  transition-delay: 0.15s
}

.line-reveal:nth-child(3) span {
  transition-delay: 0.3s
}

.line-reveal:nth-child(4) span {
  transition-delay: 0.45s
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

@keyframes glowPulse {

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

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

@keyframes shimmer {
  0% {
    background-position: -200% 0
  }

  100% {
    background-position: 200% 0
  }
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0)
  }

  20% {
    opacity: 0.6;
    transform: translateY(-20px) scale(1)
  }

  80% {
    opacity: 0.3;
    transform: translateY(-80px) scale(0.8)
  }

  100% {
    opacity: 0;
    transform: translateY(-120px) scale(0)
  }
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5)
  }
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }
}

@keyframes ticker {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

@keyframes scroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 99px;
  transition: all 0.3s var(--ease)
}

.btn-fill {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  position: relative;
  overflow: hidden
}

.btn-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite
}

.btn-fill:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.4)
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--gray-100);
  padding: 13px 28px
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px)
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s
}

.btn:hover svg {
  transform: translateX(3px)
}

.section-light .btn-ghost {
  border-color: #ccc;
  color: #333
}

.section-light .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent)
}

/* ═══════════════════════════════════════════════════════════
   NAV — MOBILE FIRST
   ═══════════════════════════════════════════════════════════ */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav-bar.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.nav-logo {
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.06em
}

.nav-logo sup {
  font-size: 0.4em;
  color: var(--accent);
  vertical-align: super
}

.nav-links {
  display: none;
  gap: 32px
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-300);
  position: relative;
  transition: color 0.3s
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease)
}

.nav-link:hover {
  color: var(--white)
}

.nav-link:hover::after {
  width: 100%
}

.nav-link.active {
  color: var(--white)
}

.nav-link.active::after {
  width: 100%
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease)
}

.nav-cta:hover {
  background: var(--accent-h);
  transform: translateY(-1px)
}

/* ── THEME TOGGLE ── */
.theme-toggle-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--gray-100);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s var(--ease);
}

.theme-toggle-btn:hover {
  transform: translateY(-2px);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .theme-toggle-btn {
    bottom: 80px;
    /* Above mobile sticky CTA */
    left: 20px;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
  cursor: pointer
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-100);
  transition: all 0.35s var(--ease);
  transform-origin: center
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.active span:nth-child(2) {
  opacity: 0
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

/* Desktop Dropdown */
.nav-item {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 1001;
}

.nav-item:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--gray-300);
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background: var(--surface);
  color: var(--white);
  padding-left: 20px;
}

.dropdown-icon {
  font-size: 0.7em;
  margin-left: 4px;
  opacity: 0.6;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  padding: 80px 0;
  justify-content: center;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.mobile-menu-viewport {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 20px;
}

.mobile-menu-panels {
  display: flex;
  width: 200%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-panel,
.services-panel {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-nav-link,
.mobile-services-btn {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  background: transparent;
  width: 100%;
  border: none;
}

.mobile-nav-link:hover,
.mobile-services-btn:hover {
  background: var(--surface);
  color: var(--accent);
}

.mobile-back-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-300);
  margin-bottom: 24px;
  padding: 10px 18px;
  border-radius: 99px;
  background: var(--surface);
  width: fit-content;
  border: 1px solid var(--border);
  font-weight: 500;
  cursor: pointer;
}

.mobile-back-btn:hover {
  background: var(--border);
  color: var(--white);
}

@media(min-width:768px) {
  .nav-links {
    display: flex;
    align-items: center;
  }

  .nav-cta {
    display: inline-flex
  }

  .hamburger {
    display: none
  }
}

@media (max-width: 767px) {
  .nav-inner {
    padding: 0 20px
  }

  .nav-links,
  .nav-cta:not(.mobile-menu .nav-cta) {
    display: none
  }

  .hamburger {
    display: flex
  }

  .mobile-menu {
    display: flex;
  }
}

/* ═══════════════════════════════════════════════════════════
   HERO — CENTERED CINEMATIC
   ═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px)
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  left: -10%;
  background: rgba(99, 102, 241, 0.12);
  animation: float 8s ease-in-out infinite
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  bottom: -5%;
  right: -5%;
  background: rgba(167, 139, 250, 0.1);
  animation: float 7s ease-in-out infinite 1.5s
}

.hero-glow-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  right: 15%;
  background: rgba(99, 102, 241, 0.08);
  animation: float 6s ease-in-out infinite 3s
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite
}

.particle:nth-child(1) {
  left: 15%;
  top: 20%;
  animation-delay: 0s
}

.particle:nth-child(2) {
  left: 80%;
  top: 30%;
  animation-delay: 2s
}

.particle:nth-child(3) {
  left: 45%;
  top: 70%;
  animation-delay: 4s
}

.particle:nth-child(4) {
  left: 70%;
  top: 60%;
  animation-delay: 1s
}

.particle:nth-child(5) {
  left: 25%;
  top: 80%;
  animation-delay: 3s
}

.particle:nth-child(6) {
  left: 55%;
  top: 15%;
  animation-delay: 5s
}

.particle:nth-child(7) {
  left: 90%;
  top: 50%;
  animation-delay: 2.5s
}

.particle:nth-child(8) {
  left: 10%;
  top: 55%;
  animation-delay: 6s
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite
}

.hero h1 {
  margin-bottom: 24px
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent), #a78bfa, var(--accent-h));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease-in-out infinite;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--gray-300);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--gray-500)
}

.hero-proof-avatars {
  display: flex
}

.hero-proof-avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--accent)
}

.hero-proof-avatars span+span {
  margin-left: -8px
}

.hero-proof strong {
  color: var(--gray-100);
  font-weight: 600
}

@media(min-width:768px) {
  .hero {
    padding: 140px 20px 100px
  }
}

/* ── PAGE HERO (for inner pages) ── */
.page-hero {
  padding: 140px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px)
}

.page-hero .heading-xl {
  margin-bottom: 16px
}

.page-hero .body-lg {
  max-width: 560px;
  margin: 0 auto
}

@media(min-width:768px) {
  .page-hero {
    padding: 160px 20px 80px
  }
}

/* ── MARQUEE ── */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
  background: var(--bg-2)
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: ticker 25s linear infinite;
  width: max-content
}

.marquee-item {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px
}

.marquee-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0
}

/* ── PHILOSOPHY ── */
.philosophy {
  padding: 100px 0;
  position: relative;
  overflow: hidden
}

.philosophy .bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(5rem, 12vw, 14rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.06em
}

.phil-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto
}

.phil-text {
  font-size: clamp(1.3rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 16px
}

.phil-text .dim {
  color: var(--gray-700)
}

.phil-sub {
  color: var(--gray-500);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase
}

@media(min-width:768px) {
  .philosophy {
    padding: 140px 0
  }
}

.section-light .philosophy .bg-text {
  color: rgba(0, 0, 0, 0.03)
}

.section-light .phil-text {
  color: #111
}

.section-light .phil-text .dim {
  color: #bbb
}

.section-light .phil-sub {
  color: #888
}

/* ── SCROLL-FILL TEXT ── */
.scroll-fill-text {
  font-size: clamp(1.3rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.scroll-fill-text .sfw {
  color: #ccc;
  transition: color 0.15s ease;
}

.scroll-fill-text .sfw.filled {
  color: #111;
}

.section-dark .scroll-fill-text .sfw {
  color: var(--gray-700)
}

.section-dark .scroll-fill-text .sfw.filled {
  color: var(--white)
}

/* ── SERVICES ── */
.svc-sec {
  padding: 100px 0
}

.svc-head {
  margin-bottom: 48px
}

.svc-head .label {
  margin-bottom: 12px
}

.svc-head .body-lg {
  max-width: 500px;
  margin-top: 16px
}

.svc-grid {
  display: grid;
  gap: 24px;
}

.svc-grid-bento {
  display: grid;
  gap: 24px;
}

.svc-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-h));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease)
}

.svc-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5)
}

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

.svc-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent)
}

.svc-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px
}

.svc-card-desc {
  font-size: 0.88rem;
  color: var(--gray-300);
  line-height: 1.6
}

@media(min-width:600px) {
  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .svc-grid-bento {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media(min-width:900px) {
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .svc-grid-bento {
    grid-template-columns: repeat(6, 1fr);
  }
  /* Cards 1-3: span 2 each = fills row of 6 */
  .svc-grid-bento .svc-card {
    grid-column: span 2;
  }
  /* Cards 4-5: span 3 each = fills row of 6 */
  .svc-grid-bento .svc-card:nth-child(4),
  .svc-grid-bento .svc-card:nth-child(5) {
    grid-column: span 3;
    padding: 40px 32px;
  }
  /* Card 6: full width row at the bottom with featured styling */
  .svc-grid-bento .svc-card:nth-child(6) {
    grid-column: span 6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 48px;
    background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(168,85,247,0.04));
    border-color: rgba(99,102,241,0.2);
  }
  .svc-grid-bento .svc-card:nth-child(6) .svc-card-desc {
    max-width: 480px;
  }
}

@media(min-width:1200px) {
  .svc-grid-bento {
    gap: 40px;
  }
}

/* ── ABOUT / STATS ── */
.about-sec {
  padding: 120px 0 100px
}

.about-vertical {
  margin-bottom: 64px;
  max-width: 800px
}

.about-vertical .heading-lg {
  margin-bottom: 40px;
  line-height: 1.15
}

.about-text-vertical {
  max-width: 720px
}

.about-text-vertical p {
  margin-bottom: 24px;
  line-height: 1.8
}

.about-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.12), transparent);
  margin: 16px 0 0
}

.section-dark .about-divider {
  background: linear-gradient(90deg, transparent, var(--border), transparent)
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px
}

.stat {
  padding: 24px 0;
  border-top: 1px solid var(--border)
}

.stat-num {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: -0.03em
}

.stat-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--gray-100)
}

.stat-desc {
  font-size: 0.78rem;
  color: var(--gray-500)
}

@media(min-width:768px) {
  .about-sec {
    padding: 140px 0 120px
  }

  .stats-row {
    grid-template-columns: repeat(4, 1fr)
  }
}

/* ── GUARANTEE SECTION ── */
.guarantee-sec {
  padding: 100px 0;
  text-align: center
}

.guarantee-inner {
  max-width: 860px;
  margin: 0 auto
}

.guarantee-inner .heading-lg {
  margin-bottom: 20px
}

/* ── MEGA CTA BUTTON ── */
.mega-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px
}

.mega-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 48px;
  background: linear-gradient(135deg, var(--accent), #7c3aed, #a855f7);
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.35);
  animation: megaPulse 2.5s ease-in-out infinite
}

.mega-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 2.5s linear infinite
}

.mega-cta:hover {
  transform: scale(1.04) translateY(-3px);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.5)
}

.mega-cta-main {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1
}

.mega-cta-sub {
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  font-weight: 500;
  opacity: 0.9;
  position: relative;
  z-index: 1
}

.mega-cta-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #555
}

.stars {
  color: #facc15;
  font-size: 1.1rem;
  letter-spacing: 2px
}

.star-half {
  opacity: 0.4
}

@keyframes megaPulse {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.35)
  }

  50% {
    box-shadow: 0 8px 48px rgba(99, 102, 241, 0.55), 0 0 0 6px rgba(99, 102, 241, 0.12)
  }
}

/* ── EXIT-INTENT POPUP ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto
}

.popup-box {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6)
}

.popup-overlay.active .popup-box {
  transform: translateY(0) scale(1)
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gray-300);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.3s, color 0.3s
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff
}

.popup-emoji {
  font-size: 2.5rem;
  margin-bottom: 16px
}

.popup-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2
}

.popup-sub {
  font-size: 0.95rem;
  color: var(--gray-300);
  margin-bottom: 28px;
  line-height: 1.6
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left
}

.popup-form input,
.popup-form select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s
}

.popup-form input::placeholder {
  color: var(--gray-700)
}

.popup-form input:focus,
.popup-form select:focus {
  border-color: var(--accent)
}

.popup-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center
}

.popup-form select option {
  background: #222;
  color: #fff
}

.popup-form .btn-fill {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
  margin-top: 4px
}

/* ── CASE STUDY CARDS ── */
.cs-grid {
  display: grid;
  gap: 32px;
  margin-top: 48px
}

.cs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease)
}

.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15)
}

.section-light .cs-card {
  background: #fff;
  border-color: #e5e5e5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04)
}

.section-light .cs-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08)
}

.cs-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap
}

.cs-client {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px
}

.cs-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px
}

.cs-industry {
  font-size: 0.82rem;
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.08);
  padding: 4px 12px;
  border-radius: 99px
}

.cs-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0
}

@media(min-width:600px) {
  .cs-metrics {
    grid-template-columns: repeat(4, 1fr)
  }
}

.cs-metric {
  text-align: center;
  padding: 16px 8px;
  background: var(--accent-bg);
  border-radius: 12px
}

.section-light .cs-metric {
  background: #f3f4f6
}

.cs-metric-val {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--accent)
}

.cs-metric-label {
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-top: 4px
}

.cs-summary {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray-300);
  margin-bottom: 20px
}

.section-light .cs-summary {
  color: #555
}

.cs-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
  padding: 0;
  transition: gap 0.3s
}

.cs-toggle:hover {
  gap: 10px
}

.cs-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s
}

.cs-card.expanded .cs-toggle svg {
  transform: rotate(180deg)
}

.cs-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease)
}

.cs-card.expanded .cs-details {
  max-height: 4000px
}

.cs-details-inner {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: 24px
}

.cs-details-inner h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--white)
}

.section-light .cs-details-inner h4 {
  color: #111
}

.cs-details-inner p,
.cs-details-inner li {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--gray-300);
  margin-bottom: 8px
}

.section-light .cs-details-inner p,
.section-light .cs-details-inner li {
  color: #555
}

.cs-details-inner ul {
  list-style: none;
  padding: 0
}

.cs-details-inner li::before {
  content: '→ ';
  color: var(--accent);
  font-weight: 700
}

.cs-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0
}

@media(min-width:600px) {
  .cs-results-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

.cs-result-item {
  padding: 12px;
  background: var(--accent-bg);
  border-radius: 10px;
  text-align: center
}

.section-light .cs-result-item {
  background: #f3f4f6
}

.cs-result-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 2px
}

.cs-result-item span {
  font-size: 0.72rem;
  color: var(--gray-500)
}


/* ── DETAIL SERVICES ── */
.detail-sec {
  padding: 80px 0;
  border-top: 1px solid var(--border)
}

.detail-inner {
  display: grid;
  gap: 32px
}

.detail-heading {
  position: relative
}

.detail-heading .label {
  margin-bottom: 12px
}

.detail-content p {
  margin-bottom: 28px
}

.detail-list {
  display: grid;
  gap: 10px
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-100);
  padding: 8px 0;
  border-bottom: 1px solid var(--border)
}

.detail-item::before {
  content: '';
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent)
}

@media(min-width:768px) {
  .detail-sec {
    padding: 100px 0
  }

  .detail-inner {
    grid-template-columns: 280px 1fr;
    gap: 60px
  }

  .detail-heading {
    position: sticky;
    top: 100px;
    align-self: start
  }

  .detail-list {
    grid-template-columns: 1fr 1fr
  }
}

.section-light .detail-sec {
  border-top-color: #e0e0e0
}

/* ── FAQ ── */
.faq-sec {
  padding: 100px 0
}

.faq-head {
  text-align: center;
  margin-bottom: 48px
}

.faq-head .label {
  margin-bottom: 12px
}

.faq-list {
  max-width: 700px;
  margin: 0 auto
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media(min-width: 900px) {
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
  }
}

.faq-left {
  position: sticky;
  top: 120px;
}

.faq-item {
  border-bottom: 1px solid var(--border)
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.3s
}

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

.faq-q-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray-500);
  transition: all 0.3s
}

.faq-item.open .faq-q-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent)
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease)
}

.faq-item.open .faq-a {
  max-height: 300px
}

.faq-a p {
  padding-bottom: 20px;
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.7
}

/* ── CTA ── */
.cta-sec {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden
}

.cta-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.1)0%, transparent 65%);
  pointer-events: none
}

.cta-tagline {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 12px
}

.cta-sec .heading-xl {
  margin-bottom: 32px;
  position: relative
}

.cta-sec .btn {
  position: relative
}

@media(min-width:768px) {
  .cta-sec {
    padding: 140px 0
  }
}

/* ── FOOTER ── */
footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--border);
  background: var(--bg)
}

.foot-top {
  display: grid;
  gap: 32px;
  margin-bottom: 40px
}

.foot-brand-text {
  font-size: 0.85rem;
  color: var(--gray-500);
  max-width: 280px;
  margin-top: 10px
}

.foot-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 14px
}

.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.foot-col a {
  font-size: 0.85rem;
  color: var(--gray-300);
  transition: color 0.2s
}

.foot-col a:hover {
  color: var(--accent)
}

.foot-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--gray-700)
}

@media(min-width:600px) {
  .foot-top {
    grid-template-columns: 2fr 1fr 1fr 1fr
  }
}

/* ── SCROLL TOP ── */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 500;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  font-size: 1rem;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: all
}

.scroll-top:hover {
  transform: translateY(-3px)
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM BLOG CARDS (White Theme)
   ═══════════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
  padding: 40px 0;
}

.blog-card {
  background: #ffffff;
  /* White background requested */
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  /* Light border */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.1);
  border-color: rgba(99, 102, 241, 0.4);
}

.blog-card-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
}

/* ── MEGA STRATEGY CTA BUTTON ── */
.btn-mega-strategy {
  font-size: 1.5rem !important;
  padding: 24px 48px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4) !important;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-mega-strategy:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6) !important;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.08);
}

.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-top {
  font-size: 0.8rem;
  color: #666;
  /* Gray text on white */
  margin-bottom: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-meta-top::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #111;
  /* Black text */
  letter-spacing: -0.01em;
}

.blog-excerpt {
  font-size: 1rem;
  color: #444;
  /* Dark gray text */
  line-height: 1.6;
  margin-bottom: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

.blog-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111;
  /* Black text */
  transition: color 0.3s;
}

.blog-read-btn span {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 2px;
  transition: border-color 0.3s;
}

.blog-card:hover .blog-read-btn span {
  border-color: var(--accent);
  color: var(--accent);
}

.blog-read-arrow {
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.05);
  /* Light gray bg */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  color: #111;
}

.blog-card:hover .blog-read-arrow {
  background: var(--accent);
  color: #fff;
  transform: translateX(4px);
}

.blog-read-arrow svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

/* ── BLOG GALLERY (Homepage) ── */
.blog-gallery-sec {
  padding: 80px 0 40px;
  overflow: hidden;
}

.blog-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
}

.blog-gallery-head-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-gallery-head-text .label {
  margin-bottom: 0;
}

.blog-gallery-head-text .body-lg {
  max-width: 480px;
  color: var(--gray-300);
}

.blog-gallery-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.blog-gallery-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.blog-gallery-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.blog-gallery-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.blog-gallery-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 max(24px, calc(50vw - 560px));
  scrollbar-width: none;
}

.blog-gallery-track::-webkit-scrollbar {
  display: none;
}

.blog-gallery-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: #fff;
  transition: transform 0.4s var(--ease);
}

.blog-gallery-card:hover {
  transform: scale(1.02);
}

.blog-gallery-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}

.blog-gallery-card:hover .blog-gallery-card-bg {
  transform: scale(1.08);
}

.blog-gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.85) 100%);
}

.blog-gallery-card-body {
  position: relative;
  z-index: 2;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-gallery-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-h);
}

.blog-gallery-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.blog-gallery-card-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.blog-gallery-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin-top: 8px;
  transition: gap 0.3s ease;
}

.blog-gallery-card:hover .blog-gallery-card-link {
  gap: 12px;
}

.blog-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.blog-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.blog-gallery-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

.blog-gallery-emoji-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: var(--bg-2);
}

/* ── ARTICLE ── */
.article-sec {
  padding: 60px 0 100px
}

.article-wrap {
  max-width: 720px;
  margin: 0 auto
}

.article-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.06em
}

.article-wrap h1 {
  margin-bottom: 16px
}

.article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-300)
}

.article-body p {
  margin-bottom: 20px
}

.article-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin: 40px 0 16px;
  letter-spacing: -0.01em
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-100);
  margin: 32px 0 12px
}

.article-body ul,
.article-body ol {
  margin: 16px 0;
  padding-left: 24px
}

.article-body li {
  margin-bottom: 8px
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--gray-100);
  font-style: italic
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 32px;
  transition: gap 0.3s
}

.article-back:hover {
  gap: 10px
}

.section-light .article-body {
  color: #555
}

.section-light .article-body h2 {
  color: #111
}

.section-light .article-body h3 {
  color: #333
}

.section-light .article-body blockquote {
  color: #333
}

/* ── CONTACT FORM ── */
.contact-vertical {
  max-width: 640px
}

.contact-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 16px
}

.form-group {
  margin-bottom: 20px
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-300);
  margin-bottom: 8px
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
}

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

.form-group textarea {
  min-height: 140px;
  resize: vertical
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-700)
}

.section-light .form-group label {
  color: #555
}

.section-light .form-group input,
.section-light .form-group textarea {
  background: #fff;
  border-color: #ddd;
  color: #111;
}

.section-light .form-group input::placeholder,
.section-light .form-group textarea::placeholder {
  color: #aaa
}

.section-light .form-group input:focus,
.section-light .form-group textarea:focus {
  border-color: var(--accent)
}

.contact-info h3 {
  margin-bottom: 16px
}

.contact-info p {
  margin-bottom: 24px
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-300)
}

.contact-link-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0
}

.section-light .contact-link-item {
  color: #555
}

/* ═══════════════════════════════════════════════════════════
   CONVINCE / "WHO WE ARE NOT FOR" SECTION
   ═══════════════════════════════════════════════════════════ */
.convince-sec {
  padding: 100px 0
}

.convince-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center
}

.convince-text {
  text-align: left;
  margin-top: 32px
}

.convince-text p {
  margin-bottom: 20px
}

.convince-text p:last-child {
  margin-bottom: 0
}

/* ═══════════════════════════════════════════════════════════
   ENHANCED ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

/* Stagger-in for service cards */
.svc-card {
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), box-shadow 0.3s var(--ease)
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15)
}

/* Text shimmer for accent headings */
@keyframes textShimmer {
  0% {
    background-position: -200% center
  }

  100% {
    background-position: 200% center
  }
}

.heading-xl .accent,
.heading-lg .accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-h), #c084fc, var(--accent-h), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 4s linear infinite
}

/* Counter animation glow */
.stat-num {
  transition: transform 0.3s var(--ease), text-shadow 0.3s
}

.stat:hover .stat-num {
  transform: scale(1.08);
  text-shadow: 0 0 30px rgba(99, 102, 241, 0.4)
}

/* Case study metric hover glow */
.cs-metric {
  transition: transform 0.3s var(--ease), box-shadow 0.3s
}

.cs-metric:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.2)
}

.cs-metric-val {
  transition: text-shadow 0.3s, color 0.3s
}

.cs-metric:hover .cs-metric-val {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(99, 102, 241, 0.35)
}

/* Parallax-ready hero glow animation */
@keyframes glowFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  25% {
    transform: translate(10px, -20px) scale(1.05)
  }

  50% {
    transform: translate(-5px, 15px) scale(0.95)
  }

  75% {
    transform: translate(15px, 5px) scale(1.02)
  }
}

.hero-glow {
  animation: glowFloat 8s ease-in-out infinite
}

.hero-glow-2 {
  animation-delay: -2s
}

.hero-glow-3 {
  animation-delay: -5s
}

/* Smooth fade-up for blog cards */
.blog-card {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease)
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15)
}

/* Floating particle animation enhancement */
@keyframes particleFloat {

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

  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.8
  }
}

.hero-particles .particle {
  animation: particleFloat 6s ease-in-out infinite
}

.hero-particles .particle:nth-child(2) {
  animation-delay: -1s;
  animation-duration: 8s
}

.hero-particles .particle:nth-child(3) {
  animation-delay: -2s;
  animation-duration: 7s
}

.hero-particles .particle:nth-child(4) {
  animation-delay: -3s;
  animation-duration: 9s
}

.hero-particles .particle:nth-child(5) {
  animation-delay: -4s;
  animation-duration: 6s
}

.hero-particles .particle:nth-child(6) {
  animation-delay: -0.5s;
  animation-duration: 10s
}

.hero-particles .particle:nth-child(7) {
  animation-delay: -1.5s;
  animation-duration: 7.5s
}

.hero-particles .particle:nth-child(8) {
  animation-delay: -2.5s;
  animation-duration: 8.5s
}

/* Hover ripple effect for buttons */
.btn-fill {
  position: relative;
  overflow: hidden
}

.btn-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s
}

.btn-fill:hover::after {
  opacity: 1
}

/* Marquee hover slow */
.marquee:hover .marquee-track {
  animation-play-state: paused
}

/* ═══════════════════════════════════════════════════════════
   ANIMATED CASE STUDIES CTA
   ═══════════════════════════════════════════════════════════ */
@keyframes csBgGradient {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

.cs-cta-animated {
  position: relative;
  overflow: hidden
}

.cs-cta-bg-anim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a, #1a1040, #0d1f3c, #0a0a2e, #1a0a3a, #0a0a0a);
  background-size: 400% 400%;
  animation: csBgGradient 8s ease-in-out infinite;
  z-index: 0
}

.cs-cta-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none
}

@keyframes csParticleFloat {

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

  10% {
    opacity: 1
  }

  90% {
    opacity: 0.6
  }

  100% {
    transform: translateY(-100%) scale(1);
    opacity: 0
  }
}

.cs-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  animation: csParticleFloat 6s ease-in-out infinite;
  box-shadow: 0 0 6px var(--accent), 0 0 12px rgba(99, 102, 241, 0.4)
}

.cs-particle:nth-child(1) {
  left: 10%;
  animation-duration: 5s;
  animation-delay: 0s
}

.cs-particle:nth-child(2) {
  left: 25%;
  animation-duration: 7s;
  animation-delay: -1s;
  width: 3px;
  height: 3px
}

.cs-particle:nth-child(3) {
  left: 45%;
  animation-duration: 6s;
  animation-delay: -2s
}

.cs-particle:nth-child(4) {
  left: 60%;
  animation-duration: 8s;
  animation-delay: -3s;
  width: 5px;
  height: 5px
}

.cs-particle:nth-child(5) {
  left: 78%;
  animation-duration: 5.5s;
  animation-delay: -1.5s;
  width: 3px;
  height: 3px
}

.cs-particle:nth-child(6) {
  left: 90%;
  animation-duration: 7.5s;
  animation-delay: -4s
}

/* Glowing button variation */
@keyframes btnGlowPulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3), 0 0 40px rgba(99, 102, 241, 0.1)
  }

  50% {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5), 0 0 60px rgba(99, 102, 241, 0.2)
  }
}

.btn-glow {
  animation: btnGlowPulse 2.5s ease-in-out infinite
}

/* ═══════════════════════════════════════════════════════════
   NAV CTA ANIMATED GRADIENT
   ═══════════════════════════════════════════════════════════ */
@keyframes navCtaGradient {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), #7c3aed, #a855f7, var(--accent-h), var(--accent)) !important;
  background-size: 300% 300% !important;
  animation: navCtaGradient 4s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3)
}

.nav-cta:hover {
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
  transform: translateY(-2px) scale(1.02)
}

/* Gradient text + accent shimmer combined override */
.gradient-text.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-h), #c084fc, #a855f7, var(--accent-h), var(--accent)) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: textShimmer 3s linear infinite !important
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE — RESULTS TICKER
   ═══════════════════════════════════════════════════════════ */
.contact-results-ticker {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px
}

.result-card {
  flex: 1;
  min-width: 160px;
  text-align: center;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  padding: 28px 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden
}

.result-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s
}

.result-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2)
}

.result-card:hover::before {
  opacity: 1
}

.result-card-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
  z-index: 1
}

.result-card-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-weight: 500;
  position: relative;
  z-index: 1
}

/* Mobile Swiper for Stats */
@media (max-width: 768px) {
  .contact-results-ticker {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 20px 20px 20px;
    /* Bottom padding for potential scrollbar */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
  }

  .contact-results-ticker::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
  }

  .result-card {
    flex: 0 0 auto;
    width: 260px;
    /* Fixed width for swipe */
    min-width: 260px;
    scroll-snap-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE — SPLIT LAYOUT
   ═══════════════════════════════════════════════════════════ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start
}

@media (max-width: 820px) {
  .contact-split {
    display: flex;
    flex-direction: column-reverse;
    gap: 32px
  }
}

/* Trust panel */
.contact-trust {
  padding: 8px 0
}

.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06)
}

.trust-item:last-of-type {
  border-bottom: none
}

.trust-icon {
  font-size: 1.5rem;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 10px
}

.trust-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.5
}

/* Testimonial popup */
@keyframes testimonialSlideIn {
  0% {
    transform: translateY(20px);
    opacity: 0
  }

  10% {
    transform: translateY(0);
    opacity: 1
  }

  90% {
    transform: translateY(0);
    opacity: 1
  }

  100% {
    transform: translateY(-20px);
    opacity: 0
  }
}

.contact-testimonial-popup {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(99, 102, 241, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 14px;
  padding: 20px;
  animation: testimonialSlideIn 6s ease-in-out infinite
}

.testimonial-popup-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start
}

.testimonial-popup-avatar {
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem
}

.testimonial-popup-text {
  font-size: 0.9rem;
  color: var(--gray-200);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 6px
}

.testimonial-popup-name {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE — INTERACTIVE FORM
   ═══════════════════════════════════════════════════════════ */
.contact-form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3)
}

.contact-form-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px
}

.contact-form-header p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 28px
}

.contact-form-interactive {
  display: flex;
  flex-direction: column;
  gap: 24px
}

.form-group-interactive {
  position: relative
}

.form-group-interactive input,
.form-group-interactive textarea {
  width: 100%;
  padding: 16px 0 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  outline: none;
  transition: all 0.3s ease;
  resize: none
}

.form-group-interactive label {
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 0.95rem;
  color: var(--gray-500);
  pointer-events: none;
  transition: all 0.3s ease
}

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

.form-group-interactive input:focus~label,
.form-group-interactive input:not(:placeholder-shown)~label,
.form-group-interactive textarea:focus~label,
.form-group-interactive textarea:not(:placeholder-shown)~label {
  top: -6px;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease
}

.form-group-interactive input:focus~.form-line,
.form-group-interactive textarea:focus~.form-line {
  width: 100%
}

.form-group-interactive select {
  width: 100%;
  padding: 14px 0 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--gray-300);
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
  appearance: none;
  transition: border-color 0.3s
}

.form-group-interactive select:focus {
  border-bottom-color: var(--accent)
}

.form-group-interactive select option {
  background: var(--dark);
  color: var(--white)
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

@media (max-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr
  }
}

.contact-submit-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 700
}

.contact-submit-btn .submit-arrow svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease
}

.contact-submit-btn:hover .submit-arrow svg {
  transform: translateX(4px)
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE — INFO CARDS BAR
   ═══════════════════════════════════════════════════════════ */
.contact-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

@media (max-width: 700px) {
  .contact-info-bar {
    grid-template-columns: 1fr
  }
}

.contact-info-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 16px;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3)
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 12px
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent)
}

.contact-info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px
}

.contact-info-card a {
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500
}

.contact-info-card a:hover {
  text-decoration: underline
}

/* ═══════════════════════════════════════════════════════════
   CASE STUDIES — ENHANCED CARD INTERACTIONS
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE — SERVICE CHIPS
   ═══════════════════════════════════════════════════════════ */
.form-group-services {
  margin-bottom: 24px
}

.form-services-label {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-400);
  margin-bottom: 12px
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.service-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none
}

.service-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2)
}

.service-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4)
}

@media (max-width: 768px) {
  .service-chips {
    gap: 10px;
  }

  .service-chip {
    padding: 14px 24px;
    font-size: 1rem;
    flex: 1 1 calc(50% - 10px);
    text-align: center;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .service-chips {
    gap: 8px;
  }

  .service-chip {
    padding: 14px 20px;
    font-size: 0.95rem;
    flex: 1 1 calc(50% - 8px);
    min-height: 48px;
  }
}

/* ═══════════════════════════════════════════════════════════
   LEGAL / POLICY PAGES
   ═══════════════════════════════════════════════════════════ */
.legal-content {
  padding: 80px 0;
}

.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.legal-intro {
  font-family: var(--font);
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-200);
}

.legal-block {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-100);
}

.legal-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-block h2 {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.legal-block p {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.legal-block ul li {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
  margin-bottom: 4px;
}

.legal-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.legal-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.legal-link:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 60px 0;
  }

  .legal-wrap {
    padding: 0 20px;
  }

  .legal-block h2 {
    font-size: 1.2rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   STICKY STATS SECTION (About Page)
   ═══════════════════════════════════════════════════════════ */
.sticky-stats-sec {
  background: #b5441a;
  padding: 0;
  position: relative;
  overflow: visible;
}

.sticky-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.sticky-stats-left {
  position: sticky;
  top: 40vh;
  padding-top: 120px;
  padding-bottom: 120px;
  align-self: start;
}

.sticky-stats-tagline {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.sticky-stats-tagline .line-reveal span {
  color: rgba(255, 255, 255, 0.85);
}

.sticky-stats-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 120px 0;
}

.sticky-stat-item {
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: opacity 0.5s ease;
  opacity: 0.4;
  min-height: 40vh;
  display: flex;
  align-items: center;
}

.sticky-stat-item.active {
  opacity: 1;
}

.sticky-stat-item:first-child {
  padding-top: 0;
}

.sticky-stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sticky-stat-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}

.sticky-stat-num {
  font-family: var(--font);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: color 0.5s ease;
}

.sticky-stat-item.active .sticky-stat-num {
  color: #fff;
}

.sticky-stat-desc {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  transition: color 0.5s ease;
}

.sticky-stat-item.active .sticky-stat-desc {
  color: rgba(255, 255, 255, 0.95);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .sticky-stats-sec {
    padding: 80px 0;
  }

  .sticky-stats-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sticky-stats-left {
    position: static;
    padding-top: 0;
    padding-bottom: 0;
  }

  .sticky-stats-right {
    padding: 0;
  }

  .sticky-stat-content {
    grid-template-columns: auto 1fr;
    gap: 24px;
  }

  .sticky-stat-num {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .sticky-stat-item {
    padding: 32px 0;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .sticky-stats-sec {
    padding: 60px 0;
  }

  .sticky-stats-tagline {
    font-size: 1.1rem;
  }

  .sticky-stat-content {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sticky-stat-num {
    font-size: 3rem;
  }

  .sticky-stat-desc {
    font-size: 1rem;
  }
}

/* ── STICKY BOTTOM CTA BAR ── */
.sticky-cta-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 9999;
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  pointer-events: none;
}

.sticky-cta-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.sticky-cta-bar.dismissed {
  transform: translateX(-50%) translateY(200px);
  opacity: 0;
  pointer-events: none;
}

.sticky-cta-link {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 14px 18px 14px 32px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sticky-cta-link:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.2);
}

.sticky-cta-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.sticky-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.sticky-cta-link:hover .sticky-cta-arrow {
  background: #818cf8;
  transform: translateX(3px);
}

.sticky-cta-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: #333;
  color: #aaa;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.sticky-cta-close:hover {
  background: #555;
  color: #fff;
}

@media (max-width: 480px) {
  .sticky-cta-bar {
    bottom: 16px;
    width: auto;
    max-width: calc(100% - 32px);
  }

  .sticky-cta-link {
    padding: 12px 14px 12px 24px;
    gap: 12px;
  }

  .sticky-cta-text {
    font-size: 0.9rem;
  }

  .sticky-cta-arrow {
    width: 36px;
    height: 36px;
  }
}

/* ── MODERN CLIENT SECTION (MakeForms Style) ── */
.client-modern-section {
  padding: 100px 0;
  background: #fff;
  /* Requested white background */
  position: relative;
  overflow: hidden;
}

/* Optional soft gradient background behind the cards area if desired, 
   but user said keep background white. We'll stick to white but maybe add 
   a very subtle decorative blob if needed. For now, specific white. */

.client-modern-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .client-modern-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

.client-modern-text {
  max-width: 500px;
}

@media (max-width: 900px) {
  .client-modern-text {
    margin: 0 auto;
  }
}

.client-modern-text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #111;
  /* Dark text for contrast on white */
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.client-modern-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Grid of cards */
.client-modern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  /* Rotation/Perspective effect optional? Keep it flat and clean like reference */
}

.client-logo-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Soft shadow like the reference */
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}

.client-logo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.client-logo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
  border-color: rgba(99, 102, 241, 0.2);
  /* Accent color hint */
}

.client-logo-card img {
  max-width: 80%;
  max-height: 60px;
  object-fit: contain;
  /* Start nicely visible but maybe grayscale? Reference has full color logos */
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
  z-index: 1;
}

.client-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Staggered animation for grid items? */
.client-logo-card:nth-child(2) {
  margin-top: 20px;
}

.client-logo-card:nth-child(odd) {
  margin-top: -20px;
}

@media (max-width: 900px) {
  .client-logo-card:nth-child(n) {
    margin-top: 0;
  }
}

/* ── CLIENT LOGO ANIMATION ── */
@keyframes clientFloat {

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

  50% {
    transform: translateY(-12px);
  }
}

.client-logo-card {
  animation: clientFloat 6s ease-in-out infinite;
  /* Ensure hover effect still works or combines */
}

/* Hover pauses animation or enhances it? Let's keep it running but maybe subtle. 
   Actually transform usage might conflict with hover transform. 
   We need to wrap content or coordinate. 
   .client-logo-card:hover has transform: translateY(-8px).
   If animation uses transform, it overrides hover.
   
   Better: Apply animation to the INNER image or a wrapper, 
   OR use margin-top for float (less performant), 
   OR use translate3d.
   
   Let's use a wrapper approach if possible, OR just know that hover might jump.
   Actually, if I use 'translateY' in animation, and 'translateY' in hover, they conflict.
   
   Fix: Apply animation to the card, but on hover, pause it? 
   Or better: Apply animation to the *image*? 
   No, user said "client section... breathing to make it look alive".
   
   Let's apply animation to the card. On hover, we can pause animation:
   .client-logo-card:hover { animation-play-state: paused; }
   And applies the specific hover transform.
*/

.client-logo-card:hover {
  animation-play-state: paused;
}

/* ── BETTER CLIENT LOGOS ── */
.client-logo-card img {
  /* Reset previous filters */
  filter: grayscale(100%) contrast(1.2);
  opacity: 0.8;
  transition: all 0.4s ease;
  mix-blend-mode: multiply;
  /* Helps logos blend better on white */
}

.client-logo-card:hover img {
  filter: grayscale(0%) contrast(1);
  opacity: 1;
  transform: scale(1.05);
}

/* ── ENHANCED ANIMATION ── */
@keyframes clientFloat {

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

  33% {
    transform: translateY(-10px) rotate(1deg);
  }

  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

.client-logo-card {
  /* Ensure display is correct for animation */
  display: flex;
  align-items: center;
  justify-content: center;
  /* Ensure animation overrides any other transform */
  animation: clientFloat 8s ease-in-out infinite;
  will-change: transform;
}

/* ═══════════════════════════════════════════════════════════
   BLOG POST TEMPLATE — PREMIUM REDESIGN
   ═══════════════════════════════════════════════════════════ */

/* ── READING PROGRESS BAR ── */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #7c3aed, #c084fc);
  z-index: 10000;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* ── ARTICLE HERO ── */
.article-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 60px;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.article-hero.has-image {
  min-height: 560px;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 10, 10, 0.3) 0%,
      rgba(10, 10, 10, 0.7) 50%,
      rgba(10, 10, 10, 0.95) 100%);
  z-index: 1;
}

.article-hero.no-image .article-hero-overlay {
  background: linear-gradient(135deg,
      rgba(99, 102, 241, 0.08) 0%,
      rgba(10, 10, 10, 0) 50%);
}

body.light-mode .article-hero-overlay {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0.95) 100%);
}

body.light-mode .article-hero.no-image .article-hero-overlay {
  background: linear-gradient(135deg,
      rgba(99, 102, 241, 0.1) 0%,
      rgba(255, 255, 255, 0) 50%);
}

.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.article-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  transition: gap 0.3s;
  text-decoration: none;
}

.article-hero-back:hover {
  gap: 10px;
}

.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-hero-category {
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article-hero-dot {
  color: var(--gray-600);
}

.article-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.article-hero-excerpt {
  font-size: 1.1rem;
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 640px;
}

/* ── ARTICLE LAYOUT (TOC + Content) ── */
.article-layout-sec {
  padding: 60px 0 80px;
}

.article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* ── SIDEBAR ── */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ── TABLE OF CONTENTS ── */
.article-toc {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
}

.article-toc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.article-toc-title svg {
  color: var(--accent);
}

.article-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-link {
  display: block;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--gray-500);
  border-radius: 8px;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
  text-decoration: none;
  line-height: 1.4;
}

.toc-link:hover {
  color: var(--gray-200);
  background: rgba(255, 255, 255, 0.04);
}

.toc-link.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: rgba(99, 102, 241, 0.08);
  font-weight: 600;
}

.toc-link-sub {
  padding-left: 24px;
  font-size: 0.8rem;
}

/* ── SOCIAL SHARE ── */
.article-share {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
}

.article-share-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.article-share-btns {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.share-btn.copied {
  background: rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
  color: #22c55e;
}

/* ── MAIN ARTICLE ── */
.article-main {
  max-width: 720px;
  min-width: 0;
}

/* ── ARTICLE BODY TYPOGRAPHY ── */
.article-layout .article-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--gray-300);
  max-width: 760px;
  margin: 0 auto;
}

.article-layout .article-body p {
  margin-bottom: 24px;
}

.article-layout .article-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin: 56px 0 20px;
  letter-spacing: -0.02em;
  padding-top: 20px;
  scroll-margin-top: 100px;
}

.article-layout .article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-100);
  margin: 40px 0 16px;
  scroll-margin-top: 100px;
}

.article-layout .article-body ul,
.article-layout .article-body ol {
  margin: 20px 0;
  padding-left: 24px;
}

.article-layout .article-body li {
  margin-bottom: 10px;
}

.article-layout .article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  margin: 32px 0;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 0 12px 12px 0;
  color: var(--gray-200);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
}

.article-layout .article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.article-layout .article-body a:hover {
  opacity: 0.8;
}

.article-layout .article-body img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 32px 0;
}

.article-layout .article-body code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9em;
  color: var(--accent);
}

.article-layout .article-body pre {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  overflow-x: auto;
  margin: 28px 0;
}

.article-layout .article-body pre code {
  background: transparent;
  padding: 0;
  color: var(--gray-300);
}

.article-layout .article-body strong {
  color: var(--white);
  font-weight: 700;
}

.article-layout .article-body hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 48px 0;
}

/* ── LOADING STATE ── */
.article-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 0;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.article-loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ── MID-ARTICLE CTA ── */
.article-mid-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 40px 0;
  transition: all 0.3s ease;
}

.article-mid-cta:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.mid-cta-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.mid-cta-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.mid-cta-content p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin-bottom: 0 !important;
}

.mid-cta-btn {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.85rem !important;
  color: #fff !important;
  padding: 10px 20px !important;
}

/* ── AUTHOR BOX ── */
.article-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px;
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.article-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  flex-shrink: 0;
}

.article-author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.article-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.article-author-bio {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── RELATED POSTS ── */
.related-posts-sec {
  padding: 60px 0 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.related-posts-header {
  margin-bottom: 40px;
}

.related-posts-header h2 {
  margin-top: 8px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.related-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.related-card-media {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.related-card-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.related-card:hover .related-card-img {
  transform: scale(1.05);
}

.related-card-emoji {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(124, 58, 237, 0.05));
}

.related-card-body {
  padding: 24px;
}

.related-card-meta {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.related-card-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 8px;
  line-height: 1.35;
  transition: color 0.2s;
}

.related-card:hover h4 {
  color: var(--accent);
}

/* ── TOC CLOSE BUTTON ── */
.toc-close-btn {
  display: none;
}

/* ── MOBILE TOC TOGGLE ── */
.toc-mobile-toggle {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 500;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  transition: all 0.3s ease;
}

.toc-mobile-toggle:hover {
  transform: scale(1.1);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 80px 24px 24px;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    flex-direction: column;
    gap: 24px;
  }

  .article-sidebar.mobile-open {
    transform: translateX(0);
  }

  .toc-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: #ffffff;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 12px;
    right: 12px;
    transition: all 0.2s ease;
    z-index: 1000;
  }

  .toc-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
  }

  .toc-mobile-toggle {
    display: flex;
  }

  .article-hero {
    min-height: 400px;
    padding: 100px 0 48px;
  }

  .article-hero.has-image {
    min-height: 440px;
  }

  .article-hero-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }

  .article-hero-excerpt {
    font-size: 0.95rem;
  }

  .article-mid-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .mid-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .article-author-box {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .blog-gallery-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-gallery-nav {
    display: none;
  }

  .blog-gallery-card {
    flex: 0 0 300px;
    min-height: 360px;
  }

  .blog-gallery-track {
    padding: 0 24px;
  }

  .blog-gallery-card-body {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .article-hero {
    min-height: 360px;
    padding: 90px 0 36px;
  }

  .article-layout-sec {
    padding: 40px 0 60px;
  }

  .article-share-btns {
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   "WE DIDN'T SAY IT FIRST" — PROOF STATS SECTION
   ═══════════════════════════════════════════════════════════ */
.proof-stats-sec {
  padding: 120px 0;
  overflow: hidden;
}

.proof-stats-inner {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.proof-stats-headline {
  margin-bottom: 64px;
}

.proof-stats-headline .heading-xl {
  line-height: 1.15;
}

.proof-line {
  display: block;
}

/* Scale-pulse animation: grows slightly then returns to normal */
@keyframes proofScalePulse {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.08);
  }

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

.proof-title-animate.animate-pulse {
  animation: proofScalePulse 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stats grid */
.proof-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.proof-stat {
  text-align: center;
  padding: 32px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.proof-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
}

.proof-stat-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.proof-stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .proof-stats-sec {
    padding: 80px 0;
  }

  .proof-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .proof-stats-headline {
    margin-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .proof-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .proof-stat {
    padding: 24px 12px;
  }
}

/* ═══════════════════════════════════════════════════════════
   NAV DROPDOWN (DESKTOP & MOBILE)
   ═══════════════════════════════════════════════════════════ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown>a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  min-width: 260px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px !important;
  color: var(--gray-300) !important;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white) !important;
}

.badge-new {
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mobile Dropdown */
.mobile-dropdown {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-dropdown-toggle {
  width: 100%;
  padding: 16px 0;
  /* Reduced from 24px */
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.3rem;
  /* Reduced from 1.6rem */
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
}

.mobile-dropdown-toggle svg {
  transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-toggle svg {
  transform: rotate(180deg);
}

.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  display: flex;
  flex-direction: column;
}

.mobile-dropdown-content a {
  padding: 12px 0 12px 24px;
  font-size: 1.2rem;
  color: var(--gray-400);
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-dropdown.active .mobile-dropdown-content {
  max-height: 300px;
  padding-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════
   SOLO SERVICE PAGE — REVENUE INFRASTRUCTURE
   ═══════════════════════════════════════════════════════════ */

/* Section 1: Industry Callout */
.callout-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.callout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 40px;
}

.bad-list,
.good-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bad-list li {
  padding: 12px 0;
  font-size: 1.1rem;
  color: #ef4444;
  /* red */
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 50%;
  padding-left: 28px;
}

.good-list li {
  padding: 12px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #22c55e;
  /* green */
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 50%;
  padding-left: 32px;
}

.callout-quote {
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--gray-300);
}

.callout-quote p {
  margin-bottom: 8px;
}

.callout-quote strong {
  color: var(--white);
  font-weight: 800;
}

/* Layer Model Stack */
.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.layer-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px;
  border-radius: 16px;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.layer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.layer-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateX(10px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

/* Animated Hero Background */
.hero-animated-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(15, 20, 35, 1) 0%, rgba(10, 12, 20, 1) 40%, rgba(20, 25, 45, 1) 100%);
  background-size: 200% 200%;
  animation: heroGradientPulse 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes heroGradientPulse {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Disqualified Block Layout */
.disqualified-block-large {
  max-width: 800px;
  margin: 60px auto 0;
  text-align: center;
  padding: 40px;
  background: #fff;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-top: 4px solid #ef4444;
  border-radius: 12px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
}

.disqualified-block-large h3 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #000;
  margin-bottom: 24px;
}

.disqualified-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 32px auto;
  max-width: 500px;
  text-align: left;
}

.disqualified-list li {
  padding-left: 32px;
  line-height: 1.6;
  font-size: 1.1rem;
  color: #4a4a4a;
  margin-bottom: 16px;
  position: relative;
  font-weight: 500;
}

.disqualified-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: #ef4444;
  font-weight: bold;
  font-size: 1.2rem;
}

.growth-partners-callout {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #1a1a1a;
  background: rgba(99, 102, 241, 0.05);
  padding: 24px;
  border-radius: 8px;
  border: 1px dashed rgba(99, 102, 241, 0.4);
}

/* ── PREMIUM QUALIFICATION & TIMELINE REDESIGN ── */
.premium-qualification-sec {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  margin-bottom: 60px;
}

@media (max-width: 900px) {
  .premium-split-grid {
    grid-template-columns: 1fr;
  }
}

.qualify-col,
.disqualify-col {
  padding: 32px;
  border-radius: 12px;
}

.qualify-col {
  background: rgba(16, 185, 129, 0.03);
  /* subtle green tint */
  border-top: 3px solid #10b981;
}

.disqualify-col {
  background: rgba(239, 68, 68, 0.03);
  /* subtle red tint */
  border-top: 3px solid #ef4444;
}

.q-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.qualify-col .q-title {
  color: #fff;
}

.disqualify-col .q-title {
  color: #fff;
}

.q-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.q-list li {
  font-size: 1.15rem;
  color: var(--gray-300);
  margin-bottom: 16px;
  padding-left: 32px;
  position: relative;
  line-height: 1.5;
}

.q-list.green-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 800;
  font-size: 1.2rem;
}

.q-list.red-cross li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: #ef4444;
  font-weight: 800;
  font-size: 1.2rem;
}

/* Timeline specific */
.timeline-track-wrap {
  position: relative;
  padding: 32px 0;
  max-width: 700px;
  margin: 0 auto 60px;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  margin-right: 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* The vertical dashed line connecting steps */
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  /* half of 40px marker width - 1px for border */
  top: 40px;
  bottom: -40px;
  width: 2px;
  background: repeating-linear-gradient(to bottom,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.1) 8px,
      transparent 8px,
      transparent 16px);
  z-index: 1;
}

.timeline-content h4 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.timeline-content p {
  color: var(--gray-400);
  font-size: 1.05rem;
  line-height: 1.5;
}

.premium-cta-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(15, 20, 35, 0));
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}


.layer-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.5;
  width: 60px;
  flex-shrink: 0;
}

.layer-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.layer-content p {
  font-size: 1.05rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* Service Breakdown Grid */
.breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.breakdown-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.breakdown-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.bd-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.bd-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.bd-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a1a1a;
}

.bd-body p {
  font-size: 1rem;
  line-height: 1.5;
  color: #4a4a4a;
  margin-bottom: 12px;
}

.bd-outcome {
  color: var(--accent) !important;
  font-weight: 600;
}

.bd-includes {
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

.bd-includes li {
  padding-left: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 4px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #1a1a1a;
  font-weight: 500;
}

/* Background Microanimation for Framework Headers */
.bg-micro-animate-wrap {
  position: relative;
  display: inline-block;
  padding: 10px 0;
}

.bg-micro-animate {
  position: absolute;
  inset: -10px -20px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0) 0%, rgba(99, 102, 241, 0.15) 50%, rgba(99, 102, 241, 0) 100%);
  background-size: 200% 100%;
  border-radius: 12px;
  z-index: 0;
  animation: bgShimmer 4s ease-in-out infinite alternate;
}

@keyframes bgShimmer {
  0% {
    background-position: 100% 50%;
    opacity: 0.5;
    transform: scale(0.98);
  }

  100% {
    background-position: 0% 50%;
    opacity: 1;
    transform: scale(1.02);
  }
}

.bg-micro-text {
  position: relative;
  z-index: 1;
}

/* Free Blueprint Mockup layout */
.blueprint-layout {
  display: flex;
  align-items: center;
  gap: 80px;
}

.blueprint-content {
  flex: 1;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: 8px 0 8px 32px;
  font-size: 1.1rem;
  color: #4a4a4a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 10px;
}

/* 3D Book Mockup Pure CSS */
.blueprint-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.book-mockup {
  position: relative;
  width: 280px;
  height: 380px;
  transform-style: preserve-3d;
  transform: rotateY(-20deg) rotateX(10deg);
  transition: transform 0.5s ease;
}

.book-mockup:hover {
  transform: rotateY(-10deg) rotateX(5deg) scale(1.05);
}

.book-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%);
  border-radius: 4px 12px 12px 4px;
  box-shadow: inset 4px 0 10px rgba(255, 255, 255, 0.1),
    15px 15px 40px rgba(0, 0, 0, 0.5);
  padding: 40px 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateZ(20px);
}

.cover-brand {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: auto;
}

.cover-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.cover-sub {
  font-size: 1rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin-top: auto;
}

.book-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  background: #111;
  transform: rotateY(-90deg) translateZ(20px);
  transform-origin: left;
  border-radius: 4px 0 0 4px;
  box-shadow: inset -2px 0 5px rgba(255, 255, 255, 0.1);
}

/* Premium Form */
.premium-form {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #eaeaea;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.premium-input {
  width: 100%;
  padding: 16px;
  border: none;
  border-bottom: 2px solid #eaeaea;
  background: transparent;
  font-size: 1rem;
  transition: all 0.3s;
  font-family: inherit;
  border-radius: 4px 4px 0 0;
}

.premium-input:focus {
  outline: none;
  background: rgba(99, 102, 241, 0.05);
  border-bottom-color: var(--accent);
}

.form-subtext {
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  margin-top: 16px;
}

@media (max-width: 960px) {
  .blueprint-layout {
    flex-direction: column-reverse;
    gap: 60px;
    align-items: center;
  }

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

@media (max-width: 600px) {
  .callout-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .layer-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── HEADER DROPDOWN & MOBILE LOGIC ── */

/* Navigation Links Style */
.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease !important;
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  top: 0;
}

/* Ensure 'Services' dropdown container is correctly positioned */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

/* Dropdown Content */
.dropdown-content {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 1rem 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Show on Hover */
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown Link Style */
.dropdown-content a {
  color: #333;
  padding: 10px 24px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.dropdown-content a:hover {
  background: #f8f9fa;
  color: var(--accent);
  padding-left: 30px;
}

/* Header fix for logo and nav links alignment */
.nav-logo {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Mobile Menu Panel Logic */
.mobile-menu-panels {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.main-panel,
.services-panel {
  flex: 0 0 50%;
  height: 100%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

/* Mobile Link Spacing Fix */
.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: none;
}

.mobile-services-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}

.mobile-back-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 2rem;
}

/* Navigation Icons & Enhanced Interaction */
.nav-icon {
  vertical-align: middle;
  margin-left: 4px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.nav-item.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.mobile-back-btn .nav-icon {
  margin-left: 0;
  margin-right: 12px;
}

.mobile-services-btn .nav-icon {
  margin-left: 12px;
  opacity: 0.8;
}

/* Mobile Panel Offset Fixes */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
}