/* ═══════════════════════════════════════════════════
   WhatIsVibeCode.com — Core Styles
   Mobile-first • Glassmorphism • Aurora Aesthetic
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background: var(--color-bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--color-accent-cyan);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--color-accent-purple); }
a:focus-visible {
  outline: 2px solid var(--color-accent-cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

img, video { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }

::selection {
  background: rgba(168, 85, 247, 0.35);
  color: #fff;
}

/* ── Utility ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow { max-width: var(--max-width-sm); }

.section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

.section__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-purple);
  margin-bottom: var(--space-3);
}

.section__title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 640px;
  margin-bottom: var(--space-12);
}

/* ── Aurora Background ── */
.aurora-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.aurora-bg::before,
.aurora-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}

.aurora-bg::before {
  width: 600px; height: 600px;
  background: var(--color-accent-purple);
  top: -200px; right: -150px;
  animation: auroraFloat 20s ease-in-out infinite;
}

.aurora-bg::after {
  width: 500px; height: 500px;
  background: var(--color-accent-cyan);
  bottom: -150px; left: -100px;
  animation: auroraFloat 25s ease-in-out infinite reverse;
}

@keyframes auroraFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(6, 6, 12, 0.7);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: var(--border-glass);
  z-index: var(--z-nav);
  transition: background var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
  background: rgba(6, 6, 12, 0.92);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  text-decoration: none;
}

.nav__logo-icon {
  width: 28px; height: 28px;
  background: var(--gradient-aurora);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

.nav__links {
  display: none;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav__link:hover,
.nav__link.active { color: var(--color-text-primary); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-aurora);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out);
}

.nav__link:hover::after { transform: scaleX(1); }

.nav__cta {
  display: none;
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: #fff;
  background: var(--gradient-aurora);
  border-radius: var(--radius-full);
  transition: transform var(--duration-fast) var(--ease-spring), box-shadow var(--duration-fast) var(--ease-out);
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
  color: #fff;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  z-index: calc(var(--z-nav) + 1);
}

.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text-primary);
  border-radius: 1px;
  transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-fast);
}

.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Overlay */
.nav__mobile {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6, 6, 12, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  z-index: var(--z-nav);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile a {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-16)) var(--space-6) var(--space-16);
  position: relative;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 800px; height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(168,85,247,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--color-accent-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero__title-gradient {
  background: var(--gradient-text);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-10);
  line-height: var(--leading-relaxed);
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-spring);
  white-space: nowrap;
}

.btn--primary {
  color: #fff;
  background: var(--gradient-aurora);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.45);
  color: #fff;
}

.btn--ghost {
  color: var(--color-text-primary);
  background: transparent;
  border: var(--border-accent);
}

.btn--ghost:hover {
  background: rgba(168, 85, 247, 0.08);
  transform: translateY(-1px);
  color: var(--color-text-primary);
}

.btn--sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
}

/* ── Cards ── */
.card {
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-normal) var(--ease-out), border-color var(--duration-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-card-border);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(168, 85, 247, 0.2);
}

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

.card__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  font-size: 24px;
  margin-bottom: var(--space-5);
  background: var(--gradient-aurora-soft);
  border: var(--border-subtle);
}

.card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ── Grid ── */
.grid {
  display: grid;
  gap: var(--space-6);
}

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

/* ── Definition Section ── */
.definition {
  text-align: center;
  padding-bottom: 0;
}

.definition__box {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  border: var(--border-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.definition__term {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-accent-purple);
  margin-bottom: var(--space-2);
}

.definition__pronunciation {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.definition__text {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
}

.definition__text em {
  color: var(--color-accent-cyan);
  font-style: normal;
  font-weight: var(--weight-semibold);
}

/* ── Steps / How It Works ── */
.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  padding: var(--space-8) 0;
  border-bottom: var(--border-glass);
  position: relative;
}

.step:last-child { border-bottom: none; }

.step__number {
  counter-increment: step;
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-accent-purple);
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.step__number::before {
  content: counter(step);
}

.step__content { flex: 1; }

.step__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-2);
}

.step__text {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ── Code Block ── */
.code-block {
  background: var(--color-bg-primary);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-6) 0;
}

