/* Botbizbuilder LLC — site styles */

:root {
  --bg: #09090b;
  --bg-soft: #101014;
  --surface: #15151a;
  --surface-hover: #1c1c23;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-subtle: #71717a;
  --accent: #3ee0c2;
  --accent-hover: #6aead1;
  --accent-ink: #06281f;
  --accent-soft: rgba(62, 224, 194, 0.12);
  --accent-glow: rgba(62, 224, 194, 0.16);
  --focus: #3ee0c2;
  --danger: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --header-h: 72px;
  --max: 1120px;
  --prose: 720px;
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 16px 40px rgba(0, 0, 0, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.011em;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(62, 224, 194, 0.4);
}

a:hover {
  color: var(--accent-hover);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.container-narrow {
  width: min(var(--prose), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(9, 9, 11, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-word {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -0.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.75px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.85px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.85px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current="page"] {
  color: var(--text);
}

.site-nav a:not(.btn)[aria-current="page"] {
  background: rgba(255, 255, 255, 0.04);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-block {
  width: 100%;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Main */

main {
  flex: 1;
}

/* Hero */

.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% -15%, var(--accent-glow), transparent 60%),
    radial-gradient(ellipse 40% 30% at 85% 20%, rgba(62, 224, 194, 0.05), transparent 55%),
    var(--bg);
}

.hero .container {
  display: grid;
  gap: 1.35rem;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-soft);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hero h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.35rem, 8vw, 5.15rem);
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.lede,
.hero .lede {
  margin: 0;
  max-width: 42em;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 0.85rem;
  justify-content: center;
}

/* Page heroes (inner pages) */

.page-hero {
  padding: 3.5rem 0 2.25rem;
  background:
    radial-gradient(ellipse 60% 80% at 50% -40%, var(--accent-glow), transparent 60%),
    var(--bg);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
  margin-bottom: 0.75rem;
}

.page-hero .lede {
  font-size: 1.08rem;
}

/* Sections */

.section {
  padding: 4.25rem 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-header h2,
.section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.035em;
  font-weight: 600;
  line-height: 1.15;
}

.section-kicker {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-intro {
  margin: 0;
  color: var(--text-muted);
  max-width: 40em;
}

.section-alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

/* Cards / grids */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.45rem 1.55rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.card .card-meta {
  color: var(--text-subtle);
  font-size: 0.85rem;
  font-weight: 500;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-muted {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.card-placeholder {
  border-style: dashed;
  border-color: var(--border-strong);
  background: transparent;
  box-shadow: none;
  min-height: 100%;
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(160deg, #1c2430, #0e1116);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.app-icon svg {
  width: 28px;
  height: 28px;
}

.placeholder-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px dashed var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--text-subtle);
  font-size: 1.4rem;
  line-height: 1;
}

/* Pricing */

.price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.price-amount {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-note {
  color: var(--text-subtle);
  font-size: 0.9rem;
}

.package-list {
  margin: 0.25rem 0 0.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.package-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.package-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.card .btn {
  margin-top: 0;
}

.payment-note {
  margin: auto 0 0;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 0;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ */

.faq {
  display: grid;
  gap: 0.7rem;
  max-width: 760px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 1.15rem;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 1.05rem 1.5rem 1.05rem 0;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.75px solid var(--text-muted);
  border-bottom: 1.75px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq details p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  max-width: 60ch;
}

/* CTA band */

.cta-band {
  padding: 4.5rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, var(--accent-glow), transparent 60%),
    var(--bg);
}

.cta-band h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  letter-spacing: -0.035em;
}

.cta-band .lede {
  margin: 0 auto 1.4rem;
}

.cta-actions {
  justify-content: center;
}

/* Prose pages */

.prose {
  padding-bottom: 4.5rem;
}

.prose h2 {
  margin: 2.25rem 0 0.7rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose a {
  font-weight: 500;
}

.updated {
  color: var(--text-subtle);
  font-size: 0.9rem;
  margin: 0 0 1.5rem !important;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  padding-bottom: 4.5rem;
  align-items: start;
}

.form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  min-height: 44px;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'><path d='M1 1.5 6 6.5 11 1.5' stroke='%23a1a1aa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.4rem;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--accent);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form .btn[type="submit"] {
  justify-self: start;
  min-width: 10.5rem;
}

.form-note {
  margin: 0;
  color: var(--text-subtle);
  font-size: 0.85rem;
}

.contact-aside {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-aside h2 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.contact-aside p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.contact-aside p:last-child {
  margin-bottom: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  margin-top: auto;
  background: #070709;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem 1.5rem;
  align-items: start;
}

.footer-brand p {
  margin: 0.7rem 0 0;
  color: var(--text-subtle);
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--text);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-subtle);
  font-size: 0.88rem;
}

/* 404 */

.error-page {
  min-height: calc(100vh - var(--header-h) - 10rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.error-page h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  letter-spacing: -0.03em;
}

.error-code {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Helpers */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */

@media (max-width: 900px) {
  .card-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav,
  .footer-nav ul {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  .container,
  .container-narrow {
    width: min(var(--max), calc(100% - 1.75rem));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.is-open {
    background: #0e0e12;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.85rem 1rem 1.25rem;
    background: #0e0e12;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
    z-index: 150;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .site-nav a:not(.btn) {
    display: block;
    padding: 0.75rem 0.8rem;
  }

  .site-nav .btn {
    width: 100%;
    margin-top: 0.35rem;
  }

  .hero {
    padding: 3.25rem 0 3rem;
  }

  .page-hero {
    padding: 2.4rem 0 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .card-grid,
  .card-grid-2,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero .lede,
  .lede {
    font-size: 1.02rem;
  }

  .form .btn[type="submit"] {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
