/* ================================================================
   VIBECODINGGPT.AI — Stylesheet
   Clean, modern, interactive. Dark mode with vibrant accents.
   Aligned with llmadvisor.ai / projectmanagerpro.ai / salescloserpro.ai brand.
   ================================================================ */

/* ── CSS Variables ── */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #222240;
  --bg-surface: #16162a;
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6a6a80;
  --accent-primary: #7c3aed;
  --accent-secondary: #06b6d4;
  --accent-tertiary: #f59e0b;
  --gradient-1: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  --gradient-2: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  --gradient-3: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #06b6d4 50%, #10b981 100%);
  --border-color: rgba(124, 58, 237, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --nav-height: 56px;

  /* Model colors */
  --color-openai: #10a37f;
  --color-anthropic: #d4a574;
  --color-google: #4285f4;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* ── Hero cinematic background image ── */
@keyframes heroPulse {
  0%, 100% { opacity: 0.22; }
  50%      { opacity: 0.28; }
}

@keyframes heroShift {
  0%, 100% { transform: scale(1.02); }
}

.hero-bg-photo {
  position: absolute;
  top: calc(var(--nav-height) - 10px);
  left: -5%;
  right: -5%;
  bottom: -5%;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}

.hero-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0%;
  opacity: 0.25;
  animation: heroPulse 10s ease-in-out infinite;
  transform: scale(1.02);
  filter: saturate(0.7) contrast(1.1);
}

/* Dark gradient overlays for text readability */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, transparent 0%, rgba(10, 10, 15, 0.55) 100%),
    linear-gradient(to bottom, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0.1) 30%, rgba(10, 10, 15, 0.1) 60%, rgba(10, 10, 15, 0.85) 100%);
}

/* Subtle purple glow bloom behind heading */
.hero-bg-glow {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  filter: blur(40px);
}

/* ── Electric arc canvas overlay ── */
.hero-electricity {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}

a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-primary);
}

img {
  max-width: 100%;
  display: block;
}

/* ── Utility ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(124, 58, 237, 0.45);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  background: rgba(124, 58, 237, 0.08);
  color: var(--text-primary);
}

.btn-full {
  width: 100%;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.logo-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.logo-dot {
  color: var(--accent-primary);
}

/* ── Nav links ── */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2px;
}

.nav-links li {
  flex-shrink: 0;
}

.nav-links a {
  display: block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
  color: #fff;
  background: rgba(124, 58, 237, 0.15);
}

/* ── Mobile toggle ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 20px) 24px 40px;
  position: relative;
  overflow: hidden;
  gap: 0;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

#what-is-vibecoding {
  position: relative;
  overflow: hidden;
}

#what-is-vibecoding::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: url('../static/finalvibecode.png') no-repeat center/contain;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

#what-is-vibecoding > .container {
  position: relative;
  z-index: 1;
}

.hero-logo-mark {
  display: none;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-secondary);
  margin-bottom: 28px;
  animation: fadeIn 0.6s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 32px;
  animation: fadeUp 1s ease;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1.2s ease;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  animation: fadeUp 1.4s ease;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: pulse 2s infinite;
}

.hero-scroll-indicator span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

/* ================================================================
   SECTIONS (shared)
   ================================================================ */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ================================================================
   WHAT IS VIBE CODING
   ================================================================ */
.vibecoding-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.vc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.vc-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.vc-card-main {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  border-color: rgba(124, 58, 237, 0.2);
}

.vc-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.vc-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.vc-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Flow Diagram */
.flow-section {
  margin-top: 32px;
}

.flow-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.flow-diagram {
  display: flex;
  align-items: stretch;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.flow-step {
  flex: 1;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: all 0.3s;
}

.flow-step:hover {
  border-color: var(--accent-secondary);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.flow-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.flow-step-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.flow-step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.flow-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: var(--accent-primary);
  font-weight: 700;
}

/* ================================================================
   CUSTOM GPTs & ITERATIVE WORKFLOW
   ================================================================ */

/* GPTs Intro */
.gpts-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
  align-items: start;
}

