/* =================================
   PROMPT STACK LANDING PAGE
   Complete standalone CSS
   ================================= */

/* CSS Variables */
:root {
  /* Colors */
  --bg-primary: #0c0d0f;
  --bg-secondary: #14161a;
  --bg-elevated: #1a1d22;
  --bg-popup: #1e2128;

  --text-heading: #ffffff;
  --text-body: #b4b9c4;
  --text-muted: #6b7280;

  --accent: #22c55e;
  --accent-hover: #4ade80;
  --accent-glow: rgba(34, 197, 94, 0.3);

  --success: #22c55e;
  --error: #ef4444;

  --border-default: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.05);

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 80px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* =================================
   NAVIGATION
   ================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 13, 15, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 20px;
}

.logo-text {
  color: var(--text-heading);
  font-weight: 600;
  font-size: 18px;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-heading);
}

.nav-cta {
  background: var(--accent);
  color: var(--bg-primary) !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-body);
  transition: 0.2s;
}

/* =================================
   HERO SECTION
   ================================= */

.hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}

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

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

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-heading);
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #86efac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-emphasis {
  color: var(--text-heading);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* =================================
   BUTTONS
   ================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-heading);
  border: 1px solid var(--border-default);
}

.btn-secondary:hover {
  background: var(--bg-popup);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text-body);
  border: 1px solid var(--border-default);
}

.btn-outline:hover {
  background: var(--bg-elevated);
  color: var(--text-heading);
}

.btn-large {
  padding: 18px 32px;
  font-size: 16px;
}

.btn-badge {
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

/* =================================
   APP PREVIEW
   ================================= */

.hero-preview {
  max-width: 900px;
  margin: 0 auto;
}

.preview-window {
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-default);
}

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

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

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

.preview-title {
  color: var(--text-muted);
  font-size: 12px;
  flex: 1;
  text-align: center;
  margin-right: 50px;
}

.preview-content {
  display: grid;
  grid-template-columns: 180px 1fr 220px;
  min-height: 340px;
}

.preview-explorer,
.preview-viewer,
.preview-agents {
  padding: 12px;
}

.preview-explorer {
  border-right: 1px solid var(--border-default);
}

.preview-agents {
  border-left: 1px solid var(--border-default);
  padding-bottom: 20px;
}

.panel-header {
  margin-bottom: 12px;
}

.panel-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.file-tree {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tree-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-body);
}

.tree-item:hover {
  background: var(--bg-elevated);
}

.tree-item svg {
  color: var(--text-muted);
}

.viewer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.welcome-logo {
  margin-bottom: 12px;
}

.logo-icon-large {
  font-size: 32px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
}

.welcome-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.welcome-nav {
  display: flex;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.nav-arrow {
  color: var(--text-muted);
}

.welcome-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.agents-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.agent-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
}

.agent-icon-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border-radius: 8px;
  margin-bottom: 12px;
}

.agent-icon-wrapper svg {
  color: var(--accent);
}

.agent-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.agent-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.chat-input-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 12px;
}

.input-placeholder {
  font-size: 13px;
  color: var(--text-muted);
}

.agent-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(34, 197, 94, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}

/* =================================
   PROBLEM/SOLUTION SECTION
   ================================= */

.problem-solution {
  padding: var(--section-padding) 0;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-col {
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border-default);
}

.comparison-col.problem {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
}

.comparison-col.solution {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.2);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.comparison-icon {
  color: var(--error);
}

.comparison-icon.success {
  color: var(--success);
}

.comparison-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
}

.comparison-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step {
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-body);
}

.step.error {
  color: var(--error);
}

.step.highlight {
  color: var(--text-heading);
}

.step.success {
  color: var(--success);
  font-weight: 500;
}

.step-arrow {
  display: flex;
  justify-content: center;
  color: var(--text-muted);
}

/* =================================
   HOW IT WORKS
   ================================= */

.how-it-works {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-body);
  text-align: center;
  margin-bottom: 48px;
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 32px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.step-icon {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow-horizontal {
  color: var(--text-muted);
}

/* =================================
   WHAT IT IS SECTION
   ================================= */

.what-it-is {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

/* Video Container */
.video-container {
  max-width: 800px;
  margin: 0 auto 48px;
}

.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.video-placeholder:hover {
  border-color: var(--accent);
  background: var(--bg-popup);
}

.video-play-btn {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  transition: transform 0.2s;
}

.video-placeholder:hover .video-play-btn {
  transform: scale(1.1);
}

.video-play-btn svg {
  margin-left: 4px;
}

.video-label {
  font-size: 14px;
  color: var(--text-muted);
}

.video-container video {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-default);
}

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

.panel-card {
  padding: 32px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  text-align: center;
}

.panel-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.panel-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-list.centered {
  max-width: 500px;
  margin: 0 auto;
}

/* What It Is - Three Panel Preview */
.what-it-is-preview {
  max-width: 900px;
  margin: 0 auto 48px;
}

.what-it-is-preview .preview-content.three-panels {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  min-height: 280px;
}

.panel-section {
  padding: 16px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-default);
}

