/* ============================================================================
   CLOZO — Design System v2.0
   Inspired by Linear, Vercel, Stripe, Raycast
   ============================================================================ */

/* --- Reset & Base --- */
*, *::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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: rgba(34, 211, 238, 0.25); color: #fff; }

/* --- CSS Variables --- */
:root {
  --cyan: #22d3ee;
  --cyan-dim: rgba(34, 211, 238, 0.12);
  --cyan-glow: rgba(34, 211, 238, 0.4);
  --purple: #a78bfa;
  --purple-dim: rgba(167, 139, 250, 0.12);
  --purple-glow: rgba(167, 139, 250, 0.4);
  --emerald: #34d399;
  --emerald-dim: rgba(52, 211, 153, 0.12);
  --amber: #fbbf24;
  --rose: #fb7185;
  --blue: #60a5fa;
  --bg: #050510;
  --bg-raised: #0a0a1e;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text-primary: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.55);
  --text-tertiary: rgba(255, 255, 255, 0.35);
  --section-pad: clamp(48px, 6vw, 80px);
  --container: 1200px;
  --gap: clamp(16px, 2vw, 24px);
  --gap-lg: clamp(32px, 4vw, 64px);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.5s;
  --duration-fast: 0.25s;
  --duration-slow: 0.8s;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
  --shadow-glow-cyan: 0 0 40px rgba(34,211,238,0.15);
  --shadow-glow-purple: 0 0 40px rgba(167,139,250,0.15);
  --glass-blur: 20px;
}

/* --- Layout --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { position: relative; padding: var(--section-pad) 0; overflow: hidden; }
/* content-visibility only on non-comparison pages (comparison pages use body:has(.comparison) override) */
@media (min-width: 769px) {
  section { content-visibility: auto; contain-intrinsic-size: auto 600px; }
  /* Disable content-visibility on comparison pages — causes blank section rendering */
  body:has(.comparison) section { content-visibility: visible; contain-intrinsic-size: none; contain: none; }
}
/* Tighter section spacing — reduce excessive gaps between adjacent sections */
section + section { padding-top: calc(var(--section-pad) * 0.5); padding-bottom: calc(var(--section-pad) * 0.7); }
.section-header { text-align: center; margin-bottom: var(--gap-lg); max-width: 900px; margin-left: auto; margin-right: auto; }
.section-header .lead { margin: 20px auto 0; }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 500; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; padding: 6px 14px; border-radius: var(--radius-full); background: var(--cyan-dim); border: 1px solid rgba(34,211,238,0.15); }
.section-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse-dot 2s ease-in-out infinite; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--text-primary); }
h1 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { color: var(--text-secondary); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.8; color: var(--text-secondary); max-width: 800px; }
.gradient-text { background: linear-gradient(135deg, var(--cyan), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-text-warm { background: linear-gradient(135deg, var(--amber), var(--rose)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-text-emerald { background: linear-gradient(135deg, var(--emerald), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* --- Navbar --- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 24px; transition: all 0.4s var(--ease); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--container); margin: 0 auto; height: 72px; }
.navbar.scrolled { background: rgba(5, 5, 16, 0.85); backdrop-filter: blur(20px) saturate(1.4); border-bottom: 1px solid var(--border); }
.navbar .logo { display: flex; align-items: center; gap: 0; font-weight: 700; font-size: 1.25rem; z-index: 10; }
.navbar .logo-icon { width: 32px; height: 32px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--cyan), var(--purple)); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 800; color: #050510; }
.navbar .logo-icon-img { height: 64px; width: auto; object-fit: contain; filter: drop-shadow(0 0 12px rgba(34,211,238,0.3)) drop-shadow(0 0 24px rgba(167,139,250,0.2)); transition: filter 0.3s var(--ease), transform 0.3s var(--ease); }
.navbar .logo-icon-img:hover { filter: drop-shadow(0 0 16px rgba(34,211,238,0.5)) drop-shadow(0 0 32px rgba(167,139,250,0.35)); transform: scale(1.05); }
.navbar-links { display: flex; align-items: center; gap: 4px; }
.navbar-links a { padding: 8px 16px; font-size: 0.9rem; color: var(--text-secondary); border-radius: var(--radius-sm); transition: all var(--duration-fast) var(--ease); }
.navbar-links a:hover, .navbar-links a.active { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.navbar-cta { background: linear-gradient(135deg, var(--cyan), var(--purple)) !important; color: #050510 !important; font-weight: 600 !important; padding: 8px 20px !important; border-radius: var(--radius-full) !important; }
.navbar-cta:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--shadow-glow-cyan); }
/* Dropdown menu */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown > a::after { content: ''; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; opacity: 0.5; transition: transform 0.2s; }
.nav-dropdown:hover > a::after { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 520px; background: rgba(5,5,16,0.95); backdrop-filter: blur(20px) saturate(1.5); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; opacity: 0; visibility: hidden; transition: all 0.3s var(--ease); pointer-events: none; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.nav-dropdown-menu a { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: var(--radius); font-size: 0.88rem; color: var(--text-secondary); transition: all 0.2s; }
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.nav-dropdown-menu a .nav-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.nav-dropdown-menu a .nav-icon.cyan { background: var(--cyan-dim); color: var(--cyan); }
.nav-dropdown-menu a .nav-icon.purple { background: var(--purple-dim); color: var(--purple); }
.nav-dropdown-menu a .nav-icon.emerald { background: var(--emerald-dim); color: var(--emerald); }
.nav-dropdown-menu a .nav-icon.amber { background: rgba(251,191,36,0.12); color: var(--amber); }
.nav-dropdown-menu a .nav-icon.rose { background: rgba(251,113,133,0.12); color: var(--rose); }
.nav-dropdown-menu a .nav-label { font-weight: 500; color: var(--text-primary); font-size: 0.88rem; white-space: nowrap; }
.nav-dropdown-menu a .nav-desc { font-size: 0.78rem; color: var(--text-tertiary); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-dropdown-divider { grid-column: 1 / -1; height: 1px; background: var(--border); margin: 4px 0; }
/* 3x3 grid for industries/compare dropdown */
.nav-dropdown-3x3 { min-width: 740px !important; grid-template-columns: repeat(3, 1fr) !important; }
.nav-dropdown-3x3 a { padding: 10px 12px; }
.nav-dropdown-3x3 .nav-icon { width: 32px; height: 32px; font-size: 0.9rem; }
.nav-dropdown-3x3 .nav-label { font-size: 0.82rem; }
.nav-dropdown-3x3 .nav-desc { font-size: 0.72rem; }
/* Single column for resources */
.nav-dropdown-single { min-width: 340px !important; grid-template-columns: 1fr !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; z-index: 10; width: 24px; }
.nav-toggle span { display: block; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s var(--ease); transform-origin: center; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; font-size: 0.95rem; font-weight: 600; border-radius: var(--radius-full); transition: all var(--duration-fast) var(--ease); position: relative; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, var(--cyan), #06b6d4); color: #050510; box-shadow: 0 0 20px rgba(34,211,238,0.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(34,211,238,0.35); }
.btn-secondary { background: rgba(255,255,255,0.06); color: var(--text-primary); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--border-hover); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-group { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* --- Cards --- */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); transition: all var(--duration) var(--ease); position: relative; overflow: hidden; }
.card:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow); }
.card::before { display: none; }

/* Spotlight cards - disabled, was causing rendering bugs in some browsers */

/* Feature card */
.feature-card { padding: clamp(28px, 3vw, 40px); overflow: visible; }
.feature-card .icon-wrap { width: 64px; height: 64px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; font-size: 1.5rem; }
.feature-card .icon-wrap.cyan { background: var(--cyan-dim); color: var(--cyan); }
.feature-card .icon-wrap.purple { background: var(--purple-dim); color: var(--purple); }
.feature-card .icon-wrap.emerald { background: var(--emerald-dim); color: var(--emerald); }
.feature-card .icon-wrap.amber { background: rgba(251,191,36,0.12); color: var(--amber); }
.feature-card .icon-wrap.rose { background: rgba(251,113,133,0.12); color: var(--rose); }
.feature-card .icon-wrap.blue { background: rgba(96,165,250,0.12); color: var(--blue); }
.feature-card h3 { margin-bottom: 14px; }
.feature-card p { font-size: 0.92rem; line-height: 1.75; color: var(--text-secondary); }
.feature-card .card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 500; color: var(--cyan); margin-top: 16px; transition: gap 0.3s var(--ease); }
.feature-card .card-link:hover { gap: 10px; }

/* --- Grids --- */
.grid { display: grid; gap: var(--gap); align-items: stretch; }
.grid > .card { height: 100%; display: flex; flex-direction: column; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.bento { display: grid; gap: var(--gap); grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(200px, auto); }
.bento .span-2 { grid-column: span 2; }
.bento .span-row-2 { grid-row: span 2; }

/* --- Step flow arrows between cards --- */
.step-flow { position: relative; }
.step-flow > .card + .card::before {
  content: '\2192';
  position: absolute;
  left: calc(-1 * var(--gap) / 2);
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: var(--cyan);
  opacity: 0.6;
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 768px) {
  .step-flow > .card + .card::before {
    content: '\2193';
    left: 50%;
    top: calc(-1 * var(--gap) / 2);
    transform: translate(-50%, -50%);
  }
}

/* --- Hero --- */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; padding-top: 110px; padding-bottom: 60px; overflow: hidden; }
.hero.hero-pricing { min-height: auto; padding-bottom: 24px; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 1100px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; font-size: 0.8rem; font-weight: 500; border-radius: var(--radius-full); border: 1px solid rgba(34,211,238,0.2); background: rgba(34,211,238,0.06); color: var(--cyan); margin-bottom: 32px; animation: fadeIn 0.6s var(--ease) both; }
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse-dot 2s ease-in-out infinite; }
.hero h1 { margin-bottom: 24px; animation: fadeIn 0.6s var(--ease) 0.1s both; line-height: 1.2; }
.hero-home h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.hero .lead { margin: 0 auto 40px; animation: fadeIn 0.6s var(--ease) 0.2s both; color: rgba(255,255,255,0.7); }
.hero .btn-group { justify-content: center; animation: fadeIn 0.6s var(--ease) 0.3s both; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-bg .gradient-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.25; animation: float-slow 20s ease-in-out infinite; }
.hero-bg .orb-1 { width: 600px; height: 600px; background: var(--cyan); top: -20%; right: -10%; }
.hero-bg .orb-2 { width: 500px; height: 500px; background: var(--purple); bottom: -20%; left: -10%; animation-delay: -7s; }
.hero-bg .orb-3 { width: 300px; height: 300px; background: var(--emerald); top: 30%; left: 50%; animation-delay: -14s; opacity: 0.12; }
.hero-bg .grid-pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%); }
.hero-bg .noise { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E"); opacity: 0.4; }

/* --- Stats Bar --- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stat-item { background: var(--bg-raised); padding: clamp(24px, 3vw, 40px) 20px; text-align: center; }
.stat-value { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 4px; }
.stat-value.cyan { color: var(--cyan); }
.stat-value.purple { color: var(--purple); }
.stat-value.emerald { color: var(--emerald); }
.stat-value.amber { color: var(--amber); }
.stat-label { font-size: 0.85rem; color: var(--text-tertiary); }

/* --- Logo Bar --- */
.logo-bar { display: flex; align-items: center; justify-content: center; gap: clamp(40px, 6vw, 72px); flex-wrap: wrap; padding: 32px 0; opacity: 0.45; transition: all 0.5s; }
.logo-bar:hover { opacity: 0.7; }
.logo-bar span { font-size: 1.15rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text-secondary); }
.logo-bar-label { font-size: 0.8rem; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.1em; text-align: center; margin-bottom: 16px; }

