/* ═══════════════════════════════════════════════════════════════
   Tsign Landing Page — site.css
   Brand: Deep Space #0A1628 / Electric Blue #3B82F6 / Emerald #06D6A0
   Typography: Space Grotesk (headings) + Inter (body)
   Does NOT conflict with estilo.css (product CSS)
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --ts-deep-space: #0A1628;
  --ts-midnight: #1E3A5F;
  --ts-electric: #3B82F6;
  --ts-emerald: #06D6A0;
  --ts-ice: #F8FAFC;
  --ts-slate: #94A3B8;
  --ts-silver: #E2E8F0;
  --ts-alert: #EF4444;
  --ts-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --ts-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ts-max-w: 1120px;
  --ts-gap: clamp(48px, 8vw, 96px);
}

/* ── Landing wrapper ────────────────────────────────────────── */
.landing-sections {
  color: var(--ts-deep-space);
  font-family: var(--ts-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Shared section layout ──────────────────────────────────── */
.ls-section {
  width: 100%;
  max-width: var(--ts-max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.ls-section + .ls-section {
  margin-top: var(--ts-gap);
}

/* Heading styles (landing specific — prefixed to avoid collision) */
.ls-h2 {
  font-family: var(--ts-heading);
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.2;
  color: var(--ts-deep-space);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.ls-h3 {
  font-family: var(--ts-heading);
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.3;
  color: var(--ts-deep-space);
  margin: 0 0 8px;
}

.ls-subtitle {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--ts-slate);
  max-width: 60ch;
  margin: 0;
}

/* dark theme overrides (landing only) */
[data-tema="escuro"] .landing-sections {
  color: var(--ts-ice);
}

[data-tema="escuro"] .ls-h2,
[data-tema="escuro"] .ls-h3 {
  color: var(--ts-ice);
}

[data-tema="escuro"] .ls-subtitle {
  color: var(--ts-slate);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.ls-hero {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.ls-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.ls-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ts-emerald);
  background: rgba(6, 214, 160, 0.08);
  border: 1px solid rgba(6, 214, 160, 0.2);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 20px;
}

.ls-hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ts-emerald);
  animation: ls-pulse 2s ease-in-out infinite;
}

@keyframes ls-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ls-hero h1 {
  font-family: var(--ts-heading);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ts-deep-space);
  margin: 0 0 16px;
  max-width: 18ch;
}

[data-tema="escuro"] .ls-hero h1 {
  color: var(--ts-ice);
}

.ls-hero-sub {
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.55;
  color: #475569;
  max-width: 48ch;
  margin: 0 0 24px;
}

[data-tema="escuro"] .ls-hero-sub {
  color: var(--ts-slate);
}

/* Hero CTA form */
.ls-hero-cta {
  display: flex;
  gap: 10px;
  max-width: 440px;
}

.ls-hero-cta input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  font-family: var(--ts-body);
  font-size: 15px;
  border: 1.5px solid var(--ts-silver);
  border-radius: 10px;
  background: #fff;
  color: var(--ts-deep-space);
  outline: none;
  transition: border-color 0.2s;
}

.ls-hero-cta input[type="email"]:focus {
  border-color: var(--ts-electric);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

[data-tema="escuro"] .ls-hero-cta input[type="email"] {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: var(--ts-ice);
}

.ls-hero-cta button {
  white-space: nowrap;
  padding: 12px 22px;
  font-family: var(--ts-body);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--ts-electric);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.ls-hero-cta button:hover {
  background: #2563EB;
}

.ls-hero-cta button:active {
  transform: scale(0.98);
}

.ls-hero-cta button:focus-visible {
  outline: 2px solid var(--ts-electric);
  outline-offset: 2px;
}

.ls-hero-note {
  font-size: 13px;
  color: var(--ts-slate);
  margin-top: 12px;
}

.ls-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ls-pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--ts-midnight);
  background: rgba(30, 58, 95, 0.06);
  border-radius: 100px;
  padding: 5px 12px;
}

[data-tema="escuro"] .ls-pill {
  color: var(--ts-slate);
  background: rgba(255,255,255,0.06);
}

/* Hero demo mockup */
.ls-hero-demo {
  position: relative;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.08), 0 1px 3px rgba(10, 22, 40, 0.04);
}

