/* 
  AgentDeck Landing Page Styles
  Premium, Interactive, and Glassmorphic
*/

:root {
  --teal: #00d084;
  --teal2: rgba(0, 208, 132, 0.12);
  --teal-g: rgba(0, 208, 132, 0.25);
  --teal-border: rgba(0, 208, 132, 0.2);
  --ink: #0b0c0f;
  --ink2: #12141a;
  --ink3: #1c1e27;
  --line: rgba(255, 255, 255, 0.06);
  --line2: rgba(255, 255, 255, 0.10);
  --text: #e2e4eb;
  --text2: #9ca3b0;
  --text3: #525a6b;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'DM Sans', system-ui, sans-serif;
}

/* ── HERO SECTION ── */
section.hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  min-height: 85vh;
  padding: 80px 5%;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal2);
  border: 1px solid var(--teal-border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--teal);
  font-family: var(--mono);
  margin-bottom: 24px;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal-g);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-accent {
  background: linear-gradient(135deg, #00d084 0%, #00ffa3 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary {
  padding: 14px 28px;
  background: var(--teal);
  color: #052b1a;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 24px -8px var(--teal-g);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  box-shadow: 0 12px 32px -4px var(--teal-g);
  transform: translateY(-2px);
}

.btn-secondary {
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--line2);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--text2);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 40px;
}

.proof-num {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
}

.proof-label {
  display: block;
  font-size: 12px;
  color: var(--text3);
  margin-top: 4px;
}

.proof-divider {
  width: 1px; height: 40px;
  background: var(--line2);
}

/* ── BROWSER FRAME (DEMO) ── */
.hero-demo {
  position: relative;
  perspective: 2000px;
}

.browser-frame {
  background: var(--ink2);
  border: 1px solid var(--line2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 
              0 0 1px 1px rgba(255, 255, 255, 0.05) inset;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: rotateY(-8deg) rotateX(4deg) rotateZ(-1deg);
  width: 100%;
  max-width: 800px;
}

.browser-frame:hover {
  transform: rotateY(-2deg) rotateX(1deg) rotateZ(0deg) scale(1.02);
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.9), 
              0 0 1px 1px rgba(255, 255, 255, 0.1) inset;
}

.browser-bar {
  height: 44px;
  background: linear-gradient(to bottom, var(--ink3), var(--ink2));
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
}

