/* ===================================================
   69dynamics — Premium Interactive Theme
   Animated · Glass · 3D · Investor-Ready
   =================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --color-bg: #fafbff;
  --color-bg-alt: #f0f2f7;
  --color-surface: #ffffff;
  --color-surface-hover: #f1f3f8;
  --color-border: #e2e5eb;
  --color-border-light: #d1d5db;

  --color-text: #374151;
  --color-text-heading: #0f172a;
  --color-text-muted: #4b5563;
  --color-text-dim: #6b7280;
  --color-text-body: #4b5563;
  --color-card: #ffffff;

  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #3b82f6;
  --color-primary-ultra-light: #eff6ff;
  --color-secondary: #0891b2;
  --color-accent: #0891b2;
  --color-accent-light: #06b6d4;
  --color-violet: #7c3aed;

  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
  --gradient-hero: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #0891b2 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(8, 145, 178, 0.04) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(124, 58, 237, 0.08) 50%, rgba(8, 145, 178, 0.12) 100%);
  --gradient-border: linear-gradient(135deg, #2563eb, #7c3aed, #0891b2);

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 12px 28px rgba(37, 99, 235, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.08);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.08);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(37, 99, 235, 0.15);
  color: var(--color-text-heading);
}

/* ---------- Smooth focus ---------- */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Container ---------- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* ---------- Section ---------- */
.section {
  padding: 100px 0;
  position: relative;
  width: 100%;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-primary);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.06) 100%);
  border: 1px solid rgba(37, 99, 235, 0.12);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  position: relative;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-heading);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-top: 6px;
  line-height: 1.7;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmerGradient 4s ease-in-out infinite;
}

@keyframes shimmerGradient {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* ---------- Animated Gradient Border Utility ---------- */
.gradient-border {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--gradient-border);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  background-size: 300% 300%;
  animation: borderShift 4s ease infinite;
}

.gradient-border:hover::before {
  opacity: 1;
}

@keyframes borderShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- Glow Card Utility ---------- */
.glow-hover {
  position: relative;
  overflow: hidden;
}

.glow-hover::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  pointer-events: none;
  border-radius: inherit;
}

.glow-hover:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

/* ---------- Floating animation ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Counter animation utility ---------- */
.counter-animate {
  font-variant-numeric: tabular-nums;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
  letter-spacing: 0.01em;
}

.btn-icon {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--gradient-primary);
  background-size: 200% auto;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2), 0 4px 12px rgba(37, 99, 235, 0.15);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  background-size: 200% auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3), 0 12px 28px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-heading);
  border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
  background: var(--color-primary-ultra-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-heading);
  border: 1.5px solid var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

/* ========================================
   PROMO SIDEBAR
   ======================================== */
.promo-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10001;
  background: linear-gradient(180deg, #1e3a5f 0%, #2563eb 50%, #7c3aed 100%);
  color: #fff;
  padding: 20px 14px;
  border-radius: 12px 0 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: -4px 0 24px rgba(37, 99, 235, 0.18);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  animation: promoSlideIn 0.6s ease;
}
.promo-sidebar.hidden {
  transform: translateY(-50%) translateX(110%);
  opacity: 0;
  pointer-events: none;
}
.promo-sidebar.dismissed {
  display: none !important;
}
@keyframes promoSlideIn {
  from { transform: translateY(-50%) translateX(110%); opacity: 0; }
  to { transform: translateY(-50%) translateX(0); opacity: 1; }
}
.promo-sidebar-close {
  position: absolute;
  top: 6px;
  right: 6px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 5px;
}
.promo-sidebar-close:hover { color: #fff; }
.promo-sidebar-icon { font-size: 1.3rem; margin-top: 4px; }
.promo-sidebar-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  writing-mode: horizontal-tb;
}
.promo-sidebar-text {
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.3;
  color: rgba(255,255,255,0.9);
  max-width: 80px;
}
.promo-sidebar-text strong { color: #fbbf24; font-size: 0.9rem; }
.promo-sidebar-btn {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.7rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.promo-sidebar-btn:hover {
  background: rgba(255,255,255,0.28);
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .promo-sidebar {
    padding: 14px 10px;
    gap: 7px;
    border-radius: 10px 0 0 10px;
  }
  .promo-sidebar-icon { font-size: 1.1rem; }
  .promo-sidebar-text { font-size: 0.7rem; max-width: 65px; }
  .promo-sidebar-btn { font-size: 0.65rem; padding: 5px 10px; }
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.97);
  width: 100%;
  overflow: visible;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(37, 99, 235, 0.06);
  padding: 10px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 24px rgba(37, 99, 235, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}

/* Logo: Icon + Text */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
}

.logo-icon {
  height: 34px;
  width: auto;
  max-height: 34px;
  object-fit: contain;
  border-radius: 8px;
  transition: var(--transition);
  flex-shrink: 0;
  display: block;
  aspect-ratio: auto;
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-heading);
  letter-spacing: -0.5px;
  white-space: nowrap;
  line-height: 1;
}

.footer-logo-icon {
  height: 28px;
  width: auto;
}

.footer-logo-text {
  font-size: 1.15rem;
}

.logo-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition);
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--color-text-heading);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-primary) !important;
  color: #ffffff !important;
  padding: 9px 22px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.15);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-primary-dark) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 1001;
  flex-shrink: 0;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--color-text-heading);
  transition: var(--transition);
  border-radius: 2px;
}

.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);
}

/* ========================================
   HERO — Centered, Full-Cover
   ======================================== */
.hero {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(135deg, #fafbff 0%, #eef2ff 50%, #f0f9ff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
  contain: strict;
  backface-visibility: hidden;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(37, 99, 235, 0.06);
  top: -200px;
  right: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(8, 145, 178, 0.05);
  bottom: -100px;
  left: -100px;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(124, 58, 237, 0.04);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.03); }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero-content {
  max-width: 780px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  background: var(--color-primary-ultra-light);
  border: 1px solid rgba(37, 99, 235, 0.1);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-badge.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Rebrand Notice */
.rebrand-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: linear-gradient(135deg, rgba(139,92,246,.06), rgba(99,102,241,.06));
  border: 1px solid rgba(139,92,246,.15);
  padding: 10px 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  line-height: 1.5;
  animation: fadeInUp 0.5s ease-out;
  max-width: 620px;
}
.rebrand-notice strong {
  color: var(--color-text-heading);
  font-weight: 700;
}
.rebrand-icon {
  color: var(--color-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-text-heading);
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}

.hero-actions.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin-top: 4px;
  font-weight: 500;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   3D CARD HOVER EFFECT (Global)
   ======================================== */
.card-3d {
  perspective: 800px;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.card-3d:hover {
  transform: translateY(-6px) rotateX(2deg) rotateY(-1deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.06);
}

/* ========================================
   ABOUT
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.about-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.about-card:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-card-hover);
}

.about-card:hover::after {
  transform: scaleX(1);
}

.about-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.06) 100%);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  color: var(--color-primary);
  transition: var(--transition);
}

.about-card:hover .about-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.about-icon svg {
  width: 24px;
  height: 24px;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 10px;
}

.about-card p {
  color: var(--color-text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ========================================
   INTERACTIVE 3D SHOWCASE (CSS Perspective)
   ======================================== */
.sc-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.sc-scene-container {
  position: relative;
  height: 520px;
  perspective: 1200px;
  overflow: visible;
  cursor: default;
}

.sc-scene {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.sc-layer {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.sc-layer--back {
  transform: translateZ(-80px) scale(1.06);
}

.sc-layer--mid {
  transform: translateZ(0);
}

.sc-layer--front {
  transform: translateZ(80px) scale(0.94);
}

.sc-card {
  pointer-events: auto;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.sc-card--main {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  max-width: 580px;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  text-align: center;
  /* backdrop-filter removed for scroll perf */
}

.sc-card--main:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1), 0 0 60px rgba(37, 99, 235, 0.1);
}

.sc-card--main h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 16px;
  line-height: 1.3;
}

.sc-card--main p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.sc-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.sc-pills span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-ultra-light);
  border: 1px solid rgba(37, 99, 235, 0.1);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.sc-pills span:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.sc-card--stat {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  transition: var(--transition);
}

.sc-card--stat:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-xl);
}

.sc-card--stat svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.sc-card-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.1;
}

.sc-card-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 2px;
}

/* Position the floating stat cards */
.sc-pos--1 { top: 12%; left: 4%; }
.sc-pos--2 { bottom: 15%; right: 6%; }
.sc-pos--3 { top: 8%; right: 4%; }
.sc-pos--4 { bottom: 10%; left: 6%; }

/* Decorative glow effects */
.sc-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
  will-change: auto;
  contain: strict;
}

.sc-glow--1 {
  width: 320px;
  height: 320px;
  background: rgba(37, 99, 235, 0.07);
  top: 5%;
  left: 12%;
  animation: floatOrb 10s ease-in-out infinite;
}

.sc-glow--2 {
  width: 260px;
  height: 260px;
  background: rgba(8, 145, 178, 0.05);
  bottom: 8%;
  right: 12%;
  animation: floatOrb 12s ease-in-out infinite reverse;
}

/* ========================================
   CUSTOM CRM
   ======================================== */
.crm-builder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
  overflow: hidden;
}

.crm-modules {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.crm-module {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.55;
}

.crm-module:hover {
  opacity: 0.8;
  border-color: rgba(37, 99, 235, 0.2);
}

.crm-module.crm-module-active {
  opacity: 1;
  border-color: rgba(37, 99, 235, 0.3);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(124, 58, 237, 0.02) 100%);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.crm-module-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.06) 100%);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  flex-shrink: 0;
  transition: all 0.35s ease;
}

.crm-module.crm-module-active .crm-module-icon {
  background: var(--gradient-primary);
  color: #fff;
}

.crm-module-icon svg {
  width: 20px;
  height: 20px;
}

.crm-module-info {
  flex: 1;
  min-width: 0;
}

.crm-module-info h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 2px;
}

.crm-module-info p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.crm-module-toggle {
  flex-shrink: 0;
}

.toggle-switch {
  width: 40px;
  height: 22px;
  background: rgba(148, 163, 184, 0.3);
  border-radius: 11px;
  position: relative;
  transition: all 0.3s ease;
}

.toggle-switch.active {
  background: var(--gradient-primary);
}

.toggle-knob {
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.toggle-switch.active .toggle-knob {
  left: 21px;
}

/* CRM Preview Window */
.crm-preview-window {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.06);
}

.crm-preview-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.03) 100%);
  border-bottom: 1px solid var(--color-border);
}

.crm-preview-dots {
  display: flex;
  gap: 6px;
}

.crm-preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.crm-preview-dots span:nth-child(1) { background: #ef4444; }
.crm-preview-dots span:nth-child(2) { background: #f59e0b; }
.crm-preview-dots span:nth-child(3) { background: #22c55e; }

.crm-preview-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}

.crm-preview-body {
  display: flex;
  min-height: 280px;
}

.crm-preview-sidebar {
  width: 48px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06) 0%, rgba(124, 58, 237, 0.04) 100%);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
}

.crm-sidebar-item {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: all 0.3s ease;
}

.crm-sidebar-item.active {
  background: var(--gradient-primary);
  color: #fff;
}

.crm-sidebar-item svg {
  width: 16px;
  height: 16px;
}

.crm-preview-content {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crm-preview-stat-row {
  display: flex;
  gap: 12px;
}

.crm-stat-mini {
  flex: 1;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(124, 58, 237, 0.03) 100%);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
}

.crm-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
}

.crm-stat-label {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.crm-preview-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  padding: 0 4px;
}

.crm-chart-bar {
  flex: 1;
  background: var(--gradient-primary);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  animation: crmBarGrow 1.5s ease-out forwards;
}

.crm-chart-bar:nth-child(even) {
  opacity: 0.5;
}

@keyframes crmBarGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

.crm-preview-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.crm-table-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(148, 163, 184, 0.04);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--color-text-body);
}

.crm-row-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.crm-row-dot.green { background: #22c55e; }
.crm-row-dot.blue { background: #2563eb; }
.crm-row-dot.purple { background: #7c3aed; }

/* CRM USP Grid */
.crm-usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.crm-usp-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
}

.crm-usp-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.08);
}

.crm-usp-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(124, 58, 237, 0.08) 100%);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  margin: 0 auto 16px;
  transition: all 0.35s ease;
}

.crm-usp-card:hover .crm-usp-icon {
  background: var(--gradient-primary);
  color: #fff;
}

.crm-usp-icon svg {
  width: 24px;
  height: 24px;
}

.crm-usp-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.crm-usp-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Quantum Bundle Offer */
.quantum-bundle {
  background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(124,58,237,0.06));
  border: 1.5px solid rgba(124,58,237,0.15);
  border-radius: var(--radius-xl, 16px);
  padding: 40px 36px;
  margin: 36px auto 32px;
  max-width: 800px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quantum-bundle::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(124,58,237,0.2), rgba(8,145,178,0.2));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1.5px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.quantum-bundle:hover::before { opacity: 1; }
.quantum-bundle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.quantum-bundle-badge i { width: 14px; height: 14px; }
.quantum-bundle-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-heading, #111827);
  margin-bottom: 12px;
}
.quantum-bundle-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted, #6b7280);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 24px;
}
.quantum-bundle-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 24px;
  text-align: left;
  max-width: 560px;
  margin: 0 auto 20px;
}
.quantum-bundle-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-heading, #111827);
}
.quantum-bundle-item i {
  width: 16px; height: 16px;
  color: #16a34a;
  flex-shrink: 0;
}
.quantum-bundle-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--color-text-muted, #6b7280);
  margin-top: 8px;
}
.quantum-bundle-note i { width: 14px; height: 14px; color: var(--color-primary); flex-shrink: 0; }

@media (max-width: 600px) {
  .quantum-bundle { padding: 28px 20px; }
  .quantum-bundle-title { font-size: 1.25rem; }
  .quantum-bundle-features { grid-template-columns: 1fr; }
}

/* CRM CTA */
.crm-cta-wrap {
  text-align: center;
  padding-top: 8px;
}

.crm-cta-wrap .btn {
  font-size: 1rem;
  padding: 16px 36px;
  gap: 10px;
}

.crm-cta-sub {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

/* ========================================
   CUSTOMERS
   ======================================== */
.customers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.customer-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.customer-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
}

.customer-card svg {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.customer-card h4 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}

.customer-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ========================================
   SERVICES
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(37, 99, 235, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-featured {
  border-color: rgba(37, 99, 235, 0.15);
  background: var(--gradient-subtle);
}

.service-featured::before {
  opacity: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(8, 145, 178, 0.06) 100%);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  color: var(--color-primary);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 14px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.service-list li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary-light);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap 0.3s, color 0.3s;
}
.service-link:hover {
  gap: 10px;
  color: var(--color-primary-light);
}

/* ========================================
   PORTFOLIO / CLIENTS
   ======================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.portfolio-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.portfolio-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
}

.portfolio-card-inner {
  padding: 28px 24px;
}

.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.portfolio-type {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-primary);
  background: var(--color-primary-ultra-light);
  border: 1px solid rgba(37, 99, 235, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.portfolio-arrow {
  width: 18px;
  height: 18px;
  color: var(--color-text-dim);
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-arrow {
  color: var(--color-primary);
  transform: translate(2px, -2px);
}

.portfolio-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.portfolio-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.portfolio-card-own {
  border-color: rgba(37, 99, 235, 0.15);
  background: var(--gradient-subtle);
}

.portfolio-card-own::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

/* ========================================
   OUR PRODUCTS
   ======================================== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* Featured product — full-width hero-style card */
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.product-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-card-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}

.product-card-content {
  padding: 40px 36px;
}

.product-card-visual {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(8, 145, 178, 0.03) 100%);
  border-left: 1px solid var(--color-border);
}

