/* ==========================================================================
   BootstrapAgent Theme
   Palette: #000000, #cb2957, #dddddd, #eeeeee
   ========================================================================== */

:root {
  --black: #000000;
  --accent: #cb2957;
  --accent-hover: #e03265;
  --accent-soft: rgba(203, 41, 87, 0.12);
  --accent-glow: rgba(203, 41, 87, 0.28);
  --gray-line: #dddddd;
  --gray-subtle: #d0d0d0;
  --bg-page: #eeeeee;
  --bg-card: #ffffff;
  --text-dark: #000000;
  --text-muted: #555555;
  --text-light-muted: #999999;
  --font-main: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, Menlo, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--bg-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.container {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 238, 238, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-line);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
}

.brand-text {
  color: var(--black);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

nav a:not(.nav-cta) {
  color: #444444;
  position: relative;
  padding: 4px 0;
}

nav a:not(.nav-cta):hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--black);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--black);
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 110px 0 120px;
  border-bottom: 1px solid var(--gray-line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 18px;
}

.eyebrow-accent {
  color: var(--accent);
}

h1 {
  font-size: clamp(52px, 7.5vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 0 0 28px;
  font-weight: 800;
  color: var(--black);
}

.accent-text {
  color: var(--accent);
  position: relative;
}

h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin: 0 0 22px;
  font-weight: 800;
}

h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
  margin: 12px 0 8px;
  font-weight: 700;
}

p {
  color: var(--text-muted);
}

.hero-copy {
  font-size: 19px;
  max-width: 620px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 32px 0 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.button.primary {
  background: var(--black);
  color: #ffffff;
  border: 1px solid var(--black);
}

.button.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 6px 20px var(--accent-glow);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.button.secondary:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.button.accent-btn {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
}

.button.accent-btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 6px 22px var(--accent-glow);
  transform: translateY(-1px);
}

.microcopy {
  font-size: 13px;
  color: #777777;
}

/* Terminal Card */
.terminal-card {
  background: var(--black);
  color: var(--bg-page);
  border-radius: 18px;
  border: 1px solid rgba(221, 221, 221, 0.15);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(203, 41, 87, 0.15);
  overflow: hidden;
}

.terminal-top {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(221, 221, 221, 0.12);
  color: var(--text-light-muted);
  font-size: 12px;
}

.terminal-top .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #444444;
}

.terminal-top .dot.dot-accent {
  background: var(--accent);
}

.terminal-top code {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-mono);
  color: var(--gray-line);
}

.terminal-body {
  padding: 30px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 2.1;
}

.terminal-body p {
  margin: 0;
  color: var(--gray-line);
}

.terminal-body .prompt-symbol {
  color: var(--accent);
  font-weight: 700;
}

.terminal-body .muted {
  color: #777777;
}

.terminal-body .success {
  color: var(--accent);
  font-weight: 600;
}

/* Sections */
.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.section-heading h2 {
  max-width: 850px;
}

/* Dark Section (#000000) */
.dark-section {
  background: var(--black);
  color: #ffffff;
}

.dark-section h2, .dark-section h3 {
  color: #ffffff;
}

.dark-section p {
  color: var(--gray-line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(221, 221, 221, 0.2);
}

.steps article {
  padding: 32px 26px 16px 0;
  border-right: 1px solid rgba(221, 221, 221, 0.2);
  transition: background 0.2s ease;
}

.steps article:not(:first-child) {
  padding-left: 26px;
}

.steps article:last-child {
  border-right: 0;
}

.step-num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 12px;
}

.steps h3 {
  color: #ffffff;
}

.steps p {
  font-size: 14px;
  line-height: 1.6;
}

/* Split Section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.copy {
  max-width: 600px;
  font-size: 18px;
}

.copy p {
  color: #333333;
  margin-bottom: 16px;
}

/* Light Section */
.light-section {
  background: var(--gray-line);
  border-top: 1px solid var(--gray-subtle);
  border-bottom: 1px solid var(--gray-subtle);
}

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

.card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 32px 28px;
  min-height: 260px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(203, 41, 87, 0.12);
}

.card .icon {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 8px;
}

.card h3 {
  color: var(--black);
}

.card p {
  font-size: 15px;
  line-height: 1.6;
}

/* Join CTA */
.join {
  background: var(--black);
  color: #ffffff;
  padding: 100px 0;
  border-top: 1px solid rgba(221, 221, 221, 0.12);
}

.join h2 {
  color: #ffffff;
}

.join p {
  color: var(--gray-line);
}

.join-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Footer */
footer {
  background: var(--black);
  color: var(--text-light-muted);
  border-top: 1px solid rgba(221, 221, 221, 0.15);
  padding: 28px 0;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* Responsive */
@media (max-width: 860px) {
  nav a:not(.nav-cta) {
    display: none;
  }
  .hero {
    padding: 80px 0;
  }
  .hero-grid, .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .steps, .cards {
    grid-template-columns: 1fr 1fr;
  }
  .steps article {
    border-right: 0;
    border-bottom: 1px solid rgba(221, 221, 221, 0.2);
    padding: 24px 0 !important;
  }
  .join-inner {
    display: block;
  }
  .join-inner .button {
    margin-top: 28px;
  }
  .footer-inner {
    display: block;
  }
  .footer-inner span + span {
    display: block;
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 32px, 1140px);
  }
  h1 {
    font-size: clamp(40px, 11vw, 56px);
  }
  .steps, .cards {
    grid-template-columns: 1fr;
  }
  .hero-actions .button {
    width: 100%;
  }
}