.panel-section:last-child {
  border-right: none;
}

.panel-section.middle {
  background: var(--bg-primary);
}

.panel-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.panel-demo {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panel-caption {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.4;
}

/* Explorer demo */
.demo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  font-size: 12px;
  color: var(--text-body);
  border-radius: 4px;
}

.demo-item:hover {
  background: var(--bg-elevated);
}

.demo-item.sub {
  padding-left: 24px;
}

.folder-icon, .file-icon {
  font-size: 14px;
}

/* Preview demo - diagram */
.preview-demo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-diagram {
  display: flex;
  align-items: center;
  gap: 12px;
}

.diagram-node {
  padding: 8px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-size: 12px;
  color: var(--accent);
}

.diagram-arrow {
  color: var(--text-muted);
  font-size: 16px;
}

/* Chat demo */
.chat-demo {
  gap: 8px;
}

.chat-bubble {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11px;
  max-width: 90%;
}

.chat-bubble.user {
  background: var(--bg-elevated);
  color: var(--text-heading);
  align-self: flex-end;
}

.chat-bubble.ai {
  background: rgba(34, 197, 94, 0.1);
  color: var(--text-body);
  align-self: flex-start;
}

.chat-bubble.ai.success {
  color: var(--accent);
}

@media (max-width: 768px) {
  .what-it-is-preview .preview-content.three-panels {
    grid-template-columns: 1fr;
  }

  .panel-section {
    border-right: none;
    border-bottom: 1px solid var(--border-default);
  }

  .panel-section:last-child {
    border-bottom: none;
  }
}

/* =================================
   STACKS INTEGRATIONS SECTION
   ================================= */

.stacks-integrations {
  padding: var(--section-padding) 0;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.integration-card {
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: 12px;
}

.integration-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.integration-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.integrations-note {
  text-align: center;
  font-size: 15px;
  color: var(--text-body);
  font-weight: 500;
}

/* =================================
   IN ACTION / CHAT DEMO SECTION
   ================================= */

.in-action-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

/* Workflow Selector */
.workflow-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 800px;
  margin: 0 auto 32px;
}

.workflow-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.workflow-btn:hover {
  background: var(--bg-popup);
  border-color: rgba(255, 255, 255, 0.2);
}

.workflow-btn.active {
  background: rgba(34, 197, 94, 0.1);
  border-color: var(--accent);
}

.workflow-btn strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
}

.workflow-btn span {
  font-size: 11px;
  color: var(--text-muted);
}

.workflow-btn.active strong {
  color: var(--accent);
}

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

@media (max-width: 480px) {
  .workflow-selector {
    grid-template-columns: 1fr;
  }
}

/* Chat Demo Window */
.chat-demo-container {
  max-width: 600px;
  margin: 0 auto 32px;
}