.product-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #fff;
  background: var(--gradient-primary);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 12px;
}

.product-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.product-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(8, 145, 178, 0.08) 100%);
  border-radius: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.product-icon svg {
  width: 28px;
  height: 28px;
}

.product-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-heading);
  margin-bottom: 2px;
}

.product-url {
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 500;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin-bottom: 24px;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-body);
}

.product-feature svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.product-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 26px;
}

.product-tech span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-ultra-light);
  border: 1px solid rgba(37, 99, 235, 0.1);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-cta-group {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

.product-cta:hover {
  gap: 12px;
}

.product-cta svg {
  width: 16px;
  height: 16px;
}

.product-cta-primary {
  background: var(--gradient-primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.product-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.product-cta-primary svg {
  width: 16px;
  height: 16px;
}

/* Stats inside product visual panel */
.product-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-stat {
  text-align: center;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  border: 1px solid var(--color-border);
}

.product-stat-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.product-stat-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-top: 4px;
}

.product-highlight-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  border: 1px solid var(--color-border);
  font-size: 0.82rem;
  color: var(--color-text-body);
}

.product-highlight svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ========================================
   VALUE PROPOSITIONS
   ======================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -60%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
  transition: all 0.5s ease;
  pointer-events: none;
}

.value-card:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-card-hover);
}

.value-card:hover::before {
  top: -30%;
  right: -30%;
}

.value-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 14px;
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ========================================
   PRICING
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start;
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.pricing-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
}

.pricing-popular {
  border-color: transparent;
  background: linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
              var(--gradient-border) border-box;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.1);
  transform: scale(1.02);
}

.pricing-popular:hover {
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.15);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-hero);
  background-size: 200% auto;
  animation: shimmerGradient 4s ease-in-out infinite;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 20px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.pricing-header {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 4px;
}

.pricing-desc {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  margin-bottom: 16px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1;
}

.price-custom {
  font-size: 1.6rem !important;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.period {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  margin-left: 4px;
}

.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 24px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--color-text);
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ========================================
   PROCESS / ANIMATED WORKFLOW TIMELINE
   ======================================== */
.workflow-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.workflow-line {
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.08));
  border-radius: 3px;
  overflow: hidden;
}

.workflow-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: height 0.3s ease;
}

.workflow-line.animate::after {
  animation: workflowFill 3s ease forwards;
}

@keyframes workflowFill {
  0% { height: 0%; }
  100% { height: 100%; }
}

.workflow-step {
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.workflow-step:last-child {
  margin-bottom: 0;
}

/* Stagger animation delays */
.workflow-step:nth-child(2) { transition-delay: 0.15s; }
.workflow-step:nth-child(3) { transition-delay: 0.3s; }
.workflow-step:nth-child(4) { transition-delay: 0.45s; }
.workflow-step:nth-child(5) { transition-delay: 0.6s; }

.workflow-node {
  position: relative;
  flex-shrink: 0;
  z-index: 2;
}

.workflow-icon-wrap {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 2px solid rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  color: var(--color-primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.workflow-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.workflow-step:hover .workflow-icon-wrap,
.workflow-step.visible .workflow-icon-wrap {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
  transform: scale(1.08);
}

.wf-icon-final {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(37, 99, 235, 0.08) 100%) !important;
  border-color: rgba(34, 197, 94, 0.3) !important;
  color: #22c55e !important;
}

.workflow-step:hover .wf-icon-final,
.workflow-step.visible .wf-icon-final {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.workflow-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  border: 2px solid rgba(37, 99, 235, 0.15);
  opacity: 0;
  z-index: 1;
}

.workflow-step.visible .workflow-pulse {
  animation: wfPulse 2s ease-out infinite;
}

@keyframes wfPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

.workflow-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  flex: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.workflow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.workflow-step:hover .workflow-card::before,
.workflow-step.visible .workflow-card::before {
  opacity: 1;
}

.workflow-step:hover .workflow-card {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
  transform: translateX(4px);
}

.workflow-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  background: var(--color-primary-ultra-light);
  border: 1px solid rgba(37, 99, 235, 0.1);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.workflow-badge-launch {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.15);
}

.workflow-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.workflow-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.workflow-visual {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.wf-visual-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-body);
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.08);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.wf-visual-item svg {
  width: 13px;
  height: 13px;
  color: var(--color-primary);
}

/* Build progress bar */
.workflow-progress-bar {
  background: rgba(37, 99, 235, 0.06);
  border-radius: var(--radius-full);
  height: 8px;
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
}

.wf-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 2s ease;
}

.workflow-step.visible .wf-progress-fill {
  width: 75%;
}

.wf-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.wf-progress-labels span {
  font-size: 0.68rem;
  color: var(--color-text-dim);
  font-weight: 500;
}

/* ========================================
   ROADMAP
   ======================================== */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.roadmap-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.roadmap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  background-size: 200% auto;
  animation: shimmerGradient 4s ease-in-out infinite;
}

.roadmap-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
}

.roadmap-quarter {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-ultra-light);
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.roadmap-card h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 14px;
}

.roadmap-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roadmap-card li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.roadmap-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary-light);
}

/* ========================================
   TEAM
   ======================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.team-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
}

.team-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.06) 100%);
  border-radius: var(--radius-lg);
  margin: 0 auto 18px;
  color: var(--color-primary);
  transition: all 0.4s ease;
}

.team-card:hover .team-icon {
  transform: translateY(-4px) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.team-icon svg {
  width: 26px;
  height: 26px;
}

.team-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.team-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.team-cta {
  text-align: center;
  padding: 40px;
  background: var(--gradient-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.team-cta p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text-heading);
  margin-bottom: 18px;
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--color-surface);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-heading);
  text-align: left;
  gap: 16px;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--color-text-dim);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 22px 18px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  background-size: 200% auto;
  animation: shimmerGradient 4s ease-in-out infinite;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
  background: var(--color-bg);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 18px;
  padding-right: 36px;
}

.form-group select option {
  background: var(--color-surface);
  color: var(--color-text);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Info cards are styled in the investor metrics section */

.info-card svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.info-card h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 1px;
}

.info-card p {
  font-size: 0.87rem;
  color: var(--color-text-muted);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: linear-gradient(180deg, #f0f2f7 0%, #e8ebf2 100%);
  border-top: 1px solid rgba(37, 99, 235, 0.06);
  padding: 56px 0 28px;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.8fr 0.8fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 14px;
  max-width: 300px;
  line-height: 1.7;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 14px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 0.87rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

.footer-bottom a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: var(--color-primary);
}

/* ── Brand Rename Notice ── */
.rename-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 100%);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-top: 32px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.rename-notice > svg,
.rename-notice > i {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}
.rename-notice strong {
  color: var(--color-text-heading);
}

/* ── Footer Certifications ── */
.footer-certs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-certs-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-certs-label svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}
.footer-certs-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.cert-badge svg {
  width: 14px;
  height: 14px;
}
.cert-active {
  background: #ecfdf5;
  color: #059669;
  border-color: rgba(5, 150, 105, 0.2);
  text-decoration: none;
  cursor: pointer;
}
.cert-active:hover {
  background: #d1fae5;
  border-color: rgba(5, 150, 105, 0.35);
}
.cert-coming {
  background: var(--color-surface);
  color: var(--color-text-dim);
}
.cert-soon {
  font-size: 0.68rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-primary);
  padding: 1px 8px;
  border-radius: 10px;
  font-weight: 600;
}

/* Scroll animation classes are added by JS (see bottom of file) */

/* ========================================
   STANDALONE PAGE STYLES
   ======================================== */
.page-hero {
  padding: 140px 0 60px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-text-heading);
  margin-bottom: 12px;
  animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
  animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ── Legal / Static page content animations ── */

/* ========================================
   PRODUCT SUB-PAGES
   ======================================== */
.breadcrumb-bar {
  padding: 100px 0 0;
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.breadcrumb-bar a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-bar a:hover {
  color: var(--color-primary);
}

.breadcrumb-bar span {
  margin: 0 6px;
  color: var(--color-text-dim);
}

.breadcrumb-bar .current {
  color: var(--color-primary);
  font-weight: 600;
}

/* Product Hero */
.product-hero {
  padding: 40px 0 72px;
  overflow: hidden;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-text-heading);
  margin-top: 12px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.product-hero-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 540px;
}

.product-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.product-hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.trust-item svg {
  width: 15px;
  height: 15px;
  color: var(--color-primary);
}

/* Module Cards Grid */
.pp-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.pp-module-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
}

.pp-module-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.08);
}

.pp-module-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(124, 58, 237, 0.08) 100%);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  margin-bottom: 16px;
  transition: all 0.35s ease;
}

.pp-module-card:hover .pp-module-icon {
  background: var(--gradient-primary);
  color: #fff;
}

.pp-module-icon svg {
  width: 22px;
  height: 22px;
}

.pp-module-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.pp-module-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.pp-module-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pp-module-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-text-body);
}

.pp-module-features li svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Industry Cards */
.pp-industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pp-industry-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
}

.pp-industry-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-3px);
}

.pp-industry-card svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.pp-industry-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}

.pp-industry-card p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Steps */
.pp-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pp-step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-card);
}

.pp-step:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-3px);
}

.pp-step-num {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 14px;
}

.pp-step h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.pp-step p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.pp-step-arrow {
  color: var(--color-primary);
  opacity: 0.4;
}

.pp-step-arrow svg {
  width: 24px;
  height: 24px;
}

/* FAQ */
.pp-faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.pp-faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s;
}

.pp-faq-item:hover,
.pp-faq-item.open {
  border-color: rgba(37, 99, 235, 0.2);
}

.pp-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  gap: 16px;
}

.pp-faq-q h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin: 0;
}

.pp-faq-q svg {
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.pp-faq-item.open .pp-faq-q svg {
  transform: rotate(180deg);
}

.pp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.pp-faq-item.open .pp-faq-a {
  max-height: 300px;
  padding: 0 22px 18px;
}

.pp-faq-a p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Tech grid (portal page) */
.pp-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pp-tech-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
}

.pp-tech-item:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-3px);
}

.pp-tech-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.pp-tech-item p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Why grid (shop page) */
.pp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pp-why-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
}

.pp-why-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-4px);
}

.pp-why-card .pp-module-icon {
  margin: 0 auto 16px;
}

.pp-why-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.pp-why-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* CTA section */
.pp-cta-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(124, 58, 237, 0.02) 100%);
}
.pp-cta-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.pp-cta-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.pp-cta-trust span svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

/* ==========================================
   WALKTHROUGH – Interactive Step Demo
   ========================================== */

/* Step navigation bar */
.wt-steps-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.wt-step-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-card);
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
}
.wt-step-btn:hover {
  border-color: var(--color-primary);
}
.wt-step-btn.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}
.wt-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(37,99,235,0.1);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: all 0.3s;
}
.wt-step-btn.active .wt-step-num {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.wt-step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-body);
  transition: color 0.3s;
}
.wt-step-btn.active .wt-step-label {
  color: #fff;
}
.wt-step-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255,255,255,0.5);
  width: 0;
  transition: none;
}
.wt-step-btn.active .wt-step-progress {
  animation: wtProgress 6s linear forwards;
}
@keyframes wtProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* Panel container */
.wt-panel-wrap {
  position: relative;
  min-height: 440px;
}
.wt-panel {
  display: none;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  animation: wtFadeIn 0.45s ease;
}
.wt-panel.active {
  display: grid;
}
@keyframes wtFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Panel info (left side) */
.wt-panel-info {
  padding-right: 16px;
}
.wt-panel-tag {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.08));
  color: var(--color-primary);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.wt-panel-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-heading);
  margin-bottom: 12px;
  line-height: 1.3;
}
.wt-panel-info p {
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.wt-panel-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wt-panel-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-body);
}
.wt-panel-features li svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Panel demo (right side – mockup) */
.wt-panel-demo {
  perspective: 1200px;
}
.wt-mockup {
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 12px rgba(37,99,235,0.06);
  background: var(--color-card);
  transform: rotateY(-2deg) rotateX(1deg);
  transition: transform 0.5s;
}
.wt-mockup:hover {
  transform: rotateY(0) rotateX(0);
}
.wt-mock-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.wt-mock-dots {
  display: flex;
  gap: 6px;
}
.wt-mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.wt-mock-dots span:nth-child(1) { background: #ef4444; }
.wt-mock-dots span:nth-child(2) { background: #f59e0b; }
.wt-mock-dots span:nth-child(3) { background: #22c55e; }
.wt-mock-url {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  background: rgba(0,0,0,0.04);
  padding: 3px 12px;
  border-radius: 6px;
  flex: 1;
}

/* Mock body layout */
.wt-mock-body {
  display: flex;
  min-height: 300px;
}
.wt-mock-sidebar {
  width: 48px;
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 6px;
}
.wt-sb-item {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.wt-sb-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
}
.wt-sb-item.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}
.wt-sb-item.active svg {
  color: #fff;
}
.wt-mock-main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

/* Dashboard stat row */
.wt-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.wt-stat-card {
  padding: 12px 10px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--color-border);
}
.wt-stat-card.accent-blue   { background: rgba(37,99,235,0.06);  border-color: rgba(37,99,235,0.15); }
.wt-stat-card.accent-green  { background: rgba(22,163,74,0.06);  border-color: rgba(22,163,74,0.15); }
.wt-stat-card.accent-purple { background: rgba(124,58,237,0.06); border-color: rgba(124,58,237,0.15); }
.wt-stat-card.accent-amber  { background: rgba(245,158,11,0.06); border-color: rgba(245,158,11,0.15); }
.wt-stat-v {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-heading);
  line-height: 1.2;
}
.wt-stat-l {
  display: block;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Chart bars */
.wt-chart-area {
  background: var(--color-surface);
  border-radius: 10px;
  padding: 14px;
}
.wt-chart-area.compact { padding: 10px 14px; }
.wt-chart-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 10px;
}
.wt-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}
.wt-chart-area.compact .wt-chart-bars { height: 60px; }
.wt-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, rgba(37,99,235,0.7), rgba(124,58,237,0.5));
  border-radius: 4px 4px 0 0;
  position: relative;
  animation: wtBarGrow 0.6s ease both;
}
.wt-bar.active-bar {
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 0 12px rgba(37,99,235,0.3);
}
.wt-bar span {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  color: var(--color-text-muted);
}
@keyframes wtBarGrow {
  from { height: 0; }
  to { height: var(--h); }
}

