/* ==========================================================================
   VIBE CODING LANDING PAGE STYLES
   Theme: Modern, Clean & Minimal Light Mode
   Font: Pretendard
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Theme Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Modern Light Mode */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  /* Primary & Accent Colors (Red Theme) */
  --primary: #ef4444;         /* Vibrant Red (Red 500) */
  --primary-light: #f87171;   /* Bright Red (Red 400) */
  --primary-tint: #fef2f2;    /* Soft Red Tint (Red 50) */
  --primary-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --accent-gradient: linear-gradient(135deg, #f43f5e 0%, #ea580c 100%);
  --warm-gradient: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);

  /* Neutrals & Text */
  --text-primary: #0f172a;    /* Slate 900 */
  --text-secondary: #334155;  /* Slate 700 */
  --text-muted: #64748b;      /* Slate 500 */
  --text-light: #94a3b8;      /* Slate 400 */

  /* Borders & Dividers */
  --border-light: #e2e8f0;    /* Slate 200 */
  --border-subtle: #cbd5e1;   /* Slate 300 */
  --border-focus: #fca5a5;    /* Red 300 */

  /* Shadows - Layered Soft Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 40px -10px rgba(239, 68, 68, 0.35);

  /* Status Colors */
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --danger: #ef4444;
  --danger-bg: #fef2f2;

  /* Typography & Layout */
  --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
  word-break: keep-all;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

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

button, input {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   3. Decorative Background Glows
   -------------------------------------------------------------------------- */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
}

.bg-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
  top: -150px;
  right: -100px;
}

.bg-glow-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  top: 40%;
  left: -150px;
}

.bg-glow-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  bottom: 5%;
  right: -150px;
}

/* --------------------------------------------------------------------------
   4. Container & Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section.bg-light {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.section-header {
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-tint);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  text-transform: uppercase;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   5. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-subtle);
  transform: translateY(-2px);
}

.btn-text-red {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.25);
}

.btn-text-red:hover {
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.45);
  background: #fef2f2;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
  margin-bottom: 22px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}

/* --------------------------------------------------------------------------
   6. Header & Navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-fast);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.95);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 150px 0 90px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.hero-title strong {
  color: var(--text-primary);
  display: inline-block;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

/* Spring Bounce Elastic Effect on Hover */
@keyframes spring-bounce {
  0% {
    transform: scale(1) translateY(0);
  }
  25% {
    transform: scale(1.09, 0.91) translateY(-9px);
  }
  45% {
    transform: scale(0.96, 1.05) translateY(-3px);
  }
  65% {
    transform: scale(1.04, 0.97) translateY(-7px);
  }
  85% {
    transform: scale(0.99, 1.01) translateY(-4px);
  }
  100% {
    transform: scale(1.03) translateY(-5px);
  }
}

.hero-buttons .btn {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.2s ease, color 0.2s ease;
  will-change: transform;
}

.hero-buttons .btn:hover {
  animation: spring-bounce 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-buttons .btn-primary:hover {
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.45);
}

.hero-buttons .btn-secondary:hover {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.hero-buttons .btn:active {
  transform: scale(0.94) translateY(-1px) !important;
  animation: none;
  transition: transform 0.1s ease;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
}

/* Mock Terminal / Window in Hero */
.mock-window {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.mock-window:hover {
  transform: translateY(-4px);
}

.window-header {
  background: #f8fafc;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.window-dots {
  display: flex;
  gap: 7px;
}

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

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.window-body {
  padding: 22px;
}

.chat-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-bubble {
  display: flex;
  gap: 12px;
}

.bubble-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.bubble-avatar.ai-avatar {
  background: var(--primary-gradient);
  color: #ffffff;
}

.bubble-body {
  flex: 1;
}

.bubble-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.user-bubble .bubble-body p {
  background: #f1f5f9;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.5;
  border-top-left-radius: 4px;
}

.ai-status {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.preview-mini-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-tint);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.card-status.live {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--success);
}

.card-progress {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.card-progress .progress-bar {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 3px;
  transition: width 1s ease;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.card-meta span {
  color: var(--text-light);
}

.card-meta strong {
  color: var(--text-primary);
  font-weight: 600;
}

.terminal-footer-line {
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-light);
  min-height: 24px;
}

.cursor {
  animation: blink 1s step-end infinite;
  color: var(--primary);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   8. Quote Section
   -------------------------------------------------------------------------- */
.quote-section {
  padding: 30px 0 60px;
}

.quote-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 50px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-gradient);
}

.quote-icon {
  font-size: 2rem;
  color: var(--primary-light);
  opacity: 0.35;
  margin-bottom: 12px;
}

.quote-text {
  font-size: 1.24rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

/* --------------------------------------------------------------------------
   9. About Section & Comparison Matrix
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 70px;
}

.about-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-focus);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 22px;
}

.bg-primary-soft {
  background: #eef2ff;
  color: #4f46e5;
}

.bg-secondary-soft {
  background: #ecfeff;
  color: #0891b2;
}

.bg-accent-soft {
  background: #faf5ff;
  color: #9333ea;
}

.about-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.about-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Comparison Table */
.comparison-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.comparison-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.93rem;
}

.comparison-table thead th {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
}

.comparison-table thead th:first-child {
  border-top-left-radius: var(--radius-md);
}

.comparison-table thead th:last-child {
  border-top-right-radius: var(--radius-md);
}

.th-traditional {
  color: var(--text-muted) !important;
}

.th-vibe {
  color: var(--primary) !important;
  background: var(--primary-tint) !important;
}

.td-label {
  font-weight: 600;
  color: var(--text-primary);
  width: 25%;
}

.td-label i {
  color: var(--primary);
  margin-right: 8px;
  width: 16px;
}

.highlight-vibe {
  color: var(--primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. Core Pillars
   -------------------------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.pillar-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.pillar-card:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.pillar-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(226, 232, 240, 0.7);
  line-height: 1;
  pointer-events: none;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.pillar-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-features li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-features li i {
  color: var(--success);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   11. Timeline / Workflow
   -------------------------------------------------------------------------- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 31px;
  width: 2px;
  background: var(--border-light);
}

.timeline-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  position: relative;
}

.step-marker {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marker-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--primary);
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--primary-tint);
  z-index: 2;
}