.browser-dots { display: flex; gap: 8px; }
.bdot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.bdot.red    { background: #ff5f57; }
.bdot.yellow { background: #febc2e; }
.bdot.green  { background: #28c840; }

.browser-url {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 12px;
  color: var(--text3);
  font-family: var(--mono);
  text-align: center;
  border: 1px solid var(--line);
}

.browser-content {
  height: 520px;
  overflow: hidden;
  position: relative;
  background: var(--ink);
}

.browser-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 208, 132, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── HOW IT WORKS SECTION ── */
.how-it-works {
  padding: 100px 5%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.how-it-works h2 {
  font-size: 32px;
  margin-bottom: 60px;
  color: var(--text);
}

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

.step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line2);
  transform: translateY(-8px);
}

.step-num {
  font-size: 48px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: var(--mono);
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 20px;
}

.step-card code {
  display: block;
  background: var(--ink);
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text2);
  font-family: var(--mono);
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}

.step-card p {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.5;
}

/* ── DASHBOARD MOCK COMPONENTS (Inside Browser) ── */
.demo-app-shell {
  display: flex;
  height: 100%;
  width: 100%;
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  background: var(--ink);
}

.demo-sb {
  width: 52px;
  background: var(--ink2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  flex-shrink: 0;
  z-index: 10;
}

.demo-sb:hover {
  width: 200px;
}

.demo-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px 20px;
  white-space: nowrap;
}

.demo-logo-icon {
  width: 30px; height: 30px;
  background: var(--teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.demo-logo-text {
  font-size: 14px; font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}

.demo-sb:hover .demo-logo-text { opacity: 1; }

.demo-ws-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 8px 16px;
  padding: 6px 10px;
  background: var(--ink3);
  border: 1px solid var(--line);
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}
.demo-sb:hover .demo-ws-pill { opacity: 1; }

.demo-sb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin: 2px 8px;
  border-radius: 8px;
  color: var(--text3);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.demo-sb-item:hover, .demo-sb-item.active {
  background: var(--ink3);
  color: var(--text);
}

.demo-sb-item.active {
  background: var(--teal2);
  color: var(--teal);
}

.demo-app-shell {
  display: flex;
  height: 100%;
  width: 100%;
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  background: var(--ink);
}

.demo-sb {
  width: 52px;
  background: var(--ink2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  flex-shrink: 0;
  z-index: 10;
}

.demo-sb:hover {
  width: 200px;
}

.demo-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px 20px;
  white-space: nowrap;
}

.demo-logo-icon {
  width: 30px; height: 30px;
  background: var(--teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.demo-logo-text {
  font-size: 14px; font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}

.demo-sb:hover .demo-logo-text { opacity: 1; }

.demo-ws-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 8px 16px;
  padding: 6px 10px;
  background: var(--ink3);
  border: 1px solid var(--line);
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}
.demo-sb:hover .demo-ws-pill { opacity: 1; }

.demo-sb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin: 2px 8px;
  border-radius: 8px;
  color: var(--text3);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.demo-sb-item:hover, .demo-sb-item.active {
  background: var(--ink3);
  color: var(--text);
}

.demo-sb-item.active {
  background: var(--teal2);
  color: var(--teal);
}

.demo-sb-item i { width: 16px; height: 16px; min-width: 16px; }

.demo-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 24px;
  background: var(--ink);
  position: relative;
}

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

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

.demo-card {
  background: var(--ink2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.demo-stat-val { font-size: 20px; font-weight: 700; color: var(--text); }
.demo-stat-label { font-size: 11px; color: var(--text3); text-transform: uppercase; margin-top: 4px; }

.demo-agent-list { display: flex; flex-direction: column; gap: 8px; }
.demo-agent-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.demo-agent-item:hover {
  border-color: var(--line);
}

.demo-dot { width: 6px; height: 6px; border-radius: 50%; }
.demo-dot.g { background: var(--teal); box-shadow: 0 0 6px var(--teal-g); }
.demo-dot.y { background: #f5a623; }
.demo-dot.d { background: var(--text3); }

/* Builder overrides & animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-ctx-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.demo-preset:hover {
  background: var(--ink3) !important;
  border-color: var(--line2) !important;
}

.demo-memory-card {
  background: var(--ink2); 
  border: 1px solid var(--line); 
  border-radius: 8px; 
  padding: 16px; 
  transition: all 0.2s; 
  cursor: pointer;
  animation: fadeIn 0.3s ease-out backwards;
}

.demo-memory-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-2px);
  background: var(--ink3);
}

.demo-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.spinner {
  width: 24px; height: 24px;
  border: 2px solid var(--line);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }


/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  section.hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  
  .hero-copy {
    align-items: center;
    max-width: 680px;
    margin: 0 auto;
  }
  
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero-demo {
    display: none; /* Hide interactive demo on mobile for better UX/Performance */
  }
  
  .btn-demo-mobile {
    display: flex; /* Can be used to open a modal video/gif on mobile if wanted in future */
  }
  
  .hero-social-proof {
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(32px, 8vw, 42px);
  }
  
  .proof-divider {
    display: none;
  }
  
  .hero-social-proof {
    gap: 20px;
  }
  
  .proof-item {
    background: var(--ink2);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--line);
    width: 100%;
  }
}

/* ============================================ */
/* Landing V3 — centered, cleaner, Linear-like  */
/* ============================================ */

.landing-shell {
  width: min(1180px, calc(100vw - 64px));
  margin: 0 auto;
}

.landing-main {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 72px;
  padding: 20px 0 88px;
}

.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 18px;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(11, 12, 15, 0.92), rgba(11, 12, 15, 0.64));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.landing-logo {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.landing-nav .nav-link {
  color: rgba(226, 228, 235, 0.74);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.landing-nav .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.landing-auth-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.landing-auth-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.landing-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 22px;
  padding-top: 64px;
}

.landing-hero .hero-badge {
  margin: 0;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 208, 132, 0.14), rgba(0, 208, 132, 0.08));
  border: 1px solid rgba(0, 208, 132, 0.18);
  color: var(--teal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

.landing-hero-copy {
  display: grid;
  gap: 18px;
  max-width: 840px;
}

.landing-hero .hero-title {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(3.4rem, 8vw, 6.3rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  color: #f4f6fb;
}

.landing-hero .hero-sub {
  margin: 0 auto;
  max-width: 760px;
  color: rgba(226, 228, 235, 0.74);
  font-size: clamp(1.05rem, 2.2vw, 1.34rem);
  line-height: 1.7;
}

.landing-hero .hero-ctas {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 6px 0 0;
}

.landing-hero .btn-primary,
.landing-footer .primary-glow {
  background: linear-gradient(135deg, #1ae59c, #00d084);
  color: #052617;
  border: 1px solid rgba(0, 208, 132, 0.26);
  box-shadow: 0 18px 36px -18px rgba(0, 208, 132, 0.48);
}

.landing-hero .btn-primary:hover,
.landing-footer .primary-glow:hover {
  box-shadow: 0 24px 44px -20px rgba(0, 208, 132, 0.56);
}

.landing-hero .btn-secondary {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
}

.hero-proof-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.proof-chip {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top left, rgba(0, 208, 132, 0.08), transparent 35%),
    rgba(10, 14, 20, 0.76);
  text-align: left;
}

.proof-chip strong {
  color: #f4f6fb;
  font-size: 0.97rem;
  letter-spacing: -0.03em;
}

.proof-chip span {
  color: rgba(226, 228, 235, 0.62);
  font-size: 0.88rem;
  line-height: 1.55;
}

.hero-demo-wrap {
  position: relative;
  width: 100%;
  padding-top: 10px;
}

.hero-browser {
  max-width: 1080px;
  margin: 0 auto;
  transform: perspective(2200px) rotateX(8deg) scale(0.985);
  transform-origin: top center;
  border-radius: 24px;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.hero-browser:hover {
  transform: perspective(2200px) rotateX(5deg) scale(1);
}

.browser-glow {
  width: 72%;
  height: 90px;
  margin: -12px auto 0;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 208, 132, 0.24), rgba(0, 208, 132, 0) 72%);
  filter: blur(28px);
  opacity: 0.78;
}

.landing-section {
  display: grid;
  gap: 16px;
}

.section-eyebrow {
  color: rgba(122, 142, 184, 0.82);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-section-title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--sans);
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: #f4f6fb;
}

.landing-section-subtitle {
  margin: 0;
  max-width: 68ch;
  color: rgba(226, 228, 235, 0.66);
  font-size: 1.03rem;
  line-height: 1.75;
}

.landing-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.landing-flow-card,
.landing-pillar-card,
.landing-callout-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    rgba(10, 14, 20, 0.78);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.landing-step-index {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(0, 208, 132, 0.18);
  background: rgba(0, 208, 132, 0.08);
  color: var(--teal);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.82rem;
}

.landing-flow-card h3,
.landing-pillar-card h3,
.landing-callout-card h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #f4f6fb;
}