/* --- Pricing --- */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 16px; }
.pricing-toggle span { font-size: 0.9rem; color: var(--text-secondary); transition: color 0.3s; }
.pricing-toggle span.active { color: var(--text-primary); }
.pricing-toggle .toggle { width: 52px; height: 28px; border-radius: var(--radius-full); background: rgba(255,255,255,0.1); border: 1px solid var(--border); padding: 3px; cursor: pointer; transition: background 0.3s; }
.pricing-toggle .toggle.annual { background: var(--cyan-dim); border-color: rgba(34,211,238,0.3); }
.pricing-toggle .toggle .knob { width: 22px; height: 22px; border-radius: 50%; background: white; transition: transform 0.3s var(--ease); }
.pricing-toggle .toggle.annual .knob { transform: translateX(24px); }
.pricing-save { font-size: 0.75rem; padding: 3px 10px; border-radius: var(--radius-full); background: var(--emerald-dim); color: var(--emerald); font-weight: 600; }
.pricing-card { padding: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; }
.pricing-card.featured { border-color: rgba(34,211,238,0.3); background: rgba(34,211,238,0.04); box-shadow: var(--shadow-glow-cyan); position: relative; }
.pricing-card.featured::after { content: 'Most Popular'; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); padding: 6px 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: linear-gradient(135deg, var(--cyan), var(--purple)); color: #050510; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.pricing-card .price { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 700; color: var(--text-primary); letter-spacing: -0.03em; }
.pricing-card .price-period { font-size: 0.9rem; color: var(--text-tertiary); font-weight: 400; }
.pricing-card .plan-name { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.pricing-card .plan-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 24px; }
.pricing-card .features-list { list-style: none; flex: 1; margin-bottom: 32px; }
.pricing-card .features-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 0.9rem; color: var(--text-secondary); border-bottom: 1px solid rgba(255,255,255,0.04); }
.pricing-card .features-list li:last-child { border-bottom: none; }
.pricing-card .features-list .check { width: 18px; height: 18px; flex-shrink: 0; color: var(--emerald); margin-top: 2px; }

/* Tier page value-stack icons */
.value-item .check-icon { color: var(--emerald); flex-shrink: 0; margin-top: 2px; width: 20px; height: 20px; }
.value-item .upgrade-icon { color: var(--text-tertiary); flex-shrink: 0; margin-top: 2px; width: 20px; height: 20px; }

/* Pricing grid — wider container for 4 cards */
/* Pricing grid — zoomed cards must render OVER adjacent sections.
   content-visibility: auto creates implicit paint containment that clips zoomed cards.
   Must disable it on the pricing section AND both adjacent sections. */
.pricing-grid-wrap-section {
  padding-top: 40px; padding-bottom: 40px;
  overflow: visible !important;
  position: relative; z-index: 100;
  content-visibility: visible !important;
  contain: none !important;
}
.hero-pricing {
  overflow: visible !important;
  position: relative; z-index: 1;
  content-visibility: visible !important;
  contain: none !important;
}
.pricing-grid-wrap-section + section {
  overflow: visible !important;
  position: relative; z-index: 1;
  content-visibility: visible !important;
  contain: none !important;
}
.pricing-grid-wrap { overflow: visible !important; }
.pricing-grid-wrap .grid-4 { overflow: visible !important; }
.pricing-card { overflow: visible !important; }
.pricing-card:hover { z-index: 200 !important; position: relative; }
.pricing-grid-wrap { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.pricing-grid-wrap .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.pricing-card { padding: clamp(28px, 3vw, 40px); min-width: 0; display: flex; flex-direction: column; height: 100%; }
.pricing-card .features-list { flex: 1; }
.pricing-card .features-list li { font-size: 0.9rem; padding: 7px 0; }
.pricing-card .plan-desc { font-size: 0.85rem; }
.pricing-card > .btn,
.pricing-card > .btn-coaching-pro { margin-top: auto; }
.pricing-card > .coaching-pro-sub { margin-top: 10px; }

/* Coaching Pro premium tier */
.pricing-card.coaching-pro { border-color: rgba(251,191,36,0.35); background: linear-gradient(180deg, rgba(251,191,36,0.06) 0%, transparent 60%); box-shadow: 0 0 40px rgba(251,191,36,0.08); position: relative; }
.pricing-card.coaching-pro::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #f59e0b, #fde68a, #f59e0b); border-radius: var(--radius) var(--radius) 0 0; }
.pricing-card.coaching-pro::after { content: 'Premium'; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); padding: 6px 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: linear-gradient(135deg, #f59e0b, #fde68a); color: #050510; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.pricing-card.coaching-pro .features-list .check { color: #fbbf24; }
.btn-coaching-pro { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 20px; font-size: 0.88rem; font-weight: 600; color: #050510; background: linear-gradient(135deg, #f59e0b, #fde68a); border: none; border-radius: var(--radius); cursor: pointer; transition: all 0.3s; text-decoration: none; width: 100%; text-align: center; white-space: nowrap; }
.btn-coaching-pro:hover { background: linear-gradient(135deg, #d97706, #fbbf24); box-shadow: 0 0 20px rgba(251,191,36,0.3); transform: translateY(-1px); }

/* --- FAQ --- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 1rem; font-weight: 500; color: var(--text-primary); cursor: pointer; width: 100%; text-align: left; transition: color 0.3s; }
.faq-question:hover { color: var(--cyan); }
.faq-question .icon { width: 20px; height: 20px; color: var(--text-tertiary); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-answer-inner { padding: 0 0 24px; font-size: 0.92rem; color: var(--text-secondary); line-height: 1.8; }

/* --- Testimonials --- */
.testimonial-card { padding: clamp(28px, 3vw, 40px); }
.testimonial-card .quote { font-size: 1rem; line-height: 1.85; color: var(--text-secondary); margin-bottom: 28px; font-style: italic; padding-left: 24px; border-left: 3px solid var(--cyan); }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--purple)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: #050510; }
.testimonial-card .author-info .name { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.testimonial-card .author-info .role { font-size: 0.8rem; color: var(--text-tertiary); }
.stars { display: flex; gap: 2px; margin-bottom: 16px; }
.stars svg { width: 16px; height: 16px; fill: var(--amber); }

/* --- Steps --- */
.steps { counter-reset: step; }
.step-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 36px 0; position: relative; }
.step-item + .step-item { border-top: 1px solid var(--border); }
.step-number { counter-increment: step; width: 56px; height: 56px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 700; background: var(--cyan-dim); color: var(--cyan); border: 1px solid rgba(34,211,238,0.15); }
.step-number::before { content: counter(step); }
.step-item:nth-child(2n) .step-number { background: var(--purple-dim); color: var(--purple); border-color: rgba(167,139,250,0.15); }
.step-item:nth-child(3n) .step-number { background: var(--emerald-dim); color: var(--emerald); border-color: rgba(52,211,153,0.15); }
.step-content h3 { margin-bottom: 12px; }
.step-content p { font-size: 0.92rem; line-height: 1.8; color: var(--text-secondary); }

/* --- Timeline --- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--cyan), var(--purple), var(--emerald)); border-radius: 2px; }
.timeline-item { position: relative; padding: 0 0 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); border: 2px solid var(--bg); box-shadow: 0 0 10px var(--cyan-glow); }
.timeline-item:nth-child(2)::before { background: var(--purple); box-shadow: 0 0 10px var(--purple-glow); }
.timeline-item:nth-child(3)::before { background: var(--emerald); box-shadow: 0 0 10px rgba(52,211,153,0.4); }
.timeline-item .date { font-size: 0.8rem; color: var(--cyan); font-weight: 600; margin-bottom: 4px; }
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* --- Comparison Table — Premium visual design --- */
.comparison {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 32px rgba(0,0,0,0.3), 0 0 1px rgba(255,255,255,0.1);
}
.comparison-header, .comparison-row { display: grid; grid-template-columns: 2fr 1fr 1fr; }

/* Header — strong visual anchor */
.comparison-header > div {
  background: rgba(10,10,30,0.9);
  padding: 18px 24px;
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 2px solid rgba(255,255,255,0.08);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: sticky;
  top: 72px;
  z-index: 5;
}
/* Clozo column header — glowing cyan */
.comparison-header > div:nth-child(2) {
  background: rgba(34,211,238,0.12);
  color: var(--cyan);
  border-left: 2px solid rgba(34,211,238,0.25);
  border-right: 2px solid rgba(34,211,238,0.25);
  text-shadow: 0 0 20px rgba(34,211,238,0.3);
}
/* Competitor column header */
.comparison-header > div:nth-child(3) {
  border-left: 1px solid var(--border);
  color: var(--text-tertiary);
}

/* Rows — alternating backgrounds */
.comparison-row > div {
  background: var(--bg);
  padding: 14px 24px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background 0.2s;
}
/* Alternating row stripe */
.comparison-row:nth-child(even) > div { background: rgba(255,255,255,0.015); }
.comparison-row:nth-child(even) > div:nth-child(2) { background: rgba(34,211,238,0.04); }

.comparison-row:hover > div { background: rgba(255,255,255,0.035); }
.comparison-row > div:first-child { font-weight: 600; color: var(--text-primary); font-size: 0.85rem; }

/* Clozo column — always glowing */
.comparison-row > div:nth-child(2) {
  background: rgba(34,211,238,0.03);
  border-left: 2px solid rgba(34,211,238,0.15);
  border-right: 2px solid rgba(34,211,238,0.15);
  color: var(--text-primary);
  font-size: 0.85rem;
}
.comparison-row:hover > div:nth-child(2) { background: rgba(34,211,238,0.07); }

/* Competitor column — muted */
.comparison-row > div:nth-child(3) {
  border-left: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

/* Check/X/Partial icons — larger, more visible */
.cmp-yes { color: var(--emerald); font-weight: 600; }
.cmp-yes::before {
  content: '✓';
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(52,211,153,0.15);
  border: 1px solid rgba(52,211,153,0.25);
  font-size: 0.7rem;
  margin-right: 8px;
  flex-shrink: 0;
}
.cmp-no { color: rgba(239,68,68,0.7); font-weight: 500; }
.cmp-no::before {
  content: '✕';
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.15);
  font-size: 0.65rem;
  margin-right: 8px;
  flex-shrink: 0;
}
.cmp-partial { color: var(--amber); font-weight: 500; }
.cmp-partial::before {
  content: '~';
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.2);
  font-size: 0.8rem; font-weight: 700;
  margin-right: 8px;
  flex-shrink: 0;
}

/* Recommended badge */
.cmp-badge {
  display: inline-block;
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #050510;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 0 12px rgba(34,211,238,0.3);
}

/* --- Section divider gradient line (use between sections on vs pages) --- */
.vs-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.3), rgba(167,139,250,0.3), transparent);
  margin: 0 auto;
  max-width: 600px;
}

