/* ============================================================
   ncrptx ONRAMP — STYLESHEET
   Inspired by Onramper.com
   ============================================================ */

:root {
  --blue: #1F00FF;
  --dark: #151515;
  --cyan: #0ABFFA;
  --orange: #F35201;
  --yellow: #F5B111;
  --text: #151515;
  --muted: #6A6A84;
  --bg: #ffffff;
  --bg2: #F4F4FF;
  --border: #E8E8F0;
  --radius: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); overflow-x: hidden; line-height: 1.6; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
nav.scrolled { padding: 12px 60px; box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-logo {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px;
  color: var(--dark); text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.nav-logo span { color: var(--blue); }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--dark); }

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

.btn-outline {
  border: 1.5px solid var(--dark); color: var(--dark); padding: 9px 20px;
  border-radius: 8px; font-weight: 600; font-size: 0.85rem; text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--dark); color: #fff; }

.btn-blue {
  background: var(--blue); color: #fff; padding: 9px 20px;
  border-radius: 8px; font-weight: 600; font-size: 0.85rem; text-decoration: none;
  transition: opacity 0.2s;
}
.btn-blue:hover { opacity: 0.85; }

.back-btn {
  color: var(--muted); text-decoration: none; font-size: 0.82rem;
  font-weight: 600; padding: 6px 12px; border-radius: 6px;
  border: 1px solid var(--border); transition: all 0.2s; white-space: nowrap;
}
.back-btn:hover { color: var(--dark); border-color: var(--dark); }

/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  padding: 130px 60px 80px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f8f8ff 0%, #eeeeff 50%, #f0f8ff 100%);
}

.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(31,0,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(10,191,250,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 60% 10%, rgba(243,82,1,0.05) 0%, transparent 60%);
  animation: gradshift 10s ease infinite alternate;
}

@keyframes gradshift {
  0% { opacity: 0.8; }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero-inner {
  position: relative; display: flex; align-items: center;
  justify-content: space-between; gap: 60px;
  max-width: 1200px; margin: 0 auto; width: 100%;
}

.hero-left { flex: 1; max-width: 560px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(31,0,255,0.08); border: 1px solid rgba(31,0,255,0.2);
  border-radius: 100px; padding: 5px 14px;
  font-size: 0.75rem; font-weight: 700; color: var(--blue);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -2px;
  margin-bottom: 20px; color: var(--dark);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-title .orange-text {
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-sub { font-size: 1.05rem; color: var(--muted); margin-bottom: 36px; line-height: 1.7; max-width: 480px; }

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-hero-primary {
  background: var(--blue); color: #fff; padding: 14px 28px;
  border-radius: 10px; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(31,0,255,0.3);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(31,0,255,0.4); }

.btn-hero-secondary {
  background: transparent; color: var(--dark); padding: 14px 28px;
  border-radius: 10px; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  border: 1.5px solid var(--border); transition: border-color 0.2s;
}
.btn-hero-secondary:hover { border-color: var(--dark); }

.hero-stats { display: flex; gap: 40px; }
.hero-stat-value { font-size: 1.8rem; font-weight: 800; letter-spacing: -1px; color: var(--dark); }
.hero-stat-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ---- WIDGET ---- */
.hero-right { flex-shrink: 0; }

.widget-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(31,0,255,0.15), 0 4px 20px rgba(0,0,0,0.08);
  padding: 28px;
  width: 360px;
}

.widget-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.widget-title { font-size: 1rem; font-weight: 700; }
.widget-logo { font-size: 0.75rem; font-weight: 800; color: var(--blue); }

.widget-tabs {
  display: flex; background: var(--bg2); border-radius: 10px;
  padding: 4px; margin-bottom: 20px; gap: 4px;
}
.widget-tab {
  flex: 1; text-align: center; padding: 8px; border-radius: 8px;
  font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
  color: var(--muted);
}
.widget-tab.active { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.widget-label { font-size: 0.75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }

.widget-input-row {
  display: flex; align-items: center;
  background: var(--bg2); border-radius: 12px; padding: 12px 16px;
  margin-bottom: 12px; border: 1.5px solid transparent; transition: border-color 0.2s;
}
.widget-input-row:focus-within { border-color: var(--blue); }

.widget-input {
  flex: 1; background: none; border: none; outline: none;
  font-size: 1.3rem; font-weight: 700; color: var(--dark); font-family: var(--font);
}

.widget-currency {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 8px; padding: 6px 10px;
  font-weight: 700; font-size: 0.85rem; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); white-space: nowrap;
}
.widget-currency-flag { font-size: 1.1rem; }

.widget-arrow {
  text-align: center; color: var(--blue); font-size: 1.2rem;
  margin: 4px 0 12px; cursor: pointer;
}

.widget-payment {
  background: var(--bg2); border-radius: 12px; padding: 12px 16px;
  margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between;
}
.widget-payment-label { font-size: 0.78rem; color: var(--muted); }
.widget-payment-value { font-size: 0.85rem; font-weight: 600; }

.widget-btn {
  width: 100%; background: linear-gradient(135deg, var(--blue), #6600ff);
  color: #fff; border: none; border-radius: 12px; padding: 14px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(31,0,255,0.3);
}
.widget-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(31,0,255,0.4); }

.widget-footer {
  text-align: center; margin-top: 14px;
  font-size: 0.72rem; color: var(--muted);
}
.widget-footer a { color: var(--blue); text-decoration: none; }

/* ---- MARQUEE ---- */
.marquee-section {
  padding: 32px 0; background: var(--dark); overflow: hidden;
}
.marquee-track {
  display: flex; gap: 48px; animation: marquee 25s linear infinite;
  width: max-content;
}
.marquee-item {
  color: rgba(255,255,255,0.5); font-weight: 700; font-size: 0.9rem;
  white-space: nowrap; letter-spacing: 1px; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.marquee-item::before {
  content: '◆'; color: var(--blue); font-size: 0.6rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- SECTIONS ---- */
section { padding: 100px 60px; }

.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
  letter-spacing: -1px; line-height: 1.2; margin-bottom: 16px; color: var(--dark);
}
.section-sub { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 520px; }

/* ---- FEATURES ---- */
#features { background: var(--bg2); }
.features-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 60px; align-items: center; }
.features-left { flex: 1; }
.features-right { flex: 1; display: flex; flex-direction: column; gap: 20px; }

.feature-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); transition: border-color 0.3s, box-shadow 0.3s;
  display: flex; gap: 20px; align-items: flex-start;
}
.feature-card:hover { border-color: var(--blue); box-shadow: 0 8px 32px rgba(31,0,255,0.1); }

