/* TaskStream marketing landing — brand: #EB1616 / #191C24 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ts-primary: #EB1616;
  --ts-primary-dark: #c91212;
  --ts-primary-light: #ff4545;
  --ts-secondary: #191C24;
  --ts-surface-elevated: #252836;
  --ts-muted: #6C7293;
  --ts-bg: #000000;
  --ts-success: #10b981;
  --landing-max: 1140px;
  --landing-radius: 14px;
  --landing-font: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body.landing-page {
  font-family: var(--landing-font);
  background: var(--ts-bg);
  color: #f3f4f6;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.landing-page a,
body.landing-page a:hover,
body.landing-page a:focus,
body.landing-page a:active {
  text-decoration: none;
}

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

/* ——— Nav ——— */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.85rem 0;
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}

.landing-nav.is-scrolled {
  background: rgba(25, 28, 36, 0.92);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.landing-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.landing-brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.landing-brand-logo--footer {
  height: 32px;
  margin-bottom: 0.5rem;
}

.landing-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ts-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.landing-nav-links a:not(.landing-btn) {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.landing-nav-links a:not(.landing-btn):hover {
  color: #fff;
}

.landing-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
}

.landing-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ——— Buttons ——— */
.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.landing-btn:hover {
  transform: translateY(-1px);
}

.landing-btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

.landing-btn--lg { padding: 0.85rem 1.5rem; font-size: 1rem; }

.landing-btn--primary {
  background: var(--ts-primary);
  color: #fff;
  border-color: var(--ts-primary);
}

.landing-btn--primary:hover {
  background: var(--ts-primary-light);
  border-color: var(--ts-primary-light);
}

.landing-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.landing-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.landing-btn--white {
  background: #fff;
  color: var(--ts-primary-dark);
  border-color: #fff;
}

.landing-btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.landing-btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ——— Hero ——— */
.landing-hero {
  padding: 7rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(235, 22, 22, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(235, 22, 22, 0.12), transparent 50%),
    linear-gradient(165deg, var(--ts-secondary) 0%, var(--ts-bg) 55%);
  overflow: hidden;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.landing-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ts-primary-light);
  margin-bottom: 0.75rem;
}

.landing-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.landing-hero-lead {
  font-size: 1.05rem;
  color: var(--ts-muted);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.landing-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.landing-hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

.landing-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.landing-hero-stats strong {
  font-size: 0.9rem;
  color: #fff;
}

.landing-hero-stats span {
  font-size: 0.8rem;
  color: var(--ts-muted);
}

.landing-hero-visual {
  position: relative;
}

.landing-hero-glow {
  position: absolute;
  inset: -15% -10%;
  background: radial-gradient(circle, rgba(235, 22, 22, 0.35), transparent 65%);
  pointer-events: none;
}

.landing-hero-visual img {
  position: relative;
  width: 100%;
  border-radius: var(--landing-radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* ——— Sections ——— */
.landing-section {
  padding: 5rem 0;
}

.landing-section--alt {
  background: var(--ts-secondary);
}

.landing-section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.landing-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.landing-section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.landing-section-head p {
  color: var(--ts-muted);
  font-size: 1.02rem;
}

/* ——— Features grid ——— */
.landing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.landing-feature {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--landing-radius);
  padding: 1.35rem;
  transition: border-color 0.2s, transform 0.2s;
}

.landing-section--alt .landing-feature {
  background: var(--ts-surface-elevated);
}

.landing-feature:hover {
  border-color: rgba(235, 22, 22, 0.35);
  transform: translateY(-2px);
}

.landing-feature-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.landing-feature h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.landing-feature p {
  font-size: 0.88rem;
  color: var(--ts-muted);
  line-height: 1.55;
}

/* ——— Showcase ——— */
.landing-showcase {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--ts-bg) 0%, var(--ts-secondary) 100%);
}

.landing-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.landing-showcase--reverse .landing-showcase-media {
  order: -1;
}

.landing-showcase-copy h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.landing-showcase-copy > p {
  color: var(--ts-muted);
  margin-bottom: 1.25rem;
}

.landing-checklist {
  list-style: none;
  margin-bottom: 1.5rem;
}

.landing-checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.landing-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ts-primary);
}

.landing-showcase-media img {
  width: 100%;
  border-radius: var(--landing-radius);
  box-shadow: var(--shadow, 0 20px 50px rgba(0, 0, 0, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ——— Steps ——— */
.landing-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.landing-steps li {
  background: var(--ts-surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--landing-radius);
  padding: 1.75rem 1.5rem;
  position: relative;
}

.landing-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ts-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.landing-steps h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.landing-steps p {
  font-size: 0.9rem;
  color: var(--ts-muted);
}

/* ——— Platforms ——— */
.landing-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.landing-platforms span {
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  background: var(--ts-surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 600;
  color: #e5e7eb;
}

/* ——— Trust ——— */
.landing-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.landing-trust-item {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: var(--landing-radius);
  background: var(--ts-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-trust-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.landing-trust-item p {
  font-size: 0.8rem;
  color: var(--ts-muted);
}

/* ——— CTA ——— */
.landing-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--ts-primary-dark) 0%, var(--ts-primary) 50%, #8b1111 100%);
  text-align: center;
}

.landing-cta-inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.landing-cta-inner > p {
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.landing-cta .landing-hero-cta {
  justify-content: center;
}

/* ——— Footer ——— */
.landing-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--ts-bg);
}

.landing-footer-inner {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.landing-footer-brand p {
  font-size: 0.9rem;
  color: var(--ts-muted);
}

.landing-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.landing-footer-nav a {
  font-size: 0.88rem;
  color: var(--ts-muted);
  transition: color 0.2s;
}

.landing-footer-nav a:hover {
  color: #fff;
}

.landing-footer-copy {
  font-size: 0.8rem;
  color: var(--ts-muted);
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .landing-hero-grid,
  .landing-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .landing-hero-visual {
    order: -1;
    max-width: 480px;
    margin-inline: auto;
  }

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

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

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

  .landing-showcase--reverse .landing-showcase-media {
    order: -1;
  }
}

@media (max-width: 720px) {
  .landing-nav-toggle {
    display: flex;
  }

  .landing-nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--ts-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .landing-nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .landing-nav-links a:not(.landing-btn) {
    padding: 0.65rem 0;
  }

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

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

  .landing-hero {
    padding-top: 5.5rem;
  }
}