/* KANBAN (lead pipeline) */
.wt-kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  flex: 1;
}
.wt-kanban-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wt-kanban-head {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wt-kanban-head span { opacity: 0.7; font-weight: 500; }
.wt-kanban-head.blue   { background: rgba(37,99,235,0.1); color: #2563eb; }
.wt-kanban-head.amber  { background: rgba(245,158,11,0.1); color: #d97706; }
.wt-kanban-head.purple { background: rgba(124,58,237,0.1); color: #7c3aed; }
.wt-kanban-head.green  { background: rgba(22,163,74,0.1); color: #16a34a; }
.wt-kanban-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.7rem;
  color: var(--color-text-body);
  line-height: 1.4;
  animation: wtCardSlide 0.4s ease both;
}
.wt-kanban-card small { color: var(--color-text-muted); font-size: 0.62rem; }
.wt-kanban-card.highlight {
  border-color: rgba(22,163,74,0.3);
  background: rgba(22,163,74,0.04);
}
@keyframes wtCardSlide {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ORDER TABLE */
.wt-order-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.wt-order-header {
  display: grid;
  grid-template-columns: 60px 1fr 80px 80px;
  gap: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 10px;
  background: var(--color-surface);
  border-radius: 6px;
}
.wt-order-row {
  display: grid;
  grid-template-columns: 60px 1fr 80px 80px;
  gap: 8px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--color-text-body);
  padding: 10px;
  border-bottom: 1px solid var(--color-border);
  animation: wtCardSlide 0.4s ease both;
}
.wt-order-id {
  font-weight: 700;
  color: var(--color-primary);
}
.wt-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
}
.wt-badge.badge-green  { background: rgba(22,163,74,0.1); color: #16a34a; }
.wt-badge.badge-blue   { background: rgba(37,99,235,0.1); color: #2563eb; }
.wt-badge.badge-purple { background: rgba(124,58,237,0.1); color: #7c3aed; }

/* REPORT GRID */
.wt-report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.wt-report-card {
  background: var(--color-surface);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.wt-report-label {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.wt-report-ring {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto;
}
.wt-report-ring svg {
  width: 56px;
  height: 56px;
}
.wt-report-ring span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-primary);
}
.wt-report-big {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text-heading);
  line-height: 1;
}
.wt-report-big small {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-left: 2px;
}

/* AUTOMATION FLOW */
.wt-auto-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wt-auto-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  animation: wtCardSlide 0.5s ease both;
}
.wt-auto-node {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}
.wt-auto-node svg { width: 14px; height: 14px; }
.wt-auto-node.trigger {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  color: #d97706;
}
.wt-auto-node.action {
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.2);
  color: var(--color-primary);
}
.wt-auto-node.delay {
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.2);
  color: #7c3aed;
}
.wt-auto-arrow {
  color: var(--color-text-muted);
}
.wt-auto-arrow svg { width: 14px; height: 14px; }

/* ==========================================
   CONSULTATION – free consultation section
   ========================================== */
.pp-consultation {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(124, 58, 237, 0.03) 100%);
}
.pp-consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.pp-consult-content h2 {
  color: var(--color-text-heading);
}
.pp-consult-content > p {
  color: var(--color-text-body);
  margin: 16px 0 24px;
  line-height: 1.7;
}
.pp-consult-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pp-consult-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text-body);
}
.pp-consult-benefits li svg {
  width: 18px;
  height: 18px;
  color: #22c55e;
  flex-shrink: 0;
}
.pp-consult-visual {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.pp-consult-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pp-consult-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
}
.pp-consult-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-consult-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}
.pp-consult-card h4 {
  font-size: 0.95rem;
  color: var(--color-text-heading);
  margin-bottom: 4px;
}
.pp-consult-card p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================
   CALCULATOR – module / feature selector
   ========================================== */
.pp-calc-wrap {
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  padding: 36px 32px;
  max-width: 820px;
  margin: 32px auto 0;
}
.pp-calc-wrap h3 {
  text-align: center;
  margin-bottom: 8px;
  color: var(--color-text-heading);
}
.pp-calc-wrap > p {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.pp-calc-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}
.pp-calc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-body);
  transition: all 0.2s;
  -webkit-user-select: none;
  user-select: none;
}
.pp-calc-chip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.pp-calc-chip.selected {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.pp-calc-chip input {
  display: none;
}
.pp-calc-chip svg {
  width: 16px;
  height: 16px;
}
.pp-calc-result {
  background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(124,58,237,0.04));
  border-radius: 12px;
  padding: 24px;
}
.pp-calc-summary {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}
.pp-calc-count,
.pp-calc-timeline,
.pp-calc-complexity {
  flex: 1;
  min-width: 120px;
}
.pp-calc-count strong,
.pp-calc-timeline strong,
.pp-calc-complexity strong {
  display: block;
  font-size: 1.4rem;
  color: var(--color-primary);
  font-weight: 700;
}
.pp-calc-count span,
.pp-calc-timeline span,
.pp-calc-complexity span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.pp-calc-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* ==========================================
   TRUST BADGES
   ========================================== */
.pp-trust-section {
  padding: 48px 0;
}
.pp-trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.pp-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pp-trust-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.pp-trust-badge svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}
.pp-trust-badge span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-heading);
}

/* ==========================================
   EXIT-INTENT POPUP
   ========================================== */
.pp-exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.pp-exit-overlay.active {
  opacity: 1;
  visibility: visible;
}
.pp-exit-modal {
  background: var(--color-card);
  border-radius: 16px;
  padding: 40px 36px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  animation: ppExitIn 0.35s ease;
}
@keyframes ppExitIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.pp-exit-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-text-muted);
  line-height: 1;
}
.pp-exit-close:hover {
  color: var(--color-text-heading);
}
.pp-exit-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-exit-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-primary);
}
.pp-exit-modal h3 {
  font-size: 1.25rem;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}
.pp-exit-modal p {
  font-size: 0.92rem;
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}
.pp-exit-modal .btn {
  width: 100%;
  justify-content: center;
}
.pp-exit-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 14px;
}
.pp-exit-sub a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ==========================================
   3D SHOWCASE — Darknode-inspired animations
   ========================================== */

/* Scroll Reveal System */
.sr {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.sr-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.sr-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.sr-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.sr.visible, .sr-left.visible, .sr-right.visible, .sr-scale.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}
/* Stagger children */
.sr-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.5s ease, transform 0.5s ease; }
.sr-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.sr-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.sr-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.sr-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.sr-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.sr-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.sr-stagger.visible > *:nth-child(7) { transition-delay: 0.47s; }
.sr-stagger.visible > *:nth-child(8) { transition-delay: 0.54s; }
.sr-stagger.visible > *:nth-child(9) { transition-delay: 0.61s; }
.sr-stagger.visible > *:nth-child(10) { transition-delay: 0.68s; }
.sr-stagger.visible > *:nth-child(n+11) { transition-delay: 0.75s; }
.sr-stagger.visible > * { opacity: 1; transform: translateY(0); }

/* 3D Showcase Section — shared */
.td-showcase {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(180deg, #090b14 0%, #0e1225 50%, #090b14 100%);
}
.td-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(37,99,235,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(124,58,237,0.06) 0%, transparent 60%);
  pointer-events: none;
  animation: tdGlowDrift 12s ease-in-out infinite alternate;
}
@keyframes tdGlowDrift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(30px, -20px) rotate(2deg); }
}
.td-showcase .container {
  position: relative;
  z-index: 1;
}

/* Grid lines background */
.td-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Section header in dark mode */
.td-showcase .section-header .section-tag {
  color: #93c5fd;
  background: rgba(37,99,235,0.15);
}
.td-showcase .section-header h2 {
  color: #f1f5f9;
}
.td-showcase .section-header .section-desc {
  color: #94a3b8;
}

/* Floating 3D card grid */
.td-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  perspective: 1200px;
}
.td-card {
  position: relative;
  background: linear-gradient(145deg, rgba(15,23,42,0.9), rgba(15,23,42,0.6));
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: 20px;
  padding: 36px 28px;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  transform-style: preserve-3d;
  cursor: default;
  overflow: hidden;
}
.td-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(37,99,235,0.3), rgba(124,58,237,0.2), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.td-card:hover::before {
  opacity: 1;
}
.td-card::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.15), transparent 70%);
  top: -60px;
  right: -60px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.td-card:hover::after {
  opacity: 1;
}
.td-card:hover {
  box-shadow: 0 20px 60px rgba(37,99,235,0.12), 0 8px 24px rgba(0,0,0,0.3);
}
.td-card-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(37,99,235,0.08);
  line-height: 1;
  font-family: 'Space Grotesk', monospace;
}
.td-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(124,58,237,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transform: translateZ(20px);
}
.td-card-icon svg {
  width: 24px;
  height: 24px;
  color: #93c5fd;
}
.td-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
  transform: translateZ(15px);
}
.td-card p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
  transform: translateZ(10px);
}
.td-card-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(37,99,235,0.12);
  color: #93c5fd;
  border: 1px solid rgba(37,99,235,0.2);
  transform: translateZ(12px);
}

/* Floating particles */
.td-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.td-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(37,99,235,0.4);
  animation: tdFloat 8s ease-in-out infinite;
}
.td-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.td-particle:nth-child(2) { left: 25%; top: 70%; animation-delay: 1.5s; animation-duration: 9s; }
.td-particle:nth-child(3) { left: 50%; top: 30%; animation-delay: 3s; animation-duration: 6s; }
.td-particle:nth-child(4) { left: 70%; top: 60%; animation-delay: 2s; animation-duration: 8s; }
.td-particle:nth-child(5) { left: 85%; top: 15%; animation-delay: 4s; animation-duration: 10s; }
.td-particle:nth-child(6) { left: 40%; top: 85%; animation-delay: 1s; animation-duration: 7.5s; }
@keyframes tdFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  50%      { transform: translateY(-40px) translateX(15px); opacity: 0.8; }
}

/* 3D Store Preview (Shop page) */
.td-store-preview {
  perspective: 1400px;
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.td-store-frame {
  position: relative;
  width: 100%;
  max-width: 800px;
  transform: rotateX(8deg) rotateY(-4deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.td-store-frame:hover {
  transform: rotateX(2deg) rotateY(0deg);
}
.td-store-screen {
  background: linear-gradient(145deg, rgba(15,23,42,0.95), rgba(15,23,42,0.8));
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 60px rgba(37,99,235,0.08);
}
.td-store-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(15,23,42,0.95);
  border-bottom: 1px solid rgba(37,99,235,0.12);
}
.td-store-dots {
  display: flex;
  gap: 6px;
}
.td-store-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.td-store-dots span:nth-child(1) { background: #ef4444; }
.td-store-dots span:nth-child(2) { background: #f59e0b; }
.td-store-dots span:nth-child(3) { background: #22c55e; }
.td-store-url {
  flex: 1;
  font-size: 0.72rem;
  color: #64748b;
  background: rgba(30,41,59,0.7);
  padding: 5px 14px;
  border-radius: 6px;
}
.td-store-body {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  min-height: 250px;
}
.td-store-product {
  background: rgba(30,41,59,0.5);
  border: 1px solid rgba(37,99,235,0.1);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
  animation: tdProductPop 0.6s ease both;
}
.td-store-product:nth-child(1) { animation-delay: 0.1s; }
.td-store-product:nth-child(2) { animation-delay: 0.2s; }
.td-store-product:nth-child(3) { animation-delay: 0.3s; }
.td-store-product:hover {
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-4px);
}
@keyframes tdProductPop {
  from { opacity: 0; transform: scale(0.9) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.td-store-product-img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.1));
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.td-store-product-img svg {
  width: 32px;
  height: 32px;
  color: #64748b;
}
.td-store-product-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 4px;
}
.td-store-product-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #93c5fd;
}
.td-store-product-btn {
  display: block;
  margin-top: 8px;
  padding: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 6px;
  text-align: center;
}

/* Shadow reflection */
.td-store-shadow {
  position: absolute;
  bottom: -30px;
  left: 10%;
  width: 80%;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.12), transparent 70%);
  filter: blur(8px);
  transform: translateZ(-40px);
}

/* Big number counter */
.td-counter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  text-align: center;
}
.td-counter {
  padding: 24px 12px;
}
.td-counter-val {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: #f1f5f9;
  font-family: 'Space Grotesk', monospace;
  line-height: 1;
  margin-bottom: 6px;
}
.td-counter-label {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

/* Glow badge */
.td-glow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.25);
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  animation: tdGlowPulse 3s ease-in-out infinite;
}
@keyframes tdGlowPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(37,99,235,0.15); }
  50%      { box-shadow: 0 0 20px rgba(37,99,235,0.3); }
}

/* Stats bar */
.pp-stats-bar {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: 48px 0;
}
.pp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.pp-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pp-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.pp-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Comparison table */
.pp-compare-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  margin-top: 8px;
}
.pp-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 600px;
}
.pp-compare-table thead {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(124, 58, 237, 0.04) 100%);
}
.pp-compare-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--color-border);
}
.pp-compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.pp-compare-table tr:last-child td {
  border-bottom: none;
}
.pp-compare-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.02);
}
.pp-compare-us {
  color: var(--color-primary) !important;
  font-weight: 600;
}
.pp-compare-us svg {
  width: 16px;
  height: 16px;
  color: #22c55e;
  vertical-align: -2px;
  margin-right: 4px;
}
.pp-compare-table td:last-child svg {
  width: 16px;
  height: 16px;
  color: #ef4444;
  vertical-align: -2px;
  margin-right: 4px;
}

/* Integrations grid */
.pp-integrations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.pp-integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  transition: all 0.3s ease;
  text-align: center;
}
.pp-integration-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}
.pp-integration-item svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}
.pp-integration-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}

.page-content h2.reveal-heading {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.page-content h2.reveal-heading.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-content .reveal-block {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.page-content .reveal-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-content {
  padding: 64px 0 80px;
}

.page-content .container {
  max-width: 860px;
}

.page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-top: 40px;
  margin-bottom: 14px;
}

.page-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-top: 28px;
  margin-bottom: 10px;
}

.page-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content ul li {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.page-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content a:hover {
  color: var(--color-primary-dark);
}

/* ---------- Career Page Specific ---------- */
.career-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 36px 0 48px;
}

.career-value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.career-value-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.career-value-card svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.career-value-card h4 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}

.career-value-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.career-roles {
  margin: 36px 0 48px;
}

.career-role {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0;
  margin-bottom: 12px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  overflow: hidden;
}

.career-role:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-card-hover);
}

.career-role .role-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
}

.career-role .role-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-text-dim);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.career-role.open .role-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.career-role.open {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.career-role h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 2px;
}

.career-role .role-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  display: block;
}

.career-role .role-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 28px;
}

.career-role.open .role-details {
  max-height: 320px;
  padding: 0 28px 24px;
}

.career-role .role-details p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.65;
}

.career-role .role-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.career-role .role-skills span {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.06);
  color: var(--color-primary);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.career-role .role-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  padding: 8px 20px;
  color: #fff;
  position: relative;
  z-index: 0;
}
.career-role .role-apply-btn::before {
  z-index: -1;
}
.career-role .role-apply-btn .btn-icon {
  color: #fff;
}

/* ---------- FAQ Accordion ---------- */
.career-faq {
  margin: 28px 0 48px;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.12);
}

.faq-item.open {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 16px;
}

.faq-question span {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-heading);
}

.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--color-text-dim);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

.career-cta-box {
  text-align: center;
  padding: 48px;
  background: var(--gradient-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  margin-top: 48px;
}

.career-cta-box h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.career-cta-box p {
  max-width: 480px;
  margin: 0 auto 20px;
}

/* ---------- Application Form ---------- */
.application-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  margin-top: 28px;
  box-shadow: var(--shadow-md);
}

.application-form .form-group {
  margin-bottom: 20px;
}

.application-form .form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}

.application-form .form-group input,
.application-form .form-group select,
.application-form .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}

.application-form .form-group input::placeholder,
.application-form .form-group textarea::placeholder {
  color: var(--color-text-dim);
}

.application-form .form-group input:focus,
.application-form .form-group select:focus,
.application-form .form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
  background: var(--color-bg);
}

.application-form .form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 18px;
  padding-right: 36px;
}

.application-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.application-success {
  text-align: center;
  padding: 48px 20px;
}

.application-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 10px;
  margin-top: 0;
}

