/* ============================================================
   Best Platform to Buy Ethereum in Nigeria — Stylesheet
   Font: Inter (Google Fonts) | Icons: Feather Icons (CDN)
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --primary:        #627EEA;
  --primary-hover:  #4F6BD4;
  --primary-light:  #EEF1FD;
  --dark:           #1A1D2E;
  --dark-2:         #2D3152;
  --bg:             #F7F8FC;
  --white:          #FFFFFF;
  --text:           #111827;
  --text-2:         #4B5563;
  --text-3:         #9CA3AF;
  --border:         #E5E7EB;
  --success:        #10B981;
  --success-light:  #ECFDF5;
  --warning:        #F59E0B;
  --warning-light:  #FFFBEB;
  --danger:         #EF4444;
  --danger-light:   #FEF2F2;
  --info:           #3B82F6;
  --info-light:     #EFF6FF;
  --font:           'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:      0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:      0 8px 24px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.04);
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --max-w: 1080px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.5rem; }

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

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.875rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p  { margin-bottom: 1rem; color: var(--text-2); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--text); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .18s ease;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  text-decoration: none;
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
  text-decoration: none;
}
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .875rem; }

/* ── Info / Alert Boxes ─────────────────────────────────────── */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: .9rem;
  margin: 20px 0;
  line-height: 1.6;
}
.notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.notice p  { margin: 0; font-size: inherit; }
.notice--info    { background: var(--info-light);    color: #1D4ED8; border-left: 4px solid var(--info); }
.notice--warning { background: var(--warning-light); color: #92400E; border-left: 4px solid var(--warning); }
.notice--success { background: var(--success-light); color: #065F46; border-left: 4px solid var(--success); }
.notice--danger  { background: var(--danger-light);  color: #991B1B; border-left: 4px solid var(--danger); }

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge-rec  { background: #FEF3C7; color: #92400E; }
.badge-licensed { background: var(--success-light); color: #065F46; }
.badge-global   { background: var(--primary-light); color: #3730A3; }

/* ── Section Layout ─────────────────────────────────────────── */
.section        { padding: 72px 0; }
.section--alt   { background: var(--white); }
.section-label  {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-label svg { width: 14px; height: 14px; }
.section-header { margin-bottom: 36px; }
.section-header h2 { margin-bottom: 10px; }
.section-header p  { font-size: 1.05rem; max-width: 640px; margin: 0; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo img,
.site-logo svg { width: 28px; height: 28px; }
.site-logo-text {
  font-weight: 700;
  font-size: .9375rem;
  color: var(--white);
  line-height: 1.2;
}
.site-logo-text span { display: block; font-size: .7rem; font-weight: 400; color: var(--text-3); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav a {
  color: rgba(255,255,255,.75);
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: all .15s;
  text-decoration: none;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); text-decoration: none; }
.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--primary-hover) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 4px;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 80px 0 64px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98,126,234,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(98,126,234,.15);
  border: 1px solid rgba(98,126,234,.3);
  color: #A5B4FC;
  font-size: .8125rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-eyebrow svg { width: 13px; height: 13px; }
.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
}
.hero h1 em { font-style: normal; color: #A5B4FC; }
.hero-sub {
  color: rgba(255,255,255,.7);
  font-size: 1.075rem;
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-sub strong { color: var(--white); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 16px;
  text-align: center;
}
.stat-card svg {
  width: 20px; height: 20px;
  color: var(--primary);
  margin: 0 auto 8px;
  stroke: #A5B4FC;
}
.stat-value {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.stat-label {
  display: block;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  margin-top: 3px;
}
.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}
.eth-badge {
  background: rgba(98,126,234,.15);
  border: 1px solid rgba(98,126,234,.35);
  border-radius: var(--r-xl);
  padding: 28px 36px;
  text-align: center;
}
.eth-badge svg { width: 56px; height: 56px; margin: 0 auto 12px; }
.eth-badge-label { color: #A5B4FC; font-size: .8125rem; font-weight: 600; }
.eth-badge-value { color: var(--white); font-size: 1.25rem; font-weight: 700; margin-top: 4px; }

/* ── Content Card ───────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 28px;
}

/* ── Table Wrapper ──────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  background: var(--white);
}
thead th {
  background: var(--dark);
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--border); transition: background .12s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg); }
tbody td { padding: 14px 16px; color: var(--text-2); vertical-align: middle; }
tbody td strong { color: var(--text); }
.tr-rec { background: var(--primary-light) !important; }
.tr-rec td { color: var(--text); }
.tr-rec:hover { background: #E5EAFB !important; }
.table-note {
  font-size: .8125rem;
  color: var(--text-3);
  margin-top: 10px;
  font-style: italic;
}

/* ── Steps ──────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 32px;
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: .9375rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.step-body { padding-top: 8px; }
.step-body h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--text); }
.step-body p  { margin-bottom: 6px; }
.step-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.step-doc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 4px 10px;
  font-size: .8125rem;
  color: var(--text-2);
  font-weight: 500;
}
.step-doc svg { width: 13px; height: 13px; color: var(--success); stroke: var(--success); }

/* ── Example Box ─────────────────────────────────────────────── */
.example-box {
  background: linear-gradient(135deg, #F0F4FF 0%, #FAF5FF 100%);
  border: 1px solid #C7D2FE;
  border-radius: var(--r-lg);
  padding: 28px;
  margin: 32px 0;
}
.example-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
}
.example-box-header svg { width: 20px; height: 20px; stroke: var(--primary); }
.example-steps { padding-left: 1.25rem; margin: 12px 0; }
.example-steps li { margin-bottom: 6px; color: var(--text-2); font-size: .9375rem; }
.example-result {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--success-light);
  border: 1px solid #A7F3D0;
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin-top: 14px;
  font-size: .9rem;
  color: #065F46;
  font-weight: 500;
}
.example-result svg { width: 18px; height: 18px; stroke: var(--success); flex-shrink: 0; }

/* ── Timing ──────────────────────────────────────────────────── */
.timing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.timing-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  text-align: center;
}
.timing-step svg {
  width: 22px; height: 22px;
  stroke: var(--primary);
  margin: 0 auto 8px;
}
.timing-val {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.timing-desc {
  display: block;
  font-size: .78rem;
  color: var(--text-3);
  margin-top: 3px;
}

/* ── Checklist ───────────────────────────────────────────────── */
.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9375rem;
  color: var(--text-2);
}
.checklist li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; stroke: var(--success); }

/* ── Security Features Grid ─────────────────────────────────── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.security-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
}
.security-item svg {
  width: 22px; height: 22px;
  stroke: var(--primary);
  margin-bottom: 10px;
}
.security-item h4 { font-size: .9375rem; margin-bottom: 4px; }
.security-item p  { font-size: .85rem; margin: 0; }

/* ── Verification Steps ──────────────────────────────────────── */
.verify-list { list-style: none; padding: 0; }
.verify-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  color: var(--text-2);
}
.verify-list li:nth-child(odd) { background: var(--bg); }
.verify-list li svg { width: 16px; height: 16px; stroke: var(--success); flex-shrink: 0; }

/* ── Mistakes Grid ───────────────────────────────────────────── */
.mistakes-grid { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.mistake-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  border-left: 4px solid var(--danger);
}
.mistake-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--danger-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mistake-icon svg { width: 16px; height: 16px; stroke: var(--danger); }
.mistake-body h4 { font-size: .9375rem; margin-bottom: 4px; color: var(--text); }
.mistake-body p  { font-size: .875rem; margin: 0; }

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98,126,234,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p  { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn-white:hover { background: var(--bg); text-decoration: none; color: var(--dark); }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--white);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  transition: background .12s;
}
.faq-question:hover { background: var(--bg); }
.faq-question svg {
  width: 18px; height: 18px;
  stroke: var(--text-3);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: .9375rem;
  color: var(--text-2);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo svg { width: 28px; height: 28px; }
.footer-logo-text { font-weight: 700; font-size: .9375rem; color: var(--white); }
.footer-tagline { color: rgba(255,255,255,.45); font-size: .85rem; max-width: 220px; }
.footer-disclaimer { color: rgba(255,255,255,.4); font-size: .8125rem; line-height: 1.7; }
.footer-disclaimer p { color: inherit; margin-bottom: .75rem; }
.footer-disclaimer p:last-child { margin-bottom: 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.3);
  font-size: .8125rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .timing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--dark); padding: 12px 24px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav.open li { width: 100%; }
  .main-nav.open a { display: block; padding: 10px 0; }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
}
@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .hero { padding: 56px 0 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; }
  .timing-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  thead th { font-size: .75rem; padding: 10px 12px; }
  tbody td { padding: 10px 12px; font-size: .85rem; }
}
