/* ==========================================================================
   RESOLVIA — COMPLETE UNIFIED COMPONENT STYLES
   Balanced Sizing & Responsive Cartoon Story Illustrations
   ========================================================================== */

/* Floating Island Pill Navbar (Pulse Design System) */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0 0 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-island-pill {
  pointer-events: auto;
  max-width: 1040px;
  width: calc(100% - 2.5rem);
  margin: 0 auto;
  padding: 0.6rem 0.85rem 0.6rem 1.4rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .nav-island-pill {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .nav-island-pill {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-color: rgba(226, 232, 240, 0.8);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.header-nav.scrolled {
  padding-top: 0.75rem;
}

.header-nav.scrolled .nav-island-pill {
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
}

/* Brand Logo inside Pill */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
  text-decoration: none !important;
}

.brand-logo:hover,
.brand-logo:focus,
.brand-logo:active {
  text-decoration: none !important;
}

.brand-logo-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--color-primary-glow);
}

/* Nav Links inside Pill */
.desktop-nav {
  display: none;
}

@media (min-width: 900px) {
  .desktop-nav {
    display: block;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:active {
  color: var(--text-main);
  text-decoration: none !important;
}

/* Pulse Action Button ("Book Strategy Call ↗") */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-pulse-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem 0.45rem 1.1rem;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .btn-pulse-cta {
  background: #ffffff;
  color: #0f172a;
}

[data-theme="light"] .btn-pulse-cta {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.btn-pulse-cta:hover {
  transform: translateY(-1px);
  text-decoration: none !important;
}

[data-theme="dark"] .btn-pulse-cta:hover {
  background: #f8fafc;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

[data-theme="light"] .btn-pulse-cta:hover {
  background: #1e293b;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35);
}

.pulse-arrow-badge {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  transition: background 0.25s ease;
}

[data-theme="dark"] .pulse-arrow-badge {
  background: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

[data-theme="light"] .pulse-arrow-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.pulse-arrow-badge svg {
  transform: rotate(-45deg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover .pulse-arrow-badge,
.btn-primary:hover .pulse-arrow-badge,
.btn-pulse-cta:hover .pulse-arrow-badge {
  background: rgba(15, 23, 42, 0.22);
}

[data-theme="light"] .btn:hover .pulse-arrow-badge,
[data-theme="light"] .btn-primary:hover .pulse-arrow-badge {
  background: rgba(255, 255, 255, 0.35);
}

.btn-pulse-cta:hover .pulse-arrow-badge svg,
.btn:hover .pulse-arrow-badge svg,
.btn-primary:hover .pulse-arrow-badge svg,
.trigger-strategy-modal:hover .pulse-arrow-badge svg {
  transform: rotate(0deg);
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.12);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Mobile Hamburger Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

[data-theme="light"] .mobile-menu-btn {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.12);
}

@media (min-width: 900px) {
  .mobile-menu-btn {
    display: none;
  }
}

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

  .cta-banner > div[style*="grid-column"] {
    grid-column: auto !important;
  }

  .header-nav {
    padding-top: 0.75rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  }

  .header-nav.nav-hidden {
    transform: translateY(-130%);
  }

  .nav-island-pill {
    width: calc(100% - 1.5rem);
    padding: 0.5rem 0.75rem 0.5rem 1rem;
    border-radius: 12px;
  }

  .brand-logo {
    font-size: 1.15rem;
    gap: 0.45rem;
  }

  .brand-logo-icon {
    width: 26px;
    height: 26px;
  }

  .theme-toggle-btn,
  .mobile-menu-btn {
    width: 34px;
    height: 34px;
  }

  .nav-actions {
    gap: 0.4rem;
  }
}

@media (max-width: 640px) {
  .desktop-only-btn {
    display: none !important;
  }
}

/* iOS-Style Bottom Sheet Mobile Navigation (Matching User Reference Mockup) */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #ffffff;
  border-radius: 34px 34px 0 0;
  border-top: 1px solid #e2e8f0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) 1.5rem;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

[data-theme="dark"] .mobile-drawer {
  background: #090d1e;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.open {
  transform: translateY(0);
}

/* iOS Sheet Handle Bar */
.mobile-sheet-handle {
  width: 38px;
  height: 4px;
  border-radius: 99px;
  background: #e2e8f0;
  margin: 0 auto 0.75rem auto;
  cursor: grab;
  touch-action: none;
}

.mobile-sheet-handle:active {
  cursor: grabbing;
}

[data-theme="dark"] .mobile-sheet-handle {
  background: rgba(255, 255, 255, 0.25);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid #f1f5f9;
}

[data-theme="dark"] .mobile-nav-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.mobile-nav-item:last-child {
  border-bottom: none;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  padding: 0.85rem 0;
  text-align: left;
  transition: color var(--transition-fast);
}

[data-theme="dark"] .mobile-nav-link {
  color: #f8fafc;
}

.mobile-nav-link:hover {
  color: #2563eb;
}

.mobile-drawer-footer {
  margin-top: 1.25rem;
}

.btn-sheet-cta {
  width: 100%;
  padding: 0.85rem;
  background: #2563eb !important;
  color: #ffffff !important;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
  border: none;
}

.btn-sheet-cta:hover {
  background: #1d4ed8 !important;
}

/* Theme Toggle Switcher Button */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--border-glass-hover);
  background: var(--bg-card-hover);
  transform: scale(1.05);
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: #ffffff;
  color: #0f172a;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
  text-decoration: none !important;
}

[data-theme="dark"] .btn-primary {
  background: #ffffff;
  color: #0f172a;
}

[data-theme="light"] .btn-primary {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  text-decoration: none !important;
}

[data-theme="dark"] .btn-primary:hover {
  background: #f8fafc;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

[data-theme="light"] .btn-primary:hover {
  background: #1e293b;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  border-radius: 99px;
}

[data-theme="light"] .btn-secondary {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* Hero Section */
.hero-section {
  padding-top: 7rem;
  padding-bottom: 3.5rem;
  position: relative;
  text-align: left;
  overflow: hidden;
}

/* Ambient Hero Background Floating Props (Concept 3: Subtle Luxury) */
.hero-bg-props {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-bg-prop {
  position: absolute;
  pointer-events: auto;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-bg-prop:active {
  cursor: grabbing;
}

/* 1. Top-Left Prop (Behind Main Headline) */
.hero-bg-prop-top-left {
  top: 4%;
  left: 1%;
  width: 145px;
  opacity: 0.22;
  filter: blur(2.5px);
  transform: rotate(-12deg);
  animation: heroPropFloat1 7.5s ease-in-out infinite alternate;
}

/* 2. Top-Right Prop (Behind the Bench Illustration) */
.hero-bg-prop-top-right {
  top: 6%;
  right: 2%;
  width: 165px;
  opacity: 0.28;
  filter: blur(2px);
  transform: rotate(15deg);
  animation: heroPropFloat2 8.5s ease-in-out infinite alternate;
}

/* 3. Bottom-Left Prop (Near Primary CTA Button) */
.hero-bg-prop-bottom-left {
  bottom: 6%;
  left: 3%;
  width: 125px;
  opacity: 0.20;
  filter: blur(3px);
  transform: rotate(-25deg);
  animation: heroPropFloat3 6.8s ease-in-out infinite alternate;
}

@keyframes heroPropFloat1 {
  0% { transform: translateY(0px) rotate(-12deg); }
  100% { transform: translateY(-16px) rotate(-8deg); }
}

@keyframes heroPropFloat2 {
  0% { transform: translateY(0px) rotate(15deg); }
  100% { transform: translateY(-20px) rotate(20deg); }
}

@keyframes heroPropFloat3 {
  0% { transform: translateY(0px) rotate(-25deg); }
  100% { transform: translateY(-14px) rotate(-20deg); }
}

@media (max-width: 768px) {
  .hero-bg-prop-top-left {
    width: 90px;
    top: 3%;
    left: -15px;
    opacity: 0.18;
  }
  .hero-bg-prop-top-right {
    width: 100px;
    top: 15%;
    right: -20px;
    opacity: 0.22;
  }
  .hero-bg-prop-bottom-left {
    width: 80px;
    bottom: 5%;
    left: -10px;
    opacity: 0.15;
  }
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 8.5rem;
    padding-bottom: 4rem;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 0.9fr 1.35fr;
    gap: 3.5rem;
  }
}

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

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 99px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

[data-theme="light"] .hero-pill-badge {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #64748b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.1rem, 6.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.highlight-blue {
  color: #3b82f6;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.6;
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

@media (max-width: 480px) {
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Dynamic Light & Dark Mode Hero Bench Illustration Frame */
.hero-bench-frame {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-bench-frame {
    transform: scale(1.02);
    transform-origin: center right;
  }
}

.hero-bench-img {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: var(--radius-lg);
  transition: opacity 0.3s ease;
}

/* Theme Toggle Visibility Control */
[data-theme="light"] .dark-mode-only {
  display: none !important;
}

[data-theme="light"] .light-mode-only {
  display: block !important;
}

[data-theme="dark"] .light-mode-only {
  display: none !important;
}

[data-theme="dark"] .dark-mode-only {
  display: block !important;
}

/* Speech Bubbles Wrapper Above Bench */
.speech-bubbles-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: -0.25rem;
  z-index: 10;
  padding: 0;
}

.speech-bubble {
  position: relative;
  padding: 0.6rem 0.85rem;
  border-radius: 16px;
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Casual', sans-serif, var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  max-width: 155px;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-normal);
}

@media (min-width: 640px) {
  .speech-bubble {
    padding: 0.85rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    max-width: 220px;
  }
}

[data-theme="light"] .speech-bubble {
  background: #ffffff;
  color: #0f172a;
  border: 2px solid #0f172a;
}

[data-theme="dark"] .speech-bubble {
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  border: 2px solid #3b82f6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* Bubble pointers (pointing inwards toward Steve Jobs & Warren Buffett) */
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  width: 0;
  height: 0;
  border-style: solid;
}

/* Left Bubble (Steve Jobs) - Tail on bottom-right pointing at Steve Jobs */
[data-theme="light"] .speech-bubble-left::after {
  right: 35px;
  left: auto;
  border-width: 10px 0 0 10px;
  border-color: #0f172a transparent transparent transparent;
}

[data-theme="dark"] .speech-bubble-left::after {
  right: 35px;
  left: auto;
  border-width: 10px 0 0 10px;
  border-color: #3b82f6 transparent transparent transparent;
}

/* Right Bubble (Warren Buffett) - Tail on bottom-left pointing at Warren Buffett */
[data-theme="light"] .speech-bubble-right::after {
  left: 35px;
  right: auto;
  border-width: 10px 10px 0 0;
  border-color: #0f172a transparent transparent transparent;
}

[data-theme="dark"] .speech-bubble-right::after {
  left: 35px;
  right: auto;
  border-width: 10px 10px 0 0;
  border-color: #3b82f6 transparent transparent transparent;
}

/* Handwritten Slogan below bench */
.hero-bench-slogan {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.5rem;
  text-align: center;
}

.down-arrow {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.1rem;
}

.handwritten-text {
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Casual', cursive, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .down-arrow { font-size: 1.4rem; }
  .handwritten-text { font-size: 1.5rem; }
}

.underline-blue {
  position: relative;
  color: var(--text-main);
  border-bottom: 3px solid #3b82f6;
  padding-bottom: 2px;
}

/* Section Cartoon Story Container (Proportional Sizing & Centering) */
.cartoon-story-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 1.5rem 0;
}

.story-img {
  width: 100%;
  max-width: 580px; /* Perfectly balanced max width for section illustrations */
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .story-img {
    max-width: 100%;
  }
}

.story-img:hover {
  transform: scale(1.015);
}

/* Editorial Archetype Spotlight & Character Avatars */
.editorial-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .editorial-spotlight {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.archetype-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.archetype-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-3px);
}

.archetype-avatar-frame {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid var(--border-glass-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.archetype-avatar-frame img {
  width: 130%;
  height: auto;
  object-fit: cover;
  margin-top: 10px;
}

.archetype-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.6;
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.glass-panel:hover {
  border-color: var(--border-glass-hover);
}

/* Trusted By Section */
.trusted-section {
  padding: 2.5rem 0;
  background: transparent;
  border: none;
}

.trusted-title {
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  opacity: 0.75;
}

.trusted-logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.trusted-logo-item:hover {
  color: var(--text-main);
}

/* Comparison Section (Paid Ads vs YouTube) */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.comparison-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  position: relative;
}

.comparison-card.paid-ads {
  border-color: rgba(244, 63, 94, 0.25);
}

.comparison-card.youtube {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: var(--shadow-glow);
}

.comparison-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.comparison-card.paid-ads .comparison-badge {
  background: rgba(244, 63, 94, 0.15);
  color: var(--color-rose);
}

.comparison-card.youtube .comparison-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-emerald);
}

.comparison-list {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
}

.comparison-item.negative svg { color: var(--color-rose); flex-shrink: 0; margin-top: 3px; }
.comparison-item.positive svg { color: var(--color-emerald); flex-shrink: 0; margin-top: 3px; }

/* Stat Highlights Grid */
.stat-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .stat-highlights {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-cyan);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), var(--shadow-glow);
  background: var(--bg-card-hover);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(59, 130, 246, 0.25);
  box-shadow: 0 0 15px var(--color-primary-glow);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-industry {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-cyan);
  margin-bottom: 0.85rem;
}

.result-metric {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.result-metric-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

/* iOS Segmented Toggle Control for Paid Ads vs YouTube (Mobile Only) */
.comparison-toggle-wrapper {
  display: none; /* Hidden on Desktop */
}

@media (max-width: 768px) {
  .comparison-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-glass-hover);
    border-radius: 99px;
    padding: 0.25rem;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.5rem 0;
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    overflow: hidden;
  }

  .comparison-toggle-btn {
    flex: 1;
    padding: 0.6rem 0.5rem;
    border-radius: 99px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .comparison-toggle-btn.active {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  }

  [data-theme="light"] .comparison-toggle-btn.active {
    background: #0f172a;
    color: #ffffff;
  }
}

/* Workflow Stage Progress Dots */
.pipeline-progress-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem 0;
}

.pipeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-glass);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.pipeline-dot.active {
  width: 24px;
  border-radius: 99px;
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
}

