/**
 * PDF Redaction Tool – Product Landing Page Styles
 * Clean, modern SaaS-style layout for the desktop app download page.
 */

/* ============================
   SCREEN READER ONLY UTILITY
   ============================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================
   HERO SECTION
   ============================ */
.landing-hero {
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(250, 255, 105, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(250, 255, 105, 0.1);
  border: 1px solid rgba(250, 255, 105, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.badge-icon {
  font-size: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.btn-large {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-download-icon {
  font-size: 1.1rem;
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================
   LANDING SECTIONS
   ============================ */
.landing-section {
  padding: 4rem 0;
}

.landing-alt {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), transparent);
}

.section-heading {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.section-description {
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ============================
   REASONS GRID (Why Not Browser)
   ============================ */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.reason-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s ease;
}

.reason-card:hover {
  border-color: rgba(248, 113, 113, 0.3);
}

.reason-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.reason-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.reason-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================
   FEATURES GRID
   ============================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.feature-card:hover {
  border-color: rgba(250, 255, 105, 0.3);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1rem;
  color: var(--text);
  margin: 0;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================
   TRUST LIST
   ============================ */
.trust-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 640px;
}

.trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.trust-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.trust-item p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ============================
   CTA SECTION
   ============================ */
.landing-cta {
  text-align: center;
  padding: 4rem 0 5rem;
}

.landing-cta .section-description {
  margin-left: auto;
  margin-right: auto;
}

.cta-form-wrapper {
  max-width: 480px;
  margin: 0 auto;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cta-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}

.cta-input::placeholder {
  color: var(--muted);
}

.cta-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================
   FOOTER DISCLAIMER
   ============================ */
.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto 1rem;
  line-height: 1.6;
  opacity: 0.7;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 640px) {
  .landing-hero {
    padding: 4rem 0 3rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

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