.code-block__header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,0.03);
  border-bottom: var(--border-glass);
}

.code-block__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.code-block__dot--red { background: #ff5f57; }
.code-block__dot--yellow { background: #febc2e; }
.code-block__dot--green { background: #28c840; }

.code-block__label {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.code-block__body {
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.7;
  overflow-x: auto;
  color: var(--color-text-secondary);
}

.code-block__body .kw { color: var(--color-accent-purple); }
.code-block__body .fn { color: var(--color-accent-cyan); }
.code-block__body .str { color: var(--color-accent-green); }
.code-block__body .cm { color: var(--color-text-muted); }
.code-block__body .op { color: var(--color-accent-magenta); }

/* ── Tools Grid ── */
.tool-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--color-bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-spring);
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.2);
  box-shadow: var(--shadow-glow);
}

.tool-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: var(--gradient-aurora-soft);
  flex-shrink: 0;
}

.tool-card__name {
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
}

.tool-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ── Origin / Attribution ── */
.origin {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  align-items: center;
  text-align: center;
}

.origin__quote {
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--color-accent-purple);
  max-width: 600px;
  line-height: var(--leading-relaxed);
  position: relative;
  padding: 0 var(--space-8);
}

.origin__quote::before {
  content: '"';
  position: absolute;
  top: -20px; left: -10px;
  font-size: 5rem;
  color: rgba(168, 85, 247, 0.15);
  font-family: Georgia, serif;
}

.origin__attribution {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
}

.origin__attribution strong {
  color: var(--color-text-primary);
}

/* ── Pros & Cons ── */
.comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.comparison__col { }

.comparison__col--pro .comparison__item::before {
  content: '✓';
  color: var(--color-accent-green);
}

.comparison__col--con .comparison__item::before {
  content: '✗';
  color: var(--color-accent-magenta);
}

.comparison__heading {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.comparison__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.comparison__item::before {
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  flex-shrink: 0;
  margin-top: -2px;
}

/* ── CTA / Lead Magnet ── */
.cta-section {
  text-align: center;
  background: var(--gradient-aurora-soft);
  border: var(--border-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-8);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(168,85,247,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-4);
  position: relative;
}

.cta-section__text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ── Newsletter Form ── */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 440px;
  margin: 0 auto;
  position: relative;
}

.newsletter-form__input {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  border: var(--border-glass);
  border-radius: var(--radius-full);
  transition: border-color var(--duration-fast);
}

.newsletter-form__input:focus {
  outline: none;
  border-color: var(--color-accent-purple);
}

.newsletter-form__input::placeholder {
  color: var(--color-text-muted);
}

.newsletter-form__btn {
  width: 100%;
}

.newsletter-form__msg {
  font-size: var(--text-sm);
  text-align: center;
  min-height: 1.5em;
}

.newsletter-form__msg--success { color: var(--color-accent-green); }
.newsletter-form__msg--error { color: var(--color-accent-magenta); }

/* ── Enterprise CTA ── */
.enterprise-banner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-10) var(--space-8);
  background: var(--color-bg-card);
  border: var(--border-accent);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
}

.enterprise-banner__text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.enterprise-banner__text strong {
  color: var(--color-text-primary);
}

/* ── Footer ── */
.footer {
  padding: var(--space-16) 0 var(--space-8);
  border-top: var(--border-glass);
  background: rgba(6, 6, 12, 0.5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  max-width: 300px;
  line-height: var(--leading-relaxed);
}

.footer__heading {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.footer__link {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-1) 0;
  transition: color var(--duration-fast);
}

.footer__link:hover { color: var(--color-accent-cyan); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: var(--border-glass);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  max-width: 480px;
  padding: var(--space-5) var(--space-6);
  background: var(--color-bg-elevated);
  border: var(--border-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transform: translateY(120%);
  transition: transform var(--duration-slow) var(--ease-out);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Ad Slots ── */
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  margin: var(--space-8) 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ── Hero Compact (for sub-pages) ── */
.hero--compact {
  min-height: auto;
  padding-top: calc(var(--nav-height) + var(--space-20));
  padding-bottom: var(--space-12);
}

/* ── Active Nav Link ── */
.nav__link--active {
  color: var(--color-text-primary);
}
.nav__link--active::after {
  transform: scaleX(1);
}

/* ── Tool Deep Dive Cards ── */
.tool-deep {
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  transition: border-color var(--duration-normal) var(--ease-out);
}

.tool-deep:hover {
  border-color: rgba(168, 85, 247, 0.2);
}

.tool-deep__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.tool-deep__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  font-size: 26px;
  background: var(--gradient-aurora-soft);
  border: var(--border-subtle);
  flex-shrink: 0;
}

.tool-deep__name {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: 2px;
}

.tool-deep__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.tool-deep__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.tool-deep__col h4 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-accent-cyan);
  margin-bottom: var(--space-3);
}