.chat-window {
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.chat-window .preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-indicator {
  margin-left: auto;
  margin-right: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(34, 197, 94, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
}

.chat-msg {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 90%;
}

.chat-msg.user {
  background: var(--bg-elevated);
  color: var(--text-heading);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg.ai {
  background: var(--bg-secondary);
  color: var(--text-body);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.ai.success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--accent);
  font-weight: 500;
}

.chat-msg.ai.log {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  line-height: 1.8;
}

.chat-msg.ai.log .log-time {
  color: var(--text-body);
  margin-right: 8px;
}

.ai-checklist {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.check-item {
  font-size: 13px;
  color: var(--text-muted);
}

.check-item.done {
  color: var(--text-body);
}

.check-item .check {
  color: var(--accent);
  margin-right: 8px;
}

.chat-input-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--border-default);
  background: var(--bg-secondary);
}

.chat-input-bar .input-placeholder {
  font-size: 14px;
  color: var(--text-muted);
}

.chat-input-bar .input-hint {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: 4px 8px;
  border-radius: 4px;
}

/* =================================
   CHAT DEMO ANIMATIONS
   ================================= */

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

/* Animate when in view */
.chat-window.animate .chat-msg {
  opacity: 0;
  animation: chatFadeIn 0.4s ease forwards;
}

.chat-window.animate .chat-msg:nth-child(1) { animation-delay: 0.2s; }
.chat-window.animate .chat-msg:nth-child(2) { animation-delay: 0.8s; }
.chat-window.animate .chat-msg:nth-child(3) { animation-delay: 1.8s; }
.chat-window.animate .chat-msg:nth-child(4) { animation-delay: 2.2s; }
.chat-window.animate .chat-msg:nth-child(5) { animation-delay: 2.8s; }

.chat-window.animate .check-item {
  opacity: 0;
  animation: chatFadeIn 0.3s ease forwards;
}

.chat-window.animate .check-item:nth-child(1) { animation-delay: 1.0s; }
.chat-window.animate .check-item:nth-child(2) { animation-delay: 1.2s; }
.chat-window.animate .check-item:nth-child(3) { animation-delay: 1.4s; }
.chat-window.animate .check-item:nth-child(4) { animation-delay: 1.6s; }

/* Responsive */
@media (max-width: 640px) {
  .chat-demo-container {
    margin-left: -12px;
    margin-right: -12px;
  }

  .chat-window {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .chat-msg {
    max-width: 95%;
  }
}

/* More Examples Grid */
.more-examples {
  max-width: 800px;
  margin: 0 auto;
}

.examples-heading {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
  font-weight: 500;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.example-item {
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.example-item strong {
  color: var(--text-heading);
  font-size: 14px;
}

.example-item span {
  color: var(--text-muted);
  font-size: 12px;
}

.example-item.featured {
  grid-column: span 2;
  text-align: center;
  border-color: var(--accent);
  background: rgba(34, 197, 94, 0.05);
}

.flow-tagline {
  text-align: center;
  font-size: 18px;
  color: var(--text-heading);
  margin-top: 32px;
  font-weight: 500;
}

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

  .example-item.featured {
    grid-column: span 1;
  }
}

/* Legacy - keeping for compatibility */
.automation-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.automation-prompt {
  font-size: 16px;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.automation-description {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
}

.automation-card.featured {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.2);
  text-align: center;
}

.automation-card.featured h3 {
  color: var(--accent);
}

.automation-tagline {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-top: 12px;
}

/* =================================
   FILE ACCESS / SESSION SECTION
   ================================= */

.file-access {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.file-access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.file-access-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  line-height: 1.2;
}

.lead {
  font-size: 18px;
  color: var(--text-body);
  margin-bottom: 32px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-body);
}

.feature-list svg {
  color: var(--success);
  flex-shrink: 0;
}

.terminal-window {
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
}

.terminal-header {
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-default);
}

.terminal-content {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.terminal-line {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-line.prompt {
  color: var(--text-heading);
}

.terminal-line.output {
  color: var(--text-muted);
}

.terminal-line.output.success {
  color: var(--success);
}

.terminal-prefix {
  flex-shrink: 0;
}

/* =================================
   MODELS SECTION
   ================================= */

.models-section {
  padding: var(--section-padding) 0;
}

.models-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.model-card {
  width: 160px;
  padding: 32px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  text-align: center;
}

.model-logo {
  margin-bottom: 16px;
  color: var(--text-body);
}

.model-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.model-card p {
  font-size: 13px;
  color: var(--text-muted);
}

.models-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

/* =================================
   WHO IT'S FOR SECTION
   ================================= */

.who-its-for {
  padding: var(--section-padding) 0;
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.persona-card {
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: 12px;
}

.persona-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
}

.persona-card strong {
  color: var(--text-heading);
}

.personas-tagline {
  text-align: center;
  font-size: 18px;
  color: var(--accent);
  font-weight: 500;
}

/* =================================
   PROOF SECTION
   ================================= */

.proof-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.proof-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.proof-content p {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

.proof-emphasis {
  margin-top: 32px !important;
}

.proof-emphasis strong {
  font-size: 20px;
  color: var(--accent);
}

/* =================================
   PRICING SECTION
   ================================= */

.pricing-section {
  padding: var(--section-padding) 0;
  text-align: center;
}

.pricing-details {
  font-size: 18px;
  color: var(--text-body);
  margin-bottom: 12px;
}

.pricing-note {
  font-size: 16px;
  color: var(--text-muted);
}

/* =================================
   FAQ SECTION
   ================================= */

.faq-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =================================
   FINAL CTA
   ================================= */

.final-cta {
  padding: var(--section-padding) 0;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 18px;
  color: var(--text-body);
  margin-bottom: 32px;
}

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

.cta-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* =================================
   FOOTER
   ================================= */

.footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--border-default);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

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

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

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

/* =================================
   ANIMATIONS
   ================================= */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav.scrolled {
  background: rgba(12, 13, 15, 0.95);
}

/* =================================
   RESPONSIVE
   ================================= */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(12, 13, 15, 0.98);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-default);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero {
    padding: 120px 0 60px;
  }

  .preview-content {
    grid-template-columns: 1fr;
  }

  .preview-explorer,
  .preview-agents {
    display: none;
  }

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

  .steps-grid {
    flex-direction: column;
  }

  .step-arrow-horizontal {
    transform: rotate(90deg);
  }

  .file-access-content {
    grid-template-columns: 1fr;
  }

  .file-access-demo {
    order: -1;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

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

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

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

  .automation-card {
    padding: 24px;
  }

  .proof-content p {
    font-size: 16px;
  }
}

/* Four-step grid layout */
.steps-grid.four-steps {
  flex-wrap: wrap;
}

.steps-grid.four-steps .step-card {
  min-width: 200px;
  max-width: 240px;
}

@media (max-width: 1024px) {
  .steps-grid.four-steps {
    max-width: 600px;
    margin: 0 auto;
  }

  .steps-grid.four-steps .step-card {
    min-width: 100%;
    max-width: 100%;
  }

  .steps-grid.four-steps .step-arrow-horizontal {
    transform: rotate(90deg);
  }
}