.landing-flow-card p,
.landing-pillar-card p,
.landing-callout-card p {
  margin: 0;
  color: rgba(226, 228, 235, 0.66);
  line-height: 1.75;
}

.landing-cmd-stack {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.landing-cmd-stack code {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 8, 12, 0.82);
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.94rem;
}

.landing-pillars-grid,
.landing-callouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.landing-pillar-icon,
.landing-callout-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(0, 208, 132, 0.1);
  color: var(--teal);
  border: 1px solid rgba(0, 208, 132, 0.18);
}

.landing-pillar-icon svg,
.landing-callout-icon svg {
  width: 20px;
  height: 20px;
}

.landing-preview {
  gap: 18px;
}

.preview-frame-centered {
  max-width: 1120px;
  margin: 4px auto 0;
}

.landing-footer {
  padding-bottom: 64px;
}

.footer-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 30px 32px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at top left, rgba(0, 208, 132, 0.1), transparent 34%),
    rgba(9, 13, 19, 0.86);
}

.footer-cta-copy {
  max-width: 54ch;
}

.footer-cta-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #f4f6fb;
}

.footer-cta-copy p {
  margin: 0;
  color: rgba(226, 228, 235, 0.68);
  line-height: 1.7;
}

.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-secondary {
  background: rgba(255, 255, 255, 0.03);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 6px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f4f6fb;
  font-weight: 700;
}

