/* ============================================================================
   CYBERPUNK THEME — Affiliate Insider
   TRON × Bloomberg Terminal × Cyberpunk 2077
   Primary: #00ffd5 (Electric Cyan)
   Secondary: #ff00ff (Hot Magenta)
   Accent: #39ff14 (Acid Green)
   ============================================================================ */

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

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

:root {
  /* Core backgrounds */
  --bg-base:       #0a0a0f;
  --bg-surface:    #0f0f1a;
  --bg-card:       #12121a;
  --bg-card-hover: #1a1a28;
  --bg-elevated:   #1a1a2e;
  --bg-input:      #0f0f1a;

  /* Cyberpunk accent palette */
  --cyan:          #00ffd5;
  --cyan-soft:     #4dffe5;
  --cyan-dim:      rgba(0,255,213,0.08);
  --cyan-border:   rgba(0,255,213,0.25);
  --cyan-glow:     rgba(0,255,213,0.5);

  --magenta:       #ff00ff;
  --magenta-soft:  #ff4dff;
  --magenta-dim:   rgba(255,0,255,0.08);
  --magenta-border:rgba(255,0,255,0.25);
  --magenta-glow:  rgba(255,0,255,0.5);

  /* Keep aliases for pipeline compatibility */
  --purple:        #ff00ff;
  --purple-soft:   #ff4dff;
  --purple-dim:    rgba(255,0,255,0.08);
  --purple-border: rgba(255,0,255,0.25);

  --green:         #39ff14;
  --green-dim:     rgba(57,255,20,0.08);
  --green-border:  rgba(57,255,20,0.25);

  --gold:          #ffd700;
  --gold-soft:     #ffe040;
  --gold-dim:      rgba(255,215,0,0.08);
  --gold-border:   rgba(255,215,0,0.25);

  --red:           #ff3333;

  /* Text */
  --text-primary:   #ffffff;
  --text-secondary: #8b8b9e;
  --text-muted:     #55556e;

  /* Borders & shadows */
  --border-subtle:  rgba(255,255,255,0.04);
  --border-card:    rgba(255,255,255,0.08);
  --border-hover:   rgba(0,255,213,0.3);
  --shadow-card:    0 4px 24px rgba(0,0,0,0.6);
  --shadow-hover:   0 12px 48px rgba(0,0,0,0.8), 0 0 40px rgba(0,255,213,0.1);
  --glow-cyan:      0 0 24px rgba(0,255,213,0.4), 0 0 60px rgba(0,255,213,0.15);
  --glow-magenta:   0 0 24px rgba(255,0,255,0.4), 0 0 60px rgba(255,0,255,0.15);
  --glow-green:     0 0 24px rgba(57,255,20,0.4);
  --glow-gold:      0 0 24px rgba(255,215,0,0.4);

  /* Radii */
  --radius-xl:   24px;
  --radius-lg:   16px;
  --radius-md:   12px;
  --radius-sm:   8px;
  --radius-xs:   6px;
  --radius-pill: 999px;

  /* Fonts */
  --font-display: 'Orbitron', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Transitions */
  --transition-fast:   0.2s cubic-bezier(0.4,0,0.2,1);
  --transition-smooth: 0.4s cubic-bezier(0.4,0,0.2,1);
  --transition-bounce: 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Matrix rain canvas — rendered by scripts.js */
#matrix-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}


/* Particle network canvas */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Floating particles */
.particle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: particleFloat var(--dur, 15s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0.3;
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
  50% { transform: translateY(-30px) scale(1.2); opacity: 0.5; }
}

/* Scanline overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* Radial ambient glow */
body::after {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(0,255,213,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 90%, rgba(255,0,255,0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 2; }

/* ── Scrollbar ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--cyan-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }
::selection { background: rgba(0,255,213,0.25); color: #fff; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(0,255,213,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 40%, rgba(255,0,255,0.04) 0%, transparent 50%);
  animation: heroMesh 20s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroMesh {
  0%   { transform: scale(1) translate(0,0); }
  50%  { transform: scale(1.06) translate(-12px,-6px); }
  100% { transform: scale(1.02) translate(8px,4px); }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--bg-base));
  pointer-events: none;
}

/* Cyberpunk grid overlay in hero */
.hero-grid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(0,255,213,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,213,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
  pointer-events: none;
  z-index: 0;
  flex-shrink: 0;
  align-self: auto;
}

.hero-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--cyan) 30%,
    var(--magenta) 70%,
    transparent 100%
  );
  opacity: 0.7;
  box-shadow: 0 0 20px rgba(0,255,213,0.5);
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: rgba(0,255,213,0.06);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 auto 28px;
  animation: badgePulse 3s ease-in-out infinite;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(0,255,213,0.1);
  position: relative;
  z-index: 2;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,255,213,0.2), 0 0 20px rgba(0,255,213,0.1); }
  50% { box-shadow: 0 0 0 8px rgba(0,255,213,0), 0 0 30px rgba(0,255,213,0.2); }
}