.tool-deep__col ul {
  list-style: none;
  padding: 0;
}

.tool-deep__col li {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  padding: var(--space-2) 0;
  padding-left: var(--space-5);
  position: relative;
}

.tool-deep__col li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-accent-purple);
  font-weight: var(--weight-bold);
}

.tool-deep__verdict {
  grid-column: 1 / -1;
  padding: var(--space-4) var(--space-5);
  background: rgba(168, 85, 247, 0.06);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent-purple);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.tool-deep__verdict strong {
  color: var(--color-text-primary);
}

.tool-deep--compact {
  margin-bottom: 0;
}

.tool-deep--compact p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ── Comparison Table ── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-8) 0;
  border-radius: var(--radius-lg);
  border: var(--border-glass);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  white-space: nowrap;
}

.compare-table th,
.compare-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: var(--border-glass);
}

.compare-table th {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.02);
  position: sticky;
  top: 0;
}

.compare-table td {
  color: var(--color-text-secondary);
}

.compare-table td strong {
  color: var(--color-text-primary);
}

.compare-table tbody tr {
  transition: background var(--duration-fast);
}

.compare-table tbody tr:hover {
  background: rgba(168, 85, 247, 0.04);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* ── Guide Content (Prose) ── */
.guide-content {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.guide-content h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin: var(--space-10) 0 var(--space-4);
}

.guide-content h3:first-child {
  margin-top: var(--space-4);
}

.guide-content p {
  margin-bottom: var(--space-4);
}

.guide-content ul,
.guide-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.guide-content ul { list-style: disc; }
.guide-content ol { list-style: decimal; }

.guide-content li {
  margin-bottom: var(--space-2);
  line-height: var(--leading-relaxed);
}

.guide-content strong {
  color: var(--color-text-primary);
  font-weight: var(--weight-semibold);
}

.guide-content em {
  color: var(--color-accent-cyan);
}

.guide-content a {
  color: var(--color-accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 404 Gradient Shift ── */
@keyframes gradient-shift {
  0% { background-position: 0% center; }
  50% { background-position: 150% center; }
  100% { background-position: 300% center; }
}

/* ═══════════════════════════════════════════════════
   Responsive Breakpoints
   ═══════════════════════════════════════════════════ */

@media (min-width: 640px) {
  .hero__actions { flex-direction: row; }
  .newsletter-form { flex-direction: row; }
  .newsletter-form__btn { width: auto; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .comparison { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }

  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }

  .enterprise-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .enterprise-banner__text { max-width: 600px; }

  .tool-deep__body { grid-template-columns: repeat(2, 1fr); }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero__title-gradient { animation: none; }
}

/* ── FAQ Accordion ── */
.faq-item {
  border-bottom: var(--border-glass);
  padding: var(--space-5) 0;
}

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

.faq-item__q {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  cursor: pointer;
  padding: var(--space-2) 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--duration-fast);
}

.faq-item__q:hover { color: var(--color-accent-cyan); }

.faq-item__q::after {
  content: '+';
  font-size: var(--text-xl);
  color: var(--color-accent-purple);
  transition: transform var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
  margin-left: var(--space-4);
}

.faq-item[open] .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__a {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  padding: var(--space-4) 0 var(--space-2);
  max-width: 640px;
}

.faq-item__a a {
  color: var(--color-accent-cyan);
  text-decoration: underline;
}

/* ── Print ── */
@media print {
  .nav, .footer, .cookie-banner, .ad-slot, .cta-section, .gate-overlay, .gate-modal { display: none !important; }
  body { background: #fff; color: #000; }
  .card { border: 1px solid #ccc; }
  .gated[data-gate] { filter: none !important; }
  .print-watermark { display: block !important; }
}

/* ═══════════════════════════════════════════════════
   Content Gate System — Email + Pro Tiers
   ═══════════════════════════════════════════════════ */

/* Gated content container */
.gated {
  position: relative;
}

.gated[data-gate="email"]:not(.unlocked),
.gated[data-gate="pro"]:not(.unlocked) {
  max-height: 320px;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.gated[data-gate="email"]:not(.unlocked) > *,
.gated[data-gate="pro"]:not(.unlocked) > * {
  filter: blur(5px);
  pointer-events: none;
}

/* Gate overlay gradient fade */
.gate-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(6, 6, 12, 0.4) 30%,
    rgba(6, 6, 12, 0.92) 70%,
    var(--color-bg-deep) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: var(--space-8);
  z-index: var(--z-card);
}

.gate-overlay__card {
  text-align: center;
  padding: var(--space-8) var(--space-10);
  background: var(--color-bg-elevated);
  border: var(--border-accent);
  border-radius: var(--radius-xl);
  max-width: 460px;
  width: 90%;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.gate-overlay__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}

.gate-overlay__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}

.gate-overlay__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}

.gate-overlay__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.gate-overlay__input {
  width: 100%;
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  border: var(--border-glass);
  border-radius: var(--radius-full);
  transition: border-color var(--duration-fast);
  font-family: var(--font-primary);
}

.gate-overlay__input:focus {
  outline: none;
  border-color: var(--color-accent-purple);
}

.gate-overlay__input::placeholder {
  color: var(--color-text-muted);
}

.gate-overlay__msg {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Pro upgrade CTA in gate */
.gate-overlay__price {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  background: var(--gradient-text);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
  margin-bottom: var(--space-1);
}

.gate-overlay__period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.gate-overlay__features {
  text-align: left;
  margin-bottom: var(--space-6);
  list-style: none;
  padding: 0;
}

.gate-overlay__features li {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  position: relative;
}

.gate-overlay__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-green);
  font-weight: var(--weight-bold);
}

/* ═══════════════════════════════════════════════════
   Pricing Page
   ═══════════════════════════════════════════════════ */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}

