/* =========================================================
   LaunchMate — Competition UI
   Human + AI Agent Business Planner
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: #0f172a;
  background: #f4f7fb;
  line-height: 1.6;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
  background: #0f172a;
  color: white;

  padding: 28px 5vw 30px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.topbar h1 {
  margin: 4px 0 4px;

  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.topbar p {
  margin: 8px 0 0;

  color: #cbd5e1;
  font-size: 15px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #94a3b8;
}


/* =========================================================
   WEBMCP STATUS
   ========================================================= */

.status {
  border: 1px solid #64748b;
  border-radius: 999px;

  padding: 8px 14px;

  font-size: 12px;
  font-weight: 700;

  color: #e2e8f0;
  white-space: nowrap;
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;

  padding: 24px 0 50px;
}


/* =========================================================
   CARDS
   ========================================================= */

.card {
  background: white;

  border: 1px solid #dbe3ef;
  border-radius: 16px;

  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.05);

  padding: 20px;
}

.card h2,
.card h3,
.card h4 {
  color: #0f172a;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 18px;

  font-size: 19px;
}

.muted {
  color: #64748b;
}


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

.hero {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 18px;

  padding: 26px;
}

.hero h2 {
  margin: 0 0 8px;

  font-size: 23px;
  letter-spacing: -0.4px;
}

.hero p {
  margin: 0;

  color: #64748b;

  max-width: 540px;
}

.workflow {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  flex-wrap: wrap;

  white-space: nowrap;
}

.workflow span {
  background: #eef2ff;

  color: #0f172a;

  padding: 8px 12px;

  border-radius: 8px;

  font-weight: 800;
  font-size: 14px;
}

.workflow b {
  color: #64748b;
}


/* =========================================================
   AGENT RUN CARD
   ========================================================= */

.agent-run-card {
  margin-bottom: 18px;
}

.agent-run-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 20px;
}

.agent-run-header h2 {
  margin: 4px 0 4px;

  font-size: 19px;
}

.agent-run-header p {
  margin: 0;

  max-width: 620px;
}


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

button {
  appearance: none;

  border: none;

  border-radius: 8px;

  background: #0f172a;
  color: white;

  padding: 9px 13px;

  font-size: 13px;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

button:hover {
  background: #1e293b;

  transform: translateY(-1px);

  box-shadow:
    0 6px 14px rgba(15, 23, 42, 0.16);
}

button:active {
  transform: translateY(0);
}

button:focus-visible {
  outline: 3px solid #bfdbfe;
  outline-offset: 2px;
}

.primary-button {
  padding: 11px 16px;

  min-width: 165px;

  box-shadow:
    0 6px 16px rgba(15, 23, 42, 0.15);
}


/* =========================================================
   AGENT PROGRESS
   ========================================================= */

.agent-progress {
  display: grid;

  grid-template-columns:
    repeat(5, minmax(0, 1fr));

  gap: 8px;

  margin-top: 8px;
}

.agent-step {
  display: flex;

  align-items: center;

  gap: 9px;

  min-height: 58px;

  padding: 9px 11px;

  border: 1px solid #dbe3ef;

  background: #f8fafc;

  border-radius: 11px;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.agent-step strong {
  display: block;

  font-size: 12px;
}

.agent-step small {
  display: block;

  color: #64748b;

  font-size: 10px;

  line-height: 1.3;
}

.step-icon {
  width: 24px;
  height: 24px;

  flex: 0 0 24px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #e2e8f0;

  color: #475569;

  font-weight: 900;
}

.agent-step.active {
  border-color: #94a3b8;

  background: #f1f5f9;

  transform: translateY(-1px);
}

.agent-step.completed {
  border-color: #cbd5e1;

  background: #f8fafc;
}

.agent-step.completed .step-icon {
  background: #0f172a;

  color: white;
}


/* =========================================================
   AGENT SUMMARY
   ========================================================= */

.agent-summary {
  margin-top: 20px;

  padding-top: 20px;

  border-top: 1px solid #dbe3ef;
}

.agent-summary h3 {
  margin: 0 0 14px;

  font-size: 18px;
}

.summary-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 10px;
}

.summary-item {
  background: #f8fafc;

  border: 1px solid #dbe3ef;

  border-radius: 11px;

  padding: 13px;
}

.summary-item span {
  display: block;

  color: #64748b;

  font-size: 10px;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 1px;

  margin-bottom: 4px;
}

.summary-item strong {
  font-size: 15px;
}

.summary-launch {
  margin-top: 12px;

  background: #f8fafc;

  border: 1px solid #dbe3ef;

  border-radius: 11px;

  padding: 14px;
}

.summary-launch h4 {
  margin: 0 0 8px;

  font-size: 15px;
}

.summary-launch ol {
  margin: 0;

  padding-left: 20px;
}

.summary-launch li {
  margin: 6px 0;
}


/* =========================================================
   MAIN WORKFLOW GRID
   ========================================================= */

.grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.grid > .card {
  min-height: 250px;
}


/* =========================================================
   LABELS + INPUTS
   ========================================================= */

label {
  display: block;

  color: #334155;

  font-size: 12px;
  font-weight: 700;

  margin-bottom: 7px;
}

textarea,
input {
  width: 100%;

  border: 1px solid #cbd5e1;

  border-radius: 9px;

  background: white;

  color: #0f172a;

  font: inherit;

  font-size: 14px;

  padding: 10px 11px;

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

textarea {
  resize: vertical;

  min-height: 105px;

  margin-bottom: 9px;
}

input {
  height: 40px;
}

textarea:focus,
input:focus {
  outline: none;

  border-color: #64748b;

  box-shadow:
    0 0 0 3px rgba(100, 116, 139, 0.12);
}

textarea::placeholder {
  color: #94a3b8;
}


/* =========================================================
   PRODUCT IDEAS
   ========================================================= */

.stack {
  display: flex;

  flex-direction: column;

  gap: 8px;

  margin-bottom: 10px;
}

.product-card {
  border: 1px solid #dbe3ef;

  border-radius: 10px;

  padding: 12px;

  background: #fff;

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.product-card:hover {
  border-color: #94a3b8;

  box-shadow:
    0 5px 14px rgba(15, 23, 42, 0.06);

  transform: translateY(-1px);
}

.product-card strong {
  display: block;

  font-size: 14px;

  margin-bottom: 3px;
}

.product-card p {
  margin: 0;

  color: #64748b;

  font-size: 11px;

  line-height: 1.45;
}


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

.row {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 10px;

  margin-bottom: 10px;
}

.result {
  margin-top: 10px;

  padding: 10px 11px;

  background: #f8fafc;

  border: 1px solid #dbe3ef;

  border-radius: 9px;

  color: #334155;

  font-size: 13px;
}


/* =========================================================
   LAUNCH PLAN
   ========================================================= */

.plan {
  margin-top: 14px;

  padding-left: 20px;
}

.plan li {
  margin-bottom: 10px;

  padding-left: 2px;

  color: #1e293b;
}


/* =========================================================
   AI MARKETING KIT
   ========================================================= */

.marketing-card {
  margin-top: 18px;

  max-width: 100%;
}

.marketing-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 12px;
}

.marketing-item {
  background: #f8fafc;

  border: 1px solid #dbe3ef;

  border-radius: 10px;

  padding: 13px;
}

.marketing-item span {
  display: block;

  color: #64748b;

  font-size: 10px;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 1px;

  margin-bottom: 4px;
}

.marketing-item strong {
  font-size: 14px;
}


/* =========================================================
   MARKETING HEADLINES / SOCIAL IDEAS
   ========================================================= */

#marketingHeadlines,
#marketingSocial {
  margin-top: 12px;

  padding-left: 20px;
}

#marketingHeadlines li,
#marketingSocial li {
  margin-bottom: 7px;
}


