/* ============================================================
   LystBot Landing Page - Design System v3.0
   Clean Minimal / Flat 2.0 - NO glassmorphism, NO blur
   ============================================================ */

/* --- Variables --- */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F5;
  --bg-dark: #1A1A2E;
  --bg-dark-card: #252540;

  --text-primary: #555951;
  --text-secondary: #7A7D75;
  --text-tertiary: #9E9E9E;
  --text-on-dark: #E8E8F0;
  --text-on-dark-sub: #9A9AB0;

  --cta: #FF8A3D;
  --cta-hover: #E07230;

  --cat-shopping: #3EC1E6;
  --cat-todo: #7ED957;
  --cat-entertainment: #FFD34D;
  --cat-bucketlist: #FF8A3D;
  --cat-gifts: #E57CE6;
  --cat-planning: #8B7EE6;
  --cat-recipes: #FF6B6B;
  --cat-travel: #5BD4C6;

  --shadow-card: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-card-hover: 0 6px 20px rgba(0,0,0,0.11);
  --shadow-cta: 0 4px 12px rgba(255,138,61,0.35);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  --gradient-brand: linear-gradient(135deg, #8B7EE6 0%, #3EC1E6 100%);

  --navbar-height: 68px;
}

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

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-secondary);
  color: var(--text-primary);
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* --- Typography --- */
.section-headline {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--navbar-height);
  background: var(--bg-primary);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.dark {
  background: var(--bg-dark);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 32px;
  width: auto;
}

.navbar.dark .nav-logo-img {
  filter: brightness(0) invert(1);
}

/* Legacy support */
.nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
}

.nav-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s;
}

.navbar.dark .nav-brand {
  color: var(--text-on-dark);
}

/* Toggle Pill */
.nav-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  transition: background 0.3s;
}

.navbar.dark .nav-toggle {
  background: rgba(255,255,255,0.08);
}