[data-tema="escuro"] .ls-hero-demo {
  background: linear-gradient(145deg, #1a2540, #0f1b30);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ls-hero-demo-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.ls-hero-demo-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ts-silver);
}

[data-tema="escuro"] .ls-hero-demo-bar i {
  background: rgba(255,255,255,0.12);
}

.ls-hero-demo-bar span {
  font-size: 11px;
  color: var(--ts-slate);
  margin-left: 8px;
  font-family: var(--ts-body);
}

.ls-demo-label {
  font-size: 12px;
  color: var(--ts-slate);
  margin-bottom: 4px;
}

.ls-demo-title {
  font-family: var(--ts-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--ts-deep-space);
  margin-bottom: 14px;
}

[data-tema="escuro"] .ls-demo-title {
  color: var(--ts-ice);
}

.ls-demo-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.ls-demo-lines i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--ts-silver);
  opacity: 0.5;
}

[data-tema="escuro"] .ls-demo-lines i {
  background: rgba(255,255,255,0.08);
}

.ls-demo-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.06);
}

[data-tema="escuro"] .ls-demo-card {
  background: rgba(255,255,255,0.05);
}

.ls-demo-card b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ts-deep-space);
  margin-bottom: 4px;
}

[data-tema="escuro"] .ls-demo-card b {
  color: var(--ts-ice);
}

.ls-demo-card .ls-demo-label {
  margin-bottom: 10px;
}

.ls-demo-code {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.ls-demo-code i {
  width: 34px;
  height: 40px;
  border-radius: 8px;
  background: var(--ts-ice);
  border: 1.5px solid var(--ts-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-family: var(--ts-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--ts-deep-space);
}

[data-tema="escuro"] .ls-demo-code i {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--ts-ice);
}

.ls-demo-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  font-family: var(--ts-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--ts-electric);
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   PROBLEM SECTION
   ═══════════════════════════════════════════════════════════════ */
.ls-problem {
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.02) 0%, transparent 100%);
  padding: var(--ts-gap) 0;
}

[data-tema="escuro"] .ls-problem {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

.ls-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.ls-problem-card {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--ts-silver);
  background: #fff;
  transition: box-shadow 0.2s;
}

.ls-problem-card:hover {
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.06);
}

[data-tema="escuro"] .ls-problem-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}

.ls-problem-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(239, 68, 68, 0.08);
  color: var(--ts-alert);
}

.ls-problem-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

[data-tema="escuro"] .ls-problem-card p {
  color: var(--ts-slate);
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════ */
.ls-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  counter-reset: step;
}

.ls-step {
  position: relative;
  padding: 28px 24px;
  border-radius: 14px;
  border: 1px solid var(--ts-silver);
  background: #fff;
  counter-increment: step;
  transition: border-color 0.2s;
}

.ls-step:hover {
  border-color: var(--ts-electric);
}

[data-tema="escuro"] .ls-step {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}

[data-tema="escuro"] .ls-step:hover {
  border-color: var(--ts-electric);
}

.ls-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ts-electric);
  color: #fff;
  font-family: var(--ts-heading);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}

.ls-step p {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

[data-tema="escuro"] .ls-step p {
  color: var(--ts-slate);
}

/* ═══════════════════════════════════════════════════════════════
   FOR WHOM
   ═══════════════════════════════════════════════════════════════ */
.ls-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.ls-audience-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: 12px;
  border: 1px solid var(--ts-silver);
  background: #fff;
}

[data-tema="escuro"] .ls-audience-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}

.ls-audience-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.08);
  color: var(--ts-electric);
}

.ls-audience-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
  margin: 4px 0 0;
}

[data-tema="escuro"] .ls-audience-card p {
  color: var(--ts-slate);
}

/* ═══════════════════════════════════════════════════════════════
   BENEFITS
   ═══════════════════════════════════════════════════════════════ */
.ls-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.ls-benefit {
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.04), rgba(6, 214, 160, 0.04));
  border: 1px solid rgba(59, 130, 246, 0.08);
}

[data-tema="escuro"] .ls-benefit {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(6, 214, 160, 0.04));
  border-color: rgba(59, 130, 246, 0.12);
}

.ls-benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ts-electric);
  color: #fff;
  margin-bottom: 12px;
}

.ls-benefit p {
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

[data-tema="escuro"] .ls-benefit p {
  color: var(--ts-slate);
}

/* ═══════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════ */
.ls-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.ls-price-card {
  padding: 28px 24px;
  border-radius: 14px;
  border: 1px solid var(--ts-silver);
  background: #fff;
  text-align: center;
  transition: box-shadow 0.2s;
}

.ls-price-card:hover {
  box-shadow: 0 6px 24px rgba(10, 22, 40, 0.06);
}

[data-tema="escuro"] .ls-price-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}

.ls-price-card.ls-featured {
  border-color: var(--ts-electric);
  box-shadow: 0 0 0 1px var(--ts-electric), 0 8px 32px rgba(59, 130, 246, 0.1);
  position: relative;
}