/* --- Mockup Frame --- */
.mockup-frame { background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.mockup-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border); }
.mockup-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-bar .dot.red { background: #ff5f57; }
.mockup-bar .dot.yellow { background: #ffbd2e; }
.mockup-bar .dot.green { background: #28c840; }
.mockup-body { padding: clamp(20px, 3vw, 40px); }

/* --- Tags --- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; font-size: 0.75rem; font-weight: 600; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.05em; }
.tag-cyan { background: var(--cyan-dim); color: var(--cyan); }
.tag-purple { background: var(--purple-dim); color: var(--purple); }
.tag-emerald { background: var(--emerald-dim); color: var(--emerald); }

/* --- Footer --- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; margin-bottom: 48px; }
.footer-brand .logo { display: flex; align-items: center; gap: 0; font-weight: 700; font-size: 1.15rem; margin-bottom: 16px; }
.footer-brand .logo-icon { width: 28px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, var(--cyan), var(--purple)); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; color: #050510; }
.footer-brand .logo-icon-img { height: 60px; width: auto; object-fit: contain; filter: drop-shadow(0 0 10px rgba(34,211,238,0.25)) drop-shadow(0 0 20px rgba(167,139,250,0.15)); }
/* Hero icon showcase */
.hero-icon-showcase { display: flex; justify-content: center; margin-bottom: 40px; }
.hero-icon-showcase img { height: clamp(160px, 22vw, 280px); width: auto; object-fit: contain; filter: drop-shadow(0 0 40px rgba(34,211,238,0.45)) drop-shadow(0 0 80px rgba(167,139,250,0.35)); animation: icon-float 4s ease-in-out infinite; }
@keyframes icon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* CTA icon */
.cta-icon { display: flex; justify-content: center; margin-bottom: 32px; }
.cta-icon img { height: clamp(100px, 14vw, 160px); width: auto; object-fit: contain; filter: drop-shadow(0 0 24px rgba(34,211,238,0.4)) drop-shadow(0 0 50px rgba(167,139,250,0.3)); animation: icon-pulse 3s ease-in-out infinite; }
@keyframes icon-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.04); } }
.footer-brand p { font-size: 0.88rem; color: var(--text-tertiary); line-height: 1.65; max-width: 340px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--text-secondary); padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-col a:visited { color: var(--text-secondary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-tertiary); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-tertiary); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--text-secondary); }

/* --- CTA Section --- */
.cta-section { text-align: center; position: relative; }
.cta-section .cta-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(34,211,238,0.08) 0%, transparent 60%); pointer-events: none; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section .lead { margin: 0 auto 32px; }
.cta-section .btn-group { justify-content: center; }

/* --- Scroll Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(7) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(8) { transition-delay: 0.56s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(9) { transition-delay: 0.64s; opacity: 1; transform: translateY(0); }

/* --- Keyframes --- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.8); } }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 20px rgba(34,211,238,0.2); } 50% { box-shadow: 0 0 40px rgba(34,211,238,0.4); } }
@keyframes float-slow { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -30px) scale(1.05); } 66% { transform: translate(-20px, 20px) scale(0.95); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Gradient Border Utility --- */
.gradient-border { position: relative; }
.gradient-border::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid; border-image: linear-gradient(135deg, var(--cyan), var(--purple), var(--emerald), var(--cyan)) 1; opacity: 0.3; animation: gradient-shift 4s ease infinite; pointer-events: none; }

/* --- Utilities --- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Responsive --- */
@media (max-width: 1200px) {
  .pricing-grid-wrap .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .span-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
/* Legacy mobile block — consolidated into main mobile section below */

/* --- Feature Demo Video --- */
.demo-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--bg-raised); }
.demo-frame .demo-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border); }
.demo-frame .demo-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.demo-frame .demo-bar .dot:nth-child(1) { background: #ff5f57; }
.demo-frame .demo-bar .dot:nth-child(2) { background: #ffbd2e; }
.demo-frame .demo-bar .dot:nth-child(3) { background: #28c840; }
.demo-frame .demo-bar .url { margin-left: 12px; font-size: 0.75rem; color: var(--text-tertiary); font-family: monospace; }
.demo-frame img, .demo-frame video { width: 100%; display: block; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.demo-frame video[poster] { background: var(--bg-raised) center / cover no-repeat; object-fit: cover; min-height: 300px; }
.demo-frame .demo-overlay { position: absolute; inset: 0; top: 36px; display: flex; align-items: center; justify-content: center; background: rgba(5,5,16,0.5); opacity: 0; transition: opacity 0.3s; cursor: pointer; }
.demo-frame:hover .demo-overlay { opacity: 1; }
.demo-frame .play-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(34,211,238,0.2); border: 2px solid var(--cyan); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
.demo-caption { font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); text-align: center; padding: 12px 16px; border-top: 1px solid var(--border); }

/* Feature split section */
/* Feature split section */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: center; }
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-split .feature-text h2 { margin-bottom: 20px; }
.feature-split .feature-text .lead { margin-bottom: 28px; line-height: 1.8; }
.feature-split .feature-text ul { list-style: none; margin-bottom: 28px; }
.feature-split .feature-text ul li { position: relative; padding: 14px 16px 14px 54px; font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; border-radius: var(--radius); margin-bottom: 6px; transition: background 0.2s; border: 1px solid transparent; }
.feature-split .feature-text ul li:hover { background: rgba(255,255,255,0.03); border-color: var(--border); }
.feature-split .feature-text ul li::before { content: '✓'; width: 24px; height: 24px; position: absolute; left: 16px; top: 15px; background: var(--cyan-dim); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(34,211,238,0.2); color: var(--cyan); font-size: 0.7rem; font-weight: 700; }
.feature-split .feature-text ul li strong { color: var(--text-primary); font-weight: 600; }

/* Global content spacing improvements */
section p { line-height: 1.8; }
section p + p { margin-top: 16px; }
section h3 { margin-bottom: 16px; }
section h3 + p { margin-bottom: 20px; }
section p + ul,
section p + ol { margin-top: 16px; }
section ul + .btn-group,
section ol + .btn-group,
section p + .btn-group { margin-top: 28px; }

/* List item spacing — applies everywhere */
section ul li { margin-bottom: 14px; line-height: 1.8; color: var(--text-secondary); }
section ul li:last-child { margin-bottom: 0; }
section ul li strong { color: var(--text-primary); font-weight: 600; }
section ol li { margin-bottom: 14px; line-height: 1.8; color: var(--text-secondary); }
section ol li:last-child { margin-bottom: 0; }

/* Card content spacing */
.card p { line-height: 1.75; margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 14px; }
.card h4 { margin-bottom: 10px; }
.card ul { margin-top: 16px; }
.card ul li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; display: flex; align-items: flex-start; gap: 10px; }
.card ul li:last-child { border-bottom: none; }
.card ul li::before { content: '→'; color: var(--cyan); font-weight: 600; flex-shrink: 0; margin-top: 1px; }
#comparison .card ul li::before { display: none; }
.pricing-card ul li::before { display: none; }

/* Button breathing room */
.btn-group { margin-top: 24px; }
.btn { padding: 14px 30px; font-size: 0.95rem; font-weight: 600; }
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }

/* Glass card content lists */
.glass-card ul, .spotlight-card ul { list-style: none; }

/* Solution cards with better spacing */
.card .tag { margin-bottom: 16px; }
.card .tag + h3 { margin-top: 0; }

/* Feature card description lists (bold — description pattern) */
.feature-text dl { margin: 24px 0; }
.feature-text dl dt { font-weight: 600; color: var(--text-primary); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.feature-text dl dd { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.75; margin-bottom: 22px; padding-left: 32px; }

/* Better paragraph spacing in feature sections */
.feature-text p { margin-bottom: 22px; line-height: 1.8; }
.feature-text h3 { margin-bottom: 16px; }
.feature-text ul { margin-bottom: 24px; }

/* Breadcrumb nav for feature pages */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-tertiary); margin-bottom: 8px; }
.breadcrumb a { color: var(--text-tertiary); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { opacity: 0.4; }

/* Feature page hero (shorter) */
.hero-feature { min-height: auto; padding-top: 140px; padding-bottom: 40px; }
.hero-feature .hero-content { max-width: 1100px; }

/* Inline video autoplay */
.inline-video { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); margin-top: 20px; }
.inline-video img { width: 100%; display: block; }

@media (max-width: 768px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.reverse { direction: ltr; }
  .demo-frame .demo-bar .url { display: none; }
}

/* --- Animated SVG icons --- */
.icon-wrap object.lordicon,
.icon-wrap img.lordicon {
  width: 40px;
  height: 40px;
  pointer-events: none;
}
.icon-wrap:has(object.lordicon),
.icon-wrap:has(img.lordicon) {
  font-size: 0;
}
.nav-icon object.lordicon,
.nav-icon img.lordicon {
  width: 22px !important;
  height: 22px !important;
  pointer-events: none;
}
.nav-icon:has(object.lordicon),
.nav-icon:has(img.lordicon) {
  font-size: 0;
}

/* --- Video Poster Fallback --- */
video[poster] { background-color: var(--bg-raised); }
video:not([data-playing]) { object-fit: cover; }

/* --- Hormozi Value Stack --- */
.plan-value {
  text-align: center;
  margin-bottom: 0.5rem;
}
.value-strikethrough {
  color: rgba(255,255,255,0.3);
  text-decoration: line-through;
  font-size: 0.85rem;
}
.plan-daily {
  text-align: center;
  color: #34d399;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
.features-list .bonus-leads {
  color: var(--emerald);
  font-weight: 600;
}
.pricing-card.coaching-pro .features-list .bonus-leads {
  color: #fbbf24;
}

/* ============================================================================
   RUNWAY VIDEO SYSTEM — 3D Animations with Transparent Black Backgrounds
   mix-blend-mode: screen makes black pixels transparent.
   Text readability via text-shadow; edge-only gradients keep center visible.
   ============================================================================ */

/* --- Video Background Layer (full section bg) --- */
.video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.video-bg video.loaded {
  opacity: 0.2;
}
/* Edge fade to page background */
.video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--bg) 78%);
  pointer-events: none;
  z-index: 1;
}

/* --- ALL text containers above videos get z-index --- */
.hero-content,
.section-header,
.cta-section .container,
.stats-bar,
.step-content {
  position: relative;
  z-index: 2;
}

/* --- Text over ANY video gets a dark halo for readability --- */
section:has(.video-bg) h1,
section:has(.video-bg) h2,
section:has(.video-bg) h3,
section:has(.video-bg) .lead,
section:has(.video-bg) .section-label,
section:has(.video-bg) .hero-badge,
section:has(.tier-hero-video) h1,
section:has(.tier-hero-video) .lead,
section:has(.tier-hero-video) .hero-badge {
  text-shadow: 0 2px 24px rgba(5,5,16,0.95), 0 0 48px rgba(5,5,16,0.8), 0 0 8px rgba(5,5,16,1);
  position: relative;
  z-index: 2;
}
section:has(.video-bg) p,
section:has(.tier-hero-video) p {
  text-shadow: 0 1px 16px rgba(5,5,16,0.9), 0 0 32px rgba(5,5,16,0.7);
}

/* --- Video Accent (inline, standalone) --- */
.video-accent {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-accent video {
  mix-blend-mode: screen;
  width: 100%;
  max-width: 400px;
  height: auto;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.video-accent video.loaded {
  opacity: 0.9;
}

/* --- Video Card Accent (behind card content) --- */
.card-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}
.card-video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 110%;
  min-height: 110%;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.card-video-bg video.loaded {
  opacity: 0.15;
}
.card:hover .card-video-bg video.loaded {
  opacity: 0.25;
}
.card.has-video > *:not(.card-video-bg) {
  position: relative;
  z-index: 1;
}

/* --- Hero Video Background --- */
.hero .video-bg video.loaded {
  opacity: 0.25;
}
.hero .video-bg::after {
  background: radial-gradient(ellipse at center, rgba(5,5,16,0.4) 0%, transparent 50%, var(--bg) 80%);
}

/* --- Feature / Industry hero — very subtle ambient glow only --- */
.hero-feature .video-bg video.loaded {
  opacity: 0.15;
}
.hero-feature .video-bg::after {
  background: linear-gradient(to bottom, rgba(5,5,16,0.5) 0%, rgba(5,5,16,0.25) 50%, transparent 80%, var(--bg) 100%);
}

/* --- Stats Section Video BG --- */
.stats-video-wrap {
  position: relative;
}
.stats-video-wrap .video-bg video.loaded {
  opacity: 0.15;
}
.stats-video-wrap .video-bg::after {
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%);
}

