/* =============================================================
   FILINGBRIEF — style.css
   IBM Plex Mono · Red #E5193A · Blue #0052FF · Black #111111
   No gradients. Sharp edges. Terminal aesthetic.
   ============================================================= */

/* --- TOKENS ---------------------------------------------------*/
:root {
  --red: #e5193a;
  --blue: #0052ff;
  --black: #111111;
  --white: #ffffff;
  --light: #f5f5f5;
  --mid-gray: #cccccc;
  --border: #e2e2e2;
  --muted: #666666;
  --font: "IBM Plex Mono", "Courier New", monospace;
  --max-w: 1140px;
  --radius: 2px;
  --trans: 150ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* --- LAYOUT UTILITIES -----------------------------------------*/
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 0;
}
.section--dark {
  background: var(--black);
  color: var(--white);
}
.section--light {
  background: var(--light);
}

/* --- COLOR UTILITIES ------------------------------------------*/
.text-red {
  color: var(--red);
}
.text-blue {
  color: var(--blue);
}

/* --- SECTION TAG (eyebrow) ------------------------------------*/
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 2px solid var(--red);
  padding-top: 7px;
  margin-bottom: 24px;
}

.section-tag--light {
  color: #888;
}

/* --- SECTION TITLE --------------------------------------------*/
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 56px;
}

/* --- BUTTONS --------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background var(--trans),
    color var(--trans),
    border-color var(--trans);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: #0040cc;
  border-color: #0040cc;
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--black);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--black);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn--ghost:hover {
  color: var(--blue);
}

/* Final CTA red button */
.btn--cta {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--cta:hover,
.btn--cta:focus-visible {
  background: #c8112f;
  border-color: #c8112f;
}

.btn--full {
  width: 100%;
  justify-content: center;
}
.btn--sm {
  padding: 9px 18px;
  font-size: 13px;
}
.btn--lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* --- PLACEHOLDER BOXES ----------------------------------------*/
.placeholder-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--light);
  border: 2px dashed var(--mid-gray);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-image__label {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.avatar-placeholder {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #e8e8e8;
  border: 2px dashed var(--mid-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.2;
}

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.nav__logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a:not(.btn) {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--trans);
}
.nav__links a:not(.btn):hover {
  color: var(--black);
}

/* =============================================================
   1. HERO
   ============================================================= */
.hero {
  padding: 88px 0 104px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 2px solid var(--red);
  padding-top: 7px;
  margin-bottom: 22px;
}

.hero__headline {
  font-size: clamp(42px, 6.5vw, 80px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}

.hero__subline {
  font-size: 17px;
  color: #555;
  line-height: 1.72;
  max-width: 460px;
  margin-bottom: 38px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* =============================================================
   2. SOCIAL PROOF
   ============================================================= */
.social-proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
}

.social-proof__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 32px;
  border-top: 3px solid var(--red);
}

.stat__number {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat__label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.stat__divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
  align-self: stretch;
}

/* =============================================================
   3. PAIN
   ============================================================= */
.pain__inner {
  max-width: 700px;
}

.pain__headline {
  font-size: clamp(32px, 5.5vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.pain__body {
  font-size: 18px;
  color: #aaaaaa;
  line-height: 1.78;
}

/* =============================================================
   4. HOW IT WORKS
   ============================================================= */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 32px 28px 32px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--trans);
}
.step:hover {
  border-color: var(--blue);
}

.step__connector {
  width: 32px;
  min-width: 32px;
  height: 2px;
  background: var(--mid-gray);
  align-self: center;
  position: relative;
  top: -22px;
}

.step__number {
  display: block;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--red);
  margin-bottom: 18px;
}

.step__title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.68;
}

/* =============================================================
   5. FEATURES & BENEFITS
   ============================================================= */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  background: var(--white);
  border: 2px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  transition:
    border-color var(--trans),
    border-left-color var(--trans);
}

.feature-card:hover {
  border-color: var(--red);
  border-left-color: var(--red);
}

.feature-card__icon {
  font-size: 26px;
  margin-bottom: 16px;
  line-height: 1;
}

.feature-card__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.35;
}

.feature-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.68;
}

.badge-pro,
.badge-dev {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 2px;
}

.badge-pro {
  background: var(--blue);
  color: var(--white);
}
.badge-dev {
  background: var(--black);
  color: var(--white);
}

/* =============================================================
   6. TESTIMONIALS
   ============================================================= */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-card__quote {
  font-size: 15px;
  line-height: 1.72;
  font-style: italic;
  color: var(--black);
  flex: 1;
}

.testimonial-card__quote::before {
  content: "\201C";
}
.testimonial-card__quote::after {
  content: "\201D";
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__name {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-card__role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* =============================================================
   7. PRICING
   ============================================================= */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
}

.pricing-card--featured {
  border: 3px solid var(--blue);
  /* Shift up slightly to visually anchor it */
  margin-top: -8px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.pricing-card__badge {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.pricing-card__tier {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}

.pricing-card__amount {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-card__per {
  font-size: 16px;
  color: var(--muted);
}

.pricing-card__billing {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13px;
  margin-bottom: 28px;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.pricing-card__features li.disabled {
  color: #bbbbbb;
}

.check {
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing__note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 32px;
}

/* =============================================================
   8. FAQ
   ============================================================= */
.faq__inner {
  max-width: 740px;
}

.faq__list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 20px;
  transition: color var(--trans);
}

.faq-item__question:hover,
.faq-item--open .faq-item__question {
  color: var(--blue);
}

.faq-item__toggle {
  font-size: 24px;
  font-weight: 300;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--trans);
}

.faq-item--open .faq-item__toggle {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding-bottom: 22px;
}

.faq-item__answer p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.78;
  max-width: 620px;
}

/* =============================================================
   9. FINAL CTA
   ============================================================= */
.final-cta__inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.final-cta__headline {
  font-size: clamp(32px, 5.5vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.final-cta__sub {
  font-size: 16px;
  color: #888;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  background: var(--black);
  border-top: 1px solid #1e1e1e;
  padding: 44px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.footer__nav {
  display: flex;
  gap: 32px;
}

.footer__nav a {
  font-size: 13px;
  color: #666;
  transition: color var(--trans);
}
.footer__nav a:hover {
  color: var(--white);
}

.footer__copy {
  font-size: 12px;
  color: #444;
}

/* =============================================================
   RESPONSIVE — TABLET (≤960px)
   ============================================================= */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__subline {
    max-width: none;
  }

  .steps {
    flex-direction: column;
    gap: 16px;
  }

  .step__connector {
    display: none;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card--featured {
    margin-top: 0;
  }
}

/* =============================================================
   RESPONSIVE — MOBILE (≤600px)
   ============================================================= */
@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }
  .section {
    padding: 72px 0;
  }
  .section-title {
    margin-bottom: 40px;
  }

  .nav__links a:not(.btn) {
    display: none;
  }
  .hero {
    padding: 60px 0 80px;
  }
  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-proof__inner {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .stat__divider {
    width: 100%;
    height: 1px;
  }

  .stat {
    align-items: flex-start;
    padding: 20px 0;
    border-top: none;
    border-left: 3px solid var(--red);
    padding-left: 20px;
  }

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

  .footer__inner {
    flex-direction: column;
    gap: 16px;
  }
  .footer__copy {
    order: 3;
  }
}
