/* ============================================================
   PAIDBACK — Dark Modern Fintech Landing Page
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #06090f;
  --bg-1:      #0c1018;
  --bg-2:      #111827;
  --bg-3:      #1a2333;
  --border:    rgba(255,255,255,0.07);
  --blue:      #3b82f6;
  --blue-lt:   #60a5fa;
  --blue-dk:   #1d4ed8;
  --text:      #e8edf3;
  --text-muted:#7a8ba0;
  --text-dim:  #4a5a6a;
  --green:     #3ecf8e;
  --red:       #f07171;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-disp: 'Inter', system-ui, sans-serif;
  --max-w:     1120px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-disp);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.section {
  padding: 96px 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-sm  { padding: 8px 18px; font-size: 13px; }
.btn-lg  { padding: 14px 28px; font-size: 15px; }

.btn-primary {
  background: var(--blue);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--blue-lt);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(59,130,246,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6,9,15,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-svg {
  display: block;
  height: 36px;
  width: auto;
}

.logo-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #ffffff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 160px 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(59,130,246,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-lt);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-disp);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-headline em {
  font-style: normal;
  color: var(--blue-lt);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}

.stat-num {
  font-family: var(--font-disp);
  font-size: 36px;
  font-weight: 800;
  color: var(--blue-lt);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ── Problem ── */
.problem {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.problem-card {
  background: var(--bg-2);
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.problem-icon {
  font-size: 28px;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.problem-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── How it works ── */
.how {
  background: var(--bg);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 56px;
  bottom: 56px;
  width: 1px;
  background: linear-gradient(to bottom, var(--blue-dk), transparent);
}

.step {
  display: flex;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-bottom: none; }

.step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.step-content { padding-top: 12px; }

.step-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step-content p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
}

/* ── Differentiators ── */
.diff {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
}

.compare-table-wrap {
  overflow-x: auto;
  margin-bottom: 64px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 14px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  background: var(--bg-2);
  text-transform: uppercase;
}

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

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

.compare-table td { color: var(--text-muted); }
.compare-table td:first-child { color: var(--text); font-weight: 500; }

.highlight-col {
  background: rgba(59,130,246,0.06) !important;
  border-left: 2px solid var(--blue) !important;
  border-right: 2px solid var(--blue) !important;
  color: var(--text) !important;
}

.compare-table thead .highlight-col {
  color: var(--blue) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(59,130,246,0.25); }

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Pricing ── */
.pricing {
  background: var(--bg);
}

.pricing .section-sub { margin: 0 auto 56px; }

.pricing-card {
  max-width: 500px;
  margin: 0 auto 48px;
  background: var(--bg-2);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(59,130,246,0.08), var(--shadow-lg);
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), transparent 60%);
  z-index: -1;
}

.pricing-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 28px;
}

.pricing-amount {
  margin-bottom: 32px;
}

.price-num {
  display: block;
  font-family: var(--font-disp);
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue-lt);
  line-height: 1;
  margin-bottom: 8px;
}

.price-label {
  font-size: 15px;
  color: var(--text-muted);
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 16px;
  line-height: 1.5;
}

.pricing-compare {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
}

.pricing-compare > p {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.pricing-compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.pricing-compare-row:last-child { border-bottom: none; }

.loss { color: var(--red); font-weight: 600; }
.win  { color: var(--green); font-weight: 600; }


/* ── FAQ ── */
.faq {
  background: var(--bg);
}

.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--blue-lt); }

.faq-icon {
  flex-shrink: 0;
  font-size: 22px;
  color: var(--blue);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-q[aria-expanded="true"] { color: var(--blue-lt); }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-a.open {
  max-height: 400px;
  padding-bottom: 22px;
}

.faq-a p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-a strong { color: var(--text); font-weight: 600; }

/* ── Waitlist ── */
.waitlist {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
}

.waitlist-inner {
  max-width: 680px;
  margin: 0 auto;
}

.waitlist .section-title { margin-bottom: 12px; }
.waitlist .section-sub   { margin-bottom: 40px; }

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group select {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a8ba0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group input::placeholder { color: var(--text-dim); }

.form-group input:focus,
.form-group select:focus {
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.form-disclaimer {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 12px;
}

.waitlist-success {
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-2);
  border: 1px solid rgba(62,207,142,0.2);
  border-radius: var(--radius);
}

.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(62,207,142,0.12);
  border: 1px solid rgba(62,207,142,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--green);
  margin: 0 auto 20px;
}

.waitlist-success h3 {
  font-family: var(--font-disp);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.waitlist-success p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ── Footer ── */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-legal {
  font-size: 12px;
  color: var(--text-dim);
  text-align: right;
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
    gap: 16px;
    align-items: flex-start;
  }
  .nav-toggle { display: flex; }

  .problem-grid { grid-template-columns: 1fr; gap: 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .hero-stat-row { gap: 24px; }
  .stat-divider  { display: none; }
  .hero-stat     { padding: 0 16px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 72px; }
  .pricing-card { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
  .steps::before { display: none; }
}