.live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green), 0 0 16px var(--green);
  animation: liveBlink 2s ease-in-out infinite;
}
@keyframes liveBlink {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* Glitch text effect */
.glitch {
  position: relative;
  display: inline-block;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  font-family: inherit; font-size: inherit; font-weight: inherit;
}
.glitch::before {
  color: var(--magenta);
  animation: glitchTop 4s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}
.glitch::after {
  color: var(--cyan);
  animation: glitchBottom 4s infinite;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}
@keyframes glitchTop {
  0%,90%,100% { transform: translateX(0); opacity: 0; }
  91%,93% { transform: translateX(-4px); opacity: 0.8; }
  92%,94% { transform: translateX(4px); opacity: 0.8; }
}
@keyframes glitchBottom {
  0%,90%,100% { transform: translateX(0); opacity: 0; }
  91%,93% { transform: translateX(4px); opacity: 0.8; }
  92%,94% { transform: translateX(-4px); opacity: 0.8; }
}

/* Color text classes */
.cyan   { color: var(--cyan); text-shadow: 0 0 20px rgba(0,255,213,0.5); }
.purple { color: var(--magenta); text-shadow: 0 0 20px rgba(255,0,255,0.5); }
.gold   { color: var(--gold); text-shadow: 0 0 20px rgba(255,215,0,0.5); }
.green  { color: var(--green); text-shadow: 0 0 20px rgba(57,255,20,0.5); }

/* Gradient text */
.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--cyan));
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
}
@keyframes gradientShift {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
  position: relative;
  z-index: 2;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.1;
  letter-spacing: -1px;
  text-shadow: 0 0 20px rgba(0,255,213,0.4);
}
.hero-stat-value.purple-val { color: var(--magenta); text-shadow: 0 0 20px rgba(255,0,255,0.4); }
.hero-stat-value.gold-val   { color: var(--gold);    text-shadow: 0 0 20px rgba(255,215,0,0.4); }
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}
.hero-stat-dot {
  align-self: center;
  width: 3px; height: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  opacity: 0.4;
}
.hero .btn {
  width: auto;
  display: inline-flex;
  padding: 16px 40px;
  font-size: 15px;
  border-radius: var(--radius-md);
  margin-top: 32px;
  position: relative;
  z-index: 2;
}

/* ── Floating geometric shapes ─────────────────────────────────── */
.float-shape {
  position: absolute;
  pointer-events: none;
  animation: floatShape 6s ease-in-out infinite;
  z-index: 1;
}
.float-shape-1 {
  top: 25%; left: 5%;
  width: 60px; height: 60px;
  border: 1px solid rgba(0,255,213,0.3);
  border-radius: var(--radius-md);
  animation-delay: 0s;
}
.float-shape-2 {
  bottom: 25%; right: 5%;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,0,255,0.3);
  border-radius: 50%;
  animation-delay: 2s;
}
.float-shape-3 {
  top: 35%; right: 12%;
  width: 36px; height: 36px;
  border: 1px solid rgba(57,255,20,0.3);
  transform: rotate(45deg);
  animation-delay: 4s;
}
@keyframes floatShape {
  0%,100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
  50% { transform: translateY(-20px) rotate(8deg); opacity: 0.8; }
}
.float-shape-3 {
  animation-name: floatShapeRotate;
}
@keyframes floatShapeRotate {
  0%,100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50% { transform: rotate(52deg) translateY(-16px); opacity: 0.8; }
}