.gpts-intro-main h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.gpts-intro-main p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}

.gpt-anatomy {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.gpt-anatomy h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.anatomy-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.anatomy-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.anatomy-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  padding-top: 2px;
}

.anatomy-item strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.anatomy-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* GPT Selection Grid */
.gpts-selection {
  margin-bottom: 80px;
}

.gpts-selection h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.gpts-selection-intro {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 700px;
}

.gpt-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gpt-category {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s;
}

.gpt-category:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.gpt-cat-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.gpt-category h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.gpt-category p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.gpt-examples {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-style: italic;
}

/* Iterative Workflow */
.iterative-workflow h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.workflow-intro {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 750px;
}

.workflow-visual {
  max-width: 720px;
  margin: 0 auto 48px;
}

.workflow-round {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.workflow-round:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.workflow-round.round-final {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.workflow-round.round-final:hover {
  border-color: var(--accent-tertiary);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.12);
}

.round-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 1px solid var(--border-subtle);
}

.round-number {
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1;
  text-align: center;
  padding: 4px;
}

.round-number small {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  line-height: 1;
}

.round-final .round-number {
  background: var(--gradient-3);
  font-size: 1.1rem;
}

.round-label {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.round-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.round-model {
  flex-shrink: 0;
}

.round-model-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.round-desc {
  min-width: 0;
}

.round-desc p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.round-desc em {
  color: var(--accent-secondary);
  font-style: italic;
}

.round-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  white-space: nowrap;
}

.round-prompt-box {
  margin-top: 16px;
  background: var(--bg-surface);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
}

.prompt-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.round-prompt-box code {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-wrap;
}

/* Workflow Connector */
.workflow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
}

.connector-line {
  width: 2px;
  height: 24px;
  background: var(--gradient-1);
}

.connector-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 12px;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 50px;
  margin: 4px 0;
}

/* Why This Works */
.why-works {
  margin-top: 48px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(6, 182, 212, 0.06) 100%);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-xl);
}

.why-works h4 {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}

.why-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  text-align: center;
}

.why-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.why-item h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ================================================================
   VS CODE + GITHUB COPILOT
   ================================================================ */
.vscode-showcase {
  margin-bottom: 80px;
}

.vscode-main-card {
  margin-bottom: 48px;
}

.vscode-window {
  background: #1e1e2e;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.vscode-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #181825;
  border-bottom: 1px solid var(--border-subtle);
}

.vscode-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #f38ba8; }
.dot.yellow { background: #f9e2af; }
.dot.green { background: #a6e3a1; }

.vscode-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.vscode-body {
  display: flex;
  min-height: 280px;
}

.vscode-sidebar {
  width: 48px;
  background: #11111b;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12px;
  gap: 8px;
  border-right: 1px solid var(--border-subtle);
}

.sidebar-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  cursor: default;
  transition: background 0.2s;
}

.sidebar-icon.active {
  background: rgba(124, 58, 237, 0.15);
}

.sidebar-icon.highlight {
  background: rgba(6, 182, 212, 0.15);
  position: relative;
}

.sidebar-icon.highlight::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 20px;
  background: var(--accent-secondary);
  border-radius: 2px;
}

.vscode-editor {
  flex: 1;
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 2;
}

.editor-line {
  white-space: nowrap;
}

.editor-line.blank {
  height: 1.8em;
}

.code-comment {
  color: #6a9955;
}

.code-keyword {
  color: #c586c0;
}

.code-string {
  color: #ce9178;
}

.vscode-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vscode-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s;
}

.vscode-feature-card:hover {
  border-color: var(--accent-secondary);
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.1);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.vscode-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.vscode-feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Setup Guide */
.setup-guide {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(6, 182, 212, 0.06) 100%);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.setup-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.setup-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.setup-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.setup-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 48px;
  font-family: var(--font-mono);
}