.footer-copy {
  color: rgba(226, 228, 235, 0.54);
}

@media (max-width: 1180px) {
  .hero-proof-strip,
  .landing-pillars-grid,
  .landing-callouts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .landing-shell {
    width: min(100vw - 32px, 100%);
  }

  .landing-header {
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .landing-nav {
    display: none;
  }

  .landing-main {
    gap: 56px;
    padding-bottom: 72px;
  }

  .landing-hero {
    padding-top: 42px;
  }

  .landing-hero .hero-title,
  .landing-section-title {
    max-width: none;
  }

  .hero-proof-strip,
  .landing-flow-grid,
  .landing-pillars-grid,
  .landing-callouts {
    grid-template-columns: 1fr;
  }

  .footer-cta-strip,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta-actions {
    width: 100%;
  }

  .footer-cta-actions .landing-auth-trigger {
    width: 100%;
  }
}

/* ============================================ */
/* Landing demo overrides                       */
/* ============================================ */

.preview-browser-content {
  height: 620px;
  padding: 0;
}

.landing-preview-mock {
  height: 100%;
}

.demo-app-shell--agentdeck {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  height: 100%;
  min-height: 100%;
}

.demo-sb--expanded {
  width: auto;
  padding: 18px 14px;
  gap: 18px;
}

.demo-sb--expanded .demo-logo-text,
.demo-sb--expanded .demo-ws-pill {
  opacity: 1;
}

.demo-sb--expanded .demo-ws-pill {
  width: 100%;
  justify-content: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.72rem;
}

.demo-sb-group {
  display: grid;
  gap: 8px;
}

.demo-sb--expanded .demo-sb-item {
  width: 100%;
  height: auto;
  min-height: 42px;
  justify-content: flex-start;
  padding: 10px 12px;
  border-radius: 12px;
}

.demo-sb--expanded .demo-sb-item span {
  display: inline;
  font-size: 0.76rem;
  font-weight: 600;
}

.demo-page {
  display: grid;
  gap: 18px;
  min-height: 100%;
}

.demo-page-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.demo-kicker {
  color: rgba(122, 142, 184, 0.9);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.demo-page-title {
  margin: 0;
  color: #f4f6fb;
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.demo-page-subtitle {
  margin: 10px 0 0;
  max-width: 58ch;
  color: rgba(226, 228, 235, 0.68);
  font-size: 0.92rem;
  line-height: 1.7;
}

.demo-pill-switch {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  align-self: flex-start;
}

.demo-pill-switch button {
  min-width: 128px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(226, 228, 235, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.demo-pill-switch button.active {
  background: linear-gradient(135deg, rgba(26, 229, 156, 0.22), rgba(0, 208, 132, 0.14));
  border-color: rgba(0, 208, 132, 0.18);
  color: var(--teal);
}

.demo-kpi-grid,
.demo-skill-grid,
.demo-feature-grid,
.demo-arch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.demo-grid-overview {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 14px;
}

.demo-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0)),
    rgba(9, 12, 18, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.demo-panel-accent {
  background:
    radial-gradient(circle at top left, rgba(0, 208, 132, 0.1), transparent 34%),
    rgba(9, 13, 19, 0.92);
}

.demo-panel-title {
  color: rgba(122, 142, 184, 0.88);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-metric-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #f4f6fb;
}

.demo-metric-label {
  color: rgba(226, 228, 235, 0.62);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.demo-list {
  display: grid;
  gap: 10px;
}

.demo-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.demo-list-copy {
  display: grid;
  gap: 4px;
}

.demo-list-copy strong,
.demo-feature-top strong,
.demo-step-card strong,
.demo-skill-top strong,
.demo-arch-card strong {
  color: #f4f6fb;
  font-size: 0.96rem;
  letter-spacing: -0.03em;
}

.demo-list-copy span,
.demo-feature-card p,
.demo-skill-card p,
.demo-arch-card p,
.demo-panel p {
  color: rgba(226, 228, 235, 0.66);
  font-size: 0.82rem;
  line-height: 1.7;
}

.demo-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(226, 228, 235, 0.84);
  font-size: 0.72rem;
  font-weight: 700;
}

.demo-status-chip.is-awaiting,
.demo-status-chip.is-warn {
  border-color: rgba(245, 166, 35, 0.2);
  background: rgba(245, 166, 35, 0.12);
  color: #ffcc73;
}

.demo-status-chip.is-good {
  border-color: rgba(0, 208, 132, 0.24);
  background: rgba(0, 208, 132, 0.12);
  color: var(--teal);
}

.demo-status-chip.is-muted {
  border-color: rgba(122, 142, 184, 0.14);
  color: rgba(226, 228, 235, 0.64);
}

.demo-workspace-name {
  color: #f4f6fb;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.demo-outline-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(226, 228, 235, 0.82);
  font-weight: 600;
}

.demo-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.demo-step-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(9, 12, 18, 0.9);
}

.demo-step-card.is-agent {
  border-color: rgba(0, 208, 132, 0.16);
  background:
    radial-gradient(circle at top left, rgba(0, 208, 132, 0.09), transparent 36%),
    rgba(9, 13, 18, 0.92);
}

.demo-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-step-no {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 208, 132, 0.1);
  border: 1px solid rgba(0, 208, 132, 0.18);
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
}

.demo-step-channel,
.demo-feature-area,
.demo-skill-top span {
  color: rgba(122, 142, 184, 0.86);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-step-card code {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(4, 7, 11, 0.82);
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.demo-feature-top,
.demo-skill-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 980px) {
  .demo-app-shell--agentdeck {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .demo-kpi-grid,
  .demo-skill-grid,
  .demo-feature-grid,
  .demo-arch-grid,
  .demo-step-grid,
  .demo-grid-overview {
    grid-template-columns: 1fr;
  }

  .demo-page-top {
    flex-direction: column;
  }

  .demo-pill-switch {
    width: 100%;
  }
}

/* ============================================ */
/* Landing Mock V2 - mirrors AgentDeck shell    */
/* ============================================ */

#demo-app,
#landing-preview-mock,
.landing-preview-mock {
  width: 100%;
  height: 100%;
}

.preview-browser-content {
  min-height: 640px;
  height: 640px;
}

.browser-content {
  overflow: hidden;
}

.landing-mock-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at top left, rgba(0, 208, 132, 0.08), transparent 32%),
    linear-gradient(180deg, #10131a 0%, #0b0d12 100%);
  color: #eef2f7;
  font-family: var(--sans);
}

.landing-mock-sidebar {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 18px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    rgba(10, 12, 18, 0.92);
}

.landing-mock-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.landing-mock-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.22), rgba(0, 208, 132, 0.1));
  color: var(--teal);
  border: 1px solid rgba(0, 208, 132, 0.2);
  box-shadow: 0 12px 30px -18px rgba(0, 208, 132, 0.5);
}