/* ── Navigation ────────────────────────────────────────────────── */
.pill-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 0 30px rgba(0,255,213,0.03);
}
.pill-nav a {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pill-nav a:hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
  border-color: var(--border-card);
}
.pill-nav a.active {
  color: var(--cyan);
  background: var(--cyan-dim);
  border-color: var(--cyan-border);
  box-shadow: 0 0 20px rgba(0,255,213,0.1);
}

/* ── Section Headers ───────────────────────────────────────────── */
.section-header {
  max-width: 1280px;
  margin: 64px auto 28px;
  padding: 0 28px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-header h2 .icon {
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-md);
  box-shadow: 0 0 16px rgba(0,255,213,0.1);
}
.section-header p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ── Bento Grid ────────────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px 56px;
}

/* ── Card — 3D tilt via JS ─────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  position: relative;
  box-shadow: var(--shadow-card);
  animation: cardFadeIn 0.6s ease both;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Glowing border on hover via pseudo */
.card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(0,255,213,0.4) 0%,
    transparent 40%,
    transparent 60%,
    rgba(255,0,255,0.4) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
  z-index: 2;
}

.card::after {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-border), transparent);
  opacity: 0;
  transition: all var(--transition-smooth);
  z-index: 2;
}

.card:hover {
  border-color: var(--cyan-border);
  box-shadow: var(--shadow-hover);
  background: var(--bg-card-hover);
}
.card:hover::before { opacity: 1; }
.card:hover::after  { opacity: 1; left: 5%; right: 5%; }

/* Hover glow overlay (inserted by JS 3D tilt) */
.card-glow-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,255,213,0.05), rgba(255,0,255,0.05));
  border-radius: var(--radius-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  z-index: 1;
}
.card:hover .card-glow-overlay { opacity: 1; }

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card:nth-child(1)  { animation-delay: .04s; }
.card:nth-child(2)  { animation-delay: .08s; }
.card:nth-child(3)  { animation-delay: .12s; }
.card:nth-child(4)  { animation-delay: .16s; }
.card:nth-child(5)  { animation-delay: .20s; }
.card:nth-child(6)  { animation-delay: .24s; }
.card:nth-child(7)  { animation-delay: .28s; }
.card:nth-child(8)  { animation-delay: .32s; }
.card:nth-child(9)  { animation-delay: .36s; }
.card:nth-child(10) { animation-delay: .40s; }
.card:nth-child(11) { animation-delay: .44s; }
.card:nth-child(12) { animation-delay: .48s; }
.card:nth-child(n+13) { animation-delay: .52s; }

.card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated));
}
/* Brand card previews (logo on dark canvas) use contain so the logo
   fills the card cleanly without being cropped. Full-bleed photos use
   the .card-img-cover modifier to restore the original cover behaviour. */
.card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  filter: brightness(0.95) saturate(1.05);
}
.card-img.card-img-cover img {
  object-fit: cover;
  filter: brightness(0.88) saturate(1.1);
}
.card:hover .card-img img { transform: scale(1.04); filter: brightness(1) saturate(1.15); }
.card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(transparent, var(--bg-card));
  pointer-events: none;
  z-index: 1;
}
.card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated));
}
.card-img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(0,255,213,0.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255,0,255,0.05) 0%, transparent 50%);
}