.setup-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.setup-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ================================================================
   AI LANDSCAPE
   ================================================================ */
.stack-label {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-left: 4px;
}

.model-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 48px;
}

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

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

.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.model-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.model-openai::before { background: var(--color-openai); }
.model-anthropic::before { background: var(--color-anthropic); }
.model-google::before { background: var(--color-google); }
.model-supporting::before { background: var(--gradient-1); height: 2px; }

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.3);
}

.model-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.model-logo {
  font-size: 1.2rem;
  font-weight: 800;
}

.model-openai .model-logo { color: var(--color-openai); }
.model-anthropic .model-logo { color: var(--color-anthropic); }
.model-google .model-logo { color: var(--color-google); }
.model-supporting .model-logo {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.model-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-primary);
}

.model-models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.model-chip {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.model-strengths h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.model-strengths ul {
  list-style: none;
}

.model-strengths li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.model-strengths li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-size: 0.8rem;
}

.model-access {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.model-card.model-supporting p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Model Cost Section */
.model-cost {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.model-cost h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.model-cost ul {
  list-style: none;
}

.model-cost li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.model-cost li::before {
  content: '$';
  position: absolute;
  left: 0;
  color: var(--accent-tertiary);
  font-size: 0.8rem;
  font-weight: 700;
}

.supporting-cost {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--accent-tertiary);
  font-weight: 500;
}

/* Cost Summary */
.cost-summary {
  margin-top: 64px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, rgba(124, 58, 237, 0.06) 100%);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.cost-summary-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 36px;
}

