/**
 * Agent-First Landing Page Styles
 * Overrides and additions for the Decka.ai agent-first pivot.
 */

/* ─── Dark Hero Override ──────────────────────────────────────── */
.hero-video-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0.55) 0%,
    rgba(10, 14, 26, 0.85) 100%
  ) !important;
}

.hero-title { color: #ffffff !important; font-weight: 800 !important; }
.hero-subtitle { color: rgba(255,255,255,0.7) !important; max-width: 580px; margin-left: auto; margin-right: auto; }

/* Hero Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #d4a574; color: #1a1a1a;
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero-badge i { font-size: 14px; }

/* Hero Code Block */
.hero-code {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 28px;
  font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 15px;
  color: #4ade80;
  margin: 28px 0 20px;
  max-width: 100%;
  overflow-x: auto;
  cursor: pointer;
  transition: border-color 0.2s;
}
.hero-code:hover { border-color: rgba(255,255,255,0.25); }
.hero-code .prompt { color: rgba(255,255,255,0.4); }
.hero-code .cmd { color: #4ade80; }
.hero-code .arg { color: #fbbf24; }

/* Hero CTA Override */
.hero-actions .btn-hero-cta {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 15px !important;
  letter-spacing: 0;
}

.hero-micro-trust {
  color: rgba(255,255,255,0.45) !important;
  font-size: 13px;
  margin-top: 12px;
}
.hero-micro-trust span { margin: 0 6px; }

/* ─── Stats Bar ───────────────────────────────────────────────── */
.stats-bar {
  padding: 48px 0;
  background: #faf9f7;
  border-bottom: 1px solid #f0eeeb;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .stat-number {
  font-size: 36px; font-weight: 800; color: #1a1a1a;
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 13px; font-weight: 500; color: #888;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ─── Dark Sections ───────────────────────────────────────────── */
.section-dark {
  background: #1a1a1a;
  color: #ffffff;
  padding: 100px 0;
}
.section-dark .section-title { color: #ffffff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.6); }

/* ─── Agent Action Cards ──────────────────────────────────────── */
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.action-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.action-card:hover {
  border-color: rgba(212,165,116,0.4);
  transform: translateY(-2px);
}
.action-domain {
  display: inline-block;
  background: #d4a574; color: #1a1a1a;
  padding: 3px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.action-title {
  font-size: 18px; font-weight: 700; color: #fff;
  margin: 14px 0 12px;
}
.action-cmd {
  display: block;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: #4ade80;
  margin-bottom: 12px;
  overflow-x: auto;
  white-space: nowrap;
}
.action-result {
  font-size: 14px; color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.autonomy-badge {
  display: inline-block;
  padding: 3px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.autonomy-act { background: rgba(74,222,128,0.15); color: #4ade80; }
.autonomy-suggest { background: rgba(251,191,36,0.15); color: #fbbf24; }
.autonomy-inform { background: rgba(148,163,184,0.15); color: #94a3b8; }

/* ─── MCP Section ─────────────────────────────────────────────── */
.mcp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.mcp-features li {
  padding: 8px 0;
  font-size: 15px;
  color: #555;
  list-style: none;
}
.mcp-features li i {
  color: #4ade80;
  margin-right: 8px;
  width: 20px;
}
.code-block {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: auto;
}
.code-block .key { color: #7dd3fc; }
.code-block .str { color: #4ade80; }
.code-caption {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 12px;
}
.tool-domains {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
  justify-content: center;
}
.tool-domain-badge {
  background: #f5f0eb;
  color: #1a1a1a;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

/* ─── Safety Section ──────────────────────────────────────────── */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.safety-card {
  text-align: center;
  padding: 32px 24px;
  background: #ffffff;
  border: 1px solid #f0eeeb;
  border-radius: 16px;
}
.safety-card i {
  font-size: 32px;
  color: #d4a574;
  margin-bottom: 16px;
}
.safety-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.safety-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Autonomy Tiers */
.autonomy-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #f0eeeb;
}
.tier-item {
  text-align: center;
  padding: 12px;
}
.tier-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.tier-desc {
  font-size: 12px; color: #888;
}
.tier-inform .tier-label { color: #94a3b8; }
.tier-suggest .tier-label { color: #fbbf24; }
.tier-act .tier-label { color: #4ade80; }
.tier-full .tier-label { color: #f87171; }

/* ─── Comparison Table ────────────────────────────────────────── */
.comparison-agent-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}
.comparison-agent-table th,
.comparison-agent-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid #f0eeeb;
  font-size: 14px;
}
.comparison-agent-table th { font-weight: 600; color: #888; font-size: 13px; text-transform: uppercase; }
.comparison-agent-table td:first-child { text-align: left; font-weight: 500; }
.comparison-agent-table .highlight { background: rgba(212,165,116,0.08); font-weight: 700; }
.comparison-agent-table .check { color: #4ade80; font-weight: 700; }
.comparison-agent-table .dash { color: #ccc; }

/* ─── Prompt Cards ────────────────────────────────────────────── */
.prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.prompt-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.25s;
}
.prompt-card:hover { border-color: rgba(212,165,116,0.3); }
.prompt-text {
  font-size: 16px; color: #fff; line-height: 1.5;
  margin-bottom: 16px;
  font-style: italic;
}
.prompt-text::before { content: '\201C'; color: #d4a574; font-size: 24px; }
.prompt-text::after { content: '\201D'; color: #d4a574; font-size: 24px; }
.prompt-category {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  padding: 4px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 600;
}

/* ─── Final CTA ───────────────────────────────────────────────── */
.cta-section.section-dark .cta-title {
  font-family: 'JetBrains Mono', monospace !important;
  color: #ffffff !important;
  font-size: 28px;
}
.terminal-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #e2e8f0;
  text-align: left;
  max-width: 560px;
  margin: 28px auto;
  line-height: 2;
}
.terminal-block .prompt { color: rgba(255,255,255,0.35); }
.terminal-block .cmd { color: #4ade80; }
.terminal-block .arg { color: #fbbf24; }
.agent-logos {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
  opacity: 0.5;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ─── Navbar Scroll Transition ────────────────────────────────── */
.navbar.scrolled {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.navbar:not(.scrolled) {
  background: transparent !important;
}
.navbar:not(.scrolled) .nav-link,
.navbar:not(.scrolled) .navbar-brand img {
  filter: brightness(0) invert(1);
}
.navbar:not(.scrolled) .btn-primary {
  background: #d4a574 !important;
  border-color: #d4a574 !important;
  color: #1a1a1a !important;
}

/* ─── Editor Showcase ─────────────────────────────────────────── */
.editor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.editor-feature {
  text-align: center;
  padding: 28px 16px;
}
.editor-feature i {
  font-size: 28px;
  color: #d4a574;
  margin-bottom: 14px;
  display: block;
}
.editor-feature h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1a1a1a;
}
.editor-feature p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

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

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991px) {
  .action-grid { grid-template-columns: repeat(2, 1fr); }
  .prompt-grid { grid-template-columns: repeat(2, 1fr); }
  .mcp-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-grid { grid-template-columns: repeat(3, 1fr); }
  .autonomy-tiers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .action-grid { grid-template-columns: 1fr; }
  .prompt-grid { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .autonomy-tiers { grid-template-columns: 1fr; }
  .hero-code { font-size: 12px; padding: 10px 16px; }
}