/* --- CTA Section Video BG --- */
.cta-section .video-bg video.loaded {
  opacity: 0.2;
}
.cta-section .video-bg::after {
  background: radial-gradient(ellipse at center, rgba(5,5,16,0.35) 0%, transparent 45%, var(--bg) 75%);
}

/* --- Industry Hero Video (standalone 3D object — no text overlap) --- */
.industry-hero-video {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 16/9;
}
.industry-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.industry-hero-video video.loaded {
  opacity: 1;
}

/* --- Tier Hero Video (behind hero text — blurred ambient glow) --- */
.tier-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.tier-hero-video video {
  width: 55%;
  max-width: 560px;
  height: auto;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.tier-hero-video video.loaded {
  opacity: 0.18;
}

/* --- Tier Accent Video (standalone, no text overlap) --- */
.tier-accent-video {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 24px auto;
}
.tier-accent-video video {
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.tier-accent-video video.loaded {
  opacity: 1;
}

/* --- Footer Particles (standalone, no text overlap) --- */
.footer-particles {
  position: relative;
  height: 120px;
  overflow: hidden;
  pointer-events: none;
}
.footer-particles video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  min-width: 100%;
  height: auto;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 1s ease;
}
.footer-particles video.loaded {
  opacity: 0.7;
}

/* --- Problem Card — video as decorative corner glow --- */
.problem-video-card {
  position: relative;
  overflow: hidden;
}
.problem-video-card > *:not(.problem-video) {
  position: relative;
  z-index: 2;
}
.problem-video-card .problem-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.problem-video-card .problem-video video {
  width: 80%;
  height: auto;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.8s ease;
  filter: contrast(1.6);
}
.problem-video-card .problem-video video.loaded {
  opacity: 0.55;
}
.problem-video-card:hover .problem-video video.loaded {
  opacity: 0.7;
}
.problem-video-card h3,
.problem-video-card p {
  text-shadow: 0 1px 12px rgba(5,5,16,0.8);
}

/* --- Solution Card — video is inline BELOW text, not behind --- */
.solution-video-card {
  position: relative;
  overflow: hidden;
}
.solution-video-card > *:not(.solution-video) {
  position: relative;
  z-index: 2;
}
.solution-video-card .solution-video {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.solution-video-card .solution-video video {
  width: 100%;
  max-width: 100%;
  height: auto;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.8s ease;
  border-radius: var(--radius);
}
.solution-video-card .solution-video video.loaded {
  opacity: 1;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .video-bg video,
  .video-accent video,
  .card-video-bg video,
  .industry-hero-video video,
  .tier-hero-video video,
  .tier-accent-video video,
  .footer-particles video,
  .problem-video-card .problem-video video,
  .solution-video-card .solution-video video {
    display: none !important;
  }
}

/* --- Mobile Video --- */
@media (max-width: 768px) {
  .video-bg video.loaded { opacity: 0.1 !important; }
  .tier-hero-video video { width: 70%; }
  .industry-hero-video { max-width: 320px; }
  .footer-particles { height: 80px; }
  .problem-video-card .problem-video { display: none; }
  /* Reduce excessive vertical whitespace between sections on mobile */
  section { padding-top: calc(var(--section-pad) * 0.5); padding-bottom: calc(var(--section-pad) * 0.5); }
  section + section { margin-top: 0; }
  .demo-frame { margin-bottom: 16px; }
  .demo-frame + .demo-frame { margin-top: 0; }
  /* Demo carousel / screenshots — compact on mobile */
  .demo-carousel, .bento { gap: 16px; }
}

/* ============================================================================
   MOBILE OPTIMIZATION — Comprehensive responsive styles
   ============================================================================ */

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
  .nav-dropdown-menu { min-width: 400px; }
  .nav-dropdown-3x3 { min-width: 540px !important; grid-template-columns: repeat(2, 1fr) !important; }
  .hero { padding-top: 100px; }
  .feature-split { gap: 32px; }
  .comparison-header > div,
  .comparison-row > div { padding: 12px 16px; font-size: 0.82rem; }
}

/* --- Mobile (≤768px) — Major layout changes --- */
@media (max-width: 768px) {
  /* Typography scaling */
  h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  h3 { font-size: clamp(1.1rem, 4vw, 1.35rem); }
  .lead { font-size: clamp(0.95rem, 3.5vw, 1.1rem); line-height: 1.7; }

  /* Navbar mobile — fullscreen overlay */
  .navbar { padding: 0 16px; }
  .navbar-inner { height: 60px; }
  .nav-toggle { display: flex; position: relative; z-index: 100002; }
  .navbar-links {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100vw !important; height: 100vh !important;
    background: #050510 !important;
    backdrop-filter: none !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 80px 24px 32px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
    z-index: 100001 !important;
  }
  .navbar-links.active, .navbar-links.open { transform: translateX(0) !important; }
  .navbar-links > a { font-size: 1.15rem; padding: 16px 16px; border-radius: var(--radius); font-weight: 500; color: var(--text-primary); border-bottom: 1px solid rgba(255,255,255,0.06); }
  .navbar-links > a:active { background: rgba(34,211,238,0.1); }
  .navbar-links .navbar-cta { margin-top: 20px; text-align: center; border-radius: var(--radius-full); font-weight: 700; }

  /* Dropdown menus on mobile — stacked inline */
  .nav-dropdown { position: relative; }
  .nav-dropdown > a { display: flex; justify-content: space-between; align-items: center; }
  .nav-dropdown > a::after { content: '+'; font-size: 1.2rem; color: var(--cyan); font-weight: 300; }
  .nav-dropdown.open > a::after { content: '-'; }
  .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    left: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    background: rgba(34,211,238,0.04);
    border: 1px solid rgba(34,211,238,0.1);
    border-radius: var(--radius);
    padding: 0;
    margin: 4px 0 12px;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s var(--ease);
    pointer-events: auto;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 800px;
    padding: 8px;
  }
  .nav-dropdown-3x3 { grid-template-columns: 1fr !important; display: flex !important; flex-direction: column !important; }
  .nav-dropdown-menu a {
    padding: 12px 14px !important; font-size: 0.95rem !important; border-radius: 8px;
    display: flex !important; align-items: center; gap: 10px;
    width: 100% !important; overflow: hidden;
  }
  .nav-dropdown-menu a .nav-icon { width: 28px; height: 28px; min-width: 28px; flex-shrink: 0; }
  .nav-dropdown-menu a .nav-label { font-size: 0.92rem; font-weight: 500; white-space: nowrap; }
  .nav-dropdown-menu a .nav-desc { display: none !important; }
  .nav-dropdown-menu a:active { background: rgba(34,211,238,0.1); }
  .nav-dropdown-3x3 { grid-template-columns: 1fr !important; }
  .nav-dropdown-menu a { padding: 10px 12px; }
  .nav-dropdown-menu a .nav-desc { display: none; }

  /* Hero sections */
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 48px; }
  .hero-home h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero .lead { margin-bottom: 28px; }
  .hero .btn-group { gap: 12px; }
  .hero-feature { padding-top: 100px; padding-bottom: 32px; }

  /* Grids — single column */
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .pricing-grid-wrap .grid-4 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .bento .span-2 { grid-column: span 1; }

  /* Stats bar — 2 col on mobile, compact padding */
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 16px 12px; }
  .stat-value { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .stat-label { font-size: 0.75rem; }

  /* Feature split — stack */
  .feature-split { grid-template-columns: 1fr; gap: 24px; }
  .feature-split.reverse { direction: ltr; }
  .feature-split .feature-text ul li { padding: 12px 12px 12px 48px; font-size: 0.88rem; }
  .feature-split .feature-text ul li::before { left: 12px; }

  /* Demo frame */
  .demo-frame .demo-bar .url { display: none; }
  .demo-frame video[poster] { min-height: 200px; }

  /* Cards */
  .card { padding: clamp(20px, 4vw, 28px); }
  .feature-card { padding: clamp(20px, 4vw, 28px); }
  .feature-card .icon-wrap { width: 52px; height: 52px; margin-bottom: 16px; }

  /* Pricing cards */
  .pricing-card { padding: clamp(24px, 4vw, 36px); }
  .pricing-card.featured { order: -1; }
  .pricing-card .price { font-size: clamp(2.2rem, 8vw, 3rem); }

  /* Comparison table — scrollable on mobile */
  .comparison { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-header, .comparison-row { grid-template-columns: 1.5fr 1fr 1fr; font-size: 0.78rem; min-width: 480px; }
  .comparison-header > div,
  .comparison-row > div { padding: 10px 12px; }

  /* Steps */
  .step-item { grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; }
  .step-number { width: 48px; height: 48px; font-size: 1.1rem; }

  /* Testimonials */
  .testimonial-card .quote { font-size: 0.92rem; padding-left: 16px; }

  /* FAQ */
  .faq-question { font-size: 0.92rem; padding: 16px 0; }
  .faq-answer-inner { font-size: 0.88rem; }

  /* Footer */
  .footer { padding: 40px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  /* CTA */
  .cta-section h2 { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* Logo bar */
  .logo-bar { gap: 24px; }
  .logo-bar span { font-size: 0.95rem; }

  /* Inline video */
  .inline-video { margin-top: 16px; }

  /* Timeline */
  .timeline { padding-left: 24px; }

  /* Video accent */
  .video-accent video { max-width: 280px; }

  /* Tier pages */
  .tier-accent-video { max-width: 240px; }

  /* Industry hero video */
  .industry-hero-video { max-width: 280px; }

  /* Buttons */
  .btn { padding: 11px 24px; font-size: 0.9rem; }
  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
  .btn-group { flex-direction: column; width: 100%; align-items: stretch; }
  .btn-group .btn { width: 100%; text-align: center; justify-content: center; }

  /* Section spacing — tighter on mobile */
  section + section { padding-top: calc(var(--section-pad) * 0.4); }

  /* Breadcrumb */
  .breadcrumb { font-size: 0.78rem; flex-wrap: wrap; }

  /* Mockup frame */
  .mockup-body { padding: 16px; }

  /* Scroll reveal — reduce movement on mobile for performance */
  .reveal { transform: translateY(16px); }
  .reveal-left { transform: translateX(-16px); }
  .reveal-right { transform: translateX(16px); }
  .reveal-scale { transform: scale(0.97); }
  .reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
    transition-duration: 0.5s;
  }

  /* Disable parallax on mobile — causes layout gaps */
  [data-parallax] { transform: none !important; }

  /* Touch-friendly tap targets — minimum 44px */
  .card-link, .btn-group a, a[style*="color:#22d3ee"] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Active states for touch feedback */
  .card:active { transform: scale(0.98); transition: transform 0.1s; }
  .btn:active { transform: scale(0.96); }
  .feature-card:active { border-color: rgba(34,211,238,0.3); }
  .pricing-card:active { transform: scale(0.98); }

  /* Smooth momentum scrolling */
  html { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }

  /* Reduce animation durations on mobile */
  *, *::before, *::after {
    animation-duration: 0.8s !important;
  }
  @keyframes draw, @keyframes spin, @keyframes orbit { animation-duration: inherit; }

  /* Section icons — hover effect becomes active on tap */
  img.section-icon:active { transform: scale(1.05); opacity: 1; }

  /* =================================================================
     MOBILE VISUAL OVERHAUL — Premium mobile experience
     ================================================================= */

  /* --- HERO — Big, bold, impactful --- */
  .hero { padding-top: 96px; padding-bottom: 40px; }
  .hero-home h1 { font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
  .hero-badge { font-size: 0.75rem; padding: 7px 16px; margin-bottom: 24px; border-color: rgba(34,211,238,0.3); background: rgba(34,211,238,0.1); }
  .hero .lead { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.65); margin-bottom: 32px; }
  .hero .btn-group { gap: 10px; }
  .hero .btn-group .btn { font-size: 1rem; padding: 16px 28px; font-weight: 600; }
  .hero .btn-primary { box-shadow: 0 0 30px rgba(34,211,238,0.25); }

  /* Gradient text — ensure WebKit rendering */
  .gradient-text, .gradient-text-warm, .gradient-text-emerald {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* --- SECTION HEADINGS — Bigger, more dramatic --- */
  .section-header { margin-bottom: 28px; }
  .section-header .lead { margin: 14px auto 0; font-size: 0.95rem; }
  .section-label { font-size: 0.78rem; letter-spacing: 0.1em; padding: 7px 16px; border-color: rgba(34,211,238,0.25); background: rgba(34,211,238,0.08); }
  h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; }
  h3 { font-size: clamp(1.15rem, 4.5vw, 1.4rem); font-weight: 600; }

  /* --- SECTION BACKGROUNDS — Break the monotony --- */
  #problem { background: linear-gradient(180deg, transparent 0%, rgba(251,113,133,0.03) 50%, transparent 100%); }
  #solution { background: linear-gradient(180deg, transparent 0%, rgba(34,211,238,0.03) 50%, transparent 100%); }
  #features { background: linear-gradient(180deg, transparent 0%, rgba(167,139,250,0.03) 50%, transparent 100%); }
  #testimonials { background: linear-gradient(180deg, transparent 0%, rgba(34,211,238,0.04) 50%, transparent 100%); }
  .cta-section { background: linear-gradient(180deg, transparent 0%, rgba(34,211,238,0.06) 40%, rgba(167,139,250,0.04) 100%); padding: 56px 0; }

  /* --- CARDS — More depth, visible structure --- */
  .card {
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.035);
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
  }

  /* Feature cards — prominent with colored top border */
  .feature-card {
    border-color: rgba(255,255,255,0.08);
    border-top: 2px solid rgba(34,211,238,0.25);
    background: linear-gradient(180deg, rgba(34,211,238,0.04) 0%, rgba(255,255,255,0.03) 30%, rgba(255,255,255,0.02) 100%);
  }
  .feature-card .icon-wrap { width: 56px; height: 56px; margin-bottom: 18px; font-size: 1.4rem; }
  .feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
  .feature-card p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
  .feature-card .card-link { font-size: 0.88rem; margin-top: 14px; font-weight: 600; }

  /* Problem cards — dramatic with warm gradient */
  .problem-video-card {
    border-left: 3px solid rgba(251,113,133,0.5);
    background: linear-gradient(135deg, rgba(251,113,133,0.06) 0%, rgba(255,255,255,0.02) 100%);
  }
  .problem-video-card h3 { font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 8px; }
  .problem-video-card p { font-size: 0.92rem; line-height: 1.7; }

  /* Solution cards — distinct with accent */
  .solution-video-card {
    border-top: 2px solid rgba(34,211,238,0.2);
    background: linear-gradient(180deg, rgba(34,211,238,0.05) 0%, rgba(255,255,255,0.02) 40%);
  }
  .solution-video-card .tag { font-size: 0.72rem; font-weight: 700; }

  /* Testimonial cards — warm glow */
  .testimonial-card {
    border-left: 3px solid rgba(34,211,238,0.4);
    background: linear-gradient(135deg, rgba(34,211,238,0.04) 0%, rgba(255,255,255,0.02) 100%);
  }
  .testimonial-card .quote { font-size: 0.95rem; line-height: 1.8; padding-left: 18px; border-left-color: rgba(34,211,238,0.5); }

  /* --- PRICING CARDS — Tier-specific visual identity --- */
  .pricing-grid-wrap-section { padding-top: 20px; padding-bottom: 24px; }
  .pricing-grid-wrap .grid-4 { gap: 16px; }

  /* Base pricing card — compact feature list */
  .pricing-card {
    padding: 24px 20px;
    background: rgba(255,255,255,0.03);
    border-top: 3px solid rgba(52,211,153,0.4);
  }
  .pricing-card .plan-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; }
  .pricing-card .plan-value { margin-bottom: 4px; }
  .pricing-card .price { font-size: clamp(2.5rem, 9vw, 3.2rem); }
  .pricing-card .plan-daily { font-size: 0.82rem; margin-bottom: 4px; }
  .pricing-card .plan-desc { font-size: 0.88rem; margin-bottom: 16px; }

  /* Compact feature list — the key fix */
  .pricing-card .features-list { margin-bottom: 20px; }
  .pricing-card .features-list li {
    padding: 6px 0;
    font-size: 0.85rem;
    line-height: 1.45;
    gap: 8px;
    border-bottom-color: rgba(255,255,255,0.03);
  }
  .pricing-card .features-list .check { width: 16px; height: 16px; }
  .pricing-card .features-list .bonus-leads { font-size: 0.88rem; }

  /* Scaler (featured) — Cyan identity */
  .pricing-card.featured {
    order: -1;
    border-top: 3px solid rgba(34,211,238,0.6);
    border-color: rgba(34,211,238,0.3);
    background: linear-gradient(180deg, rgba(34,211,238,0.08) 0%, rgba(34,211,238,0.02) 30%, rgba(255,255,255,0.025) 100%);
    box-shadow: 0 4px 32px rgba(34,211,238,0.12);
  }

  /* Launcher — Emerald identity */
  .pricing-card:not(.featured):not(.coaching-pro):nth-child(1),
  .pricing-card[data-tier="tier-launcher.html"] {
    border-top-color: rgba(52,211,153,0.5);
    background: linear-gradient(180deg, rgba(52,211,153,0.05) 0%, rgba(255,255,255,0.025) 30%);
  }

  /* Conqueror — Purple identity */
  .pricing-card[data-tier="tier-conqueror.html"] {
    border-top-color: rgba(167,139,250,0.5);
    background: linear-gradient(180deg, rgba(167,139,250,0.05) 0%, rgba(255,255,255,0.025) 30%);
  }

  /* Closer (coaching-pro) — Amber identity (already has styling, enhance it) */
  .pricing-card.coaching-pro {
    border-top: 3px solid rgba(251,191,36,0.6);
    background: linear-gradient(180deg, rgba(251,191,36,0.08) 0%, rgba(251,191,36,0.02) 30%, rgba(255,255,255,0.02) 100%);
    box-shadow: 0 4px 32px rgba(251,191,36,0.08);
  }

  /* --- STATS BAR — More visual impact --- */
  .stats-bar { border-radius: 16px; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
  .stat-item { padding: 18px 12px; }
  .stat-value { font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 700; }
  .stat-label { font-size: 0.78rem; margin-top: 4px; }

  /* --- DEMO FRAMES — More prominent --- */
  .demo-frame { margin-bottom: 20px; box-shadow: 0 4px 24px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.1); }
  .demo-frame video[poster] { min-height: 200px; }
  .demo-caption { font-size: 0.88rem; font-weight: 600; padding: 12px 16px; }

  /* --- STEPS — Clean, numbered badges with color --- */
  .steps { margin-top: 0; padding-top: 0; }
  .step-item { grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; }
  .step-number { width: 44px; height: 44px; font-size: 1.05rem; font-weight: 700; }
  .step-content h3 { font-size: 1.15rem; margin-bottom: 8px; }
  .step-content p { font-size: 0.92rem; line-height: 1.7; }

  /* --- LOGO BAR — Compact --- */
  .logo-bar { gap: 16px 28px; padding: 20px 0; }
  .logo-bar span { font-size: 0.88rem; font-weight: 500; }
  .logo-bar-label { font-size: 0.72rem; margin-bottom: 10px; letter-spacing: 0.12em; }

  /* --- INLINE VIDEOS --- */
  .inline-video { margin-top: 16px; border-radius: 14px; }
  .video-accent video { max-width: 280px; }

  /* --- CTA --- */
  .cta-section h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .cta-section .lead { margin-bottom: 28px; font-size: 0.95rem; }

  /* --- FOOTER — Clean grid --- */
  .footer { padding: 40px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { font-size: 0.85rem; }
  .footer-col h4 { font-size: 0.75rem; margin-bottom: 12px; color: rgba(255,255,255,0.45); }
  .footer-col a { font-size: 0.85rem; padding: 5px 0; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  /* --- FEATURE SPLIT pages --- */
  .feature-split .feature-text h2 { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .feature-split .feature-text .lead { font-size: 0.95rem; margin-bottom: 20px; }
  .feature-split .feature-text ul li {
    padding: 12px 14px 12px 50px;
    font-size: 0.92rem;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 6px;
  }
  .feature-split .feature-text ul li:hover { background: rgba(255,255,255,0.04); }
  .feature-split .feature-text ul li::before { left: 14px; }

  /* --- COMPARISON TABLE --- */
  .comparison { overflow-x: auto; -webkit-overflow-scrolling: touch; border-color: rgba(255,255,255,0.1); }
  .comparison-header, .comparison-row { grid-template-columns: 1.5fr 1fr 1fr; font-size: 0.8rem; min-width: 480px; }
  .comparison-header > div, .comparison-row > div { padding: 11px 12px; }

  /* --- FAQ --- */
  .faq-question { font-size: 0.95rem; padding: 18px 0; font-weight: 500; }
  .faq-answer-inner { font-size: 0.9rem; line-height: 1.75; }

  /* --- TIER PAGES --- */
  .tier-accent-video { max-width: 240px; }
  .industry-hero-video { max-width: 280px; }

  /* --- BREADCRUMBS --- */
  .breadcrumb { font-size: 0.8rem; flex-wrap: wrap; margin-bottom: 10px; }

  /* --- MOCKUP FRAME --- */
  .mockup-body { padding: 16px; }

  /* --- TAGS --- */
  .tag { font-size: 0.72rem; padding: 5px 12px; font-weight: 700; letter-spacing: 0.06em; }

  /* --- MOBILE CONTENT SPACING --- */
  section p { line-height: 1.75; margin-bottom: 16px; }
  section ul li { margin-bottom: 12px; line-height: 1.75; }
  section h3 { margin-bottom: 14px; margin-top: 28px; }

  /* Tables — horizontal scroll indicator */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; font-size: 0.82rem; }
  table th, table td { padding: 10px 12px; }

  /* Blog article mobile */
  article h2 { font-size: 1.35rem; margin-top: 36px; margin-bottom: 16px; }
  article h3 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 12px; }
  article p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px; }
  article ul li, article ol li { font-size: 0.92rem; margin-bottom: 10px; line-height: 1.75; }
  article blockquote { padding: 16px 18px; font-size: 0.92rem; margin: 20px 0; }
  article section { margin-top: 36px; }

  /* Section icons — slightly smaller on mobile */
  img.section-icon { width: 80px !important; height: 80px !important; }

  /* VS comparison tables — better mobile readability */
  .comparison { border-radius: 12px; }
  .comparison-header > div:first-child,
  .comparison-row > div:first-child { position: sticky; left: 0; background: var(--bg-raised); z-index: 1; }

  /* Blog cards spacing */
  .card h3 { font-size: 1.05rem; }
  .card p { font-size: 0.9rem; line-height: 1.7; }

  /* Inline tables (VS pages) */
  div[style*="overflow-x"] { border-radius: 12px; margin: 16px 0; }
}

