/* QubixPay Landing — light theme, readable typography */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --lp-text: #0f172a;
  --lp-muted: #64748b;
  --lp-body: #334155;
  --lp-border: #e2e8f0;
  --lp-emerald: #059669;
  --lp-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --lp-shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --lp-font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}

.landing-app {
  font-family: var(--lp-font);
  color: var(--lp-text);
  -webkit-font-smoothing: antialiased;
}

/* Readable text overrides */
.landing-app .text-slate-900 { color: #0f172a !important; }
.landing-app .text-slate-800 { color: #1e293b !important; }
.landing-app .text-slate-700 { color: #334155 !important; }
.landing-app .text-slate-600 { color: #334155 !important; }
.landing-app .text-slate-500 { color: #64748b !important; }
.landing-app .text-slate-400 { color: #64748b !important; }
.landing-app .text-slate-300 { color: #475569 !important; }

.landing-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-muted);
}

.landing-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--lp-body);
}

.landing-feature-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--lp-text);
  letter-spacing: -0.02em;
}

.landing-stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lp-muted);
}

.landing-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--lp-text);
  margin-top: 4px;
}

/* Hero */
.landing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--lp-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-body);
  box-shadow: var(--lp-shadow-sm);
}

.landing-hero h1 {
  color: var(--lp-text);
}

.landing-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--lp-body);
  max-width: 42rem;
}

.landing-stat-card {
  border-radius: 16px;
  border: 1px solid var(--lp-border);
  background: #fff;
  padding: 1rem 1.125rem;
  box-shadow: var(--lp-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--lp-shadow);
}

/* Feature cards */
.landing-feature-card {
  border-radius: 24px;
  border: 1px solid var(--lp-border);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--lp-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.landing-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lp-shadow);
  border-color: #cbd5e1;
}

.landing-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.landing-step-card .landing-feature-icon {
  width: 44px;
  height: 44px;
}

/* How it works */
.landing-step-card {
  border-radius: 20px;
  border: 1px solid var(--lp-border);
  background: #f8fafc;
  padding: 1.25rem;
}

.landing-step-card .landing-desc {
  font-size: 14px;
}

.landing-panel {
  border-radius: 32px;
  border: 1px solid var(--lp-border);
  background: #fff;
  box-shadow: var(--lp-shadow-sm);
}

/* Pricing */
.landing-pricing-card {
  border-radius: 28px;
  border: 1px solid var(--lp-border);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--lp-shadow-sm);
}

.landing-pricing-card--pro {
  border-color: #a7f3d0;
  background: linear-gradient(160deg, #ecfdf5, #f0fdf4);
}

.landing-pricing-card--pro .landing-desc,
.landing-pricing-card--pro li {
  color: #047857 !important;
}

.landing-pricing-card--pro .text-emerald-700\/80,
.landing-pricing-card--pro .text-emerald-800\/80,
.landing-pricing-card--pro .text-emerald-700\/70,
.landing-pricing-card--pro .text-emerald-900,
.landing-pricing-card--pro .text-emerald-800 {
  color: #047857 !important;
  opacity: 1 !important;
}

.landing-pricing-card .text-xs.text-slate-500 {
  color: var(--lp-muted) !important;
}

.landing-pricing-card ul {
  color: var(--lp-body);
  line-height: 1.6;
}

/* Header */
.landing-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--lp-border);
  backdrop-filter: blur(12px);
}

/* Auth buttons: Tailwind build may omit md:inline-flex — enforce desktop visibility */
@media (min-width: 768px) {
  .landing-header-actions #openLogin,
  .landing-header-actions #openSignup {
    display: flex !important;
  }

  .landing-header-actions #mobileNavBtn {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .landing-header-actions #openLogin,
  .landing-header-actions #openSignup {
    display: none !important;
  }
}

.landing-nav a {
  color: var(--lp-body);
  font-weight: 500;
}

.landing-nav a:hover {
  color: var(--lp-text);
}

/* Footer */
.landing-footer {
  border-top: 1px solid var(--lp-border);
  background: rgba(255, 255, 255, 0.85);
}

.landing-footer a {
  color: var(--lp-body);
  font-weight: 500;
}

.landing-footer a:hover {
  color: var(--lp-text);
}

.landing-footer .text-sm {
  font-size: 14px;
  color: var(--lp-body);
}

/* CTA buttons */
.landing-app .landing-cta-primary {
  background: var(--lp-emerald);
  color: #fff;
  font-weight: 600;
  border-radius: 16px;
  padding: 0.75rem 1.25rem;
  transition: background 0.2s ease, transform 0.15s ease;
}

.landing-app .landing-cta-primary:hover {
  background: #047857;
}

.landing-app .landing-cta-secondary {
  background: #fff;
  color: var(--lp-text);
  font-weight: 600;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 0.75rem 1.25rem;
}

.landing-app .landing-cta-secondary:hover {
  background: #f8fafc;
}

/* Auth modal labels */
.landing-app #authModal label {
  color: #475569;
  font-weight: 600;
}

.landing-app #authModal .text-\[11px\] {
  color: #64748b !important;
}

.landing-app #message {
  font-weight: 500;
}

/* Softer shadow utility override for landing */
.landing-app .shadow-soft {
  box-shadow: var(--lp-shadow-sm) !important;
}