/* Mobile Only Workflow Pipeline Styles (Matching User Reference Screenshot) */
@media (max-width: 768px) {
  #pipeline .section-header {
    text-align: left !important;
    margin-bottom: 2rem !important;
  }

  #pipeline .section-header h2 {
    text-align: left !important;
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
  }

  #pipeline .section-header p {
    text-align: left !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
  }

  #pipeline .section-badge {
    display: none !important; /* Hide badge on mobile header for clean look like mockup */
  }

  #pipeline .cartoon-story-container {
    display: block !important;
    margin: 1.25rem 0 1.5rem 0 !important;
    text-align: center !important;
  }

  #pipeline .story-img {
    width: 100% !important;
    max-width: 360px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  /* Horizontally Swipeable Pill Tabs */
  .pipeline-tabs {
    display: flex !important;
    gap: 0.65rem !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0.25rem 0 0.85rem 0 !important;
    margin-bottom: 0.5rem !important;
    scrollbar-width: none !important;
  }

  .pipeline-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .pipeline-tab-btn {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
    padding: 0.6rem 1.25rem !important;
    border-radius: 99px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #475569 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  }

  [data-theme="dark"] .pipeline-tab-btn {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(15, 23, 42, 0.8) !important;
    color: #94a3b8 !important;
  }

  .pipeline-tab-btn.active {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
  }

  [data-theme="dark"] .pipeline-tab-btn.active {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
  }

  /* Progress Indicator Dots */
  .pipeline-progress-dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    margin: 0.5rem 0 1.75rem 0 !important;
  }

  .pipeline-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #cbd5e1 !important;
    transition: all 0.3s ease !important;
  }

  [data-theme="dark"] .pipeline-dot {
    background: rgba(255, 255, 255, 0.2) !important;
  }

  .pipeline-dot.active {
    width: 22px !important;
    height: 6px !important;
    border-radius: 99px !important;
    background: #2563eb !important;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5) !important;
  }

  /* Card Display Styling on Mobile (Compact Landscape Rectangle) */
  .pipeline-display-content {
    border-radius: 20px !important;
    padding: 1.25rem 1.25rem !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  }

  [data-theme="dark"] .pipeline-display-content {
    background: #090d1e !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  }

  .pipeline-stage-tag {
    font-size: 0.775rem !important;
    font-weight: 800 !important;
    color: #2563eb !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0.2rem !important;
    display: block !important;
  }

  .pipeline-display-content h3 {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: #0f172a !important;
    margin: 0.25rem 0 0.5rem 0 !important;
  }

  [data-theme="dark"] .pipeline-display-content h3 {
    color: #f8fafc !important;
  }

  .pipeline-display-content p {
    font-size: 0.85rem !important;
    color: #475569 !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
  }

  [data-theme="dark"] .pipeline-display-content p {
    color: #94a3b8 !important;
  }

  .card-tag-pills {
    display: flex !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    margin-top: 0.75rem !important;
  }

  .card-tag-pill {
    background: #eff6ff !important;
    color: #2563eb !important;
    padding: 0.3rem 0.75rem !important;
    border-radius: 99px !important;
    font-size: 0.775rem !important;
    font-weight: 600 !important;
  }

  [data-theme="dark"] .card-tag-pill {
    background: rgba(37, 99, 235, 0.18) !important;
    color: #38bdf8 !important;
  }
}