/* ── Brand Card Preview ─────────────────────────────────────────── */
/* Used as the card-img content when generate-brand-hero.py produces  */
/* a 600×300 logo-on-dark-canvas .logo.png preview file.              */
/* The image IS the card — dark gradient bg + white pill + logo +     */
/* program name + accent bar — generated by the pipeline.             */
/* CSS here just ensures it renders correctly inside .card-img.       */
.card-img .brand-card-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

/* Standalone .brand-card component — for use by any agent that needs  */
/* to render a branded preview block directly in HTML (not via image). */
.brand-card {
  position: relative;
  width: 100%;
  padding-bottom: 50%; /* 2:1 ratio — matches 600×300 output */
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-base) 50%, #0d1020 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.brand-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,255,213,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,213,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.brand-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--cyan));
}
.brand-card-inner {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.brand-card-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  width: 70%; height: 90%;
  background: radial-gradient(ellipse,
    rgba(0,255,213,0.1) 0%,
    rgba(255,0,255,0.05) 45%,
    transparent 70%
  );
  pointer-events: none;
}
.brand-card-logo {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 24px rgba(0,255,213,0.2),
    0 0 48px rgba(255,0,255,0.08);
  max-width: 60%;
}
.brand-card-logo img {
  max-height: 40px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.brand-card-name {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(0,255,213,0.4);
}

.card-body {
  padding: 22px 24px 24px;
  position: relative;
  z-index: 1;
}
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.card:hover .card-body h3 { color: var(--cyan); }
.card-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.65;
}
.card-date {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

/* ── Badges ────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.badge-offer    { background: var(--gold-dim);    color: var(--gold);    border: 1px solid var(--gold-border);    box-shadow: 0 0 12px rgba(255,215,0,0.1); }
.badge-blog     { background: var(--cyan-dim);    color: var(--cyan);    border: 1px solid var(--cyan-border);    box-shadow: 0 0 12px rgba(0,255,213,0.1); }
.badge-featured { background: var(--magenta-dim); color: var(--magenta); border: 1px solid var(--magenta-border); box-shadow: 0 0 12px rgba(255,0,255,0.1); }

/* ── Tags ──────────────────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
}
.tag-cyan    { background: var(--cyan-dim);    color: var(--cyan-soft);    border: 1px solid var(--cyan-border); }
.tag-purple  { background: var(--magenta-dim); color: var(--magenta-soft); border: 1px solid var(--magenta-border); }
.tag-gold    { background: var(--gold-dim);    color: var(--gold-soft);    border: 1px solid var(--gold-border); }
.tag-green   { background: var(--green-dim);   color: var(--green);        border: 1px solid var(--green-border); }
.card:hover .tag { border-color: rgba(0,255,213,0.2); }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  width: 100%;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn:hover::before { left: 100%; }

.btn-gold {
  background: linear-gradient(90deg, var(--gold), #ff8c00);
  color: #0a0a0f;
  box-shadow: 0 4px 20px rgba(255,215,0,0.25);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,215,0,0.4), 0 0 20px rgba(255,215,0,0.2);
  filter: brightness(1.1);
}
.btn-cyan {
  background: linear-gradient(90deg, var(--cyan), #00b8a0);
  color: #0a0a0f;
  box-shadow: 0 4px 20px rgba(0,255,213,0.25);
}
.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,255,213,0.4), 0 0 20px rgba(0,255,213,0.2);
  filter: brightness(1.1);
}
.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan-border);
}
.btn-outline:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

/* ── Divider ───────────────────────────────────────────────────── */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 5%,
    var(--border-card) 25%,
    var(--cyan-border) 50%,
    var(--border-card) 75%,
    transparent 95%
  );
  max-width: 1280px;
  margin: 24px auto 8px;
  box-shadow: 0 0 10px rgba(0,255,213,0.1);
}

/* ── View All ──────────────────────────────────────────────────── */
.view-all { text-align: center; padding: 8px 28px 56px; }
.view-all a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  font-size: 11px;
  padding: 14px 36px;
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(0,255,213,0.05);
}
.view-all a:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

