/* Tech Cell — Landing page */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --lp-navy: #0c1520;
  --lp-navy-soft: #141f2b;
  --lp-orange: #e8510a;
  --lp-orange-dim: rgba(232, 81, 10, 0.12);
  --lp-cream: #f6f4f0;
  --lp-white: #ffffff;
  --lp-ink: #0f1419;
  --lp-muted: #5c6570;
  --lp-line: rgba(15, 20, 25, 0.08);
  --lp-radius: 12px;
  --lp-max: 1120px;
}

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

html { scroll-behavior: smooth; }

body.landing {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--lp-ink);
  background: var(--lp-cream);
  -webkit-font-smoothing: antialiased;
}

body.landing.lp-menu-open {
  overflow: hidden;
}

.landing a { color: inherit; }

/* Header */
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
  overflow: visible;
}

.lp-header.is-scrolled {
  background: rgba(12, 21, 32, 0.94);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.lp-header-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lp-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.lp-brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(240px, 52vw);
  object-fit: contain;
  object-position: left center;
}

.lp-hero-logo-wrap {
  margin-bottom: 28px;
}

.lp-hero-logo {
  display: block;
  height: clamp(56px, 10vw, 80px);
  width: auto;
  max-width: min(360px, 88vw);
  object-fit: contain;
  object-position: left center;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lp-nav a:not(.lp-btn) {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.15s;
}

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

.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.lp-btn:active { transform: scale(0.98); }

.lp-btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.lp-btn-primary {
  color: #fff;
  background: var(--lp-orange);
}

.lp-btn-primary:hover { background: #c4420a; }

.lp-btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 10px;
}

.lp-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lp-header-tools {
  display: none;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.lp-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  z-index: 1190;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
}

.lp-nav-backdrop[hidden] {
  display: none !important;
}

.lp-nav-backdrop.is-open {
  display: block;
}

/* Hero */
.lp-hero {
  position: relative;
  background: var(--lp-navy);
  color: #fff;
  padding: 140px 24px 100px;
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(232, 81, 10, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.lp-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
}

.lp-hero-inner {
  position: relative;
  max-width: var(--lp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.lp-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-orange);
  margin-bottom: 20px;
}

.lp-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  max-width: 14ch;
}

.lp-hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 32px;
  max-width: 42ch;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.lp-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-trust-item {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-trust-item i { color: var(--lp-orange); font-size: 15px; }

/* Dashboard preview mockup */
.lp-preview {
  position: relative;
}

.lp-preview-frame {
  background: var(--lp-white);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.lp-preview:hover .lp-preview-frame {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0.5deg);
}

.lp-preview-bar {
  background: #0f1923;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.lp-preview-body {
  display: flex;
  min-height: 320px;
}

.lp-preview-sidebar {
  width: 52px;
  background: #162330;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-preview-nav-item {
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.lp-preview-nav-item.active { background: var(--lp-orange); opacity: 0.85; }

.lp-preview-main {
  flex: 1;
  padding: 20px;
  background: #f5f4f2;
}

.lp-preview-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-ink);
  margin-bottom: 16px;
}

.lp-preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.lp-preview-metric {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  padding: 12px;
}

.lp-preview-metric-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lp-muted);
  margin-bottom: 4px;
}

.lp-preview-metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lp-preview-metric-value.accent { color: var(--lp-orange); }

.lp-preview-table {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  overflow: hidden;
}

.lp-preview-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
  padding: 10px 12px;
  font-size: 10px;
  border-bottom: 1px solid var(--lp-line);
}

.lp-preview-row:last-child { border-bottom: none; }

.lp-preview-row.head {
  background: #fafaf9;
  font-weight: 600;
  color: var(--lp-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 8px;
}

/* Sections */
.lp-section {
  padding: 96px 24px;
}

.lp-section-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
}

.lp-section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-orange);
  margin-bottom: 12px;
}

.lp-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 20ch;
}

.lp-section-intro {
  font-size: 17px;
  color: var(--lp-muted);
  max-width: 52ch;
  margin: 0 0 48px;
}

.lp-section.bg-white { background: var(--lp-white); }
.lp-section.bg-cream { background: var(--lp-cream); }
.lp-section.bg-navy {
  background: var(--lp-navy-soft);
  color: #fff;
}

.lp-section.bg-navy .lp-section-intro { color: rgba(255, 255, 255, 0.6); }
.lp-section.bg-navy h2 { color: #fff; }

/* Pain points */
.lp-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--lp-line);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  overflow: hidden;
}

.lp-pain-card {
  background: var(--lp-white);
  padding: 28px 24px;
}

.lp-pain-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px;
}

.lp-pain-card p {
  margin: 0;
  font-size: 14px;
  color: var(--lp-muted);
  line-height: 1.6;
}