.application-success p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .application-form {
    padding: 24px 18px;
  }

  .application-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 28px;
  }

  .footer-grid > .footer-links:last-child {
    grid-column: span 1;
  }
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .customers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card-inner {
    grid-template-columns: 1fr;
  }

  .product-card-visual {
    border-left: none;
    border-top: 1px solid var(--color-border);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .crm-builder {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .crm-usp-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .career-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 3D showcase: reduce height */
  .sc-scene-container {
    height: 440px;
    perspective: 900px;
  }

  .sc-card--main {
    padding: 40px 32px;
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  .sc-wrapper {
    padding: 0 20px;
  }

  /* Navbar mobile */
  .navbar {
    padding: 12px 0;
  }

  .navbar.scrolled {
    padding: 8px 0;
  }

  /* Mobile nav — full-screen overlay */
  /* Fix: navbar backdrop-filter creates containing block that traps position:fixed children.
     Using :has() to remove it when menu is open so nav-links is viewport-relative. */
  .navbar:has(.nav-links.open) {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: #ffffff !important;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    z-index: 1000;
    padding: 80px 0 40px;
    background: #ffffff;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s ease,
                visibility 0.4s;
    will-change: transform, opacity;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.open li:nth-child(1) { transition-delay: 0.06s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.14s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.18s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.22s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.26s; }
  .nav-links.open li:nth-child(7) { transition-delay: 0.3s; }
  .nav-links.open li:nth-child(8) { transition-delay: 0.34s; }
  .nav-links.open li:nth-child(9) { transition-delay: 0.38s; }
  .nav-links.open li:nth-child(10) { transition-delay: 0.42s; }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    font-size: 1.05rem;
    color: var(--color-text-heading);
    font-weight: 500;
    padding: 16px 28px;
    display: block;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(37, 99, 235, 0.04);
    color: var(--color-primary);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin: 20px 24px 0 !important;
    text-align: center !important;
    width: auto !important;
    max-width: none !important;
    border-radius: var(--radius-md) !important;
    padding: 14px 20px !important;
    display: block !important;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  /* Hero mobile */
  .hero {
    padding-top: 90px;
    min-height: initial;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .rebrand-notice {
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .stat-divider {
    display: none;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Grids to single column */
  .about-grid,
  .customers-grid,
  .portfolio-grid,
  .products-grid,
  .services-grid,
  .value-grid,
  .pricing-grid,
  .roadmap-grid,
  .team-grid,
  .crm-usp-grid {
    grid-template-columns: 1fr;
  }

  .crm-builder {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .crm-module {
    padding: 12px 14px;
    gap: 12px;
  }

  .crm-module-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .crm-module-icon svg {
    width: 18px;
    height: 18px;
  }

  .crm-module-info {
    min-width: 0;
    overflow: hidden;
  }

  .crm-module-info h4 {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .crm-module-info p {
    display: none;
  }

  .crm-preview-window {
    overflow: hidden;
  }

  .crm-preview-body {
    min-height: 220px;
  }

  .crm-preview-sidebar {
    width: 40px;
    padding: 10px 0;
  }

  .crm-preview-content {
    padding: 14px;
    min-width: 0;
  }

  .crm-preview-stat-row {
    gap: 8px;
  }

  .crm-stat-mini {
    padding: 8px 6px;
  }

  .crm-stat-num {
    font-size: 0.95rem;
  }

  .crm-stat-label {
    font-size: 0.58rem;
  }

  .crm-table-row {
    font-size: 0.7rem;
    padding: 6px 10px;
  }

  .crm-table-row span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  .crm-usp-card {
    padding: 24px 18px;
  }

  .crm-usp-card h4 {
    font-size: 0.95rem;
  }

  .crm-usp-card p {
    font-size: 0.82rem;
  }

  .quantum-bundle {
    padding: 24px 18px;
  }

  .quantum-bundle-title {
    font-size: 1.15rem;
  }

  .quantum-bundle-features {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quantum-bundle-item {
    font-size: 0.82rem;
  }

  .crm-cta-wrap {
    text-align: center;
  }

  .crm-cta-wrap .btn {
    width: 100%;
    margin-left: 0 !important;
    margin-bottom: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .career-values-grid {
    grid-template-columns: 1fr;
  }

  /* Section headers */
  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  /* Keep 3D card effect on mobile with lighter transform */
  .card-3d {
    perspective: 600px;
    transform-style: preserve-3d;
  }

  /* 3D showcase — flatten for mobile but keep touch interactivity */
  .sc-scene-container {
    height: auto;
    perspective: 600px;
    min-height: 0;
  }

  .sc-scene {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .sc-layer {
    position: relative;
    inset: auto;
    transform: none !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .sc-layer--mid {
    display: flex;
  }

  .sc-card--stat {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  .sc-card--main {
    max-width: 100%;
    padding: 28px 20px;
  }

  .sc-card--main h3 {
    font-size: 1.35rem;
  }

  .sc-glow {
    display: none;
  }

  /* Logo mobile */
  .logo-icon {
    height: 28px;
    width: auto;
    max-height: 28px;
  }

  .logo-text {
    font-size: 1.15rem;
  }

  .logo {
    gap: 8px;
  }

  /* Cards */
  .about-card,
  .service-card {
    padding: 24px 20px;
  }

  /* Pricing */
  .pricing-card {
    padding: 28px 20px;
  }

  /* Process / Roadmap */
  .workflow-timeline {
    padding-left: 0;
  }

  .workflow-line {
    display: none;
  }

  .workflow-step {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .workflow-node {
    margin-left: 0;
  }

  .workflow-icon-wrap {
    width: 46px;
    height: 46px;
  }

  /* Footer */
  .footer {
    padding: 48px 0 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .rename-notice {
    flex-direction: column;
    text-align: center;
    padding: 14px 18px;
    gap: 8px;
  }

  .footer-certs-badges {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .product-card-content {
    padding: 24px 18px;
  }

  .product-card-visual {
    padding: 18px;
  }

  .product-card-inner {
    grid-template-columns: 1fr;
  }

  .product-card-visual {
    border-left: none;
    border-top: 1px solid var(--color-border);
  }

  .product-card-header h3 {
    font-size: 1.2rem;
  }

  .product-features {
    grid-template-columns: 1fr;
  }

  .product-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .crm-module {
    padding: 10px 12px;
    gap: 10px;
  }

  .crm-module-icon {
    width: 32px;
    height: 32px;
  }

  .crm-module-icon svg {
    width: 16px;
    height: 16px;
  }

  .crm-module-info h4 {
    font-size: 0.8rem;
  }

  .crm-preview-sidebar {
    width: 36px;
  }

  .crm-sidebar-item {
    width: 28px;
    height: 28px;
  }

  .crm-sidebar-item svg {
    width: 14px;
    height: 14px;
  }

  .crm-preview-content {
    padding: 10px;
  }

  .crm-usp-icon {
    width: 44px;
    height: 44px;
  }

  .product-cta-group {
    flex-direction: column;
  }

  .sc-wrapper {
    padding: 0 16px;
  }

  .hero {
    padding-top: 80px;
    min-height: initial;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 24px;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 5px 12px;
    margin-bottom: 20px;
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .section-header p {
    font-size: 0.85rem;
  }

  .sc-layer {
    grid-template-columns: 1fr;
  }

  .sc-card--main {
    padding: 24px 16px;
  }

  .sc-card--main h3 {
    font-size: 1.2rem;
  }

  .sc-card--stat {
    padding: 14px 16px;
    gap: 10px;
  }

  .sc-card-value {
    font-size: 1rem;
  }

  .team-cta {
    padding: 28px 20px;
  }

  .career-cta-box {
    padding: 28px 16px;
  }

  .page-hero {
    padding: 100px 0 32px;
  }

  .page-hero h1 {
    font-size: 1.65rem;
  }

  /* Product sub-pages responsive */
  .product-hero {
    padding: 24px 0 48px;
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-hero-content h1 {
    font-size: 1.6rem;
  }

  .product-hero-actions {
    flex-direction: column;
  }

  .product-hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .product-hero-trust {
    flex-direction: column;
    gap: 8px;
  }

  .pp-modules-grid {
    grid-template-columns: 1fr;
  }

  /* Quantum Before/After and Timeline grids */
  .qt-before-after-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .qt-timeline-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .pp-industries-grid,
  .pp-tech-grid,
  .pp-why-grid {
    grid-template-columns: 1fr;
  }

  .pp-steps {
    flex-direction: column;
  }

  .pp-step {
    max-width: 100%;
  }

  .pp-step-arrow {
    transform: rotate(90deg);
  }

  .breadcrumb-bar {
    padding-top: 76px;
  }

  /* Product page responsive additions */
  .pp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .pp-stat-number {
    font-size: 1.8rem;
  }
  .pp-compare-table-wrap {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .pp-integrations-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .pp-cta-trust {
    gap: 12px;
  }

  /* Walkthrough responsive */
  .wt-steps-nav {
    gap: 6px;
  }
  .wt-step-btn {
    padding: 8px 12px;
  }
  .wt-step-label {
    display: none;
  }
  .wt-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .wt-panel-info {
    padding-right: 0;
    order: 2;
  }
  .wt-panel-demo {
    order: 1;
  }
  .wt-panel-wrap {
    min-height: 0;
  }
  .wt-mockup {
    transform: none;
  }
  .wt-mock-sidebar {
    display: none;
  }
  .wt-stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .wt-kanban {
    grid-template-columns: repeat(2, 1fr);
  }
  .wt-order-header,
  .wt-order-row {
    grid-template-columns: 50px 1fr 60px 70px;
    font-size: 0.68rem;
  }
  .wt-report-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .wt-auto-node {
    font-size: 0.65rem;
    padding: 6px 8px;
  }
  .wt-auto-arrow {
    display: none;
  }
  .wt-auto-row {
    gap: 4px;
  }

  /* Consultation responsive */
  .pp-consult-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pp-consult-visual {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Calculator responsive */
  .pp-calc-wrap {
    padding: 24px 16px;
  }
  .pp-calc-modules {
    gap: 8px;
  }
  .pp-calc-chip {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .pp-calc-summary {
    flex-direction: column;
    gap: 16px;
  }

  /* Trust badges responsive */
  .pp-trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .pp-trust-badge {
    padding: 14px 8px;
  }

  /* Exit-intent responsive */
  .pp-exit-modal {
    padding: 28px 20px;
    max-width: 360px;
  }

  /* 3D Showcase responsive */
  .td-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .td-card {
    padding: 28px 20px;
  }
  .td-card-num {
    font-size: 2rem;
  }
  .td-store-body {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .td-store-product:nth-child(3) {
    display: none;
  }
  .td-store-frame {
    transform: rotateX(4deg) rotateY(0);
  }
  .td-counter-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .td-counter-val {
    font-size: 1.8rem;
  }
  .td-showcase {
    padding: 56px 0;
  }

  /* Logo mobile small */
  .logo-icon {
    height: 24px;
    width: auto;
    max-height: 24px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo {
    gap: 6px;
  }

  /* Newsletter */
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    min-width: auto;
    width: 100%;
  }

  .newsletter-inner h3 {
    font-size: 1.25rem;
  }

  .social-links {
    justify-content: center;
  }

  /* Buttons */
  .btn {
    padding: 12px 20px;
    font-size: 0.88rem;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 0.92rem;
  }

  /* Cards small screen */
  .about-card,
  .service-card {
    padding: 20px 16px;
  }

  .about-card h3,
  .service-card h3 {
    font-size: 1.05rem;
  }

  .pricing-card {
    padding: 24px 16px;
  }

  .customer-card {
    padding: 20px 16px;
  }

  /* Contact form */
  .contact-form {
    padding: 20px 14px;
  }

  /* Footer small */
  .footer {
    padding: 36px 0 20px;
  }
}

/* ========================================
   STAGGERED SCROLL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.7s ease;
  filter: blur(4px);
}

.reveal.stagger {
  transform: translateY(36px) scale(0.97);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0) translateX(0);
  filter: blur(0);
}

/* Directional reveals */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.7s ease;
  filter: blur(3px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.7s ease;
  filter: blur(3px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.7s ease;
  filter: blur(3px);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */
.newsletter-section {
  padding: 72px 0;
  background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 50%, #faf5ff 100%);
  border-top: 1px solid rgba(37, 99, 235, 0.06);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.04);
  filter: blur(40px);
  top: -200px;
  right: -100px;
  pointer-events: none;
  contain: strict;
}

.newsletter-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.03);
  filter: blur(40px);
  bottom: -150px;
  left: -50px;
  pointer-events: none;
  contain: strict;
}

.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 10px;
}

.newsletter-inner p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 13px 18px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
  background: var(--color-bg);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--color-text-dim);
}

.newsletter-form button {
  padding: 13px 24px;
  white-space: nowrap;
}

.newsletter-note {
  font-size: 0.78rem;
  color: var(--color-text-dim);
  margin-top: 12px;
}

/* ========================================
   SOCIAL MEDIA LINKS
   ======================================== */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* ========================================
   SPIN ANIMATION (loading)
   ======================================== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin {
  animation: spin 1s linear infinite;
}

/* ========================================
   INSTAGRAM FLOATING BUTTON
   ======================================== */
.instagram-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.35), 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: instaPulse 3s ease-in-out infinite;
}

.instagram-float svg {
  width: 26px;
  height: 26px;
}

.instagram-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.4), 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes instaPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(225, 48, 108, 0.35), 0 0 0 0 rgba(225, 48, 108, 0.3); }
  50% { box-shadow: 0 4px 14px rgba(225, 48, 108, 0.35), 0 0 0 10px rgba(225, 48, 108, 0); }
}

/* ========================================
   WHATSAPP LIVE CHAT FLOAT
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 96px;
  left: 28px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: waPulse 3s ease-in-out infinite 1.5s;
}
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.1);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35), 0 0 0 10px rgba(37, 211, 102, 0); }
}

/* ========================================
   INLINE EMAIL CAPTURE
   ======================================== */
.inline-capture {
  padding: 36px 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(124,58,237,0.04));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.inline-capture-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.inline-capture-text h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 4px;
}
.inline-capture-text p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  max-width: 420px;
}
.inline-capture-form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.inline-capture-form input {
  padding: 12px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  width: 260px;
  background: var(--color-surface);
  color: var(--color-text-heading);
  transition: border-color 0.2s;
}
.inline-capture-form input:focus {
  outline: none;
  border-color: var(--color-primary);
}
@media (max-width: 768px) {
  .inline-capture-inner { flex-direction: column; text-align: center; }
  .inline-capture-text p { max-width: 100%; }
  .inline-capture-form { width: 100%; flex-direction: column; }
  .inline-capture-form input { width: 100%; }
}

/* ========================================
   WHY US STRIP (Streamlined)
   ======================================== */
.why-us-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-us-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 24px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.why-us-item:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.why-us-item i {
  width: 28px; height: 28px;
  color: var(--color-primary);
}
.why-us-item strong {
  font-size: 0.92rem;
  color: var(--color-text-heading);
}
.why-us-item span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}
@media (max-width: 768px) {
  .why-us-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .why-us-strip { grid-template-columns: 1fr; }
}

/* ========================================
   BLOG PREVIEW GRID
   ======================================== */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-preview-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.blog-preview-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.blog-preview-cover {
  width: calc(100% + 48px);
  margin: -28px -24px 0;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.blog-preview-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 50px;
  width: fit-content;
}
.blog-preview-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.4;
}
.blog-preview-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}
.blog-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}
.blog-preview-link i { width: 14px; height: 14px; }
@media (max-width: 768px) {
  .blog-preview-grid { grid-template-columns: 1fr; }
}

/* Pricing Bundle Card */
.pricing-bundle .pricing-header {
  position: relative;
}
.pricing-note {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 164px;
  left: 28px;
  right: auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-muted);
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

/* ========================================
   ACTIVE NAV LINK
   ======================================== */
.nav-links a.active {
  color: var(--color-primary);
  font-weight: 600;
}

.nav-links a.active::after {
  width: 100%;
  background: var(--gradient-primary);
}

/* ========================================
   HERO TYPING ANIMATION
   ======================================== */
.typed-text {
  display: inline;
}

.typed-cursor {
  display: inline-block;
  width: 3px;
  background: var(--color-primary);
  margin-left: 2px;
  animation: blink 0.8s ease-in-out infinite;
  vertical-align: baseline;
  height: 0.85em;
  border-radius: 2px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@media (max-width: 768px) {
  .instagram-float {
    width: 48px;
    height: 48px;
    bottom: 20px;
    left: 20px;
  }
  
  .instagram-float svg {
    width: 22px;
    height: 22px;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .instagram-float {
    width: 44px;
    height: 44px;
    bottom: 16px;
    left: 16px;
  }
  
  .back-to-top {
    width: 36px;
    height: 36px;
    bottom: 16px;
    right: 16px;
  }
}

/* ========================================
   QUANTUM TESTIMONIALS
   ======================================== */
.qt-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}
.qt-testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.35s var(--ease-spring);
}
.qt-testimonial-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
  transform: translateY(-4px);
}
.qt-testimonial-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}
.qt-testimonial-stars i { width: 16px; height: 16px; fill: #f59e0b; }
.qt-testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
  margin: 0;
  flex: 1;
}
.qt-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.qt-testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.qt-testimonial-avatar i { width: 18px; height: 18px; }
.qt-testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-heading);
}
.qt-testimonial-author span {
  display: block;
  font-size: 0.78rem;
  color: var(--color-muted);
}
.qt-testimonials-metrics {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.qt-tm {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qt-tm-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.qt-tm-label {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .qt-testimonials-grid { grid-template-columns: 1fr; }
  .qt-testimonials-metrics { gap: 24px; padding: 20px 16px; }
  .qt-tm-val { font-size: 1.4rem; }
}

/* ========================================
   CLIENT LOGO TICKER
   ======================================== */
.client-ticker {
  padding: 40px 0 16px;
  overflow: hidden;
  position: relative;
}

.client-ticker .ticker-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-text-dim);
  margin-bottom: 20px;
}

.ticker-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
  gap: 0;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  flex-shrink: 0;
  padding: 10px 32px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-dim);
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.ticker-item:hover {
  opacity: 1;
  color: var(--color-primary);
}

.ticker-sep {
  width: 5px;
  height: 5px;
  background: var(--color-border);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .client-ticker { padding: 28px 0 8px; }
  .ticker-item { font-size: 0.95rem; padding: 8px 24px; }
}

/* ========================================
   PAGE PRELOADER — Terminal Boot Sequence
   ======================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0a0e17;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.terminal-preloader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.terminal-window {
  width: min(740px, 94vw);
  max-height: 85vh;
  background: #0f1219;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 80px rgba(0,0,0,0.5), 0 0 40px rgba(37,99,235,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.terminal-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}
.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dots span:nth-child(1) { background: #ef4444; }
.terminal-dots span:nth-child(2) { background: #f59e0b; }
.terminal-dots span:nth-child(3) { background: #22c55e; }

.terminal-title {
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.5px;
}

.terminal-body {
  flex: 1;
  padding: 18px 20px;
  overflow-y: auto;
  min-height: 320px;
  max-height: 440px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.terminal-line {
  font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.75;
  color: #94a3b8;
  white-space: pre;
  min-height: 1.2em;
}

.terminal-line.term-blink::after {
  content: '█';
  animation: termBlink 0.8s step-end infinite;
  color: #2563eb;
  margin-left: 2px;
}

@keyframes termBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.terminal-progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.terminal-progress {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.terminal-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #0891b2);
  border-radius: 3px;
  transition: width 0.15s linear;
}

.terminal-progress-text {
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.5px;
  min-width: 28px;
  text-align: right;
}

@media (max-width: 600px) {
  .terminal-window { width: 96vw; }
  .terminal-body { min-height: 260px; max-height: 380px; padding: 14px 16px; }
  .terminal-line { font-size: 0.72rem; }
}

/* ========================================
   HERO TYPEWRITER + GLITCH
   ======================================== */
.hero-typewriter {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-text-heading);
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.tw-static,
.tw-glitch {
  opacity: 0;
}

.tw-static.revealed {
  opacity: 1;
}

.tw-glitch.revealed {
  opacity: 1;
}

.tw-cursor {
  display: inline;
  color: var(--color-primary);
  font-weight: 300;
  animation: twBlink 0.7s step-end infinite;
  opacity: 0;
}

.tw-cursor.active {
  opacity: 1;
}

.tw-cursor.hidden {
  opacity: 0;
  animation: none;
}

@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Glitch scramble effect */
.tw-glitch {
  position: relative;
  display: inline;
}

.tw-glitch.glitching::before,
.tw-glitch.glitching::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.tw-glitch.glitching::before {
  color: rgba(37, 99, 235, 0.8);
  animation: glitchTop 0.3s linear infinite;
  clip-path: inset(0 0 60% 0);
}

.tw-glitch.glitching::after {
  color: rgba(124, 58, 237, 0.8);
  animation: glitchBottom 0.3s linear infinite;
  clip-path: inset(60% 0 0 0);
}

@keyframes glitchTop {
  0% { transform: translate(0); }
  20% { transform: translate(-3px, -2px); }
  40% { transform: translate(3px, 1px); }
  60% { transform: translate(-1px, 2px); }
  80% { transform: translate(2px, -1px); }
  100% { transform: translate(0); }
}

@keyframes glitchBottom {
  0% { transform: translate(0); }
  20% { transform: translate(2px, 1px); }
  40% { transform: translate(-2px, -1px); }
  60% { transform: translate(1px, -2px); }
  80% { transform: translate(-3px, 2px); }
  100% { transform: translate(0); }
}

/* Hero stat stagger animation */
.hero-stat-anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-stat-anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 10000;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(99, 102, 241, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.2s ease;
}

.cursor-dot.hover {
  width: 12px;
  height: 12px;
  background: var(--color-accent);
}

.cursor-ring.hover {
  width: 52px;
  height: 52px;
  border-color: rgba(99, 102, 241, 0.15);
  background: rgba(99, 102, 241, 0.04);
}

.cursor-dot.hidden,
.cursor-ring.hidden {
  opacity: 0;
}

/* Hide custom cursor on touch devices */
@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* ========================================
   MAGNETIC BUTTONS
   ======================================== */
.btn-magnetic {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================
   EASTER EGG CONFETTI
   ======================================== */
.confetti-piece {
  position: fixed;
  width: 10px;
  height: 10px;
  z-index: 99999;
  pointer-events: none;
  animation: confettiFall 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.confetti-piece:nth-child(odd) {
  border-radius: 50%;
}

.confetti-piece:nth-child(3n) {
  border-radius: 2px;
  width: 8px;
  height: 14px;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg) scale(0.3);
  }
}

.easter-egg-toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-surface);
  border: 1px solid var(--color-primary);
  color: var(--color-text);
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 99999;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.25);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
  white-space: nowrap;
}