/* ── Footer ────────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 48px 24px;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, transparent, rgba(0,255,213,0.01));
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-border), var(--magenta-border), transparent);
}
footer p { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); letter-spacing: 1px; }
footer .footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 1rem; margin-bottom: 8px; letter-spacing: 2px; text-transform: uppercase; }
footer .footer-links { display: flex; justify-content: center; gap: 24px; margin-top: 16px; }
footer .footer-links a { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); text-decoration: none; letter-spacing: 0.5px; transition: color var(--transition-fast); }
footer .footer-links a:hover { color: var(--cyan); }

/* ── Post Content (blog) ───────────────────────────────────────── */
.post-content { max-width: 800px; margin: 0 auto; padding: 48px 28px 80px; }
.post-content h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: 0px; line-height: 1.2; margin-bottom: 16px; text-transform: uppercase; }
.post-content h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-top: 40px; margin-bottom: 16px; color: var(--cyan); text-shadow: 0 0 20px rgba(0,255,213,0.3); text-transform: uppercase; letter-spacing: 0.5px; }
.post-content h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-top: 32px; margin-bottom: 12px; text-transform: uppercase; }
.post-content p { margin-bottom: 20px; color: var(--text-secondary); line-height: 1.8; }
.post-content a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; transition: color var(--transition-fast); }
.post-content a:hover { color: var(--cyan-soft); }
.post-content img { width: 100%; border-radius: var(--radius-md); margin: 24px 0; border: 1px solid var(--border-card); }
.post-content ul, .post-content ol { margin: 16px 0 20px 24px; color: var(--text-secondary); }
.post-content li { margin-bottom: 8px; }
.post-content blockquote { border-left: 3px solid var(--cyan); background: var(--cyan-dim); padding: 16px 20px; margin: 24px 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-secondary); font-style: italic; box-shadow: 0 0 20px rgba(0,255,213,0.05); }
.post-content code { font-family: var(--font-mono); font-size: 0.88em; background: var(--bg-elevated); padding: 2px 8px; border-radius: var(--radius-xs); border: 1px solid var(--border-card); color: var(--cyan); }
.post-content pre { background: var(--bg-surface); border: 1px solid var(--cyan-border); border-radius: var(--radius-md); padding: 20px; overflow-x: auto; margin: 24px 0; box-shadow: 0 0 20px rgba(0,255,213,0.05); }
.post-content pre code { background: none; border: none; padding: 0; }

/* Authority / external link box */
.authority-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 24px 0;
  box-shadow: 0 0 20px rgba(255,215,0,0.06);
}
.authority-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.authority-box a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.authority-box a:hover { color: var(--gold-soft); filter: drop-shadow(0 0 8px rgba(255,215,0,0.4)); }

/* ── Landing Page Components ───────────────────────────────────── */
.lp-hero-img { max-width: 1080px; margin: 0 auto; padding: 0 28px 56px; position: relative; z-index: 1; }
.lp-hero-img img { width: 100%; border-radius: var(--radius-xl); border: 1px solid var(--cyan-border); box-shadow: 0 0 40px rgba(0,255,213,0.1), var(--shadow-hover); transition: transform var(--transition-smooth); }
.lp-hero-img img:hover { transform: scale(1.015); }
.lp-hero-img::after { content: ''; position: absolute; bottom: 56px; left: 28px; right: 28px; height: 80px; background: linear-gradient(transparent, var(--bg-base)); border-radius: 0 0 var(--radius-xl) var(--radius-xl); pointer-events: none; }

.lp-text { max-width: 880px; margin: 0 auto; padding: 0 28px 48px; }
.lp-text h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-top: 40px; margin-bottom: 16px; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.5px; }
.lp-text h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-top: 32px; margin-bottom: 12px; text-transform: uppercase; }
.lp-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; font-size: 1.02rem; }
.lp-text ul, .lp-text ol { margin: 16px 0 24px 24px; color: var(--text-secondary); }
.lp-text li { margin-bottom: 12px; line-height: 1.65; font-size: 1.02rem; }
.lp-text li strong { color: var(--text-primary); }
.lp-text a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.lp-text blockquote { border-left: 3px solid var(--cyan); background: var(--cyan-dim); padding: 16px 20px; margin: 24px 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-secondary); font-style: italic; }
.lp-text img { width: 100%; border-radius: var(--radius-md); margin: 24px 0; border: 1px solid var(--border-card); }