/* =========================================================
   WEBMCP TOOLS
   ========================================================= */

.tools {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  column-gap: 30px;

  row-gap: 5px;

  margin: 12px 0 0;

  padding-left: 18px;
}

.tools li {
  color: #334155;

  font-size: 12px;
}

.tools code {
  color: #0f172a;

  font-size: 11px;
}


/* =========================================================
   AGENT ACTIVITY
   ========================================================= */

pre {
  margin: 0;

  background: #0f172a;

  color: #e2e8f0;

  border-radius: 11px;

  padding: 15px;

  min-height: 120px;

  max-height: 320px;

  overflow: auto;

  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    Menlo,
    monospace;

  font-size: 10px;

  line-height: 1.55;

  white-space: pre-wrap;
}


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

footer {
  width: min(1100px, 92vw);

  margin: 0 auto;

  padding: 22px 0 30px;

  display: flex;

  justify-content: space-between;

  gap: 20px;

  color: #64748b;

  font-size: 11px;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 850px) {

  .topbar {
    padding-left: 4vw;
    padding-right: 4vw;
  }

  .hero {
    flex-direction: column;

    align-items: flex-start;
  }

  .workflow {
    justify-content: flex-start;
  }

  .agent-run-header {
    flex-direction: column;

    align-items: flex-start;
  }

  .agent-progress {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

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

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .topbar {
    flex-direction: column;

    gap: 16px;

    padding-top: 22px;
  }

  .topbar h1 {
    font-size: 28px;
  }

  .container {
    width: 94vw;

    padding-top: 15px;
  }

  .card {
    padding: 16px;

    border-radius: 13px;
  }

  .hero {
    padding: 18px;
  }

  .hero h2 {
    font-size: 20px;
  }

  .workflow {
    gap: 5px;
  }

  .workflow span {
    padding: 7px 9px;

    font-size: 12px;
  }

  .workflow b {
    font-size: 12px;
  }

  .agent-progress {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

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

  footer {
    flex-direction: column;

    width: 94vw;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

  .agent-progress {
    grid-template-columns: 1fr;
  }

  .workflow {
    display: grid;

    grid-template-columns:
      1fr auto 1fr auto;

    width: 100%;
  }

  .workflow span {
    text-align: center;
  }

}