.easter-egg-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ========================================
   EXIT-INTENT LEAD POPUP
   ======================================== */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 1rem;
}

.exit-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.exit-popup {
  background: rgba(15, 15, 30, 0.95);
  border: 1px solid rgba(110, 0, 255, 0.3);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  text-align: center;
  transform: scale(0.85) translateY(30px);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 60px rgba(110, 0, 255, 0.25), 0 0 80px rgba(110, 0, 255, 0.08);
}

.exit-popup-overlay.active .exit-popup {
  transform: scale(1) translateY(0);
}

.exit-popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.exit-popup-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.exit-popup-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.exit-popup h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
  line-height: 1.3;
}

.exit-popup p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.exit-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.exit-popup-form input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.6rem;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.exit-popup-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.exit-popup-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(110, 0, 255, 0.15);
}

.exit-popup-form .btn-block {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

.exit-popup-note {
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.35) !important;
  margin-bottom: 0 !important;
  margin-top: 0.5rem;
}

/* ========================================
   STICKY CTA BOTTOM BAR
   ======================================== */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--color-border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 0.85rem 0;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}
.sticky-cta-bar.visible ~ .chatbot-fab {
  bottom: 86px;
}
.sticky-cta-bar.visible ~ .whatsapp-float {
  bottom: 154px;
}
.sticky-cta-bar.visible ~ .chatbot-window {
  bottom: 152px;
}
.sticky-cta-bar.visible ~ .back-to-top {
  bottom: 222px;
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sticky-cta-text strong {
  color: var(--color-text-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.sticky-cta-text span {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.sticky-cta-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Responsive adjustments for popup & sticky bar */
@media (max-width: 600px) {
  .exit-popup {
    padding: 2rem 1.25rem;
  }
  .exit-popup h3 {
    font-size: 1.25rem;
  }
  .sticky-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }
  .sticky-cta-text {
    align-items: center;
  }
}

/* page-transition styles removed — transitions disabled */
.page-transition {
  display: none;
  pointer-events: none;
  overflow: hidden;
}

.page-transition-inner { display: none; }

/* ========================================
   TESTIMONIAL CAROUSEL
   ======================================== */
.testimonial-carousel {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.testimonial-card {
  min-width: 100%;
  padding: 40px 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-sizing: border-box;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 20px;
}

.testimonial-stars .star-filled {
  width: 18px;
  height: 18px;
  color: #f59e0b;
  fill: #f59e0b;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.testimonial-author h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.testimonial-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: scale(1.08);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.testimonial-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 28px 20px;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  .testimonial-avatar {
    width: 42px;
    height: 42px;
    font-size: 0.8rem;
  }
}

/* ========================================
   INVESTOR METRICS / TRACTION
   ======================================== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

.metric-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  background-size: 200% auto;
  animation: shimmerGradient 4s ease-in-out infinite;
}

.metric-card:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.metric-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.06) 100%);
  border-radius: var(--radius-md);
  margin: 0 auto 14px;
  color: var(--color-primary);
}

.metric-icon svg {
  width: 24px;
  height: 24px;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.metric-growth {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-top: 8px;
}

.metric-growth svg {
  width: 12px;
  height: 12px;
}

/* Investor CTA banner */
.investor-cta {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(124, 58, 237, 0.03) 50%, rgba(8, 145, 178, 0.04) 100%);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 40px;
}

.investor-cta-text h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.investor-cta-text p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  max-width: 480px;
}

/* Progress indicator for roadmap */
.roadmap-progress {
  width: 100%;
  height: 4px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-full);
  margin-top: 16px;
  overflow: hidden;
}

.roadmap-progress-fill {
  height: 100%;
  background: var(--gradient-hero);
  background-size: 200% auto;
  animation: shimmerGradient 4s ease-in-out infinite;
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

/* Particle dots background decoration */
.particle-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.15);
  animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-20px) scale(1.5); opacity: 0.8; }
}

/* Enhanced hero stat number animation */
.stat-number[data-count] {
  font-variant-numeric: tabular-nums;
}

/* Info card enhancement */
.info-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-card:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-card-hover);
  transform: translateX(4px);
}

.info-card:hover::before {
  opacity: 1;
}

/* Toast enhancement */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--color-surface);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  color: var(--color-text-heading);
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12), 0 20px 25px -5px rgba(0, 0, 0, 0.06);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive metrics */
@media (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .investor-cta {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .investor-cta .btn {
    width: 100%;
    text-align: center;
  }

  .investor-cta-text p {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  
  .metric-card {
    padding: 24px 16px;
  }
  
  .metric-value {
    font-size: 1.6rem;
  }
  
  .investor-cta {
    padding: 28px 20px;
  }

  .team-cta .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .metric-card {
    padding: 20px 12px;
  }
  
  .metric-value {
    font-size: 1.3rem;
  }

  .investor-cta {
    padding: 24px 16px;
  }

  .investor-cta-text h3 {
    font-size: 1.1rem;
  }

  .team-cta {
    padding: 24px 16px;
  }

  .team-cta p {
    font-size: 0.95rem;
  }
}

/* ========================================
   QUANTUM PORTAL STYLES
   ======================================== */
.portal-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Login */
.portal-login {
  max-width: 420px;
  margin: 0 auto;
  padding: 80px 0;
}

.portal-login-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.portal-login-card .logo {
  justify-content: center;
  margin-bottom: 28px;
}

.portal-login-card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}

.portal-login-card > p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.portal-login-card .form-group {
  text-align: left;
}

.login-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  text-align: left;
}

.login-error.show {
  display: block;
}

/* Dashboard */
.portal-dashboard {
  padding: 40px 0 80px;
}

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.portal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.portal-welcome {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.btn-logout {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.btn-logout:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.portal-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--color-text-muted);
}

.portal-empty svg {
  width: 48px;
  height: 48px;
  color: var(--color-text-dim);
  margin-bottom: 16px;
}

.portal-empty h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.portal-dashboard-hidden {
  display: none;
}

.portal-login-footer {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

.portal-login-footer a {
  color: var(--color-primary);
  text-decoration: underline;
}

.btn-logout .logout-icon {
  width: 14px;
  height: 14px;
  display: inline;
  vertical-align: middle;
  margin-right: 4px;
}

/* Project Cards */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.project-card:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-card-hover);
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.project-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.project-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.status-in-progress {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.status-review {
  background: #fefce8;
  color: #ca8a04;
  border: 1px solid #fde68a;
}

.status-completed {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.status-paused {
  background: #f5f5f5;
  color: #737373;
  border: 1px solid #d4d4d4;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.project-progress {
  margin-bottom: 20px;
}

.progress-bar-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

.progress-percent {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  min-width: 36px;
}

.project-milestones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.milestone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.milestone.done {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #16a34a;
}

.milestone svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 768px) {
  .portal-login-card {
    padding: 32px 24px;
  }

  .project-card {
    padding: 20px;
  }

  .project-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .portal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 18px 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  flex: 1;
}

.cookie-text a {
  color: #93c5fd;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 22px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
  color: #fff;
}

.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.cookie-btn-decline {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 640px) {
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}

/* ── GAME HUB SECTION ────────────────────────── */

/* Dark gaming theme for the section */
.gh-section-dark {
  background: #09090b;
  position: relative;
  overflow: hidden;
}
.gh-section-dark .section-tag,
.gh-section-dark .section-desc {
  color: #a1a1aa;
}
.gh-section-dark .section-desc strong {
  color: #fafafa;
}
.gh-section-dark h2 {
  color: #fafafa;
}

/* Shooting Stars Canvas */
.gh-stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.game-hub-container {
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Mini game preview cards */
.gh-mini-cards {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.gh-mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(24,24,27,.85);
  border: 1px solid rgba(255,255,255,.08);
  cursor: default;
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease;
  animation: ghCardPop .6s cubic-bezier(.34,1.56,.64,1) both;
  backdrop-filter: blur(8px);
}
.gh-card-delay-1 { animation-delay: .1s; }
.gh-card-delay-2 { animation-delay: .2s; }
.gh-card-delay-3 { animation-delay: .3s; }
.gh-card-delay-4 { animation-delay: .4s; }
.gh-card-delay-5 { animation-delay: .5s; }
.gh-card-delay-6 { animation-delay: .6s; }
.gh-card-delay-7 { animation-delay: .7s; }

.gh-mini-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 30px rgba(139,92,246,.2);
  border-color: rgba(139,92,246,.25);
}
.gh-mini-icon {
  font-size: 2rem;
  display: block;
  animation: ghIconBounce 3s ease-in-out infinite;
}
.gh-mini-card:nth-child(1) .gh-mini-icon { animation-delay: 0s; }
.gh-mini-card:nth-child(2) .gh-mini-icon { animation-delay: .5s; }
.gh-mini-card:nth-child(3) .gh-mini-icon { animation-delay: 1s; }
.gh-mini-card:nth-child(4) .gh-mini-icon { animation-delay: 1.5s; }

.gh-mini-name {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #a1a1aa;
}

@keyframes ghCardPop {
  0%   { opacity: 0; transform: translateY(24px) scale(.85); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ghIconBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Cash Prize Banner */
.gh-prize-banner {
  margin: 28px auto 24px;
  max-width: 520px;
  position: relative;
  z-index: 1;
}
.gh-prize-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #1a1a2e;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 0 24px rgba(251,191,36,.35), 0 4px 16px rgba(0,0,0,.15);
  animation: ghPrizePulse 2.5s ease-in-out infinite;
  letter-spacing: .2px;
}
.gh-prize-icon {
  font-size: 1.5rem;
  animation: ghPrizeIconBounce 2s ease-in-out infinite;
}
.gh-prize-text strong {
  color: #7c2d12;
}
@keyframes ghPrizePulse {
  0%, 100% { box-shadow: 0 0 24px rgba(251,191,36,.35), 0 4px 16px rgba(0,0,0,.15); transform: scale(1); }
  50%      { box-shadow: 0 0 36px rgba(251,191,36,.55), 0 6px 20px rgba(0,0,0,.2); transform: scale(1.02); }
}
@keyframes ghPrizeIconBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* CTA button glow pulse */
.gh-cta-btn {
  position: relative;
  z-index: 1;
  animation: ghCtaGlow 3s ease-in-out infinite;
}
@keyframes ghCtaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139,92,246,.25); }
  50%      { box-shadow: 0 0 28px 4px rgba(139,92,246,.3); }
}