.lp-cta-banner { text-align: center; padding: 64px 28px; margin: 0 auto; max-width: 1280px; position: relative; }
.lp-cta-banner::before { content: ''; position: absolute; inset: 0 28px; background: linear-gradient(135deg, rgba(0,255,213,0.04) 0%, rgba(255,0,255,0.04) 100%); border: 1px solid var(--cyan-border); border-radius: var(--radius-xl); z-index: -1; box-shadow: 0 0 40px rgba(0,255,213,0.05); }
.lp-cta-banner::after { content: ''; position: absolute; top: 0; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, transparent 10%, var(--cyan-border) 50%, transparent 90%); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.lp-cta-banner h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; letter-spacing: 0px; text-transform: uppercase; color: var(--text-primary); }
.lp-cta-banner p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.lp-cta-banner .btn { width: auto; display: inline-flex; padding: 16px 40px; font-size: 13px; border-radius: var(--radius-md); }

.lp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1280px; margin: 0 auto; padding: 0 28px 48px; }
.lp-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); transition: all var(--transition-smooth); }
.lp-card:hover { border-color: var(--cyan-border); box-shadow: 0 0 30px rgba(0,255,213,0.08), var(--shadow-hover); }
.lp-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.lp-card ul { list-style: none; padding: 0; margin: 0; }
.lp-card li { padding: 10px 0; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; }
.lp-card li:last-child { border-bottom: none; }
.lp-card-pros h3 { color: var(--green); text-shadow: 0 0 16px rgba(57,255,20,0.3); }
.lp-card-cons h3 { color: var(--red); }

.card .price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--cyan); letter-spacing: -1px; margin: 8px 0 4px; text-shadow: 0 0 20px rgba(0,255,213,0.4); }
.card .price-period { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.5px; margin-bottom: 16px; }
.card .price-features { list-style: none; padding: 0; margin: 0 0 20px; }
.card .price-features li { padding: 6px 0; color: var(--text-secondary); font-size: 0.88rem; border-bottom: 1px solid var(--border-subtle); }
.card .price-features li:last-child { border-bottom: none; }