/* Features */
.lp-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.lp-feature {
  background: var(--lp-white);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lp-feature:hover {
  border-color: rgba(232, 81, 10, 0.25);
  box-shadow: 0 8px 32px rgba(15, 20, 25, 0.06);
}

.lp-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--lp-orange-dim);
  color: var(--lp-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}

.lp-feature h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.lp-feature p {
  margin: 0;
  font-size: 14px;
  color: var(--lp-muted);
  line-height: 1.65;
}

/* Steps */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.lp-step {
  position: relative;
  padding-top: 48px;
}

.lp-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--lp-orange);
  opacity: 0.35;
  letter-spacing: -0.04em;
}

.lp-step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.lp-step p {
  margin: 0;
  font-size: 14px;
  color: var(--lp-muted);
  line-height: 1.65;
}

.lp-section.bg-navy .lp-step p { color: rgba(255,255,255,0.55); }

/* Pricing */
.lp-pricing {
  display: flex;
  justify-content: center;
}

.lp-price-card {
  width: 100%;
  max-width: 420px;
  background: var(--lp-white);
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  padding: 36px 32px 32px;
  box-shadow: 0 16px 48px rgba(15, 20, 25, 0.06);
}

.lp-price-card-head h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.lp-price-card-head p {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--lp-muted);
}

.lp-price-value {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--lp-line);
}

.lp-price-currency {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--lp-muted);
  margin-top: 8px;
}

.lp-price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lp-ink);
}

.lp-price-period {
  align-self: flex-end;
  font-size: 15px;
  font-weight: 500;
  color: var(--lp-muted);
  margin-bottom: 8px;
}

.lp-price-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--lp-ink);
  line-height: 1.45;
}

.lp-price-features i {
  color: var(--lp-orange);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.lp-price-cta {
  width: 100%;
  justify-content: center;
}

.lp-price-footnote {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--lp-muted);
}

.lp-hero-price-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* CTA band */
.lp-cta {
  text-align: center;
  padding: 80px 24px;
  background: var(--lp-navy);
  color: #fff;
}

.lp-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  max-width: none;
}

.lp-cta p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 28px;
  font-size: 16px;
}

.lp-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.lp-footer {
  background: var(--lp-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 24px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.lp-footer-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.lp-footer-links {
  display: flex;
  gap: 20px;
}

.lp-footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.lp-footer-links a:hover { color: #fff; }

.lp-footer-credit {
  max-width: var(--lp-max);
  margin: 20px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
}

.lp-footer-credit span {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lp-footer-suporte {
  max-width: var(--lp-max);
  margin: 12px auto 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.lp-footer-suporte a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 600;
}

.lp-footer-suporte a:hover {
  color: #fff;
}

/* Reveal animation */
.lp-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.lp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .lp-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .lp-hero h1 { max-width: none; }

  .lp-preview { order: -1; }

  .lp-preview-frame { transform: none; }

  .lp-pain-grid,
  .lp-features,
  .lp-steps {
    grid-template-columns: 1fr;
  }

  .lp-header {
    background: var(--lp-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .lp-header-inner {
    height: 64px;
    padding: 0 16px;
    position: relative;
    z-index: 2;
    gap: 12px;
  }

  .lp-brand {
    min-width: 0;
    flex: 1;
  }

  .lp-brand-logo {
    height: 44px;
    max-width: min(200px, 48vw);
  }

  .lp-header-tools {
    display: flex;
  }

  .lp-header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--lp-navy);
  }

  .lp-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0));
    background: var(--lp-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 4px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lp-nav a:not(.lp-btn) {
    padding: 14px 12px;
    font-size: 16px;
    border-radius: 8px;
  }

  .lp-nav a:not(.lp-btn):active {
    background: rgba(255, 255, 255, 0.06);
  }

  .lp-nav .lp-btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    min-height: 48px;
  }

  .lp-nav.is-open {
    display: flex !important;
  }

  .lp-header-tools {
    position: relative;
    z-index: 1201;
  }

  .lp-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1101;
  }

  .lp-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-hero-actions .lp-btn {
    width: 100%;
    justify-content: center;
  }

  .lp-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-cta-actions .lp-btn {
    width: 100%;
    justify-content: center;
  }

  .lp-footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .lp-footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }
}

@media (max-width: 520px) {
  .lp-hero {
    padding: 108px 16px 64px;
  }

  .lp-section {
    padding: 64px 16px;
  }

  .lp-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .lp-preview-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .lp-pricing-card {
    padding: 24px 20px;
  }

  .lp-pain-card,
  .lp-feature-card,
  .lp-step-card {
    padding: 20px 18px;
  }

  .lp-cta {
    padding: 56px 16px;
  }

  .lp-cta h2 {
    font-size: 1.5rem;
  }

  .lp-footer {
    padding: 32px 16px calc(24px + env(safe-area-inset-bottom, 0));
  }
}