/* Game hub section — prize banner on dark bg */
.gh-section-dark .gh-prize-inner {
  box-shadow: 0 0 24px rgba(251,191,36,.25), 0 4px 16px rgba(0,0,0,.4);
}
.gh-section-dark .gh-cta-btn {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}
.gh-section-dark .gh-cta-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 28px rgba(139,92,246,.45);
}

/* Game hub section header sits above canvas */
.game-hub-container .section-header {
  position: relative;
  z-index: 1;
}

@media (max-width: 480px) {
  .gh-mini-cards { gap: 10px; }
  .gh-mini-card { padding: 14px 16px; }
  .gh-mini-icon { font-size: 1.6rem; }
  .gh-mini-name { font-size: .7rem; }
}

/* ═══════════════════════════════════════════════════════════
   QUANTUM TEXT REVEAL — Scroll-triggered word scatter/assemble
   ═══════════════════════════════════════════════════════════ */
.qt-reveal-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: #0a0e1a;
}
.qt-reveal-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(37,99,235,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.qt-reveal-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(37,99,235,0.03) 1px, transparent 1px),
    linear-gradient(rgba(37,99,235,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.qt-reveal-wrap {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.qt-reveal-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.2);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.qt-reveal-section.active .qt-reveal-tag {
  opacity: 1;
  transform: translateY(0);
}
.qt-reveal-line {
  display: block;
  margin-bottom: 8px;
  perspective: 800px;
}
.qt-reveal-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.3;
  color: #f1f5f9;
}
.qt-word {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transform:
    translate(var(--scatter-x, 0px), var(--scatter-y, 0px))
    rotate(var(--scatter-r, 0deg))
    scale(0.5);
  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease,
    filter 0.5s ease,
    color 0.4s ease;
  transition-delay: var(--d, 0s);
  will-change: transform, opacity, filter;
  margin: 0 0.15em;
}
.qt-reveal-section.active .qt-word {
  opacity: 1;
  filter: blur(0);
  transform: translate(0, 0) rotate(0deg) scale(1);
}
.qt-word.qt-highlight {
  background: linear-gradient(90deg, var(--color-primary), #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.qt-reveal-sub {
  margin-top: 40px;
  font-size: 1.15rem;
  color: #94a3b8;
  line-height: 1.7;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.qt-reveal-section.active .qt-reveal-sub {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.2s;
}
.qt-reveal-cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.qt-reveal-section.active .qt-reveal-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.5s;
}
.qt-reveal-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.qt-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  box-shadow: 0 0 6px rgba(255,255,255,0.3);
  animation: qt-float 8s infinite ease-in-out;
}
.qt-particle:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; animation-duration: 7s; }
.qt-particle:nth-child(2) { top: 25%; left: 85%; animation-delay: 1s; animation-duration: 9s; background: rgba(255,223,128,0.6); box-shadow: 0 0 6px rgba(255,223,128,0.3); }
.qt-particle:nth-child(3) { top: 70%; left: 20%; animation-delay: 2s; animation-duration: 6s; }
.qt-particle:nth-child(4) { top: 80%; left: 75%; animation-delay: 0.5s; animation-duration: 8s; background: rgba(255,223,128,0.6); box-shadow: 0 0 6px rgba(255,223,128,0.3); }
.qt-particle:nth-child(5) { top: 45%; left: 5%; animation-delay: 3s; animation-duration: 10s; }
.qt-particle:nth-child(6) { top: 60%; left: 92%; animation-delay: 1.5s; animation-duration: 7.5s; background: rgba(255,223,128,0.6); box-shadow: 0 0 6px rgba(255,223,128,0.3); }
@keyframes qt-float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-30px) translateX(10px); opacity: 0.8; }
  50% { transform: translateY(-10px) translateX(-15px); opacity: 0.5; }
  75% { transform: translateY(-25px) translateX(5px); opacity: 0.7; }
}

/* Quantum badge glow pulse */
.qt-badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  border-radius: 16px;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.15);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 48px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 1.8s, transform 0.6s ease 1.8s;
}
.qt-reveal-section.active .qt-badge-glow {
  opacity: 1;
  transform: translateY(0);
}
.qt-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
  animation: qt-pulse 2s infinite;
}
@keyframes qt-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(34,197,94,0.6); }
  50% { box-shadow: 0 0 20px rgba(34,197,94,0.8); }
}

@media (max-width: 768px) {
  .qt-reveal-section { padding: 80px 0; }
  .qt-reveal-text { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .qt-reveal-sub { font-size: 1rem; }
  .qt-word { margin: 0 0.08em; }
}

/* ===================================
   SHOP WALKTHROUGH — Layout & Extra UI
   =================================== */

/* Main walkthrough layout */
.wt-walkthrough {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-card);
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  min-height: 420px;
}

/* Sidebar nav */
.wt-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wt-sidebar .wt-sb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all 0.25s ease;
  border-left: 3px solid transparent;
}
.wt-sidebar .wt-sb-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: inherit;
}
.wt-sidebar .wt-sb-item:hover {
  color: var(--color-text-body);
  background: rgba(37,99,235,0.04);
}
.wt-sidebar .wt-sb-item.active {
  background: linear-gradient(90deg, rgba(37,99,235,0.08), transparent);
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  font-weight: 600;
}

/* Screen area (right side) */
.wt-screen {
  flex: 1;
  min-width: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.wt-screen .wt-panel {
  display: none;
  flex-direction: column;
  flex: 1;
  animation: wtFadeIn 0.45s ease;
}
.wt-screen .wt-panel.active {
  display: flex;
}

/* Mock window inside screen */
.wt-screen .wt-mock {
  flex: 1;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Small nav icons inside mock sidebar */
.wt-sb-nav {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  cursor: default;
}
.wt-sb-nav svg {
  width: 14px;
  height: 14px;
  color: #64748b;
}
.wt-sb-nav.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}
.wt-sb-nav.active svg {
  color: #fff;
}

/* Caption below mock */
.wt-caption {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(37,99,235,0.04);
  border: 1px solid rgba(37,99,235,0.08);
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--color-text-body);
  line-height: 1.65;
}
.wt-caption strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* Walkthrough responsive — shop layout */
@media (max-width: 768px) {
  .wt-walkthrough {
    flex-direction: column;
    min-height: 0;
  }
  .wt-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 12px;
    gap: 2px;
  }
  .wt-sidebar .wt-sb-item {
    padding: 8px 14px;
    white-space: nowrap;
    font-size: 0.75rem;
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 8px;
  }
  .wt-sidebar .wt-sb-item.active {
    border-left-color: transparent;
    border-bottom-color: var(--color-primary);
    background: rgba(37,99,235,0.06);
  }
  .wt-screen {
    padding: 16px;
  }
  .wt-screen .wt-mock-sidebar {
    display: none;
  }
}

/* Extra shop walkthrough UI elements */
.wt-store-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.wt-store-item {
  background: rgba(30,41,59,0.6);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  border: 1px solid rgba(148,163,184,0.15);
}
.wt-item-img {
  width: 36px;
  height: 36px;
  margin: 0 auto 6px;
  background: rgba(37,99,235,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wt-item-img svg { width: 18px; height: 18px; color: #60a5fa; }
.wt-item-name { display: block; font-size: 0.7rem; color: #e2e8f0; font-weight: 500; }
.wt-item-price { display: block; font-size: 0.65rem; color: #94a3b8; margin-top: 2px; }

.wt-cart-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #cbd5e1;
  padding: 6px 0;
}
.wt-cart-total { font-weight: 700; color: #f1f5f9; font-size: 0.85rem; }
.wt-cart-divider { border-top: 1px dashed rgba(148,163,184,0.25); }
.wt-cart-coupon {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: #60a5fa;
  padding: 6px 10px;
  border: 1px dashed rgba(96,165,250,0.3);
  border-radius: 6px;
  cursor: pointer;
}
.wt-cart-coupon svg { width: 12px; height: 12px; }
.wt-checkout-btn {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  text-align: center;
  padding: 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
}

.wt-payment-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #cbd5e1;
  padding: 8px 10px;
  border: 1px solid rgba(148,163,184,0.15);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.wt-payment-option svg { width: 14px; height: 14px; }
.wt-payment-option.active {
  border-color: #60a5fa;
  background: rgba(37,99,235,0.1);
  color: #e2e8f0;
}
.wt-payment-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  color: #22c55e;
  padding: 4px 0;
}
.wt-payment-secure svg { width: 12px; height: 12px; }

.wt-tracking-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wt-track-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: #64748b;
  padding: 6px 10px;
  border-radius: 6px;
  border-left: 3px solid rgba(148,163,184,0.15);
  transition: all 0.3s;
}
.wt-track-step svg { width: 14px; height: 14px; }
.wt-track-step.done {
  color: #22c55e;
  border-left-color: #22c55e;
  background: rgba(34,197,94,0.05);
}
.wt-track-step.active {
  color: #60a5fa;
  border-left-color: #60a5fa;
  background: rgba(37,99,235,0.08);
  font-weight: 600;
}
.wt-track-eta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 8px;
  padding: 6px 10px;
  background: rgba(30,41,59,0.5);
  border-radius: 6px;
}
.wt-track-eta svg { width: 12px; height: 12px; }

.wt-admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.wt-admin-stat {
  background: rgba(30,41,59,0.6);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  border: 1px solid rgba(148,163,184,0.1);
}
.wt-admin-num {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #f1f5f9;
}
.wt-admin-stat span:last-child {
  font-size: 0.6rem;
  color: #94a3b8;
}
.wt-admin-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  padding: 8px;
  background: rgba(30,41,59,0.4);
  border-radius: 8px;
}
.wt-admin-chart .wt-bar {
  flex: 1;
  background: rgba(148,163,184,0.2);
  border-radius: 3px;
}
.wt-admin-chart .wt-bar.active-bar {
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
}

/* Integrations grid */
.pp-integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pp-integration-card {
  padding: 28px;
  background: var(--color-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all 0.3s ease;
}
.pp-integration-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.08);
}
.pp-integration-card h4 {
  margin: 8px 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-heading);
}
.pp-integration-card p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .pp-integrations-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pp-integration-card { padding: 20px 16px; }
  .wt-store-products { grid-template-columns: repeat(2, 1fr); }
  .wt-admin-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .pp-integrations-grid { grid-template-columns: 1fr; }
}

/* ===================================
   QUANTUM DEFINITION SECTION
   =================================== */
.qt-definition-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
}
.qt-def-card {
  flex: 1;
  max-width: 420px;
  padding: 36px 32px;
  background: var(--color-card);
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--color-border);
  text-align: center;
}
.qt-def-card-primary {
  border-color: var(--color-primary);
  box-shadow: 0 8px 40px rgba(37,99,235,0.1);
  background: linear-gradient(135deg, rgba(37,99,235,0.03) 0%, rgba(8,145,178,0.03) 100%);
}
.qt-def-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-ultra-light);
}
.qt-def-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}
.qt-def-card-primary .qt-def-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}
.qt-def-card-primary .qt-def-icon svg {
  color: #fff;
}
.qt-def-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.qt-def-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-heading);
  margin-bottom: 10px;
}
.qt-def-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.qt-def-text em {
  color: var(--color-text-dim);
  font-style: italic;
}
.qt-def-text strong {
  color: var(--color-text-heading);
  font-weight: 700;
}
.qt-def-arrow {
  font-size: 1.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
}
.qt-def-arrow svg {
  width: 32px;
  height: 32px;
}
.qt-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.qt-phil-item {
  padding: 28px 24px;
  background: var(--color-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all 0.3s ease;
}
.qt-phil-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.08);
}
.qt-phil-item h4 {
  margin: 8px 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-heading);
}
.qt-phil-item p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}
@media (max-width: 768px) {
  .qt-definition-grid {
    flex-direction: column;
    gap: 16px;
  }
  .qt-def-card { max-width: 100%; }
  .qt-def-arrow { transform: rotate(90deg); }
  .qt-philosophy-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .qt-philosophy-grid { grid-template-columns: 1fr; }
}

/* ===================================
   QUANTUM REALM TRANSITION — Particle Genesis → Galaxy Zoom
   20-second cinematic transition
   =================================== */
.qr-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
}
.qr-overlay.active {
  pointer-events: all;
  opacity: 1;
}

/* Deep space void */
.qr-void {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, #050d1a 0%, #020408 60%, #000 100%);
  opacity: 0;
  transition: opacity 1.5s ease;
}
.qr-overlay.active .qr-void { opacity: 1; }

/* Skip button */
.qr-skip {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s, color 0.2s;
  backdrop-filter: blur(4px);
}
.qr-overlay.active .qr-skip {
  animation: qrSkipFadeIn 0.6s 2s ease forwards;
}
.qr-skip:hover {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
}
@keyframes qrSkipFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Star field canvas */
.qr-stars {
  position: absolute;
  inset: 0;
}

/* ── Phase 1: Single particle birth ── */
.qr-seed {
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  box-shadow: 0 0 20px 8px rgba(96,165,250,0.6), 0 0 60px 20px rgba(124,58,237,0.3);
}
.qr-overlay.active .qr-seed {
  animation: qrSeedBirth 3s 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes qrSeedBirth {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  30% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; box-shadow: 0 0 30px 12px rgba(96,165,250,0.8), 0 0 80px 30px rgba(124,58,237,0.4); }
}

/* ── Phase 2: Particle multiplication / nebula ── */
.qr-nebula {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
}
.qr-spark {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
}
.qr-overlay.active .qr-spark {
  animation: qrSparkBurst var(--spark-dur, 2.5s) var(--spark-delay, 4s) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes qrSparkBurst {
  0% { transform: translate(0, 0) scale(0); opacity: 0; }
  15% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { transform: translate(var(--sx), var(--sy)) scale(1); opacity: 0.5; }
}

/* ── Phase 3: Galaxy spiral arms ── */
.qr-galaxy-arm {
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%) scale(0) rotate(0deg);
  opacity: 0;
  border-radius: 50%;
}
.qr-overlay.active .qr-galaxy-arm {
  animation: qrGalaxyForm 6s var(--arm-delay, 7s) cubic-bezier(0.16, 1, 0.3, 1) forwards,
             qrGalaxySpin 12s var(--arm-delay, 7s) linear infinite;
}
@keyframes qrGalaxyForm {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  40% { opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
}
@keyframes qrGalaxySpin {
  0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  100% { transform: translate(-50%, -50%) scale(1) rotate(360deg); }
}

/* Orbital trails within galaxy */
.qr-orbital {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid transparent;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}
.qr-overlay.active .qr-orbital {
  animation: qrOrbitalExpand 4s var(--orb-delay, 6s) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes qrOrbitalExpand {
  0% { transform: translate(-50%, -50%) scale(0) rotate(0deg); opacity: 0; }
  30% { opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1) rotate(180deg); opacity: 0.15; }
}

/* ── Phase 4: Galaxy Zoom — rush into center (circular) ── */
.qr-zoom-tunnel {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vmax; height: 100vmax;
  transform: translate(-50%, -50%) scale(0.5);
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle at center, transparent 0%, transparent 10%, rgba(96,165,250,0.1) 35%, rgba(124,58,237,0.15) 60%, rgba(37,99,235,0.06) 80%, transparent 100%);
}
.qr-overlay.active .qr-zoom-tunnel {
  animation: qrZoomTunnel 4s 15s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}
