:root {
  --bg: #0b1020;
  --bg-card: #131b33;
  --bg-card-hover: #192342;
  --border: rgba(148, 163, 184, 0.18);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --emerald: #10b981;
  --emerald-bg: rgba(16, 185, 129, 0.12);
  --amber: #f59e0b;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: radial-gradient(circle at top, #172554 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: #60a5fa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
}

.brand-badge {
  background: linear-gradient(135deg, #3b82f6, #10b981);
  color: #fff;
  padding: 6px 11px;
  border-radius: 10px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
  align-items: center;
}

.hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
}

.hero-tag {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  line-height: 1.18;
  margin: 0 0 16px;
}

.hero p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.pillar-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.pillar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.panel h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.file-drop {
  border: 2px dashed rgba(96, 165, 250, 0.45);
  border-radius: 14px;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-drop label {
  font-weight: 700;
  font-size: 0.98rem;
}

.file-drop small {
  color: var(--muted);
}

.addons-box {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}

.addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}

.addon-item input {
  transform: scale(1.2);
  margin-right: 10px;
}

.price-pill {
  background: var(--emerald-bg);
  color: #34d399;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  padding: 14px 26px;
  cursor: pointer;
  width: 100%;
  transition: transform 0.12s ease, opacity 0.15s ease;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  text-decoration: none;
}

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

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}

.tier-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.tier-card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.tier-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.tier-prices {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.sbp-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #34d399;
}

.card-price {
  font-size: 0.85rem;
  color: var(--muted);
}

.analysis-result {
  margin-top: 22px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0;
}

.stat-chip {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.method-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.65);
  cursor: pointer;
}

.method-option input {
  margin-top: 4px;
  transform: scale(1.2);
}

.input-field {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
  font-size: 0.98rem;
  margin-top: 6px;
}

.footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-dl {
  display: grid;
  gap: 12px;
}

.legal-dl div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.legal-dl dt {
  color: var(--muted);
}

.legal-dl dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