.step-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  transform: translateX(4px);
}

.step-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.step-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.step-example {
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  border-left: 3px solid var(--primary);
}

.example-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.step-example code {
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.5;
  display: block;
}

/* --------------------------------------------------------------------------
   12. Interactive Playground Section
   -------------------------------------------------------------------------- */
.playground-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.playground-controller {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.controller-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.preset-hint {
  font-size: 0.8rem;
  color: var(--text-light);
}

.preset-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preset-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.preset-btn i {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.preset-btn strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.preset-btn small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.preset-btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-subtle);
}

.preset-btn.active {
  background: var(--primary-tint);
  border-color: var(--primary);
}

.preset-btn.active i {
  color: var(--primary);
}

.preset-btn.active strong {
  color: var(--primary);
}

.custom-prompt-box {
  background: var(--bg-secondary);
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.custom-prompt-box label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.input-row {
  display: flex;
  gap: 8px;
}

.input-row input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  background: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.input-row input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.generation-log {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-light);
  min-height: 48px;
  display: flex;
  align-items: center;
}

.text-success { color: var(--success); }

/* Playground Canvas (Right Side) */
.playground-canvas {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 460px;
}

.canvas-header {
  background: var(--bg-tertiary);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

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

.canvas-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}

.canvas-url-bar {
  background: #ffffff;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
  width: 50%;
  justify-content: center;
}

.btn-refresh {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
  transition: transform var(--transition-fast);
}

.btn-refresh:hover {
  transform: rotate(180deg);
  color: var(--primary);
}

.canvas-body {
  flex: 1;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  position: relative;
}

/* Playground Preview Components (Rendered via JS) */
.vibe-preview-card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  padding: 24px;
  animation: fadeIn 0.4s ease;
}

/* Task App Preset */
.todo-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.todo-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.todo-count {
  font-size: 0.78rem;
  color: var(--primary);
  background: var(--primary-tint);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.todo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.todo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-size: 0.86rem;
}

.todo-item.done {
  text-decoration: line-through;
  opacity: 0.6;
}

.todo-checkbox {
  cursor: pointer;
  color: var(--primary);
  margin-right: 10px;
}

/* Pricing Preset */
.pricing-badge {
  display: inline-block;
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.pricing-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-primary);
  margin: 12px 0 16px;
}

.pricing-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pricing-features li i {
  color: var(--success);
  margin-right: 8px;
}

/* Metrics Preset */
.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.metric-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
}

.metric-trend {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-bg);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.metric-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.metric-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  padding-top: 10px;
  border-bottom: 1px solid var(--border-light);
}

.metric-bar-col {
  flex: 1;
  background: var(--primary-tint);
  border-radius: 4px 4px 0 0;
  transition: all 0.5s ease;
  cursor: pointer;
  position: relative;
}

.metric-bar-col:hover, .metric-bar-col.highlight {
  background: var(--primary-gradient);
}

/* --------------------------------------------------------------------------
   13. Best Practices / Tips
   -------------------------------------------------------------------------- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.tip-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 38px 34px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.tip-do {
  border-top: 4px solid var(--success);
}

.tip-dont {
  border-top: 4px solid var(--danger);
}

.tip-header {
  margin-bottom: 24px;
}

.tip-badge-do {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--success);
  background: var(--success-bg);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.tip-badge-dont {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--danger);
  background: var(--danger-bg);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.tip-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tip-list li strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.tip-list li p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tip-list li code {
  background: var(--bg-tertiary);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary);
  font-size: 0.84rem;
}

/* --------------------------------------------------------------------------
   14. FAQ Section
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-subtle);
}

.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  gap: 16px;
}

.faq-question i {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 26px 22px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* --------------------------------------------------------------------------
   15. CTA Banner Section
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 40px 0 100px;
}

.cta-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  border-radius: var(--radius-xl);
  padding: 70px 50px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-xl), 0 20px 40px -15px rgba(67, 56, 202, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 18px;
}

.cta-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 70px 0 30px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

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

.footer-slogan {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.link-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.col-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.link-col a, .link-col span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.link-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

.copyright {
  font-size: 0.82rem;
  color: var(--text-light);
}

.back-to-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.back-to-top:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   17. Animations & Utility Effects
   -------------------------------------------------------------------------- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

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

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

/* Fade in for scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   18. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

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

  .playground-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hide-mobile {
    display: none;
  }

  /* Mobile Nav Drawer */
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .pillars-grid, .tips-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 24px;
  }

  .step-marker {
    width: 48px;
    height: 48px;
  }

  .marker-circle {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .quote-card {
    padding: 30px 24px;
  }

  .quote-text {
    font-size: 1.05rem;
  }

  .comparison-container {
    padding: 24px 16px;
  }

  .cta-card {
    padding: 44px 24px;
  }

  .cta-title {
    font-size: 1.8rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