.toggle-btn {
  border: none;
  background: transparent;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.toggle-btn.active {
  background: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.navbar.dark .toggle-btn.active {
  background: rgba(255,255,255,0.12);
  color: var(--text-on-dark);
}

.navbar.dark .toggle-btn {
  color: var(--text-on-dark-sub);
}

/* ============================================================
   FADE-IN ANIMATION (IntersectionObserver)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================================
   HERO SECTION (Humans)
   ============================================================ */
.hero-section {
  background: var(--gradient-brand);
  padding-top: calc(var(--navbar-height) + 72px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text { color: white; }

.hero-headline {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: white;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 480px;
}

/* Store Badges */
.store-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  background: #000;
  border-radius: 10px;
  padding: 0 16px;
  height: 52px;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.store-badge-icon { flex-shrink: 0; }

.store-badge-text {
  display: flex;
  flex-direction: column;
}

.store-badge-pre {
  font-size: 10px;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
  line-height: 1;
}

.store-badge-name {
  font-size: 17px;
  color: white;
  font-weight: 600;
  line-height: 1.2;
}

.badge-note {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* Phone Mockup */
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.phone-mockup {
  position: relative;
  animation: phone-float 4s ease-in-out infinite;
  transform: perspective(800px) rotateY(-8deg) rotateX(4deg);
}

@keyframes phone-float {
  0%, 100% { transform: perspective(800px) rotateY(-8deg) rotateX(4deg) translateY(0px); }
  50%       { transform: perspective(800px) rotateY(-8deg) rotateX(4deg) translateY(-14px); }
}

.phone-frame {
  width: 260px;
  background: #0A0A0A;
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15),
    0 40px 80px rgba(0,0,0,0.5),
    inset 0 0 0 2px #222;
  position: relative;
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: #0A0A0A;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
}

.phone-screen {
  width: 100%;
  border-radius: 32px;
  display: block;
}

.phone-shadow {
  width: 200px;
  height: 20px;
  background: rgba(0,0,0,0.25);
  border-radius: 50%;
  margin: 16px auto 0;
  filter: blur(16px);
}

/* ============================================================
   PROBLEM SECTION - Chat Visual
   ============================================================ */
.problem-section {
  background: var(--bg-primary);
  padding: 96px 0;
}

.problem-copy {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
  line-height: 1.7;
}

.problem-chat-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.chat-thread {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 340px;
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.chat-thread--solution {
  border: 2px solid rgba(126,217,87,0.3);
}

.chat-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
}

.chat-bubble--user {
  background: var(--bg-primary);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  max-width: 85%;
}

.chat-bubble--ai {
  background: #EEF0F4;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  max-width: 90%;
}

.chat-bubble--success {
  background: #F0FAF0;
  border: 1px solid rgba(126,217,87,0.25);
}

.chat-sender {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chat-fake-list {
  margin: 8px 0 4px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.04);
  border-radius: 8px;
}

.chat-fake-list--success {
  background: rgba(126,217,87,0.08);
}

.chat-fake-item {
  font-size: 13px;
  padding: 3px 0;
  color: var(--text-secondary);
}

.chat-fake-item--done {
  color: #4CAF50;
}

.chat-note {
  display: block;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 6px;
  font-style: italic;
}

.chat-note--success {
  color: #4CAF50;
}

.problem-arrow {
  flex-shrink: 0;
  opacity: 0.7;
}

/* ============================================================
   3 STEPS SECTION
   ============================================================ */
.steps-section {
  background: var(--bg-secondary);
  padding: 96px 0;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 16px;
}

.step-connector {
  font-size: 24px;
  color: var(--text-tertiary);
  padding: 0 8px;
  margin-top: 52px;
  flex-shrink: 0;
}

.step-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 240px;
  max-width: 300px;
  gap: 14px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.step-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.step-card--highlight {
  border: 2px solid rgba(255,138,61,0.25);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--cta);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-cta);
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-visual { margin-top: 8px; width: 100%; }

.step-visual--cropped {
  max-height: 180px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.step-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.step-screenshot {
  width: 100%;
  max-width: 200px;
  border-radius: var(--radius-md);
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.step-screenshot--cropped {
  max-width: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-section {
  background: var(--bg-secondary);
  padding: 96px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.feature-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 28px 24px 28px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.feature-accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
}

.feature-emoji {
  font-size: 32px;
  margin-bottom: 14px;
}

.feature-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   USE CASES
   ============================================================ */
.usecases-section {
  background: var(--bg-primary);
  padding: 96px 0;
}

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

.usecase-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 32px 28px 32px 36px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.usecase-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.usecase-accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
}

.usecase-emoji {
  font-size: 36px;
  margin-bottom: 16px;
}

.usecase-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.usecase-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section {
  background: var(--bg-secondary);
  padding: 96px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pricing-card--pro {
  border: none !important;
  background:
    linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
    linear-gradient(135deg, #8B7EE6 0%, #3EC1E6 100%) border-box;
  border: 2px solid transparent !important;
  box-shadow: 0 4px 28px rgba(139,126,230,0.22);
  transform: scale(1.03);
}

.pricing-card--pro:hover {
  box-shadow: 0 8px 36px rgba(139,126,230,0.32);
  transform: scale(1.03) translateY(-3px);
}

.pricing-card:not(.pricing-card--pro):hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cta);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-cta);
}

.pricing-badge--gradient {
  background: linear-gradient(135deg, #8B7EE6 0%, #3EC1E6 100%);
  box-shadow: 0 4px 12px rgba(139,126,230,0.40);
}

.pricing-tier {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 5px;
  background-color: var(--cta);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9l3.5 3.5L14 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
}

.pricing-btn--free {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.pricing-btn--free:hover { background: #E8E8E8; }

.pricing-btn--pro {
  background: var(--cta);
  color: white;
  box-shadow: var(--shadow-cta);
}

.pricing-btn--pro:hover {
  background: var(--cta-hover);
  box-shadow: 0 6px 18px rgba(255,138,61,0.45);
  transform: translateY(-1px);
}

/* ============================================================
   AGENT CONNECT SECTION (Humans View)
   ============================================================ */
.agent-connect-section {
  background: var(--bg-primary);
  padding: 80px 0;
}

.agent-connect-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(255,138,61,0.15);
}

.agent-connect-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.agent-connect-headline {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.agent-connect-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.agent-connect-btn {
  margin-bottom: 24px;
}

.agent-connect-hint {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.agent-connect-url-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 8px 12px;
}

.agent-connect-url-box code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-primary);
  word-break: break-all;
}

.agent-connect-url-box .code-copy-btn {
  background: rgba(0,0,0,0.06);
  color: var(--text-secondary);
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.final-cta-section {
  background: var(--gradient-brand);
  padding: 100px 0;
  text-align: center;
}

.final-cta-headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.final-cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.6;
}

.store-badges--centered {
  justify-content: center;
  margin-bottom: 28px;
}

.final-cta-agent-link {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
}

.link-btn {
  background: none;
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.link-btn:hover { opacity: 0.8; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.footer-brand-logo {
  height: 28px;
  margin-bottom: 16px;
  /* No filter - show the original logo colors */
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 240px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

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

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ============================================================
   AGENTS VIEW
   ============================================================ */
#agents-view {
  background: var(--bg-dark);
  min-height: 100vh;
}

/* Agent Hero */
.agent-hero {
  background: var(--bg-dark);
  padding-top: calc(var(--navbar-height) + 80px);
  padding-bottom: 80px;
  text-align: center;
}

.agent-hero-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--text-on-dark);
  margin-bottom: 16px;
  line-height: 1.15;
}

.agent-hero-sub {
  font-size: 18px;
  color: var(--text-on-dark-sub);
  margin-bottom: 36px;
}

.agent-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cta);
  color: white;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-cta);
  border: none;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255,138,61,0.45);
}

.btn-secondary-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  color: var(--text-on-dark);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
}