/* ── Ticker ────────────────────────────────────────────────────── */
.ticker-container {
  width: 100%;
  overflow: hidden;
  padding: 0 28px 48px;
  position: relative;
  display: flex;
  justify-content: center;
}
.ticker-container::before,
.ticker-container::after {
  content: '';
  position: absolute;
  top: 0; bottom: 56px;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-container::before { left: 28px; background: linear-gradient(to right, var(--bg-base), transparent); }
.ticker-container::after  { right: 28px; background: linear-gradient(to left, var(--bg-base), transparent); }

.ticker-track {
  display: flex;
  gap: 12px;
  animation: ticker-scroll 220s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.ticker-item:hover {
  border-color: var(--cyan-border);
  box-shadow: 0 0 20px rgba(0,255,213,0.15);
  color: var(--cyan);
  background: var(--cyan-dim);
}
.ticker-badge { font-size: 14px; line-height: 1; flex-shrink: 0; }
.ticker-name {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

/* ── Trust / Stats Bar ─────────────────────────────────────────── */
.trust-bar { max-width: 1280px; margin: 0 auto; padding: 0 28px 48px; }
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 32px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card), 0 0 40px rgba(0,255,213,0.03);
}
.trust-stat { text-align: center; }
.trust-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -1px;
  line-height: 1.1;
  text-shadow: 0 0 20px rgba(0,255,213,0.3);
}
.trust-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ── Enhanced LP Elements ──────────────────────────────────────── */
.hero-trust { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.trust-item { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.5px; }
.trust-dot { width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; opacity: 0.4; }

.comparison-table-wrap { max-width: 880px; margin: 0 auto; padding: 0 28px 48px; overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.92rem; border: 1px solid var(--border-card); border-radius: var(--radius-lg); overflow: hidden; }
.comparison-table thead { background: var(--bg-elevated); }
.comparison-table th { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; color: var(--text-primary); padding: 14px 20px; text-align: left; letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid var(--border-card); }
.comparison-table td { padding: 14px 20px; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr { background: var(--bg-card); transition: background var(--transition-fast); }
.comparison-table tbody tr:hover { background: var(--bg-card-hover); }
.td-manual { color: var(--red)!important; font-family: var(--font-mono); font-size: 0.85rem; }
.td-plesk  { color: var(--green)!important; font-family: var(--font-mono); font-size: 0.85rem; }
.td-saved  { color: var(--cyan)!important; font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600; }
.comparison-table tfoot { background: var(--bg-elevated); }
.comparison-table tfoot td { border-bottom: none; padding: 16px 20px; }

.lp-faq { max-width: 880px; margin: 0 auto; padding: 0 28px 48px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden; transition: all var(--transition-fast); }
.faq-item[open] { border-color: var(--cyan-border); box-shadow: 0 0 24px rgba(0,255,213,0.06); }
.faq-item summary { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--text-primary); padding: 20px 24px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: color var(--transition-fast); text-transform: uppercase; letter-spacing: 0.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--font-display); font-size: 1.4rem; color: var(--cyan); transition: transform var(--transition-fast); flex-shrink: 0; margin-left: 16px; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--cyan); }
.faq-item p { padding: 0 24px 20px; color: var(--text-secondary); line-height: 1.75; font-size: 0.95rem; }

.cta-subtext { display: flex; justify-content: center; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.cta-subtext span { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.3px; }

/* ── Category filter pills ─────────────────────────────────────── */
.filter-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 28px 32px; }
.filter-pill {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-pill:hover { color: var(--cyan); border-color: var(--cyan-border); background: var(--cyan-dim); }
.filter-pill.active {
  color: var(--cyan);
  border-color: var(--cyan-border);
  background: var(--cyan-dim);
  box-shadow: 0 0 16px rgba(0,255,213,0.15);
}

/* ── Responsive ────────────────────────────────────────────────── */
@media(max-width:1024px) { .bento-grid { grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 18px; padding: 0 20px 48px; } }
@media(max-width:768px) {
  .hero { padding: 72px 20px 48px; }
  .hero h1 { font-size: 2.2rem; letter-spacing: 0; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 24px; margin-top: 28px; }
  .hero-stat-value { font-size: 1.6rem; }
  .bento-grid { grid-template-columns: 1fr; gap: 16px; padding: 0 16px 36px; }
  .section-header { margin: 36px auto 20px; padding: 0 16px; }
  .section-header h2 { font-size: 1.2rem; }
  .pill-nav { gap: 4px; padding: 12px; }
  .pill-nav a { font-size: 10px; padding: 7px 14px; }
  .view-all { padding: 8px 16px 40px; }
  .lp-grid-2 { grid-template-columns: 1fr; padding: 0 16px 36px; }
  .lp-hero-img { padding: 0 16px 36px; }
  .lp-text { padding: 0 16px 36px; }
  .lp-cta-banner { padding: 48px 16px; }
  .lp-cta-banner::before { inset: 0 16px; }
  .lp-cta-banner::after { left: 16px; right: 16px; }
  .lp-cta-banner h2 { font-size: 1.4rem; }
  .lp-card { padding: 24px; }
  .hero .btn { padding: 14px 28px; font-size: 12px; }
  .ticker-container { padding: 0 16px 40px; }
  .ticker-container::before { left: 16px; }
  .ticker-container::after { right: 16px; }
  .trust-bar { padding: 0 16px 36px; }
  .trust-bar-inner { gap: 24px; padding: 24px 20px; }
  .trust-stat-num { font-size: 1.4rem; }
  .comparison-table-wrap { padding: 0 16px 36px; }
  .filter-pills { padding: 0 16px 24px; }
}
@media(max-width:480px) {
  .hero { padding: 56px 16px 40px; }
  .hero h1 { font-size: 1.8rem; }
  .card-img { height: 170px; }
  .card-body { padding: 18px 20px 20px; }
  .hero-stats { gap: 20px; }
  .hero-stat-dot { display: none; }
  .lp-hero-img { padding: 0 16px 28px; }
  .lp-cta-banner { padding: 40px 16px; }
  .lp-card { padding: 20px; }
  .trust-bar-inner { gap: 16px; padding: 20px 16px; }
  .trust-stat-num { font-size: 1.2rem; }
  .cta-subtext { flex-direction: column; gap: 8px; align-items: center; }
}

.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* Safety wrapper for LLM-generated CTAs */
.safe-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0;
  width: 100%;
}