.landing-mock-workspace {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 14px;
  padding: 0 14px;
  color: rgba(226, 228, 235, 0.92);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-mock-nav-group {
  display: grid;
  gap: 8px;
}

.landing-mock-nav-label {
  padding: 0 10px;
  color: rgba(133, 151, 178, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-mock-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(191, 201, 218, 0.8);
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.landing-mock-nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.landing-mock-nav-item.active {
  color: var(--teal);
  background: rgba(0, 208, 132, 0.11);
  border-color: rgba(0, 208, 132, 0.18);
  box-shadow: inset 0 0 0 1px rgba(0, 208, 132, 0.04);
}

.landing-mock-main {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.landing-mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 13, 18, 0.82);
}

.landing-mock-topbar-left,
.landing-mock-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.landing-mock-topbar-title {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.landing-mock-topbar-badge,
.landing-mock-topbar-version {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.landing-mock-topbar-badge {
  color: rgba(226, 228, 235, 0.86);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-mock-topbar-version {
  color: var(--teal);
  background: rgba(0, 208, 132, 0.08);
  border: 1px solid rgba(0, 208, 132, 0.16);
}

.landing-mock-lang {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-mock-lang span {
  min-width: 34px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: rgba(226, 228, 235, 0.64);
  font-size: 0.75rem;
  font-weight: 700;
}

.landing-mock-lang span.active {
  background: rgba(0, 208, 132, 0.14);
  color: var(--teal);
}

.landing-mock-search {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(191, 201, 218, 0.72);
}

.landing-mock-search kbd {
  margin-left: auto;
  min-width: 50px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(191, 201, 218, 0.5);
  font-size: 0.7rem;
}

.landing-mock-content {
  min-width: 0;
  padding: 22px;
  overflow: hidden;
}

.landing-mock-page {
  display: grid;
  gap: 18px;
  height: 100%;
  align-content: start;
}

.landing-mock-page h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.landing-mock-page p {
  margin: 0;
  color: rgba(191, 201, 218, 0.74);
  line-height: 1.7;
}

.landing-mock-page-kicker,
.landing-mock-card-label,
.landing-mock-mini-label {
  color: rgba(139, 160, 190, 0.8);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-mock-mode-switch,
.landing-mock-filter-row,
.landing-mock-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-mock-mode-switch button,
.landing-mock-chip,
.landing-mock-primary-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(226, 228, 235, 0.88);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
}

.landing-mock-mode-switch button.active,
.landing-mock-chip.active,
.landing-mock-primary-btn {
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.92), rgba(0, 208, 132, 0.74));
  color: #03150d;
  border-color: rgba(0, 208, 132, 0.24);
}

.landing-mock-step-grid,
.landing-mock-grid,
.landing-mock-kpis,
.landing-mock-two-col {
  display: grid;
  gap: 14px;
}

.landing-mock-step-grid,
.landing-mock-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-mock-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-mock-two-col {
  grid-template-columns: 1.25fr 0.9fr;
}

.landing-mock-card,
.landing-mock-step,
.landing-mock-banner {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.01)),
    rgba(11, 15, 22, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.landing-mock-banner,
.landing-mock-card {
  padding: 20px;
}

.landing-mock-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.landing-mock-banner-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.14);
  color: #f5a623;
  border: 1px solid rgba(245, 166, 35, 0.18);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.landing-mock-step {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.landing-mock-step.is-agent {
  background:
    radial-gradient(circle at top left, rgba(0, 208, 132, 0.12), transparent 38%),
    rgba(10, 15, 20, 0.92);
}

.landing-mock-step-head,
.landing-mock-card-head,
.landing-mock-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.landing-mock-step-no {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 208, 132, 0.12);
  border: 1px solid rgba(0, 208, 132, 0.16);
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.landing-mock-step-channel {
  color: rgba(139, 160, 190, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landing-mock-step strong,
.landing-mock-card strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.landing-mock-step code,
.landing-mock-file-row {
  display: block;
  min-height: 48px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(6, 10, 16, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #11d995;
  font-family: var(--mono);
  font-size: 0.84rem;
}

.landing-mock-kpi {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 10px;
}

.landing-mock-kpi-value {
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.landing-mock-kpi-label {
  color: rgba(139, 160, 190, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landing-mock-agent-list,
.landing-mock-file-list {
  display: grid;
  gap: 10px;
}

.landing-mock-agent-row,
.landing-mock-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.landing-mock-agent-row strong,
.landing-mock-file-row {
  color: #f5f7fb;
}

.landing-mock-agent-row span {
  display: block;
  color: rgba(191, 201, 218, 0.7);
  font-size: 0.84rem;
}

.landing-mock-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.landing-mock-status.good {
  color: #042115;
  background: rgba(0, 208, 132, 0.88);
}

.landing-mock-status.warn {
  color: #211403;
  background: rgba(245, 166, 35, 0.88);
}

.landing-mock-status.muted {
  color: rgba(226, 228, 235, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
  .landing-mock-shell {
    grid-template-columns: 1fr;
  }

  .landing-mock-sidebar {
    display: none;
  }

  .landing-mock-kpis,
  .landing-mock-two-col,
  .landing-mock-step-grid,
  .landing-mock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .preview-browser-content {
    min-height: 520px;
    height: 520px;
  }

  .landing-mock-topbar,
  .landing-mock-topbar-left,
  .landing-mock-topbar-right,
  .landing-mock-page-head {
    display: grid;
    gap: 12px;
  }

  .landing-mock-kpis,
  .landing-mock-two-col,
  .landing-mock-step-grid,
  .landing-mock-grid {
    grid-template-columns: 1fr;
  }

  .landing-mock-search {
    min-width: 0;
    width: 100%;
  }
}