/* Pricing Card */
.pricing-container {
  max-width: 960px;
  margin: 2.5rem auto 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .pricing-card {
    grid-template-columns: 1fr 1.3fr;
    padding: 3.5rem 3rem;
    gap: 3rem;
  }
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-top: 0.75rem;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.pricing-feature-item svg {
  color: var(--color-emerald);
  flex-shrink: 0;
}

/* FAQ Accordion Component (Enhanced Objection Handling) */
.faq-container {
  max-width: 840px;
  margin: 2.5rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  border-color: var(--border-glass-hover);
}

.faq-item.active {
  border-color: var(--border-glass-hover);
  background: var(--bg-card-hover);
}

[data-theme="light"] .faq-item.active {
  border-color: #cbd5e1;
  background: #ffffff;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.35rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.025rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.2s ease;
}

.faq-item.active .faq-question {
  color: var(--text-main);
}

[data-theme="light"] .faq-item.active .faq-question {
  color: #0f172a;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  color: var(--color-cyan);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* Rotates + into × */
  color: var(--color-cyan);
}

[data-theme="light"] .faq-item.active .faq-icon {
  color: #2563eb;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.35rem;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  padding: 0 1.35rem 1.35rem 1.35rem;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

[data-theme="light"] .faq-answer p {
  color: #475569;
}

.faq-answer ul, .faq-answer ol {
  margin: 0.6rem 0 0 1.25rem;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
}

[data-theme="light"] .faq-answer ul,
[data-theme="light"] .faq-answer ol {
  color: #475569;
}

.faq-answer li {
  margin-bottom: 0.35rem;
}

/* Expandable FAQ Wrapper & Subtle Text Toggle Button */
.faq-more-wrapper {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-more-wrapper.expanded {
  display: flex;
}

.faq-toggle-more-container {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

.btn-faq-toggle-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.75;
}

[data-theme="light"] .btn-faq-toggle-more {
  color: #64748b;
}

.btn-faq-toggle-more:hover {
  color: var(--text-main);
  opacity: 1;
  background: transparent;
}

[data-theme="light"] .btn-faq-toggle-more:hover {
  color: #0f172a;
}

.btn-faq-toggle-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-faq-toggle-more.expanded svg {
  transform: rotate(180deg);
}

/* FAQ Bottom CTA Card */
.faq-bottom-cta {
  max-width: 840px;
  margin: 2.5rem auto 0 auto;
  padding: 1.75rem 2rem;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .faq-bottom-cta {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.faq-bottom-cta p {
  font-size: 0.975rem;
  color: var(--text-main);
  margin: 0;
}

.faq-bottom-cta strong {
  color: var(--color-cyan);
}

[data-theme="light"] .faq-bottom-cta {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.25);
}

[data-theme="light"] .faq-bottom-cta strong {
  color: #2563eb;
}

/* CTA Banner */
.conversion-options {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.conversion-card {
  padding: 2.5rem;
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.conversion-card h2,
.conversion-card h3 {
  margin-top: 0;
}

.conversion-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.18;
  margin-bottom: 1rem;
}

.conversion-card p {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
}

.conversion-card-book {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.conversion-action {
  align-self: flex-start;
}

.callback-form {
  display: grid;
  gap: 0.75rem;
}

.callback-form .btn {
  width: 100%;
}

.conversion-divider {
  display: none;
}

@media (max-width: 768px) {
  .conversion-options {
    grid-template-columns: 1fr;
  }

  .conversion-card {
    padding: 2rem 1.25rem;
  }
}

.cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: visible;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 4.5rem 2rem;
  }
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  position: relative;
  z-index: 2;
}

.cta-banner .btn {
  position: relative;
  z-index: 2;
}

/* Floating & Draggable 3D YouTube Play Buttons in CTA Banner */
.cta-floating-yt {
  position: absolute;
  pointer-events: auto;
  cursor: grab;
  user-select: none;
  touch-action: none;
  z-index: 10;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
  animation: floatBounce 4s ease-in-out infinite alternate;
}

[data-theme="light"] .cta-floating-yt {
  filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.08)) !important;
}

.cta-floating-yt:active {
  cursor: grabbing;
}

.cta-floating-yt-left {
  left: -75px;
  top: 45%;
  transform: translateY(-50%) rotate(-12deg);
  width: 200px;
  height: auto;
}

.cta-floating-yt-right-top {
  right: -40px;
  top: -60px;
  transform: rotate(15deg);
  width: 175px;
  height: auto;
  animation-delay: -1.5s;
}

.cta-floating-yt-right-bottom {
  right: -35px;
  bottom: -30px;
  transform: rotate(-18deg);
  width: 150px;
  height: auto;
  animation-delay: -3s;
}

@keyframes floatBounce {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-8px) rotate(3deg);
  }
}

