/* Public landing & auth pages */
.public-page {
  background: var(--bg);
  color: var(--text);
}

.public-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 2rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.public-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.public-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.public-links a:not(.btn) {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
}

.public-links a:not(.btn):hover { color: var(--primary); }

.public-flash {
  max-width: 480px;
  margin: 1rem auto;
  padding: 0 1rem;
}

/* Hero */
.landing-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .landing-hero { grid-template-columns: 1fr; padding: 2.5rem 1.25rem; }
  .public-nav { padding: 0.75rem 1rem; }
  .public-links a:not(.btn) { display: none; }
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 1rem;
}

.landing-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.landing-hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 1.75rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 40%, #4f46e5 100%);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.mock-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}

.mock-card:last-child { margin-bottom: 0; }

.mock-card .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.mock-card .title {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.25rem 0;
}

.mock-card .meta {
  font-size: 0.8rem;
  opacity: 0.85;
}

.mock-score {
  float: right;
  font-size: 1.25rem;
  font-weight: 800;
  color: #a7f3d0;
}

/* Sections */
.landing-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}

.landing-section.alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: none;
}

.landing-section.alt .section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.section-head p {
  color: var(--text-secondary);
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-box {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.feature-box .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .steps-row { grid-template-columns: 1fr 1fr; }
}

.step-card {
  text-align: center;
  padding: 1.25rem;
}

.step-card .num {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.step-card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 600px) {
  .audience-grid { grid-template-columns: 1fr; }
}

.audience-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
}

.audience-item strong { display: block; margin-bottom: 0.25rem; }
.audience-item span { font-size: 0.875rem; color: var(--text-secondary); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 800px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.price-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow);
}

.price-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
}

.price-card .price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.75rem 0;
  letter-spacing: -0.03em;
}

.price-card .price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-strike {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.8;
  margin: 0.35rem 0 0;
}
.early-bird-tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #92400e;
  background: #fef3c7;
  border-radius: 999px;
}
.early-bird-inline {
  color: #b45309;
  font-weight: 600;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.price-card li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.faq-item strong {
  display: block;
  margin-bottom: 0.35rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cta-band {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #4f46e5, #312e81);
  color: #fff;
  border-radius: var(--radius);
  margin-top: 1rem;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.cta-band p {
  margin: 0 0 1.5rem;
  opacity: 0.9;
}

.cta-band .btn.primary {
  background: #fff;
  color: var(--primary);
}

.public-footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--white);
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* Competitor comparison */
.compare-section { max-width: 1000px; margin: 0 auto; }
.compare-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius);
}
.compare-us strong {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 0.25rem;
}
.compare-us-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.compare-table-wrap { overflow-x: auto; }
.compare-rivals {
  width: 100%;
  font-size: 0.8125rem;
}
.compare-rivals th,
.compare-rivals td {
  padding: 0.65rem 0.75rem;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.compare-rivals th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
.compare-rivals .col-ws {
  background: rgba(37, 99, 235, 0.06);
  font-weight: 500;
}
.compare-rivals thead .col-ws {
  color: var(--primary);
  font-weight: 800;
}
.compare-disclaimer {
  margin: 1rem 0 0;
  line-height: 1.55;
  max-width: 720px;
}
.compare-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Auth pages */
.auth-page-wrap {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-box {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.auth-box h1 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.auth-box .sub {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.auth-divider {
  text-align: center;
  margin: 1.25rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.auth-back {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0.25rem;
}
.trust-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--success-soft);
  color: #047857;
  border: 1px solid #a7f3d0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.trust-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.trust-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.trust-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.social-proof-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.proof-quote {
  margin: 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--primary);
  background: var(--primary-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
}
.proof-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
}
.support-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  background: #0068ff;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.35);
}
.support-fab:hover {
  filter: brightness(1.05);
  color: #fff;
}
.support-fab-icon { font-size: 1.1rem; }
@media (max-width: 640px) {
  .support-fab-label { display: none; }
  .support-fab { padding: 0.75rem; border-radius: 50%; }
}
