:root {
  --bg: #f3f4f8;
  --card: #ffffff;
  --primary: #2563eb;
  --primary-soft: #e0ecff;
  --accent: #16a34a;
  --accent-soft: #dcfce7;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #e5edff 0, #f9fafb 48%, #ffffff 100%);
  color: var(--text-main);
}

/* NAVBAR */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, #22c55e, #22c55e 40%, #2563eb 95%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 800;
  font-size: 18px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span:first-child {
  font-weight: 700;
  font-size: 17px;
}

.logo-text span:last-child {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.nav-links a {
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  border-color: rgba(148, 163, 184, 0.9);
  color: #111827;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* BUTTONS */

.btn {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.12s ease, transform 0.08s ease,
    box-shadow 0.12s ease, border-color 0.12s ease;
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.9);
  background: white;
  color: var(--text-main);
}

.btn-outline:hover {
  background: #f3f4f6;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #f9fafb;
  border: none;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.45);
}

/* LAYOUT */

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 16px 40px;
}

/* ribbon row */

.ribbon-row {
  margin: 12px 0 18px;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 4px;
}

.ribbon-pill {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.95);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ribbon-pill strong {
  font-weight: 600;
}

.flag-pill {
  padding: 3px 8px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 11px;
}

/* HERO */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 26px;
  align-items: center;
}

.hero-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.hero-title span {
  background: linear-gradient(120deg, #4f46e5, #2563eb, #16a34a);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-note {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 480px;
}

.hero-note span {
  font-weight: 600;
  color: #1d4ed8;
}

/* payout pills */

.payout-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 4px;
}

.payout-pill {
  flex: 0 0 auto;
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.payout-logo {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
}

.payout-paypal .payout-logo {
  background: linear-gradient(135deg, #003087, #0070ba);
}

.payout-upi .payout-logo {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.payout-amazon .payout-logo {
  background: #f59e0b;
}

/* right card */

.hero-card {
  background: linear-gradient(160deg, #eff6ff, #f9fafb);
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.hero-card h2 {
  font-size: 16px;
  margin: 0 0 4px;
}

.hero-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.hero-card-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-card-list li {
  margin-bottom: 8px;
}

/* generic cards */

.section-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap: 22px;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.card h2 {
  font-size: 16px;
  margin-bottom: 8px;
}

.card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.step {
  background: #f9fafb;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  font-size: 12px;
}

.step-title {
  font-weight: 600;
  margin-bottom: 4px;
}

/* lists */

.simple-list {
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.small-text {
  font-size: 12px;
  color: var(--text-muted);
}

/* warning pill */

.pill-warning {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* bottom CTA */

.bottom-cta {
  margin-top: 34px;
}

.bottom-cta-inner {
  border-radius: 20px;
  padding: 20px 18px;
  background: linear-gradient(135deg, #dcfce7, #e0f2fe);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.bottom-cta-inner h2 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #064e3b;
}

.bottom-cta-inner p {
  font-size: 13px;
  color: #065f46;
  max-width: 620px;
  line-height: 1.6;
}

.bottom-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

/* FOOTER */

.site-footer {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(209, 213, 219, 0.95);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer a {
  color: #6b7280;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

/* SIMPLE OTHER PAGES */

.main-narrow {
  max-width: 480px;
  margin: 28px auto 40px;
  padding: 0 16px;
}

.auth-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.auth-card h1 {
  font-size: 20px;
  margin-bottom: 6px;
}

.auth-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.form-group {
  margin-bottom: 12px;
}

label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(209, 213, 219, 1);
  padding: 9px 10px;
  font-size: 13px;
  font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.helper {
  font-size: 11px;
  color: var(--text-muted);
}

/* Dashboard */

.dashboard-layout {
  max-width: 1120px;
  margin: 28px auto 40px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
}

.sidebar {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  font-size: 13px;
}

.sidebar-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin-bottom: 6px;
}

.sidebar-nav a {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 8px;
  border-radius: 10px;
  color: var(--text-muted);
}

.sidebar-nav a.is-active,
.sidebar-nav a:hover {
  background: #eef2ff;
  color: #111827;
}

.tag-soft {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.45);
  color: #1d4ed8;
}

.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.alert-info {
  border-radius: 14px;
  padding: 10px 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 12px;
  color: #1e40af;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* responsive */

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .page {
    padding-inline: 14px;
  }
}