/* ============================================================================
   AGENT-GENERATED LANDING PAGE COMPATIBILITY LAYER
   The pipeline agent consistently produces these class names.
   These rules make them render correctly against the cyberpunk theme.
   ============================================================================ */

/* lp-hero — agent's hero wrapper (not the .hero hero section) */
div.lp-hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 28px 40px;
  text-align: center;
}
div.lp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  line-height: 1.1;
}
div.lp-hero .hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
div.lp-hero .hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.75;
}
/* Hero image inside lp-hero — center it */
div.lp-hero img,
div.lp-hero .hero-image {
  display: block;
  width: 100%;
  max-width: 860px;
  margin: 28px auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--cyan-border);
  box-shadow: 0 0 40px rgba(0,255,213,0.1), var(--shadow-hover);
}
/* CTA button inside lp-hero — never full width */
div.lp-hero .btn,
div.lp-hero a.btn {
  width: auto !important;
  display: inline-flex !important;
  padding: 16px 40px;
  font-size: 13px;
  border-radius: var(--radius-md);
  margin: 8px auto 0;
}

/* section.features, section.social-proof, section.how-it-works,
   section.pricing-cta, section.objections, section.final-cta
   — agent wraps content sections in <section> with these class names */
section.features,
section.social-proof,
section.how-it-works,
section.pricing-cta,
section.objections,
section.final-cta {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 48px;
}
section.features .section-header,
section.social-proof .section-header,
section.how-it-works .section-header,
section.pricing-cta .section-header,
section.objections .section-header,
section.final-cta .section-header {
  max-width: 1280px;
  margin: 48px auto 28px;
  padding: 0 28px;
}

/* Standalone p and btn inside section.pricing-cta and section.final-cta */
section.pricing-cta > p,
section.final-cta > p {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.75;
  padding: 0 28px;
}
section.pricing-cta > p.hero-description,
section.final-cta > p.hero-description {
  color: var(--text-secondary);
}

/* CTA buttons directly inside section wrappers — NEVER full-width */
section.pricing-cta > a.btn,
section.final-cta > a.btn,
section.features > a.btn,
section.social-proof > a.btn,
section.how-it-works > a.btn,
section.objections > a.btn {
  width: auto !important;
  display: block !important;
  margin: 0 auto 16px !important;
  max-width: fit-content;
  padding: 16px 40px;
  font-size: 13px;
  border-radius: var(--radius-md);
}

/* Disclosure paragraph */
section.final-cta > p.disclosure,
div.lp-hero p.disclosure,
p.disclosure {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  margin-top: 16px;
  padding: 0 28px;
}

/* hero-subtitle and hero-description used outside .hero context */
p.hero-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 10px;
}
p.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ── Global button width safety net ───────────────────────────────
   Any .btn that is a direct child of a section, div.lp-hero,
   or appears after a paragraph in body context — never full-width */
section > a.btn,
section > div > a.btn,
div.lp-hero > a.btn {
  width: auto !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: fit-content;
}