.cost-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cost-tier {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.cost-tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cost-tier-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.cost-tier-badge.free { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.cost-tier-badge.starter { background: rgba(6, 182, 212, 0.15); color: var(--accent-secondary); }
.cost-tier-badge.pro { background: rgba(124, 58, 237, 0.15); color: var(--accent-primary); }
.cost-tier-badge.max { background: rgba(245, 158, 11, 0.15); color: var(--accent-tertiary); }

.cost-tier-price {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cost-tier p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================================================================
   STACK BUILDER
   ================================================================ */
.stack-builder {
  max-width: 900px;
  margin: 0 auto;
}

.builder-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.builder-btn {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.builder-btn:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.builder-btn.active {
  background: var(--gradient-1);
  color: #fff;
  border-color: transparent;
}

.builder-result {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  min-height: 200px;
}

.builder-result h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.builder-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.builder-flow-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.builder-flow-badge {
  min-width: 110px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  flex-shrink: 0;
}

.badge-claude { background: rgba(212, 165, 116, 0.15); color: var(--color-anthropic); }
.badge-gpt { background: rgba(16, 163, 127, 0.15); color: var(--color-openai); }
.badge-gemini { background: rgba(66, 133, 244, 0.15); color: var(--color-google); }
.badge-vscode { background: rgba(124, 58, 237, 0.15); color: var(--accent-primary); }

.builder-flow-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.builder-flow-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ================================================================
   LEARNING PATH
   ================================================================ */
.learning-track {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.learning-track::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary), #10b981);
}

.track-level {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.track-marker {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 1;
  border: 3px solid var(--bg-primary);
}

.track-marker.beginner { background: var(--accent-primary); }
.track-marker.intermediate { background: var(--accent-secondary); }
.track-marker.advanced { background: #10b981; }

.track-content {
  flex: 1;
}

.track-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.track-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.track-modules {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.module {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.module:hover {
  border-color: var(--accent-primary);
  transform: translateX(4px);
}

.module-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  min-width: 32px;
  padding-top: 2px;
}

.module h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.module p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ================================================================
   PLAYBOOKS
   ================================================================ */
.playbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.playbook-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
  cursor: default;
}

.playbook-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.playbook-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.playbook-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.playbook-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.playbook-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.stack-tag {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
}

.stack-tag.claude { background: rgba(212, 165, 116, 0.15); color: var(--color-anthropic); }
.stack-tag.gpt { background: rgba(16, 163, 127, 0.15); color: var(--color-openai); }
.stack-tag.gemini { background: rgba(66, 133, 244, 0.15); color: var(--color-google); }
.stack-tag.vscode { background: rgba(124, 58, 237, 0.15); color: var(--accent-primary); }

.playbook-time {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ================================================================
   COMPARISON TABLE
   ================================================================ */
.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  font-size: 0.92rem;
  font-weight: 700;
  background: var(--bg-surface);
}

.col-openai { color: var(--color-openai); }
.col-anthropic { color: var(--color-anthropic); }
.col-google { color: var(--color-google); }

.comparison-table td {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table tr:hover td {
  background: rgba(124, 58, 237, 0.03);
}

.rating {
  color: var(--accent-tertiary);
  letter-spacing: 2px;
}

/* ================================================================
   PREMIUM / BOOKING
   ================================================================ */
.premium-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto 80px;
}

.premium-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  transition: all 0.3s;
}

.premium-card.featured {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
  position: relative;
  transform: scale(1.03);
}

.premium-logo-mark {
  display: none;
}

.premium-card.premium-paid.featured {
  position: relative;
  overflow: hidden;
}

.premium-card.premium-paid.featured::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  background: url('../static/finalvibecode.png') no-repeat center/contain;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.premium-card.premium-paid.featured > * {
  position: relative;
  z-index: 1;
}

.premium-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.premium-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.premium-price {
  margin-bottom: 28px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.premium-paid .price {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.premium-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.premium-features li {
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.premium-features li:last-child {
  border-bottom: none;
}

/* Booking Form */
.booking-section {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.booking-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a0a0b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ================================================================
   ECOSYSTEM
   ================================================================ */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.eco-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.eco-card.current {
  border-color: var(--accent-primary);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
}

.eco-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
}

.eco-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.eco-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.eco-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--gradient-1);
  color: #fff;
}

.eco-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-secondary);
}

/* ================================================================
   WEEKLY CHALLENGE
   ================================================================ */
.challenge-card-featured {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.challenge-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.challenge-week {
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--gradient-1);
  color: #fff;
}

.challenge-difficulty {
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-tertiary);
}

.challenge-card-featured h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.challenge-card-featured p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.challenge-models {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.challenge-models > span:first-child {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Challenge email opt-in ── */
.challenge-optin {
  margin-top: 48px;
  text-align: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.challenge-optin::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.optin-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.challenge-optin h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.challenge-optin > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.optin-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto 16px;
}

.optin-input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-primary);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.optin-input::placeholder {
  color: var(--text-muted);
}

.optin-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.optin-btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 12px 24px;
  font-size: 0.9rem;
}

.optin-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
  margin: 0;
}

.optin-success {
  display: none;
  text-align: center;
  padding: 16px;
}

.optin-success.show {
  display: block;
}

.optin-success p {
  font-size: 1.05rem;
  font-weight: 600;
  color: #4ade80;
  margin-bottom: 4px;
}

.optin-success span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 480px) {
  .optin-form {
    flex-direction: column;
  }

  .challenge-optin {
    padding: 28px 20px;
  }
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--bg-secondary);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo-text {
  display: block;
  margin-top: 4px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal {
  margin-top: 20px;
}

.footer-attribution {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-attribution a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.footer-attribution a:hover {
  text-decoration: underline;
}

.footer-disclaimer {
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 860px;
  margin: 0 auto;
  opacity: 0.7;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ================================================================
   RESPONSIVE
   ================================================================ */
/* ── Tablet: nav wraps to 2 rows ── */
@media (max-width: 1100px) {
  .navbar {
    height: auto;
    min-height: var(--nav-height);
  }

  .nav-container {
    flex-wrap: wrap;
    padding: 10px 24px;
    gap: 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    width: 100%;
    padding: 6px 0 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 4px;
  }

  .nav-links a {
    font-size: 0.76rem;
    padding: 5px 10px;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 50px);
  }
}

@media (max-width: 1024px) {
  .model-grid.core-stack {
    grid-template-columns: 1fr;
  }

  .model-grid.supporting-stack {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

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

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

  .gpts-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Keep nav visible as 2 compact rows — no hamburger */
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1px;
    padding: 4px 0 6px;
    border-bottom: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
  }

  .nav-logo .logo-text {
    font-size: 0.9rem;
  }

  .logo-icon-img {
    width: 22px;
    height: 22px;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 60px);
  }

  /* JS sets .hero-bg-photo { top } dynamically to match actual navbar height.
     width:100% + height:auto keeps full landscape image uncropped. */
  .hero-bg-photo {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
  }

  .hero-bg-photo img {
    width: 100% !important;
    height: auto !important;
    object-fit: unset !important;
    transform: none !important;
    animation: none !important;
    opacity: 0.35;
    display: block;
  }

  .vibecoding-grid {
    grid-template-columns: 1fr;
  }

  .vc-card-main {
    grid-column: span 1;
  }

  .flow-diagram {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
    justify-content: center;
  }

  .vscode-features {
    grid-template-columns: 1fr;
  }

  .vscode-sidebar {
    display: none;
  }

  .playbook-grid {
    grid-template-columns: 1fr;
  }

  .premium-layout {
    grid-template-columns: 1fr;
  }

  .premium-card.featured {
    transform: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px;
    font-size: 0.82rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .setup-guide {
    padding: 28px;
  }

  .booking-section {
    padding: 28px;
  }

  .model-grid.supporting-stack {
    grid-template-columns: 1fr;
  }

  .cost-summary-grid {
    grid-template-columns: 1fr;
  }

  .cost-summary {
    padding: 28px;
  }

  .gpts-intro {
    grid-template-columns: 1fr;
  }

  .gpt-category-grid {
    grid-template-columns: 1fr;
  }

  .why-works-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-works {
    padding: 24px;
  }
}

/* ============ PROMPTS SECTION ============ */
.prompt-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.prompt-filter {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.prompt-filter:hover {
  border-color: var(--accent-purple);
  color: var(--text-primary);
}

.prompt-filter.active {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: #fff;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prompt-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.prompt-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
}

.prompt-card.hidden {
  display: none;
}

.prompt-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prompt-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
}

.prompt-tag.build {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.prompt-tag.debug {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.prompt-tag.business {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
}

.prompt-tag.refactor {
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-purple);
}

.prompt-tag.learn {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.prompt-tag.automate {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.prompt-model {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.prompt-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.prompt-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 10px;
  padding: 16px;
  flex: 1;
  font-family: 'Inter', sans-serif;
}

.prompt-copy-btn {
  align-self: flex-end;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.prompt-copy-btn:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: #fff;
}

.prompt-copy-btn.copied {
  background: rgba(34, 197, 94, 0.2);
  border-color: #4ade80;
  color: #4ade80;
}

@media (max-width: 1024px) {
  .prompt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .prompt-grid {
    grid-template-columns: 1fr;
  }

  .prompt-filter-bar {
    gap: 8px;
  }

  .prompt-filter {
    padding: 6px 14px;
    font-size: 0.82rem;
  }
}

/* ── Very small phones ── */
@media (max-width: 480px) {
  .nav-container {
    padding: 8px 12px;
  }

  .nav-links {
    gap: 1px;
    padding: 4px 0 6px;
  }

  .nav-links a {
    font-size: 0.65rem;
    padding: 3px 6px;
  }

  .nav-logo .logo-text {
    font-size: 0.82rem;
  }

  .logo-icon-img {
    width: 20px;
    height: 20px;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 70px);
  }
}