.ls-price-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ts-slate);
  margin-bottom: 8px;
}

.ls-price-value {
  font-family: var(--ts-heading);
  font-weight: 700;
  font-size: 36px;
  color: var(--ts-deep-space);
  margin: 8px 0;
}

[data-tema="escuro"] .ls-price-value {
  color: var(--ts-ice);
}

.ls-price-per {
  font-size: 13px;
  color: var(--ts-slate);
  margin-bottom: 18px;
}

.ls-price-btn {
  display: block;
  width: 100%;
  padding: 11px 20px;
  font-family: var(--ts-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1.5px solid var(--ts-silver);
  background: transparent;
  color: var(--ts-deep-space);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  text-align: center;
}

.ls-price-btn:hover {
  background: rgba(59, 130, 246, 0.04);
  border-color: var(--ts-electric);
}

[data-tema="escuro"] .ls-price-btn {
  border-color: rgba(255,255,255,0.15);
  color: var(--ts-ice);
}

.ls-price-card.ls-featured .ls-price-btn {
  background: var(--ts-electric);
  border-color: var(--ts-electric);
  color: #fff;
}

.ls-price-card.ls-featured .ls-price-btn:hover {
  background: #2563EB;
}

.ls-pricing-note {
  font-size: 13px;
  color: var(--ts-slate);
  text-align: center;
  margin-top: 16px;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.ls-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
  max-width: 740px;
}

.ls-faq-item {
  border: 1px solid var(--ts-silver);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s;
}

.ls-faq-item[open] {
  border-color: var(--ts-electric);
}

[data-tema="escuro"] .ls-faq-item {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}

[data-tema="escuro"] .ls-faq-item[open] {
  border-color: var(--ts-electric);
}

.ls-faq-item summary {
  padding: 16px 20px;
  font-family: var(--ts-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ts-deep-space);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

[data-tema="escuro"] .ls-faq-item summary {
  color: var(--ts-ice);
}

.ls-faq-item summary::-webkit-details-marker { display: none; }
.ls-faq-item summary::marker { display: none; content: ''; }

.ls-faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--ts-slate);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.ls-faq-item[open] summary::after {
  content: '\2212';
}

.ls-faq-item summary:focus-visible {
  outline: 2px solid var(--ts-electric);
  outline-offset: -2px;
  border-radius: 12px;
}

.ls-faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

[data-tema="escuro"] .ls-faq-answer {
  color: var(--ts-slate);
}

.ls-faq-answer a {
  color: var(--ts-electric);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   CTA (bottom signup)
   ═══════════════════════════════════════════════════════════════ */
.ls-cta-section {
  background: var(--ts-deep-space);
  border-radius: 20px;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px);
  text-align: center;
  margin-top: var(--ts-gap);
}

.ls-cta-section .ls-h2 {
  color: var(--ts-ice);
}

.ls-cta-section .ls-subtitle {
  color: var(--ts-slate);
  margin: 0 auto 28px;
}

.ls-cta-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.ls-cta-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  font-family: var(--ts-body);
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: var(--ts-ice);
  outline: none;
  transition: border-color 0.2s;
}

.ls-cta-form input[type="email"]::placeholder {
  color: var(--ts-slate);
}

.ls-cta-form input[type="email"]:focus {
  border-color: var(--ts-electric);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.ls-cta-form button {
  white-space: nowrap;
  padding: 12px 22px;
  font-family: var(--ts-body);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--ts-electric);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.ls-cta-form button:hover {
  background: #2563EB;
}

.ls-cta-form button:focus-visible {
  outline: 2px solid var(--ts-electric);
  outline-offset: 2px;
}

.ls-cta-note {
  font-size: 13px;
  color: var(--ts-slate);
  margin-top: 14px;
}

.ls-cta-legal {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
  font-size: 12px;
}

.ls-cta-legal span {
  color: var(--ts-slate);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ls-cta-legal svg {
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .ls-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ls-hero-demo {
    order: -1;
  }

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

  .ls-hero-cta {
    flex-direction: column;
    max-width: none;
  }

  .ls-problem-grid,
  .ls-steps-grid,
  .ls-benefits-grid {
    grid-template-columns: 1fr;
  }

  .ls-audience-grid {
    grid-template-columns: 1fr;
  }

  .ls-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .ls-cta-form {
    flex-direction: column;
  }

  .ls-cta-legal {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .ls-hero-pills {
    gap: 6px;
  }

  .ls-pill {
    font-size: 11px;
    padding: 4px 10px;
  }
}