@media (max-width: 768px) {
  .cta-floating-yt-left {
    width: 95px;
    left: -25px;
    top: 66%;
  }
  .cta-floating-yt-right-top {
    width: 100px;
    right: -20px;
    top: -30px;
  }
  .cta-floating-yt-right-bottom {
    width: 110px;
    right: -20px;
    bottom: -45px;
  }
}

/* Footer Component */
.footer {
  padding: 3rem 0 2rem 0;
  background: transparent;
  border: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.social-link {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.social-link:hover {
  color: var(--color-cyan);
}

/* High-Visual Image Frames */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass-hover);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-solid);
}

.media-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-frame:hover img {
  transform: scale(1.02);
}

/* Visual UI Card Widget */
.visual-ui-card {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mini-timeline-track {
  height: 6px;
  width: 100%;
  background: var(--border-glass);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.mini-timeline-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #38bdf8 100%);
  border-radius: 99px;
}

/* Interactive Pipeline Tabs */
.pipeline-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pipeline-tabs::-webkit-scrollbar {
  display: none;
}

.pipeline-tab-btn {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.pipeline-tab-btn.active, .pipeline-tab-btn:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--color-primary);
  color: var(--text-main);
  box-shadow: 0 0 15px var(--color-primary-glow);
}

/* Chart Visual SVG Styles */
.chart-line-green {
  stroke: #10b981;
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 4px 10px rgba(16, 185, 129, 0.4));
}

.chart-line-red {
  stroke: #f43f5e;
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 4px 10px rgba(244, 63, 94, 0.4));
}

/* Floating Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--bg-card-solid);
  border: 1px solid var(--border-glass-hover);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 15px var(--color-primary-glow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.4);
}

.back-to-top-btn:active {
  transform: translateY(0) scale(0.95);
}

@media (max-width: 768px) {
  .back-to-top-btn {
    bottom: 5.5rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
  }
}

/* Scrollspy Active Nav Indicator */
.nav-link.active {
  color: var(--color-cyan) !important;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-cyan);
  border-radius: 99px;
  box-shadow: 0 0 8px var(--color-cyan);
}

/* Sticky Mobile Bottom CTA Bar */
.sticky-mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: rgba(2, 5, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glass-hover);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .sticky-mobile-cta-bar {
  background: rgba(255, 255, 255, 0.95);
  border-top-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

.sticky-mobile-cta-bar.visible {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .sticky-mobile-cta-bar {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 90px;
  }
}
