/* ============================================================
   WorldLens — Features Page Styles (features.html)
   ============================================================ */

/* ============================================================
   Shared helpers (page-scoped)
   ============================================================ */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.875rem;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0.25rem;
}

/* Form styles (for CTA at bottom if added) */
.waitlist-form {
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 0.75rem;
}

.form-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.form-row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-on-surface);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-row input[type="email"]::placeholder { color: var(--color-muted); }
.form-row input[type="email"]:focus {
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.07);
}

.form-note {
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.02em;
  text-align: center;
  margin-top: 0.75rem;
}

/* ============================================================
   Page Hero
   ============================================================ */
.page-hero {
  position: relative;
  padding-block: 48px var(--space-2xl);
  text-align: center;
  overflow: visible;
}

.page-hero-glow {
  position: absolute;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(
    ellipse at 50% 30%,
    rgba(232, 168, 56, 0.11) 0%,
    rgba(193, 125, 32, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.page-hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-on-surface);
  line-height: 1.75;
  max-width: 540px;
  margin-inline: auto;
}

/* ============================================================
   Feature Cards — 2-column grid
   ============================================================ */
.features-full-section {
  padding-block: var(--space-xl) var(--space-2xl);
}

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

.feature-detail-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 168, 56, 0.6);
  background: rgba(232, 168, 56, 0.03);
  box-shadow:
    0 0 25px rgba(232, 168, 56, 0.18),
    0 0 80px rgba(232, 168, 56, 0.12),
    0 0 120px rgba(232, 168, 56, 0.06),
    0 8px 40px rgba(0, 0, 0, 0.5);
}

.fdc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.fdc-num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-border);
  letter-spacing: 0.1em;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-free {
  border: 1px solid var(--color-border);
  color: var(--color-muted);
}

.badge-pro {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}

/* Icon */
.fdc-icon {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.fdc-icon svg {
  width: 100%;
  height: 100%;
}

.feature-detail-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.feature-detail-card p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-muted);
  line-height: 1.75;
  flex: 1;
}

/* ============================================================
   Features Split Layout (Free / Pro two-column)
   ============================================================ */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 3.5rem;
  align-items: start;
}

.features-split-divider {
  background: var(--color-gold);
  opacity: 0.2;
  align-self: stretch;
}

.split-col-header {
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.split-col-header--pro {
  border-top: 2px solid var(--color-gold);
  padding-top: 0.875rem;
}

.split-col-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
}

/* Cards inside split columns — remove badge row, tighten top */
.split-col .feature-detail-card .fdc-top {
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.split-col .feature-detail-card {
  margin-bottom: 1rem;
}

.split-col .feature-detail-card:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Comparison Table
   ============================================================ */
.comparison-section {
  padding-block: var(--space-xl) var(--space-2xl);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  border-top: 3px solid #E8A838;
}

/* Header */
.comparison-table thead th {
  padding: 1.1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.comparison-table thead th:first-child {
  text-align: left;
  color: var(--color-muted);
}

.comparison-table thead th.col-wl {
  color: #E8A838;
  background: rgba(232, 168, 56, 0.06);
  border-left: 1px solid rgba(232, 168, 56, 0.15);
  border-right: 1px solid rgba(232, 168, 56, 0.15);
}

/* Body */
.comparison-table tbody tr:nth-child(even) td {
  background: transparent;
}

.comparison-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody td {
  padding: 0.9rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 300;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-muted);
  background: transparent;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody td:first-child {
  text-align: left;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 300;
  padding-left: 20px;
}

.comparison-table tbody td.col-wl {
  background: rgba(232, 168, 56, 0.05);
  border-left: 1px solid rgba(232, 168, 56, 0.15);
  border-right: 1px solid rgba(232, 168, 56, 0.15);
}

/* Gold tint always wins on WorldLens column */
.comparison-table tbody tr:nth-child(even) td.col-wl,
.comparison-table tbody tr:hover td.col-wl {
  background: rgba(232, 168, 56, 0.05);
}

/* WorldLens checkmarks — gold, prominent */
.col-wl .check {
  color: #E8A838;
  font-size: 18px;
  font-weight: 600;
}

/* Competitor checkmarks — subtle */
td:not(.col-wl) .check {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: 400;
}

.cross {
  color: rgba(255, 255, 255, 0.15);
  font-size: 16px;
}

.partial {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
  letter-spacing: 0.03em;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-section {
  padding-block: var(--space-xl) var(--space-2xl);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin-inline: auto;
  align-items: start;
}

.pricing-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-card-surface);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.pricing-pro {
  border-color: var(--color-gold);
  box-shadow: 0 0 50px rgba(232, 168, 56, 0.08), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-waitlist-reward {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: #E8A838;
  text-align: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(232, 168, 56, 0.2);
  line-height: 1.5;
}

.pricing-tier {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-period {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.save-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(232, 168, 56, 0.1);
  border: 1px solid rgba(232, 168, 56, 0.35);
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.pricing-divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: 1.5rem;
}

.pricing-list {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding-block: 0.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-on-surface);
  border-bottom: 1px solid var(--color-border);
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-list li::before {
  content: '✓';
  color: var(--color-gold);
  flex-shrink: 0;
  font-size: 0.7rem;
  line-height: 1.7;
}

.pricing-note {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--color-muted);
  font-style: italic;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .features-full-grid {
    grid-template-columns: 1fr;
  }

  .features-split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .features-split-divider {
    display: none;
  }

  .split-col + .split-col {
    margin-top: 3rem;
  }
}

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

  .pricing-card.pricing-pro {
    order: -1; /* Pro card first on mobile */
  }

  .page-hero {
    padding-block: 48px var(--space-xl);
  }
}

@media (max-width: 560px) {
  .form-row {
    flex-direction: column;
  }

  .form-row .btn {
    width: 100%;
    justify-content: center;
  }
}