.pricing-card {
  background: var(--color-bg-card);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: var(--border-glass);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  position: relative;
  transition: transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-normal);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.12);
}

.pricing-card--featured::before {
  content: 'MOST VALUE';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-aurora);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card__name {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-card__price {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.pricing-card__price span {
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  color: var(--color-text-muted);
}

.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.pricing-card__features {
  text-align: left;
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-8);
}

.pricing-card__features li {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--color-accent-green);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
}

.pricing-card__features li.disabled {
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.pricing-card__features li.disabled::before {
  content: '✗';
  color: var(--color-text-muted);
}

/* ── Cheat Sheet Print Watermark ── */
.print-watermark {
  display: none;
}

@media print {
  .print-watermark {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 10px;
    color: #999;
    opacity: 0.5;
    z-index: 9999;
  }
}

/* ── Lead Capture Form ── */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 500px;
  margin: var(--space-8) auto 0;
}

.lead-form__row {
  display: flex;
  gap: var(--space-4);
  flex-direction: column;
}

.lead-form__input {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  transition: border-color var(--duration-fast);
}

.lead-form__input:focus {
  outline: none;
  border-color: var(--color-accent-purple);
}

.lead-form__input::placeholder {
  color: var(--color-text-muted);
}

.lead-form__msg {
  font-size: var(--text-sm);
  text-align: center;
  min-height: 1.5em;
}

/* Pricing responsive */
@media (min-width: 640px) {
  .gate-overlay__form { flex-direction: row; }
  .gate-overlay__form .btn { width: auto; flex-shrink: 0; }
  .lead-form__row { flex-direction: row; }
}

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