/* --- Small Mobile (≤480px) --- */
@media (max-width: 480px) {
  :root { --section-pad: 28px; }
  .container { padding: 0 16px; }
  .pricing-grid-wrap { padding: 0 16px; }

  .hero { padding-top: 88px; padding-bottom: 36px; }
  .hero-badge { font-size: 0.72rem; padding: 6px 14px; margin-bottom: 20px; }
  .hero h1 { margin-bottom: 16px; font-size: clamp(1.8rem, 7.5vw, 2.4rem); }
  .hero .lead { font-size: 0.92rem; margin-bottom: 24px; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 14px 10px; }
  .stat-value { font-size: clamp(1.3rem, 5.5vw, 1.7rem); }

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

  .card { padding: 20px; }
  .feature-card { padding: 20px; }
  .feature-card .icon-wrap { width: 48px; height: 48px; margin-bottom: 14px; }

  .pricing-card { padding: 20px 16px; }
  .pricing-card .plan-desc { font-size: 0.85rem; }
  .pricing-card .features-list li { font-size: 0.82rem; padding: 5px 0; }

  .step-item { grid-template-columns: 1fr; gap: 10px; }
  .step-number { width: 40px; height: 40px; }

  .section-label { font-size: 0.72rem; padding: 5px 12px; }
  .tag { font-size: 0.68rem; padding: 4px 10px; }

  /* Nav CTA */
  .navbar-cta { padding: 10px 18px !important; font-size: 0.85rem !important; }
}