.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), #6600ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0; color: #fff;
}
.feature-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.feature-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ---- HOW IT WORKS ---- */
#how { background: var(--bg); }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-header { text-align: center; margin-bottom: 60px; }
.how-header .section-sub { margin: 0 auto; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.step-card {
  text-align: center; padding: 36px 24px;
  background: var(--bg2); border-radius: var(--radius);
  border: 1px solid var(--border); position: relative;
}
.step-card::after {
  content: '→';
  position: absolute; right: -16px; top: 50%;
  transform: translateY(-50%);
  color: var(--blue); font-size: 1.2rem; font-weight: 700;
  z-index: 1;
}
.step-card:last-child::after { display: none; }

.step-number {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #6600ff);
  color: #fff; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ---- STATS ---- */
#stats-section {
  background: var(--dark); color: #fff;
  padding: 80px 60px;
}
.stats-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.stats-inner .section-title { color: #fff; }
.stats-inner .section-sub { color: rgba(255,255,255,0.6); margin: 0 auto 60px; }

.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat-card {
  background: rgba(255,255,255,0.05); border-radius: var(--radius);
  padding: 36px 24px; border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s;
}
.stat-card:hover { border-color: var(--blue); }
.stat-value {
  font-size: 2.8rem; font-weight: 800; letter-spacing: -2px;
  background: linear-gradient(135deg, #fff, var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }

/* ---- PAYMENT METHODS ---- */
#payments { background: var(--bg2); }
.payments-inner { max-width: 1100px; margin: 0 auto; }
.payments-header { margin-bottom: 48px; }

.payment-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.payment-item {
  background: #fff; border-radius: 12px; padding: 20px 16px;
  text-align: center; border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.payment-item:hover { border-color: var(--blue); transform: translateY(-2px); }
.payment-icon { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.payment-name { font-size: 0.75rem; font-weight: 600; color: var(--muted); }

/* ---- CTA ---- */
#cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, #6600ff 50%, #0ABFFA 100%);
  padding: 100px 60px; text-align: center; color: #fff;
}
#cta-section .section-title { color: #fff; }
#cta-section .section-sub { color: rgba(255,255,255,0.8); margin: 0 auto 40px; }

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-cta-white {
  background: #fff; color: var(--blue); padding: 14px 32px;
  border-radius: 10px; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: transform 0.2s;
}
.btn-cta-white:hover { transform: translateY(-2px); }

.btn-cta-outline {
  background: transparent; color: #fff; padding: 14px 32px;
  border-radius: 10px; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4); transition: border-color 0.2s;
}
.btn-cta-outline:hover { border-color: #fff; }

/* ---- FOOTER ---- */
footer {
  background: var(--dark); color: #fff; padding: 64px 60px 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px; max-width: 1200px; margin: 0 auto 48px;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 16px; display: block; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.7; max-width: 260px; }

.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; max-width: 1200px; margin: 0 auto;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.3); font-size: 0.8rem; text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  section { padding: 70px 24px; }
  #hero { padding: 120px 24px 60px; }
  .hero-inner { flex-direction: column; }
  .hero-right { width: 100%; display: flex; justify-content: center; }
  .widget-card { width: 100%; max-width: 400px; }
  .features-inner { flex-direction: column; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .payment-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  #stats-section { padding: 60px 24px; }
  #cta-section { padding: 70px 24px; }
  footer { padding: 48px 24px 24px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