@keyframes qrZoomTunnel {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  30% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(20); }
}

/* Final white-out flash */
.qr-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
}
.qr-overlay.active .qr-flash {
  animation: qrFlashOut 2.5s 17.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes qrFlashOut {
  0% { opacity: 0; }
  40% { opacity: 0.95; }
  100% { opacity: 1; }
}

/* Text — "Entering Quantum" */
.qr-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0);
  white-space: nowrap;
  opacity: 0;
  z-index: 5;
  text-shadow: 0 0 30px rgba(96,165,250,0.5);
}
.qr-overlay.active .qr-text {
  animation: qrTextFlash 8s 5s ease forwards;
}
@keyframes qrTextFlash {
  0% { opacity: 0; color: rgba(255,255,255,0); letter-spacing: 0.8em; filter: blur(4px); }
  15% { opacity: 1; color: rgba(255,255,255,0.95); letter-spacing: 0.4em; filter: blur(0); }
  70% { opacity: 0.9; letter-spacing: 0.35em; filter: blur(0); }
  85% { opacity: 0.5; letter-spacing: 0.2em; filter: blur(2px); }
  100% { opacity: 0; letter-spacing: 0em; filter: blur(8px); }
}

/* Progress indicator */
.qr-progress {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
}
.qr-overlay.active .qr-progress {
  animation: qrSkipFadeIn 0.5s 2s ease forwards;
}
.qr-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #60a5fa, #7c3aed);
  border-radius: 2px;
}
.qr-overlay.active .qr-progress-bar {
  animation: qrProgressFill 20s 0s linear forwards;
}
@keyframes qrProgressFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Page warp on departure */
.qr-warp-out {
  animation: qrWarpOut 2s 0.3s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}
@keyframes qrWarpOut {
  0% { transform: scale(1); filter: blur(0); opacity: 1; }
  40% { transform: scale(0.96); filter: blur(2px); opacity: 0.5; }
  100% { transform: scale(0.85) translateY(-20px); filter: blur(12px); opacity: 0; }
}

/* ===================================
   QUANTUM ARRIVAL — Now uses shared Pixel Scatter (.px-arrival-overlay)
   Old ring-based arrival removed. See PIXEL SCATTER ARRIVAL section.
   =================================== */



/* ===================================
   QUANTUM PAGE — FLOATING ATOMS
   =================================== */
.qt-hero-atoms {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.qt-atom {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  animation: qtAtomFloat var(--dur, 6s) var(--delay, 0s) ease-in-out infinite;
}
.qt-atom::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  background: rgba(255,223,128,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(255,223,128,0.3);
}
.qt-atom::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  animation: qtAtomOrbit 3s linear infinite;
}
@keyframes qtAtomFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(var(--drift, -20px)) rotate(180deg); }
}
@keyframes qtAtomOrbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Quantum module card hover glow */
.qt-glow-card {
  position: relative;
  overflow: hidden;
}
.qt-glow-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(37,99,235,0.06) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.qt-glow-card:hover::before {
  opacity: 1;
}

/* ===================================
   PARALLAX SCROLL SECTIONS
   =================================== */
.qt-parallax-section {
  position: relative;
  overflow: hidden;
}
.qt-parallax-bg {
  position: absolute;
  inset: -60px 0;
  z-index: 0;
  transition: transform 0.1s linear;
  pointer-events: none;
}
.qt-parallax-section > .container {
  position: relative;
  z-index: 1;
}

/* ===================================
   MAGNETIC CURSOR EFFECT
   =================================== */
.qt-magnetic {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

/* ===================================
   WORD-BY-WORD COLOR FILL
   =================================== */
.qt-color-fill-word {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-primary) 50%, currentColor 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.qt-color-fill-word.filled {
  background-position: 0 0;
}

/* ===================================
   69SHOP TRANSITION — Conveyor Belt → Checkout
   20-second e-commerce cinematic transition
   =================================== */
.shop-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  font-family: var(--font-heading);
}
.shop-overlay.active {
  pointer-events: all;
  opacity: 1;
}

/* Dark warehouse background */
.shop-void {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, #1a0f05 0%, #0d0804 60%, #000 100%);
  opacity: 0;
  transition: opacity 1.5s ease;
}
.shop-overlay.active .shop-void { opacity: 1; }

/* Skip button */
.shop-skip {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
  background: rgba(251,191,36,0.06);
  border: 1px solid rgba(251,191,36,0.15);
  color: rgba(255,255,255,0.5);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s, color 0.2s;
  backdrop-filter: blur(4px);
}
.shop-overlay.active .shop-skip {
  animation: shopSkipIn 0.6s 2s ease forwards;
}
.shop-skip:hover {
  background: rgba(251,191,36,0.12);
  color: rgba(255,255,255,0.8);
}
@keyframes shopSkipIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ── Conveyor belt ── */
.shop-belt {
  position: absolute;
  top: 55%;
  left: -5%;
  width: 110%;
  height: 6px;
  background: linear-gradient(90deg, transparent 0%, rgba(251,191,36,0.4) 15%, rgba(251,191,36,0.4) 85%, transparent 100%);
  opacity: 0;
  z-index: 2;
}
.shop-belt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(251,191,36,0.2) 24px, rgba(251,191,36,0.2) 26px);
  animation: shopBeltScroll 1s linear infinite;
}
.shop-overlay.active .shop-belt {
  animation: shopBeltAppear 1.5s 1s ease forwards;
}
@keyframes shopBeltAppear {
  0% { opacity: 0; transform: scaleX(0); }
  100% { opacity: 1; transform: scaleX(1); }
}
@keyframes shopBeltScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(26px); }
}

/* Belt support legs */
.shop-belt-leg {
  position: absolute;
  width: 2px;
  height: 80px;
  background: rgba(251,191,36,0.15);
  top: 100%;
}
.shop-belt-leg:nth-child(1) { left: 20%; }
.shop-belt-leg:nth-child(2) { left: 50%; }
.shop-belt-leg:nth-child(3) { left: 80%; }

/* ── Products slide on belt ── */
.shop-conv-item {
  position: absolute;
  top: 55%;
  transform: translateY(-100%);
  opacity: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.shop-conv-item-box {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(251,191,36,0.5);
  border-radius: 8px;
  background: rgba(251,191,36,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 20px rgba(251,191,36,0.08);
}
.shop-conv-item-price {
  font-size: 0.55rem;
  color: rgba(251,191,36,0.6);
  letter-spacing: 0.05em;
}
.shop-overlay.active .shop-conv-item {
  animation: shopConvSlide var(--conv-dur, 4s) var(--conv-delay, 3s) ease-in-out forwards;
}
@keyframes shopConvSlide {
  0% { left: -10%; opacity: 0; }
  5% { opacity: 1; }
  45% { opacity: 1; left: 48%; }
  50% { opacity: 1; left: 50%; transform: translateY(-100%) scale(1); }
  55% { opacity: 0.8; left: 50%; transform: translateY(-100%) scale(0.3); }
  60% { opacity: 0; left: 50%; transform: translateY(-100%) scale(0); }
  100% { opacity: 0; left: 50%; }
}

/* ── Scanner beam at center ── */
.shop-scanner {
  position: absolute;
  top: calc(55% - 80px);
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 80px;
  z-index: 4;
  opacity: 0;
}
.shop-scanner-frame {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(251,191,36,0.3);
  border-radius: 4px;
}
.shop-scanner-beam {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: #ef4444;
  box-shadow: 0 0 12px 3px rgba(239,68,68,0.4);
  top: 50%;
  animation: shopScanBeam 0.8s ease-in-out infinite alternate;
}
@keyframes shopScanBeam {
  0% { top: 15%; opacity: 0.6; }
  100% { top: 85%; opacity: 1; }
}
.shop-overlay.active .shop-scanner {
  animation: shopScannerAppear 1s 2.5s ease forwards;
}
@keyframes shopScannerAppear {
  0% { opacity: 0; transform: translateX(-50%) scale(0.5); }
  100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

/* ── Scan flash on each item ── */
.shop-scan-flash {
  position: absolute;
  top: calc(55% - 80px);
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,0.4) 0%, transparent 70%);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

/* ── Packing box at right ── */
.shop-pack-box {
  position: absolute;
  top: 55%;
  right: 15%;
  transform: translateY(-50%);
  width: 70px;
  height: 60px;
  opacity: 0;
  z-index: 5;
}
.shop-pack-box-body {
  position: absolute;
  inset: 10px 0 0 0;
  border: 2px solid rgba(251,191,36,0.6);
  border-radius: 4px;
  background: rgba(251,191,36,0.04);
}
.shop-pack-box-flap-l, .shop-pack-box-flap-r {
  position: absolute;
  top: 0;
  width: 50%;
  height: 14px;
  border: 2px solid rgba(251,191,36,0.5);
  background: rgba(251,191,36,0.03);
  transform-origin: bottom;
}
.shop-pack-box-flap-l { left: 0; border-radius: 2px 0 0 0; }
.shop-pack-box-flap-r { right: 0; border-radius: 0 2px 0 0; }
.shop-overlay.active .shop-pack-box {
  animation: shopPackAppear 1s 5s ease forwards;
}
@keyframes shopPackAppear {
  0% { opacity: 0; transform: translateY(-50%) scale(0.5); }
  100% { opacity: 1; transform: translateY(-50%) scale(1); }
}
/* Box seals shut */
.shop-pack-box.sealed .shop-pack-box-flap-l {
  animation: shopFlapClose 0.6s ease forwards;
}
.shop-pack-box.sealed .shop-pack-box-flap-r {
  animation: shopFlapClose 0.6s 0.1s ease forwards;
}
@keyframes shopFlapClose {
  0% { transform: rotateX(0deg); }
  100% { transform: rotateX(90deg); }
}

/* Tape on sealed box */
.shop-pack-tape {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 100%;
  background: rgba(251,191,36,0.2);
  border-radius: 2px;
  opacity: 0;
}
.shop-pack-box.sealed .shop-pack-tape {
  animation: shopTapeAppear 0.3s 0.5s ease forwards;
}
@keyframes shopTapeAppear {
  0% { opacity: 0; transform: translateX(-50%) scaleY(0); }
  100% { opacity: 1; transform: translateX(-50%) scaleY(1); }
}

/* ── Item counter badge ── */
.shop-count {
  position: absolute;
  top: calc(55% - 90px);
  left: calc(50% + 30px);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 6;
  box-shadow: 0 0 20px rgba(239,68,68,0.4);
}

/* ── Phase: Box shoots toward camera ── */
.shop-box-launch {
  position: absolute;
  top: 50%; left: 50%;
  width: 70px; height: 60px;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  z-index: 7;
}
.shop-box-launch-inner {
  width: 100%; height: 100%;
  border: 2px solid rgba(251,191,36,0.8);
  border-radius: 4px;
  background: rgba(251,191,36,0.06);
}
.shop-overlay.active .shop-box-launch {
  animation: shopBoxLaunch 3s 14s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes shopBoxLaunch {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  10% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(2); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(30); filter: blur(4px); }
}

/* Golden flash out */
.shop-flash {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #fff);
  opacity: 0;
  z-index: 8;
}
.shop-overlay.active .shop-flash {
  animation: shopFlashOut 2.5s 17.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes shopFlashOut {
  0% { opacity: 0; }
  40% { opacity: 0.95; }
  100% { opacity: 1; }
}

/* Text — "Opening 69shop" */
.shop-text {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(251,191,36,0);
  white-space: nowrap;
  opacity: 0;
  z-index: 5;
  text-shadow: 0 0 30px rgba(251,191,36,0.5);
}
.shop-overlay.active .shop-text {
  animation: shopTextFlash 8s 5s ease forwards;
}
@keyframes shopTextFlash {
  0% { opacity: 0; color: rgba(251,191,36,0); letter-spacing: 0.8em; filter: blur(4px); }
  15% { opacity: 1; color: rgba(251,191,36,0.95); letter-spacing: 0.4em; filter: blur(0); }
  70% { opacity: 0.9; letter-spacing: 0.35em; }
  85% { opacity: 0.5; letter-spacing: 0.2em; filter: blur(2px); }
  100% { opacity: 0; letter-spacing: 0em; filter: blur(8px); }
}

/* Progress bar */
.shop-progress {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: rgba(251,191,36,0.08);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  z-index: 9;
}
.shop-overlay.active .shop-progress {
  animation: shopSkipIn 0.5s 2s ease forwards;
}
.shop-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  border-radius: 2px;
}
.shop-overlay.active .shop-progress-bar {
  animation: shopProgressFill 20s 0s linear forwards;
}
@keyframes shopProgressFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Page warp on departure (shop) */
.shop-warp-out {
  animation: shopWarpOut 2s 0.3s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}
@keyframes shopWarpOut {
  0% { transform: scale(1); filter: blur(0); opacity: 1; }
  40% { transform: scale(0.96); filter: blur(2px); opacity: 0.5; }
  100% { transform: scale(0.85) translateY(-20px); filter: blur(12px); opacity: 0; }
}

/* ===================================
   PIXEL SCATTER ARRIVAL — Shared by Quantum & Shop
   Small pixel squares scatter outward from center revealing page
   =================================== */
.px-arrival-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  overflow: hidden;
  pointer-events: all;
}
.px-arrival-overlay.quantum { background: #030712; }
.px-arrival-overlay.shop { background: #0d0804; }
.px-arrival-tile {
  position: absolute;
  opacity: 1;
}
.px-arrival-tile.quantum { background: #030712; }
.px-arrival-tile.shop { background: #0d0804; }
.px-arrival-tile.scatter {
  animation: pxTileScatter var(--px-dur, 0.6s) var(--px-delay, 0s) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes pxTileScatter {
  0% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
  60% { opacity: 0.7; }
  100% { opacity: 0; transform: translate(var(--px-tx, 0), var(--px-ty, 0)) scale(0.3) rotate(var(--px-rot, 45deg)); }
}
.px-arrival-overlay.fade-out {
  animation: pxOverlayFade 0.4s ease forwards;
}
@keyframes pxOverlayFade {
  0% { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}

/* Page entrance after pixel scatter */
.px-page-enter .product-hero,
.px-page-enter .breadcrumb-bar {
  animation: pxPageSlideUp 0.8s 0.1s ease both;
}
@keyframes pxPageSlideUp {
  0% { opacity: 0; transform: translateY(30px) scale(0.98); filter: blur(3px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ===================================
   69SHOP — HOW IT WORKS TIMELINE REDESIGN
   =================================== */
.shop-steps-timeline {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 60px 0 20px;
}

/* Connecting line */
.shop-steps-timeline::before {
  content: '';
  position: absolute;
  top: 96px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(251,191,36,0.3) 15%, rgba(251,191,36,0.3) 85%, transparent);
  z-index: 0;
}

.shop-step-item {
  position: relative;
  flex: 1;
  max-width: 320px;
  text-align: center;
  z-index: 1;
  padding: 0 20px;
}

/* Step number circle */
.shop-step-num {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #0d0804;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 6px rgba(251,191,36,0.1), 0 8px 30px rgba(251,191,36,0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.shop-step-num::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1.5px dashed rgba(251,191,36,0.15);
  border-radius: 50%;
  animation: shopStepPulse 3s ease-in-out infinite;
}
@keyframes shopStepPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* Step icon */
.shop-step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(251,191,36,0.06);
  border: 1px solid rgba(251,191,36,0.12);
  border-radius: 12px;
  color: #fbbf24;
  transition: all 0.35s ease;
}
.shop-step-icon svg { width: 22px; height: 22px; }
.shop-step-item:hover .shop-step-icon {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #0d0804;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(251,191,36,0.2);
}

/* Step content */
.shop-step-item h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 10px;
}
.shop-step-item p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 260px;
  margin: 0 auto;
}

/* Arrow connector between steps */
.shop-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 68px;
  color: rgba(251,191,36,0.3);
  flex-shrink: 0;
}
.shop-step-arrow svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .shop-steps-timeline {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 40px 0 10px;
  }
  .shop-steps-timeline::before {
    top: 0; bottom: 0;
    left: 50%; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, transparent, rgba(251,191,36,0.3) 15%, rgba(251,191,36,0.3) 85%, transparent);
  }
  .shop-step-item { max-width: 100%; padding: 0; }
  .shop-step-arrow { padding-top: 0; transform: rotate(90deg); }
}

/* ===================================
   SELLER REGISTRATION — CTA SECTION
   =================================== */
.shop-seller-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(251,191,36,0.04) 0%, transparent 50%);
  border-top: 1px solid rgba(251,191,36,0.08);
}
.shop-seller-cta .container {
  display: flex;
  align-items: center;
  gap: 48px;
}
.shop-seller-info {
  flex: 1;
}
.shop-seller-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.15);
  color: #fbbf24;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.shop-seller-badge svg { width: 14px; height: 14px; }