/* ============================================================================
   COMPARISON PAGE VISUAL ENHANCEMENTS
   Applies to all vs-*.html pages — premium visual quality
   ============================================================================ */

/* --- Tighter section spacing on comparison pages --- */
body:has(.comparison) section { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
body:has(.comparison) section + section { padding-top: clamp(24px, 3vw, 40px); }

/* --- Alternating section backgrounds for visual rhythm --- */
body:has(.comparison) section:nth-child(even) {
  background: linear-gradient(180deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.025) 50%, rgba(255,255,255,0.01) 100%);
}
body:has(.comparison) section:nth-child(3n) {
  background: linear-gradient(180deg, transparent 0%, rgba(34,211,238,0.02) 50%, transparent 100%);
}

/* --- Section dividers — automatic gradient lines between sections --- */
body:has(.comparison) section + section::before {
  content: '';
  display: block;
  height: 1px;
  max-width: 700px;
  margin: 0 auto 32px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.25), rgba(167,139,250,0.25), transparent);
}

/* --- Hero section enhancements for vs pages — enough padding for navbar + badge --- */
body:has(.comparison) .hero {
  padding-top: 140px !important;
  padding-bottom: 48px;
}

/* --- Feature gap / missing feature cards — much more visual --- */
body:has(.comparison) .grid .card:has(.cmp-no),
body:has(.comparison) .grid-2 > .card,
body:has(.comparison) .grid-3 > .card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  border-top: 2px solid rgba(239,68,68,0.3);
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
body:has(.comparison) .grid .card:has(.cmp-no):hover,
body:has(.comparison) .grid-2 > .card:hover,
body:has(.comparison) .grid-3 > .card:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.045);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* --- Stats / metric cards on vs pages --- */
body:has(.comparison) .stat-item,
body:has(.comparison) [class*="stat"] {
  border-radius: var(--radius);
}

/* --- Pain callout boxes — better readability --- */
body:has(.comparison) [style*="border-left: 3px solid"],
body:has(.comparison) [style*="border-left:3px"],
body:has(.comparison) [style*="border: 1px solid rgba(239"] {
  font-size: 0.92rem;
  line-height: 1.75;
}

/* --- FAQ items on vs pages — more polished --- */
body:has(.comparison) .faq-item {
  border-color: rgba(255,255,255,0.06);
}
body:has(.comparison) .faq-question {
  font-size: 1rem;
  font-weight: 600;
  padding: 22px 0;
  color: var(--text-primary);
}
body:has(.comparison) .faq-answer-inner {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
body:has(.comparison) .faq-item.open .faq-question {
  color: var(--cyan);
}

/* --- CTA sections on vs pages — more impactful --- */
body:has(.comparison) .cta-section {
  background: linear-gradient(180deg, transparent 0%, rgba(34,211,238,0.05) 30%, rgba(167,139,250,0.04) 70%, transparent 100%);
  padding: 64px 0;
}
body:has(.comparison) .cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
}

/* --- Buttons on vs pages — more glow --- */
body:has(.comparison) .btn-primary {
  box-shadow: 0 0 24px rgba(34,211,238,0.25), 0 4px 16px rgba(0,0,0,0.3);
}
body:has(.comparison) .btn-primary:hover {
  box-shadow: 0 0 40px rgba(34,211,238,0.4), 0 8px 24px rgba(0,0,0,0.4);
}

/* --- Section labels — more prominent on vs pages --- */
body:has(.comparison) .section-label {
  font-size: 0.82rem;
  padding: 8px 18px;
  border-color: rgba(34,211,238,0.3);
  background: rgba(34,211,238,0.1);
  box-shadow: 0 0 16px rgba(34,211,238,0.1);
}

/* --- Gradient text — ensure all gradient text pops --- */
body:has(.comparison) .gradient-text {
  filter: brightness(1.1);
}

/* ============================================================================
   COMPARISON PAGES — MOBILE OPTIMIZATION
   ============================================================================ */
@media (max-width: 768px) {

  /* --- Section spacing — eliminate dark gaps (use !important to override inline styles) --- */
  body:has(.comparison) section { padding-top: 24px !important; padding-bottom: 24px !important; }
  body:has(.comparison) section + section { padding-top: 16px !important; }
  body:has(.comparison) section + section::before { margin-bottom: 12px; }
  /* Kill excessive margins/gaps inside page-specific styled divs */
  body:has(.comparison) [style*="padding: clamp"] { padding: 24px 16px !important; }
  body:has(.comparison) [style*="gap: 48px"] { gap: 20px !important; }
  body:has(.comparison) [style*="gap: 32px"] { gap: 16px !important; }
  body:has(.comparison) [style*="margin: 32px"] { margin: 16px 0 !important; }

  /* --- Hero — compact and impactful --- */
  body:has(.comparison) .hero { padding-top: 88px; padding-bottom: 32px; }
  body:has(.comparison) .hero h1 { font-size: clamp(1.6rem, 6.5vw, 2.2rem); line-height: 1.15; }
  body:has(.comparison) .hero .lead,
  body:has(.comparison) .hero p { font-size: 0.9rem; line-height: 1.65; }

  /* --- Comparison table — ALL 3 columns visible on mobile --- */
  body:has(.comparison) .comparison {
    border-radius: 10px;
    overflow: hidden;
  }
  body:has(.comparison) .comparison-header,
  body:has(.comparison) .comparison-row {
    min-width: 0 !important;
    grid-template-columns: 28% 38% 34% !important;
    width: 100% !important;
  }
  body:has(.comparison) .comparison-header > div {
    font-size: 0.65rem;
    padding: 10px 5px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 700;
    word-break: break-word;
  }
  body:has(.comparison) .comparison-row > div {
    font-size: 0.72rem;
    padding: 8px 5px;
    line-height: 1.4;
    gap: 3px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  body:has(.comparison) .comparison-row > div:first-child {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
  }
  /* Clozo column — keep prominent */
  body:has(.comparison) .comparison-row > div:nth-child(2) {
    font-size: 0.72rem;
    border-left-width: 1px;
    border-right-width: 1px;
  }
  /* Competitor column — visible but muted */
  body:has(.comparison) .comparison-row > div:nth-child(3) {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.5);
  }
  /* Smaller check/x icons on mobile */
  body:has(.comparison) .cmp-yes::before,
  body:has(.comparison) .cmp-no::before,
  body:has(.comparison) .cmp-partial::before {
    width: 14px; height: 14px;
    font-size: 0.5rem;
    margin-right: 3px;
    border-width: 0;
  }
  /* Smaller badge */
  body:has(.comparison) .cmp-badge { font-size: 0.45rem; padding: 1px 4px; margin-left: 2px; display: none; }

  /* --- ALL grids on comparison pages — single column on mobile --- */
  body:has(.comparison) .grid-2,
  body:has(.comparison) .grid-3,
  body:has(.comparison) [class*="calc-grid"],
  body:has(.comparison) [class*="cost-grid"],
  body:has(.comparison) [class*="pricing-grid"],
  body:has(.comparison) [class*="complaint-grid"],
  body:has(.comparison) [class*="missing-grid"],
  body:has(.comparison) [class*="data-grid"],
  body:has(.comparison) [class*="gap-grid"],
  body:has(.comparison) [class*="savings-grid"],
  body:has(.comparison) [class*="ownership-grid"],
  body:has(.comparison) [class*="feature-grid"],
  body:has(.comparison) [class*="frankenstein-grid"],
  body:has(.comparison) [class*="channel-grid"],
  body:has(.comparison) [class*="ai-engines-grid"],
  body:has(.comparison) [style*="grid-template-columns: 1fr 1fr"],
  body:has(.comparison) [style*="grid-template-columns: repeat(3"],
  body:has(.comparison) [style*="grid-template-columns: repeat(2"],
  body:has(.comparison) [style*="grid-template-columns:repeat(3"],
  body:has(.comparison) [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* --- Stats bar on comparison pages --- */
  body:has(.comparison) .stats-bar { grid-template-columns: repeat(2, 1fr); }
  body:has(.comparison) .stat-item { padding: 14px 10px; }
  body:has(.comparison) .stat-value { font-size: clamp(1.2rem, 5vw, 1.6rem); }

  /* --- Cards — more compact --- */
  body:has(.comparison) .card { padding: 18px; }
  body:has(.comparison) .feature-card { padding: 18px; }

  /* --- Section headers --- */
  body:has(.comparison) .section-header { margin-bottom: 20px; }
  body:has(.comparison) .section-header .lead { margin-top: 10px; font-size: 0.9rem; }
  body:has(.comparison) h2 { font-size: clamp(1.4rem, 5.5vw, 1.8rem); }
  body:has(.comparison) h3 { font-size: clamp(1.1rem, 4vw, 1.3rem); }

  /* --- Section labels — prominent but compact --- */
  body:has(.comparison) .section-label { font-size: 0.7rem; padding: 6px 14px; }

  /* --- Big savings numbers — scale down --- */
  body:has(.comparison) [style*="font-size: 3rem"],
  body:has(.comparison) [style*="font-size:3rem"],
  body:has(.comparison) [style*="font-size: 4rem"],
  body:has(.comparison) [style*="font-size:4rem"] {
    font-size: clamp(2rem, 8vw, 2.8rem) !important;
  }

  /* --- FAQ --- */
  body:has(.comparison) .faq-question { font-size: 0.92rem; padding: 16px 0; }
  body:has(.comparison) .faq-answer-inner { font-size: 0.88rem; }

  /* --- CTA --- */
  body:has(.comparison) .cta-section { padding: 40px 0; }
  body:has(.comparison) .cta-section h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  body:has(.comparison) .cta-section .lead { font-size: 0.9rem; }

  /* --- Buttons — full width on mobile --- */
  body:has(.comparison) .btn-group { flex-direction: column; width: 100%; }
  body:has(.comparison) .btn-group .btn { width: 100%; text-align: center; }
  body:has(.comparison) .btn { font-size: 0.92rem; padding: 14px 24px; }

  /* --- Pain callout boxes — better readability --- */
  body:has(.comparison) [style*="border-left: 3px"],
  body:has(.comparison) [style*="border: 1px solid rgba(239"] {
    font-size: 0.88rem !important;
    line-height: 1.7 !important;
    padding: 16px !important;
  }

  /* --- Inline cost tables --- */
  body:has(.comparison) table { font-size: 0.82rem; }
  body:has(.comparison) td, body:has(.comparison) th { padding: 8px 10px; }

  /* --- Footer on comparison pages --- */
  body:has(.comparison) .footer-grid { grid-template-columns: 1fr 1fr; }
  body:has(.comparison) .footer-brand { grid-column: 1 / -1; }
}

/* --- Extra small mobile (≤480px) for comparison pages --- */
@media (max-width: 480px) {
  body:has(.comparison) .hero h1 { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  body:has(.comparison) .comparison-header, body:has(.comparison) .comparison-row { min-width: 520px; }
  body:has(.comparison) .stats-bar { grid-template-columns: repeat(2, 1fr); }
  body:has(.comparison) .stat-item { padding: 12px 8px; }
  body:has(.comparison) .card { padding: 16px; }
  body:has(.comparison) .container { padding: 0 14px; }
}

/* ============================================================================
   CLOZO — Visual Enhancement v3.0
   Smooth animations, blog styling, FAQ accordion, hover effects
   ============================================================================ */

/* --- Smooth FAQ Accordion Animations --- */
details {
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
details summary {
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}
details summary:hover {
  color: var(--cyan) !important;
}
details summary svg {
  transition: transform 0.3s var(--ease);
}
details[open] summary svg {
  transform: rotate(180deg);
}
details summary::-webkit-details-marker { display: none; }
details summary::marker { display: none; }
details[open] {
  padding-bottom: 8px;
}

/* --- Blog Card Hover Effects --- */
.card {
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.25) !important;
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.08), 0 2px 8px rgba(0,0,0,0.3);
}

/* --- Blog Article Styling --- */
article h2 {
  position: relative;
  padding-left: 0;
  margin-top: 48px;
  margin-bottom: 20px;
}
article h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 0.9em;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
  border-radius: 2px;
  margin-right: 12px;
  vertical-align: middle;
}
article h3 {
  margin-top: 32px;
  margin-bottom: 14px;
}
article p {
  margin-bottom: 18px;
  line-height: 1.85;
}
article p:last-child { margin-bottom: 0; }
article ul, article ol {
  padding-left: 24px;
  margin-top: 14px;
  margin-bottom: 20px;
}
article ul li, article ol li {
  margin-bottom: 12px;
  line-height: 1.8;
  position: relative;
}
article ul li:last-child, article ol li:last-child { margin-bottom: 0; }
article ul li::marker {
  color: var(--cyan);
}
article blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--cyan);
  line-height: 1.8;
}
article section {
  margin-bottom: 32px;
}
article details {
  margin-bottom: 4px;
}
article details summary {
  padding: 18px 0;
}
article details p {
  line-height: 1.85;
}
article a[style*="color:#22d3ee"] {
  transition: opacity 0.2s ease;
}
article a[style*="color:#22d3ee"]:hover {
  opacity: 0.8;
}