.btn-secondary-dark:hover { background: rgba(255,255,255,0.12); }

/* Tech Badges */
.tech-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.tech-badge {
  background: rgba(255,255,255,0.08);
  color: var(--text-on-dark-sub);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  border: 1px solid rgba(255,255,255,0.08);
}

.tech-badge--cyan    { background: rgba(62,193,230,0.15);  color: #3EC1E6;  border-color: rgba(62,193,230,0.25); }
.tech-badge--purple  { background: rgba(139,126,230,0.15); color: #A89EF0;  border-color: rgba(139,126,230,0.25); }
.tech-badge--green   { background: rgba(126,217,87,0.15);  color: #7ED957;  border-color: rgba(126,217,87,0.25); }
.tech-badge--yellow  { background: rgba(255,211,77,0.15);  color: #D4A800;  border-color: rgba(255,211,77,0.25); }
.tech-badge--teal    { background: rgba(91,212,198,0.15);  color: #5BD4C6;  border-color: rgba(91,212,198,0.25); }
.tech-badge--orange  { background: rgba(255,138,61,0.15);  color: #FF8A3D;  border-color: rgba(255,138,61,0.25); }

/* Agent Sections */
.agent-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.agent-section-headline {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}

.agent-section-sub {
  font-size: 16px;
  color: var(--text-on-dark-sub);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Code Block - macOS Window Style */
.code-window {
  background: #0D0D1A;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.code-window-header {
  background: #1A1A2E;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.code-window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.code-window-dot--red    { background: #FF5F57; }
.code-window-dot--yellow { background: #FEBC2E; }
.code-window-dot--green  { background: #28C840; }

.code-window-title {
  font-size: 13px;
  color: var(--text-on-dark-sub);
  margin: 0 auto;
  font-family: 'JetBrains Mono', monospace;
}

.code-copy-btn {
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--text-on-dark-sub);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s, color 0.2s;
}

.code-copy-btn:hover {
  background: rgba(255,255,255,0.14);
  color: var(--text-on-dark);
}

.code-body {
  padding: 24px;
  overflow-x: auto;
}

.code-body pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  line-height: 1.8;
  color: #C9D1D9;
  white-space: pre;
}

/* Syntax Highlight Colors */
.c-comment  { color: #6E7681; }
.c-keyword  { color: #FF7B72; }
.c-string   { color: #A5D6FF; }
.c-value    { color: #79C0FF; }
.c-flag     { color: #D2A8FF; }
.c-url      { color: #7ED956; }
.c-command  { color: #FF8A3D; }
.c-number   { color: #FFA657; }

/* Integration Tabs */
.tabs-nav {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  width: fit-content;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-on-dark-sub);
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'JetBrains Mono', monospace;
}

.tab-btn.active {
  background: rgba(255,255,255,0.1);
  color: var(--text-on-dark);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Capabilities Checklist */
.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.capability-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-on-dark);
  font-size: 15px;
  line-height: 1.5;
}

.capability-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--cat-todo);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.capability-check svg {
  width: 14px;
  height: 14px;
}

/* System Prompt Block */
.prompt-block {
  background: #0D0D1A;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(139,126,230,0.3);
}

.prompt-block-header {
  background: rgba(139,126,230,0.15);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(139,126,230,0.2);
}

.prompt-block-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--cat-planning);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.prompt-body {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.8;
  color: #C9D1D9;
  white-space: pre-wrap;
}

/* Developer Resources */
.dev-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.dev-resource-card {
  background: var(--bg-dark-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.2s, transform 0.2s;
}

.dev-resource-card:hover {
  border-color: rgba(255,138,61,0.3);
  transform: translateY(-2px);
}

.dev-resource-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.dev-resource-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}

.dev-resource-desc {
  font-size: 14px;
  color: var(--text-on-dark-sub);
  line-height: 1.6;
  margin-bottom: 16px;
}

.dev-resource-link {
  font-size: 13px;
  color: var(--cta);
  font-weight: 500;
  transition: color 0.2s;
}

.dev-resource-link:hover { color: var(--cta-hover); }

/* ============================================================
   COLOR PALETTE ENHANCEMENTS
   ============================================================ */

/* --- Step number color variants --- */
.step-number--cyan    { background: #3EC1E6; box-shadow: 0 4px 12px rgba(62,193,230,0.40); }
.step-number--green   { background: #7ED957; box-shadow: 0 4px 12px rgba(126,217,87,0.40); }
.step-number--orange  { background: #FF8A3D; box-shadow: 0 4px 12px rgba(255,138,61,0.40); }

/* --- Feature card emoji pill background --- */
.feature-emoji-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 28px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* --- Section headline gradient accent --- */
.headline-accent {
  background: linear-gradient(135deg, #8B7EE6, #3EC1E6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Colorful dot row (decorative divider) --- */
.color-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

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

/* --- Category tag pills on use case cards --- */
.usecase-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-sub { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .hero-phone { justify-content: center; }

  .phone-mockup { transform: none; }

  @keyframes phone-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
  }

  .phone-frame { width: 220px; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .dev-resources-grid { grid-template-columns: 1fr; }

  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); margin: 0; }
  .step-card { max-width: 100%; }

  .pricing-card--pro { transform: none; }
  .pricing-card--pro:hover { transform: translateY(-3px); }

  .problem-chat-visual { flex-direction: column; }
  .problem-arrow { transform: rotate(90deg); }
  .chat-thread { max-width: 100%; }

  .agent-connect-card { padding: 32px 24px; }
  .agent-connect-url-box { flex-direction: column; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .toggle-btn { padding: 7px 12px; font-size: 13px; }
  .nav-logo-img { height: 26px; }

  .agent-hero { padding-top: calc(var(--navbar-height) + 48px); }
}
/* ============================================================
   PROBLEM SECTION - Image Cards (Before/After)
   ============================================================ */
.problem-visual-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.problem-image-card {
  flex: 1;
  min-width: 280px;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.problem-image-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.problem-image-card img {
  width: 100%;
  display: block;
}

.problem-image-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.problem-image-label--before {
  background: rgba(255,107,107,0.15);
  color: #FF6B6B;
}

.problem-image-label--after {
  background: rgba(126,217,87,0.15);
  color: #7ED957;
}

.problem-arrow-between {
  flex-shrink: 0;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .problem-visual-images {
    flex-direction: column;
  }
  .problem-image-card {
    max-width: 100%;
  }
  .problem-arrow-between {
    transform: rotate(90deg);
  }
}

/* ============================================================
   STEP SCREENSHOT BORDER (subtle frame on white-on-white)
   ============================================================ */
.step-screenshot {
  border: 1px solid #E8E8E8;
}

/* ============================================================
   FREE LAUNCH SECTION (replaces Pricing)
   ============================================================ */
.launch-section {
  background: var(--bg-secondary);
  padding: 96px 0;
}

.launch-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
  text-align: center;
  border: 2px solid rgba(126,217,87,0.25);
}

.launch-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  text-align: left;
  margin-bottom: 28px;
}

.launch-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

.launch-check {
  font-size: 18px;
  flex-shrink: 0;
}

.launch-note {
  font-size: 14px;
  color: var(--text-tertiary);
  font-style: italic;
  line-height: 1.6;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .launch-features {
    grid-template-columns: 1fr;
  }
  .launch-card {
    padding: 32px 24px;
  }
}