.shop-seller-info h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.35;
  margin-bottom: 12px;
}
.shop-seller-info p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 24px;
}
.shop-seller-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 28px;
}
.shop-seller-perks span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--color-text-body);
}
.shop-seller-perks svg { width: 16px; height: 16px; color: #fbbf24; }
.shop-seller-action {
  flex-shrink: 0;
  text-align: center;
}
.shop-seller-action .btn {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #0d0804;
  border: none;
  font-weight: 700;
  padding: 14px 32px;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(251,191,36,0.2);
  transition: all 0.3s ease;
}
.shop-seller-action .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(251,191,36,0.3);
}
.shop-seller-action .btn svg { width: 18px; height: 18px; }
.shop-seller-action p {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .shop-seller-cta .container {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  .shop-seller-info p { margin-left: auto; margin-right: auto; }
  .shop-seller-perks { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════
   SHOP — Merchant Dashboard Preview
   ═══════════════════════════════════════════════════════ */
.shop-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.shop-dash-card {
  background: #fff;
  border: 1px solid rgba(16,185,129,0.12);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.35s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.shop-dash-card:hover {
  border-color: rgba(16,185,129,0.35);
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(16,185,129,0.12);
}
.shop-dash-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  margin-bottom: 16px;
}
.shop-dash-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}
.shop-dash-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 8px;
}
.shop-dash-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .shop-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .shop-dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════
   SHOP — Pricing Tiers
   ═══════════════════════════════════════════════════════ */
.shop-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  align-items: start;
}
.shop-pricing-grid .pricing-card {
  background: #fff;
  border: 1px solid rgba(16,185,129,0.12);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  transition: all 0.35s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.shop-pricing-grid .pricing-card:hover {
  border-color: rgba(16,185,129,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(16,185,129,0.1);
}
.shop-pricing-grid .pricing-popular {
  border-color: #10B981;
  background: linear-gradient(135deg, rgba(16,185,129,0.06) 0%, rgba(5,150,105,0.04) 100%);
  box-shadow: 0 4px 20px rgba(16,185,129,0.12);
}
.shop-pricing-grid .popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 18px;
  border-radius: 20px;
}
.shop-pricing-grid .pricing-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.shop-pricing-grid .pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 4px;
}
.shop-pricing-grid .pricing-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.shop-pricing-grid .pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.shop-pricing-grid .currency {
  font-size: 1.4rem;
  font-weight: 600;
  color: #10B981;
}
.shop-pricing-grid .price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-heading);
  line-height: 1;
}
.shop-pricing-grid .price-custom {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #10B981, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.shop-pricing-grid .period {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.shop-pricing-grid .pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shop-pricing-grid .pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-text);
}
.shop-pricing-grid .pricing-features li svg {
  width: 16px;
  height: 16px;
  color: #10B981;
  flex-shrink: 0;
}
.shop-pricing-grid .btn-block {
  display: block;
  width: 100%;
  text-align: center;
}
.shop-pricing-grid .btn-outline {
  border-color: rgba(16,185,129,0.3);
  color: #10B981;
}
.shop-pricing-grid .btn-outline:hover {
  background: rgba(16,185,129,0.1);
  border-color: #10B981;
}
.shop-pricing-grid .pricing-popular .btn-primary,
.shop-pricing-grid .pricing-popular .btn-block {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border: none;
  color: #fff;
}
.shop-pricing-grid .pricing-popular .btn-primary:hover,
.shop-pricing-grid .pricing-popular .btn-block:hover {
  box-shadow: 0 8px 28px rgba(16,185,129,0.35);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .shop-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .shop-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-pricing-grid .pricing-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
}

/* ═══════════════════════════════════════════════════════
   SHOP — Distinct Accent Overrides (Emerald vs Quantum Violet)
   ═══════════════════════════════════════════════════════ */
body.page-shop .gradient-text {
  background: linear-gradient(135deg, #10B981, #34D399, #059669) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
body.page-shop .section-tag {
  color: #10B981;
  border-color: rgba(16,185,129,0.25);
  background: rgba(16,185,129,0.06);
}
body.page-shop .btn-primary {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}
body.page-shop .btn-primary:hover {
  box-shadow: 0 8px 28px rgba(16,185,129,0.35);
}
body.page-shop .btn-outline {
  border-color: rgba(16,185,129,0.3);
  color: #10B981;
}
body.page-shop .btn-outline:hover {
  background: rgba(16,185,129,0.1);
  border-color: #10B981;
}

/* ═══════════════════════════════════════════════════════
   PORTAL PRODUCT PAGE — Distinct Cyan/Teal Accent
   ═══════════════════════════════════════════════════════ */
body.page-portal .gradient-text {
  background: linear-gradient(135deg, #06B6D4, #22D3EE, #0891B2) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
body.page-portal .section-tag {
  color: #06B6D4;
  border-color: rgba(6,182,212,0.25);
  background: rgba(6,182,212,0.06);
}
body.page-portal .btn-primary {
  background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
}
body.page-portal .btn-primary:hover {
  box-shadow: 0 8px 28px rgba(6,182,212,0.35);
}
body.page-portal .btn-outline {
  border-color: rgba(6,182,212,0.3);
  color: #06B6D4;
}
body.page-portal .btn-outline:hover {
  background: rgba(6,182,212,0.1);
  border-color: #06B6D4;
}

/* Portal Features Grid */
.portal-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.portal-feat-card {
  background: #fff;
  border: 1px solid rgba(6,182,212,0.12);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.35s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.portal-feat-card:hover {
  border-color: rgba(6,182,212,0.35);
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(6,182,212,0.12);
}
.portal-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
  margin-bottom: 16px;
}
.portal-feat-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}
.portal-feat-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 8px;
}
.portal-feat-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .portal-features-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .portal-features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Portal Steps */
.portal-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.portal-step {
  background: #fff;
  border: 1px solid rgba(6,182,212,0.12);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.35s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.portal-step:hover {
  border-color: rgba(6,182,212,0.35);
  transform: translateY(-4px);
}
.portal-step-num {
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #06B6D4, #22D3EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
}
.portal-step h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 8px;
}
.portal-step p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .portal-steps { grid-template-columns: 1fr; gap: 16px; }
}

/* Portal Mock Preview */
.portal-mock {
  display: flex;
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
  background: #0f172a;
  min-height: 400px;
}
.portal-mock-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: rgba(6,182,212,0.04);
  border-right: 1px solid rgba(6,182,212,0.1);
  padding: 24px 16px;
}
.portal-mock-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #06B6D4, #0891B2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: #fff;
}
.portal-mock-logo span {
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
}
.portal-mock-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  transition: all 0.2s;
}
.mock-nav-item svg {
  width: 16px;
  height: 16px;
}
.mock-nav-item.active {
  background: rgba(6,182,212,0.12);
  color: #22D3EE;
}
.portal-mock-main {
  flex: 1;
  padding: 28px 32px;
}
.portal-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.portal-mock-header h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f1f5f9;
}
.mock-badge-live {
  font-size: 0.72rem;
  font-weight: 600;
  color: #22D3EE;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  padding: 4px 12px;
  border-radius: 20px;
}
.portal-mock-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.mock-stat {
  background: rgba(6,182,212,0.06);
  border: 1px solid rgba(6,182,212,0.1);
  border-radius: 12px;
  padding: 16px;
}
.mock-stat-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f1f5f9;
}
.portal-mock-progress {
  background: rgba(6,182,212,0.04);
  border: 1px solid rgba(6,182,212,0.08);
  border-radius: 12px;
  padding: 20px;
}
.mock-progress-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(0,0,0,0.08);
  margin-bottom: 16px;
  overflow: hidden;
}
.mock-progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #06B6D4, #22D3EE);
  transition: width 1.5s ease;
}
.mock-milestones {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.mock-milestones .done { color: #06B6D4; }
.mock-milestones .current {
  color: #22D3EE;
  font-weight: 700;
}

@media (max-width: 768px) {
  .portal-mock { flex-direction: column; }
  .portal-mock-sidebar { width: 100%; border-right: none; border-bottom: 1px solid rgba(6,182,212,0.1); padding: 16px; }
  .portal-mock-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .mock-nav-item { padding: 6px 10px; font-size: 0.75rem; }
  .portal-mock-main { padding: 20px 16px; }
  .portal-mock-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mock-milestones { flex-wrap: wrap; gap: 4px 12px; }
}

/* Portal Comparison */
.portal-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
.portal-comp-col {
  border-radius: 16px;
  padding: 36px 32px;
}
.comp-without {
  background: rgba(239,68,68,0.04);
  border: 1px solid rgba(239,68,68,0.15);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.comp-with {
  background: rgba(6,182,212,0.04);
  border: 1px solid rgba(6,182,212,0.2);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.portal-comp-col h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 20px;
}
.comp-without h4 svg { color: #EF4444; width: 20px; height: 20px; }
.comp-with h4 svg { color: #06B6D4; width: 20px; height: 20px; }
.portal-comp-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.portal-comp-col li {
  font-size: 0.9rem;
  color: var(--color-text);
  padding-left: 24px;
  position: relative;
}
.comp-without li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #EF4444;
  font-weight: 700;
}
.comp-with li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #06B6D4;
  font-weight: 700;
}

@media (max-width: 768px) {
  .portal-comparison { grid-template-columns: 1fr; gap: 16px; }
}

/* ═══════════════════════════════════════════════════════
   SERVICE CONFIGURATOR — Build Your Package
   ═══════════════════════════════════════════════════════ */
.config-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: start;
}
.config-group-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-heading);
  margin: 1.5rem 0 0.75rem;
}
.config-group-title:first-child { margin-top: 0; }
.config-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.config-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.config-option:hover {
  border-color: var(--color-primary);
  background: rgba(37,99,235,0.03);
}
.config-option input { accent-color: var(--color-primary); width: 18px; height: 18px; flex-shrink: 0; }
.config-option input:checked ~ .config-label { color: var(--color-primary); font-weight: 600; }
.config-label { flex: 1; font-size: 0.95rem; color: var(--color-heading); }
.config-price { font-size: 0.85rem; font-weight: 600; color: var(--color-primary); white-space: nowrap; }

/* Summary Card */
.config-summary {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.config-summary h4 {
  font-size: 1.1rem;
  color: var(--color-heading);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.config-selected {
  min-height: 60px;
  margin-bottom: 1.25rem;
}
.config-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--color-text);
  border-bottom: 1px dashed rgba(0,0,0,0.06);
}
.config-item:last-child { border-bottom: none; }
.config-item strong { color: var(--color-heading); font-size: 0.85rem; }
.config-total-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(124,58,237,0.06));
  border-radius: 10px;
  margin-bottom: 1rem;
}
.config-total-label { font-size: 0.95rem; font-weight: 600; color: var(--color-heading); }
.config-total-amount { font-size: 1.4rem; font-weight: 700; color: var(--color-primary); font-family: 'Space Grotesk', sans-serif; }
.config-note { font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.btn-block { display: block; width: 100%; text-align: center; }

@media (max-width: 900px) {
  .config-wrap { grid-template-columns: 1fr; }
  .config-summary { position: static; }
}

/* ═══════════════════════════════════════════════════════
   CHATBOT — FAQ Assistant Widget
   ═══════════════════════════════════════════════════════ */
.chatbot-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9998;
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
  transition: all 0.3s ease;
}
.chatbot-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,99,235,0.45);
}
.chatbot-fab.active {
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  transform: rotate(90deg) scale(1);
}

.chatbot-window {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 380px;
  max-height: 520px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 48px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.chatbot-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #fff;
}
.chatbot-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
}
.chatbot-name {
  font-weight: 700;
  font-size: 0.92rem;
}
.chatbot-status {
  font-size: 0.72rem;
  opacity: 0.8;
  color: #86EFAC;
}
.chatbot-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 4px;
}
.chatbot-close:hover { opacity: 1; }

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 340px;
  min-height: 200px;
}
.chatbot-msg {
  max-width: 85%;
  animation: chatMsgIn 0.3s ease;
}
.chatbot-msg.bot { align-self: flex-start; }
.chatbot-msg.user { align-self: flex-end; }
.chatbot-msg p {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.chatbot-msg.bot p {
  background: #f0f2f7;
  color: #1e293b;
  border-bottom-left-radius: 4px;
}
.chatbot-msg.user p {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chatbot-msg p a {
  color: #2563EB;
  text-decoration: underline;
  font-weight: 600;
}
.chatbot-msg.user p a { color: #c4b5fd; }

@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Typing indicator */
.chatbot-typing p {
  display: flex;
  gap: 4px;
  padding: 12px 18px;
}
.chatbot-typing .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  animation: chatDot 1.2s ease infinite;
}
.chatbot-typing .dot:nth-child(2) { animation-delay: 0.15s; }
.chatbot-typing .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatDot {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1.1); }
}

/* Quick replies */
.chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0;
}
.chatbot-quick-replies button {
  background: #f0f2f7;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #2563EB;
  cursor: pointer;
  transition: all 0.2s;
}
.chatbot-quick-replies button:hover {
  background: #2563EB;
  color: #fff;
  border-color: #2563EB;
}

.chatbot-input-wrap {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.chatbot-input {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
  color: #1e293b;
  background: #fafbff;
}
.chatbot-input:focus { border-color: #2563EB; }
.chatbot-input::placeholder { color: #94a3b8; }
.chatbot-send {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.chatbot-send:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

@media (max-width: 480px) {
  .chatbot-window {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 88px;
    max-height: 70vh;
  }
  .chatbot-fab { bottom: 20px; right: 20px; }
  .sticky-cta-bar.visible ~ .chatbot-fab { bottom: 76px; }
  .sticky-cta-bar.visible ~ .whatsapp-float { bottom: 140px; }
  .sticky-cta-bar.visible ~ .chatbot-window { bottom: 140px; }
}

/* Voice Bot — Mic & TTS Controls */
.chatbot-mic-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #f0f2f7;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.chatbot-mic-btn:hover {
  background: #e2e8f0;
  color: #2563EB;
}
.chatbot-mic-btn.listening {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
  animation: micPulse 1.2s ease infinite;
}
@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

.chatbot-voice-btn {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.chatbot-voice-btn:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.chatbot-voice-btn.active {
  background: rgba(134, 239, 172, 0.3);
  color: #86EFAC;
}