/* --- Blog CTA Box Enhancement --- */
article section:last-of-type {
  position: relative;
  overflow: hidden;
}
article section:last-of-type::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(34, 211, 238, 0.04), transparent 60%);
  pointer-events: none;
}

/* --- Blog Brand Logo in Articles --- */
.blog-brand-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  opacity: 0.6;
}
.blog-brand-mark img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

/* --- Smooth Scroll Reveal for Blog Pages --- */
@keyframes blogFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
article section {
  animation: blogFadeIn 0.6s ease-out both;
}
article section:nth-child(2) { animation-delay: 0.1s; }
article section:nth-child(3) { animation-delay: 0.15s; }
article section:nth-child(4) { animation-delay: 0.2s; }
article section:nth-child(5) { animation-delay: 0.25s; }
article section:nth-child(6) { animation-delay: 0.3s; }
article section:nth-child(7) { animation-delay: 0.35s; }

/* --- Enhanced Navbar Dropdown Animation --- */
.nav-dropdown-menu {
  transform-origin: top center;
  animation: dropdownSlide 0.25s var(--ease);
}
@keyframes dropdownSlide {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Related Articles Hover --- */
article a[onmouseover] {
  transition: border-color 0.3s ease, background 0.3s ease;
}
article a[onmouseover]:hover {
  background: rgba(34, 211, 238, 0.03);
}

/* --- Pricing Card Hover Enhancement --- */
.pricing-card {
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(34, 211, 238, 0.12), 0 4px 12px rgba(0,0,0,0.4);
}

/* --- Stats Counter Glow Animation --- */
@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 12px currentColor; }
  50% { text-shadow: 0 0 24px currentColor, 0 0 48px currentColor; }
}
.stats-bar .stat-value,
.stats-bar .stat-item strong {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* --- Feature Card Icon Animation --- */
.icon-wrap {
  transition: transform 0.4s var(--ease);
}
.card:hover .icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

/* --- CTA Button Pulse Animation --- */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
}
.btn-primary {
  animation: ctaPulse 2.5s ease-in-out infinite;
}
.btn-primary:hover {
  animation: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.3);
}

/* --- Smooth Page Transitions --- */
main {
  animation: pageIn 0.5s ease-out;
}
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Better Blockquote / Callout Styling --- */
article p[style*="padding:20px"] {
  border-left: 3px solid var(--cyan);
  border-radius: 0 12px 12px 0 !important;
}

/* --- Improved Mobile Blog Grid --- */
@media (max-width: 768px) {
  article h2::before {
    width: 3px;
    margin-right: 8px;
  }
  article section {
    animation-delay: 0s !important;
  }
}

/* --- Footer Link Hover --- */
footer a {
  transition: color 0.2s ease;
}
footer a:hover {
  color: var(--cyan) !important;
}

/* --- Breadcrumb Enhancement --- */
nav[style*="margin-bottom:32px"] a {
  transition: color 0.2s ease;
}
nav[style*="margin-bottom:32px"] a:hover {
  color: var(--cyan) !important;
}

/* --- Blog Category Badge Hover --- */
span[style*="background:rgba(34,211,238,0.12)"] {
  transition: background 0.2s ease, transform 0.2s ease;
}
span[style*="background:rgba(34,211,238,0.12)"]:hover {
  background: rgba(34, 211, 238, 0.2) !important;
  transform: scale(1.05);
}

/* ============================================================================
   VISUAL AUDIT FIXES — Comprehensive Enhancement Pass
   ============================================================================ */

/* --- Section Icon Sizing & Layout (animated SVGs) --- */
img.section-icon {
  margin: 0 auto;
  display: block;
  width: 120px;
  height: 120px;
  opacity: 0.92;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.15));
}
img.section-icon:hover {
  transform: scale(1.08);
  opacity: 1;
  filter: drop-shadow(0 0 30px rgba(34, 211, 238, 0.25));
}
div:has(> img.section-icon) {
  margin: 28px 0 14px !important;
}

/* Dotlottie fallback (kept for any remaining lottie players) */
dotlottie-player {
  margin: 0 auto;
  display: block;
  opacity: 0.92;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
dotlottie-player:hover {
  transform: scale(1.08);
  opacity: 1;
}
div:has(> dotlottie-player) {
  margin: 28px 0 14px !important;
}

/* Mobile: slightly smaller icons */
@media (max-width: 768px) {
  img.section-icon {
    width: 90px !important;
    height: 90px !important;
  }
  div:has(> img.section-icon) {
    margin: 20px 0 10px !important;
  }
  dotlottie-player {
    width: 100px !important;
    height: 100px !important;
  }
  div:has(> dotlottie-player) {
    margin: 20px 0 10px !important;
  }
}

/* --- Blog Post Layout & Margins Fix --- */
main > .container {
  padding-left: clamp(24px, 5vw, 48px) !important;
  padding-right: clamp(24px, 5vw, 48px) !important;
}
main > .container[style*="max-width:800px"] {
  max-width: 720px !important;
}

/* --- Blog Post Article Typography Enhancement --- */
article {
  font-feature-settings: 'cv11' 1, 'ss01' 1;
}
article > div[style*="line-height"] {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 1.02rem !important;
  line-height: 1.9 !important;
  letter-spacing: 0.01em;
}
article p {
  margin-bottom: 1.4em;
  text-rendering: optimizeLegibility;
  text-align: justify;
  word-break: break-word;
  hyphens: auto;
}

/* --- Global Justify Alignment for all content areas --- */
p, li, dd, td, th,
.container p,
section p,
main p,
div[style*="line-height"] p,
div[style*="color:rgba(255"] {
  text-align: justify;
  word-break: break-word;
  hyphens: auto;
}
/* Keep headings, buttons, badges, and centered elements left/center aligned */
h1, h2, h3, h4, h5, h6,
a[style*="border-radius:9999px"],
span[style*="border-radius:9999px"],
summary,
nav, footer,
[style*="text-align:center"] {
  text-align: revert;
}
details p {
  text-align: justify;
}

/* --- Mobile: remove justify, use left align for readability --- */
@media (max-width: 768px) {
  p, li, dd, td, th,
  .container p, section p, main p,
  div[style*="line-height"] p,
  div[style*="color:rgba(255"],
  article p, details p {
    text-align: left !important;
    hyphens: none;
  }
}
article section {
  margin-top: 48px;
  padding-top: 8px;
}
article h2 {
  position: relative;
  padding-left: 16px;
  border-left: 3px solid var(--cyan);
  margin-bottom: 22px;
  margin-top: 8px;
  transition: border-color 0.3s ease;
  line-height: 1.3 !important;
}
article h2:hover {
  border-left-color: var(--purple);
}
article strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}
/* Intro paragraph — slightly larger, NOT bold */
article section:first-of-type > p:first-of-type,
article > div > section:first-of-type p[style*="font-size:1.25rem"] {
  font-size: 1.08rem !important;
  font-weight: 400 !important;
  line-height: 1.85 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: 1.6em;
}

/* Paragraphs with bold numbered items — add top spacing */
article p > strong:first-child {
  display: inline;
}
article p + p > strong:first-child {
  padding-top: 0.3em;
}

/* --- Blog Post Content Link Enhancement --- */
article a[style*="color:#22d3ee"] {
  text-decoration: none !important;
  background-image: linear-gradient(transparent 60%, rgba(34, 211, 238, 0.15) 60%);
  transition: background-image 0.3s ease, color 0.3s ease;
}
article a[style*="color:#22d3ee"]:hover {
  background-image: linear-gradient(transparent 60%, rgba(34, 211, 238, 0.3) 60%);
}

/* --- FAQ Accordion Enhancement --- */
details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  transition: background 0.3s ease;
  border-radius: 8px;
  padding: 18px 20px !important;
  margin-left: 0;
  margin-right: 0;
}
details:hover {
  background: rgba(255, 255, 255, 0.02);
}
details[open] {
  background: rgba(34, 211, 238, 0.03);
  border-bottom-color: rgba(34, 211, 238, 0.1) !important;
}
details[open] summary {
  color: var(--cyan) !important;
  margin-bottom: 8px;
}
details summary {
  transition: color 0.2s ease;
  user-select: none;
}
details summary:hover {
  color: var(--cyan) !important;
}
details summary svg {
  transition: transform 0.3s var(--ease);
}
details[open] summary svg {
  transform: rotate(180deg);
}

/* --- Blog CTA Box Enhancement --- */
section[style*="linear-gradient(135deg,rgba(34,211,238,0.1)"] {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
section[style*="linear-gradient(135deg,rgba(34,211,238,0.1)"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.1);
}
section[style*="linear-gradient(135deg,rgba(34,211,238,0.1)"]::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.05) 0%, transparent 50%);
  animation: cta-shimmer 6s ease-in-out infinite;
}
@keyframes cta-shimmer {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20%, 20%); }
}

/* --- Blog CTA Button Enhancement --- */
section[style*="linear-gradient(135deg,rgba(34,211,238,0.1)"] a[style*="border-radius:9999px"] {
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
section[style*="linear-gradient(135deg,rgba(34,211,238,0.1)"] a[style*="border-radius:9999px"]:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(34, 211, 238, 0.3);
}

