/* ============================================
   MUSTARDSEED CONNECT — BRUTALIST STYLESHEET
   ============================================ */

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

:root {
  --black: #0a0a0a;
  --white: #f0f0f0;
  --off-white: #e0e0e0;
  --gray: #666;
  --accent: #c8ff00;
  --accent-dark: #a3cc00;
  --red: #ff3333;
  --font-mono: 'Space Mono', monospace;
  --font-sans: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--black);
}

/* --- UTILITY --- */
.text--stroke {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-bottom: 3rem;
  padding-left: 2rem;
  border-left: 3px solid var(--accent);
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(240, 240, 240, 0.08);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo-mark {
  font-size: 1.5rem;
  color: var(--accent);
}

.nav__logo-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--accent);
}

.nav__link--cta {
  background: var(--accent);
  color: var(--black);
  padding: 0.6rem 1.5rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

.nav__link--cta:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__burger.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav__burger.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.mobile-menu__link:hover {
  color: var(--accent);
}

.mobile-menu__link--cta {
  color: var(--accent);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 4rem;
  overflow: hidden;
}

.hero__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(8rem, 20vw, 22rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 1px rgba(240, 240, 240, 0.04);
  color: transparent;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero__title--outline {
  -webkit-text-stroke: 2px var(--accent);
  color: transparent;
}

.hero__divider {
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 2.5rem 0;
}

.hero__sub {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--off-white);
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 4rem;
  margin-top: auto;
  padding-top: 4rem;
  border-top: 1px solid rgba(240, 240, 240, 0.08);
  position: relative;
  z-index: 2;
}

.hero__stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero__stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-top: 0.25rem;
  display: block;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 1rem 2rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

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

.btn--primary:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(200, 255, 0, 0.15);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(240, 240, 240, 0.3);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn--full {
  width: 100%;
  text-align: center;
}

.btn--lg {
  padding: 1.25rem 3rem;
  font-size: 0.85rem;
}

/* --- MARQUEE --- */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(240, 240, 240, 0.08);
  border-bottom: 1px solid rgba(240, 240, 240, 0.08);
  padding: 1.25rem 0;
  background: var(--accent);
  color: var(--black);
}

.marquee__inner {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.marquee__inner span {
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- FEATURES --- */
.features {
  padding: 8rem 3rem;
}

.features__heading {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 4rem;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.feature-card {
  border: 1px solid rgba(240, 240, 240, 0.08);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

.feature-card:hover {
  background: rgba(240, 240, 240, 0.03);
  transform: translateY(-4px);
}

.feature-card--dark {
  background: rgba(240, 240, 240, 0.03);
}

.feature-card--accent {
  background: var(--accent);
  color: var(--black);
}

.feature-card--accent .feature-card__line {
  background: var(--black);
}

.feature-card--accent .text--stroke {
  -webkit-text-stroke-color: var(--black);
}

.feature-card__number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-bottom: 2rem;
}

.feature-card--accent .feature-card__number {
  color: rgba(10, 10, 10, 0.5);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.feature-card__title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.feature-card__desc {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--off-white);
  margin-top: auto;
}

.feature-card--accent .feature-card__desc {
  color: rgba(10, 10, 10, 0.7);
}

.feature-card__line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-top: 1.5rem;
}

/* --- SKEW BREAK --- */
.skew-break {
  padding: 4rem 0;
  overflow: hidden;
}

.skew-break__inner {
  background: var(--white);
  color: var(--black);
  padding: 2rem 3rem;
  transform: rotate(-2deg) scale(1.05);
}

.skew-break__text {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  display: block;
  text-align: center;
}

/* --- HOW IT WORKS --- */
.how {
  padding: 8rem 3rem;
}

.how__heading {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 5rem;
}

.how__steps {
  max-width: 900px;
}

.how__step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(240, 240, 240, 0.08);
  position: relative;
  align-items: start;
}

.how__step:first-child {
  border-top: 1px solid rgba(240, 240, 240, 0.08);
}

.how__step-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.how__step-content h3 {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.how__step-content p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--off-white);
  max-width: 500px;
}

.how__step-line {
  position: absolute;
  right: 0;
  top: 50%;
  width: 60px;
  height: 2px;
  background: rgba(240, 240, 240, 0.08);
  transform: translateY(-50%);
}

/* --- PRICING --- */
.pricing {
  padding: 8rem 3rem;
  background: rgba(240, 240, 240, 0.02);
}

.pricing__heading {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 4rem;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1100px;
}

.pricing-card {
  border: 1px solid rgba(240, 240, 240, 0.08);
  padding: 3rem 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  background: var(--white);
  color: var(--black);
  transform: scaleY(1.02);
  z-index: 2;
  border-color: var(--accent);
}

.pricing-card--featured .btn--primary {
  background: var(--black);
  color: var(--accent);
}

.pricing-card--featured .btn--primary:hover {
  background: var(--accent);
  color: var(--black);
}

.pricing-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 0.4rem 1.5rem;
}

.pricing-card__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.pricing-card--featured .pricing-card__tag {
  color: rgba(10, 10, 10, 0.5);
}

.pricing-card__price {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray);
}

.pricing-card--featured .pricing-card__price span {
  color: rgba(10, 10, 10, 0.5);
}

.pricing-card__list {
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-card__list li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(240, 240, 240, 0.06);
  letter-spacing: 0.02em;
}

.pricing-card--featured .pricing-card__list li {
  border-bottom-color: rgba(10, 10, 10, 0.08);
}

/* --- CTA --- */
.cta {
  position: relative;
  padding: 10rem 3rem;
  text-align: center;
  overflow: hidden;
}

.cta__inner {
  position: relative;
  z-index: 2;
}

.cta__heading {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.cta__sub {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--off-white);
  margin-bottom: 3rem;
}

.cta__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 240, 240, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 240, 240, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* --- FOOTER --- */
.footer {
  padding: 4rem 3rem 2rem;
  border-top: 1px solid rgba(240, 240, 240, 0.08);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.footer__cols {
  display: flex;
  gap: 4rem;
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--gray);
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--off-white);
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(240, 240, 240, 0.06);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gray);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-card:last-child {
    grid-column: span 2;
  }

  .pricing-card--featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .hero {
    padding: 7rem 1.5rem 3rem;
  }

  .hero__stats {
    flex-direction: column;
    gap: 2rem;
  }

  .features {
    padding: 5rem 1.5rem;
  }

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

  .feature-card {
    min-height: auto;
  }

  .how {
    padding: 5rem 1.5rem;
  }

  .how__step {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }

  .how__step-num {
    font-size: 2rem;
  }

  .how__step-line {
    display: none;
  }

  .pricing {
    padding: 5rem 1.5rem;
  }

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

  .pricing-card:last-child {
    grid-column: auto;
  }

  .cta {
    padding: 6rem 1.5rem;
  }

  .footer__top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer__cols {
    flex-direction: column;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer {
    padding: 3rem 1.5rem 2rem;
  }

  .skew-break__inner {
    transform: rotate(-1deg) scale(1.05);
  }

  .section-label {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.5rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }
}