/* --- Blog Index Cards Enhancement --- */
a[style*="background:rgba(255,255,255,0.03)"][style*="border-radius:16px"] {
  transition: all 0.3s var(--ease) !important;
  position: relative;
  overflow: hidden;
}
a[style*="background:rgba(255,255,255,0.03)"][style*="border-radius:16px"]:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(34, 211, 238, 0.2) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
a[style*="background:rgba(255,255,255,0.03)"][style*="border-radius:16px"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}
a[style*="background:rgba(255,255,255,0.03)"][style*="border-radius:16px"]:hover::after {
  opacity: 1;
}

/* --- Smooth Section Reveal on Scroll --- */
article section {
  opacity: 0;
  animation: blog-section-reveal 0.6s var(--ease) forwards;
}
article section:nth-child(1) { animation-delay: 0.1s; }
article section:nth-child(2) { animation-delay: 0.2s; }
article section:nth-child(3) { animation-delay: 0.3s; }
article section:nth-child(4) { animation-delay: 0.4s; }
article section:nth-child(5) { animation-delay: 0.5s; }
article section:nth-child(n+6) { animation-delay: 0.6s; }

@keyframes blog-section-reveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Reading Progress Bar --- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

/* --- Blog Post Blockquote / Callout Enhancement --- */
div[style*="border-left:4px solid #34d399"] {
  transition: border-color 0.3s ease, background 0.3s ease;
  border-radius: 0 12px 12px 0 !important;
}
div[style*="border-left:4px solid #34d399"]:hover {
  border-left-color: var(--cyan) !important;
  background: rgba(34, 211, 238, 0.06) !important;
}

/* --- Stat Cards Glow Animation --- */
div[style*="font-size:2rem"][style*="font-weight:700"] {
  transition: text-shadow 0.3s ease;
}
div[style*="font-size:2rem"][style*="font-weight:700"]:hover {
  text-shadow: 0 0 20px currentColor;
}

/* --- Global Scroll Smoothness --- */
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 211, 238, 0.3) transparent;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(34, 211, 238, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 211, 238, 0.4);
}

/* --- Navbar Enhancement --- */
.navbar {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar-scrolled {
  background: rgba(5, 5, 16, 0.95) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* --- Page Transition --- */
main {
  animation: page-enter 0.5s var(--ease) forwards;
}
@keyframes page-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Blog H1 — Clean White, No Gradient (readable on dark bg) --- */
article h1 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 0 40px rgba(34, 211, 238, 0.08);
}

/* --- Blog Post Meta Line Enhancement --- */
article div[style*="display:flex"][style*="gap:16px"][style*="font-size:0.85rem"] {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Back-to-Top Button (added via JS) --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  z-index: 100;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: rgba(34, 211, 238, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.2);
}

/* --- Feature Cards on Main Pages — Subtle Float --- */
div[style*="background:rgba(255,255,255,0.03)"][style*="border-radius:14px"] {
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
div[style*="background:rgba(255,255,255,0.03)"][style*="border-radius:14px"]:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* --- Mobile Comprehensive Fixes --- */
@media (max-width: 768px) {
  /* Container padding */
  main > .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Blog post typography */
  article h1 {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    margin-bottom: 16px !important;
  }
  article h2 {
    font-size: 1.15rem !important;
    padding-left: 12px;
    line-height: 1.3 !important;
    margin-bottom: 16px !important;
  }
  article section {
    margin-top: 28px !important;
  }
  article p {
    font-size: 0.92rem !important;
    line-height: 1.75 !important;
    margin-bottom: 1.1em;
    font-weight: 400 !important;
  }
  /* Override inline intro paragraph styles on mobile */
  article p[style*="font-size:1.25rem"],
  article p[style*="font-size:1.2rem"],
  article p[style*="font-weight:500"] {
    font-size: 0.94rem !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: rgba(255,255,255,0.82) !important;
  }
  article > div[style*="line-height"] {
    font-size: 0.92rem !important;
    line-height: 1.75 !important;
  }

  /* CTA box mobile */
  section[style*="padding:48px"] {
    padding: 24px 16px !important;
    margin: 0 8px 32px !important;
    border-radius: 16px !important;
  }
  section[style*="padding:48px"] h2 {
    font-size: 1.2rem !important;
    border-left: none !important;
    padding-left: 0 !important;
    text-align: center !important;
  }
  section[style*="padding:48px"] p {
    text-align: center !important;
    font-size: 0.88rem !important;
  }

  /* Blog index cards — single column */
  div[style*="grid-template-columns:repeat(auto-fill"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  /* Blog index stat boxes */
  div[style*="display:flex"][style*="justify-content:center"][style*="gap:20px"] {
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: center !important;
  }

  /* FAQ mobile */
  details {
    padding: 14px 12px !important;
  }
  details summary {
    font-size: 0.92rem !important;
    line-height: 1.4 !important;
  }
  details p {
    font-size: 0.88rem !important;
    line-height: 1.65 !important;
  }

  /* Back-to-top button — smaller, more offset */
  .back-to-top {
    width: 38px !important;
    height: 38px !important;
    bottom: 20px !important;
    right: 16px !important;
  }

  /* Navbar mobile */
  .navbar {
    padding: 10px 0 !important;
  }
  .navbar-inner {
    padding: 0 12px !important;
  }

  /* 4-column stat grids → 2 columns on mobile */
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Feature card grids → single column on mobile */
  div[style*="grid-template-columns:repeat(auto-fit,minmax(220px"] {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Pricing card overflow fix */
  div[style*="overflow-x:auto"] {
    -webkit-overflow-scrolling: touch;
  }

  /* VS page tables — allow horizontal scroll */
  table {
    font-size: 0.85rem !important;
  }

  /* Reading progress bar — thinner on mobile */
  .reading-progress {
    height: 2px !important;
  }

  /* Footer mobile */
  footer .container {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
  }
}

/* --- Tablet (769-1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
  main > .container {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  main > .container[style*="max-width:800px"] {
    max-width: 680px !important;
  }
}

/* --- Main Website Pages Margin Fix --- */
.container {
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

/* ============================================================================
   INTERACTION & ANIMATION ENHANCEMENTS
   ============================================================================ */

/* --- Smooth Focus Styles (keyboard navigation) --- */
a:focus-visible, button:focus-visible, .btn:focus-visible, .faq-question:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- Card Hover Glow (subtle colored border glow on hover) --- */
.feature-card:hover .icon-wrap.cyan { box-shadow: 0 0 20px rgba(34,211,238,0.2); }
.feature-card:hover .icon-wrap.purple { box-shadow: 0 0 20px rgba(167,139,250,0.2); }
.feature-card:hover .icon-wrap.emerald { box-shadow: 0 0 20px rgba(52,211,153,0.2); }
.feature-card:hover .icon-wrap.amber { box-shadow: 0 0 20px rgba(251,191,36,0.2); }
.feature-card:hover .icon-wrap.rose { box-shadow: 0 0 20px rgba(251,113,133,0.2); }

/* --- Pricing Card Click-to-Navigate Cursor --- */
.pricing-card[data-tier] { cursor: pointer; }
.pricing-card[data-tier]:hover { border-color: rgba(34,211,238,0.25); }

/* --- FAQ Answer Smooth Height Transition --- */
.faq-answer { transition: max-height 0.5s var(--ease), opacity 0.3s ease; opacity: 0; }
.faq-item.open .faq-answer { opacity: 1; }

/* --- Testimonial Card Quote Hover --- */
.testimonial-card:hover .quote { border-left-color: var(--cyan); }

/* --- Stats Counter Glow on Scroll-In --- */
.stat-value { transition: text-shadow 0.6s ease; }
.stats-bar.visible .stat-value.cyan { text-shadow: 0 0 30px rgba(34,211,238,0.3); }
.stats-bar.visible .stat-value.purple { text-shadow: 0 0 30px rgba(167,139,250,0.3); }
.stats-bar.visible .stat-value.emerald { text-shadow: 0 0 30px rgba(52,211,153,0.3); }
.stats-bar.visible .stat-value.amber { text-shadow: 0 0 30px rgba(251,191,36,0.3); }

/* --- Hero Badge Shimmer Animation --- */
.hero-badge {
  background-size: 200% 100%;
  background-image: linear-gradient(90deg, rgba(34,211,238,0.06) 0%, rgba(34,211,238,0.12) 50%, rgba(34,211,238,0.06) 100%);
  animation: fadeIn 0.6s var(--ease) both, shimmer 4s ease-in-out infinite;
}

/* --- Navbar CTA Pulse on Scroll (draws attention after scrolling) --- */
.navbar.scrolled .navbar-cta {
  animation: cta-pulse 2s ease-in-out 1;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
  50% { box-shadow: 0 0 0 6px rgba(34,211,238,0.15); }
}

/* --- Blog Card Hover Image Zoom --- */
.card img[loading="lazy"] { transition: transform 0.5s var(--ease); }
.card:hover img[loading="lazy"] { transform: scale(1.03); }

/* --- Comparison Table Row Highlight --- */
.comparison-row:hover > div:nth-child(2) {
  background: rgba(34,211,238,0.08) !important;
}

/* --- Step Number Counter Pulse on Visible --- */
.step-item .step-number {
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}
.steps.visible .step-item .step-number {
  box-shadow: 0 0 16px rgba(34,211,238,0.15);
}

/* --- Data Ownership Section Animations --- */
@keyframes vault-shield-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(52,211,153,0.15), 0 0 40px rgba(52,211,153,0.05); }
  50% { box-shadow: 0 0 30px rgba(52,211,153,0.25), 0 0 60px rgba(52,211,153,0.1); }
}

/* --- Smooth Page Transitions (for internal navigation) --- */
main { animation: fadeIn 0.4s ease both; }

/* --- Mobile-Specific Interaction Improvements --- */
@media (max-width: 768px) {
  /* Smooth overscroll on iOS */
  body { -webkit-overflow-scrolling: touch; overscroll-behavior-y: none; }

  /* Prevent 300ms tap delay */
  a, button { touch-action: manipulation; }

  /* Pricing card active state — stronger feedback */
  .pricing-card:active {
    transform: scale(0.97) !important;
    transition: transform 0.1s !important;
    border-color: rgba(34,211,238,0.3) !important;
  }

  /* FAQ touch feedback */
  .faq-question:active { color: var(--cyan) !important; }

  /* Mobile hero — tighter spacing for small screens */
  @media (max-height: 700px) {
    .hero { padding-top: 80px; padding-bottom: 24px; }
    .hero-icon-showcase img { height: clamp(100px, 16vw, 160px); }
    .hero-badge { margin-bottom: 16px; }
    .hero h1 { margin-bottom: 16px; }
    .hero .lead { margin-bottom: 20px; }
  }

  /* Inline styles overflow protection — catch any rogue fixed widths */
  [style*="width:600px"], [style*="width:800px"], [style*="width:1000px"],
  [style*="min-width:520px"], [style*="min-width:740px"] {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Data ownership section — stack competitor contrast on mobile */
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:16px"] {
    grid-template-columns: 1fr !important;
  }
}

/* --- Tablet Interaction Improvements --- */
@media (min-width: 769px) and (max-width: 1024px) {
  /* 4-col grids → 2-col on tablet */
  .grid-4:not(.pricing-grid-wrap .grid-4) { grid-template-columns: repeat(2, 1fr); }

  /* Pricing cards — 2-col on tablet */
  .pricing-grid-wrap .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* --- Print Styles --- */
@media print {
  .navbar, .footer, .back-to-top, .cta-section, .video-bg, video { display: none !important; }
  body { background: white; color: black; }
  .card { border: 1px solid #ddd; break-inside: avoid; }
  a { color: #0066cc; }
  h1, h2, h3 { color: black; }
  .gradient-text, .gradient-text-warm, .gradient-text-emerald {
    -webkit-text-fill-color: currentColor;
    background: none;
  }
}
