/* ═══════════════════════════════════════════
   MYCRYPTOFOLIO LANDING — Design System
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── TOKENS ── */
:root {
  --bg:          #0a0e14;
  --bg2:         #111620;
  --bg3:         #181f2e;
  --bg-card:     #13181f;
  --border:      rgba(255,255,255,.07);
  --border-hover:rgba(255,255,255,.15);

  --green:       #0ecb81;
  --green-dim:   #0aad6e;
  --green-bg:    rgba(14,203,129,.1);
  --green-border:rgba(14,203,129,.25);
  --blue:        #3b82f6;
  --blue-bg:     rgba(59,130,246,.1);
  --yellow:      #f59e0b;
  --yellow-bg:   rgba(245,158,11,.1);

  --text:        #f0f2f5;
  --text2:       #8b949e;
  --text3:       #3d4450;

  --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:      16px;
  --radius-sm:   10px;
  --radius-xs:   6px;
  --max:         1080px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.4);
  --shadow-md:   0 8px 24px rgba(0,0,0,.5);
  --shadow-lg:   0 24px 64px rgba(0,0,0,.6);
  --shadow-xl:   0 48px 96px rgba(0,0,0,.7);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: var(--font); }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  background: rgba(10,14,20,.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  font-size: 17px; font-weight: 800;
  letter-spacing: -.4px;
}
.nav__logo span { color: var(--green); }

.nav__links {
  display: flex; align-items: center; gap: 6px;
}
.nav__links a {
  font-size: 13.5px; font-weight: 500;
  color: var(--text2); padding: 6px 12px;
  border-radius: var(--radius-xs);
  transition: color .15s, background .15s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--text); background: rgba(255,255,255,.05); }

.nav__cta {
  margin-left: 8px;
  padding: 8px 18px !important;
  background: var(--green) !important;
  color: #000 !important;
  font-weight: 700 !important;
  border-radius: var(--radius-xs) !important;
  font-size: 13.5px !important;
  transition: opacity .15s, transform .15s !important;
}
.nav__cta:hover {
  opacity: .88 !important;
  transform: translateY(-1px) !important;
  background: var(--green) !important;
}

/* ── HAMBURGUESA ── */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .25s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 100px 24px 0;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(14,203,129,.14) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none; z-index: 1;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  border: 1px solid var(--green-border);
  color: var(--green); font-size: 12px; font-weight: 600;
  letter-spacing: .04em; margin-bottom: 32px;
  background: var(--green-bg);
}
.hero__badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(14,203,129,.4)} 50%{opacity:.5;box-shadow:0 0 0 6px rgba(14,203,129,0)} }

.hero__title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800; letter-spacing: -2.5px; line-height: 1.05;
  margin-bottom: 24px; max-width: 880px; margin-inline: auto;
}
.hero__title em { color: var(--green); font-style: normal; }

.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text2); max-width: 520px;
  margin: 0 auto 40px; line-height: 1.7;
}

.hero__actions {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 72px; position: relative; z-index: 2;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 700;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: all .15s; text-decoration: none;
}
.btn--primary {
  padding: 14px 28px;
  background: var(--green); color: #000;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(14,203,129,.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(14,203,129,.5);
  background: #12e891;
}
.btn--ghost {
  padding: 14px 28px;
  border: 1px solid var(--border-hover);
  color: var(--text2); font-size: 15px;
  background: rgba(255,255,255,.03);
}
.btn--ghost:hover { border-color: rgba(255,255,255,.3); color: var(--text); }

/* ── SCREENSHOT (browser mockup) ── */
.screenshot {
  position: relative; z-index: 2;
  max-width: 960px; margin: 0 auto;
}
.screenshot__frame {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,.04);
}
.screenshot__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.screenshot__dots { display: flex; gap: 6px; }
.screenshot__dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.screenshot__dot--red    { background: #ff5f57; }
.screenshot__dot--yellow { background: #febc2e; }
.screenshot__dot--green  { background: #28c840; }
.screenshot__url {
  flex: 1; text-align: center;
  font-size: 12px; color: var(--text3);
  background: rgba(255,255,255,.04);
  border-radius: 4px; padding: 4px 12px;
  max-width: 280px; margin: 0 auto;
}
.screenshot__frame img { width: 100%; display: block; }

/* Screenshot simple (sin frame) */
.screenshot--plain {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.screenshot--plain img { width: 100%; }

/* ── STATS ── */
.stats {
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.stat {
  flex: 1; min-width: 140px;
  padding: 36px 20px; text-align: center;
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--bg3); }
.stat__val {
  font-size: 32px; font-weight: 800;
  color: var(--green); letter-spacing: -1px;
  line-height: 1;
}
.stat__label {
  font-size: 12.5px; color: var(--text2);
  margin-top: 8px; font-weight: 500;
}

/* ── SECTION WRAPPER ── */
.section { padding: 96px 24px; }
.section__inner { max-width: var(--max); margin: 0 auto; }
.section--border { border-top: 1px solid var(--border); }
.section--dark { background: var(--bg2); }

.section__label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: -1px;
  margin-bottom: 16px; line-height: 1.1;
}
.section__title em { color: var(--green); font-style: normal; }
.section__sub {
  font-size: 16px; color: var(--text2);
  max-width: 500px; margin-bottom: 56px;
  line-height: 1.75;
}

/* ── SHOWCASE (texto + imagen lado a lado) ── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  margin-bottom: 64px;
}
.showcase--reverse { direction: rtl; }
.showcase--reverse > * { direction: ltr; }
.showcase__title {
  font-size: 22px; font-weight: 800;
  margin-bottom: 14px; line-height: 1.25;
  letter-spacing: -.3px;
}
.showcase__body {
  font-size: 15px; color: var(--text2);
  line-height: 1.75; margin-bottom: 16px;
}
.showcase__img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform .3s, box-shadow .3s;
}
.showcase__img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.showcase__img img { width: 100%; }

/* ── FEATURE GRID ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature__icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.feature__icon--green  { background: var(--green-bg); }
.feature__icon--blue   { background: var(--blue-bg); }
.feature__icon--yellow { background: var(--yellow-bg); }
.feature__icon--red    { background: rgba(239,68,68,.1); }
.feature h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feature p  { font-size: 13.5px; color: var(--text2); line-height: 1.65; }

/* ── BUCKETS ── */
.buckets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.buckets--row {
  flex-direction: row;
  margin-bottom: 0;
}
.buckets--row .bucket { flex: 1; }
.bucket {
  border-radius: var(--radius-sm); padding: 20px 24px;
  border: 1px solid transparent;
  transition: transform .2s;
}
.bucket:hover { transform: translateY(-2px); }
.bucket--green  { background: var(--green-bg);  border-color: var(--green-border); }
.bucket--yellow { background: var(--yellow-bg); border-color: rgba(245,158,11,.25); }
.bucket--blue   { background: var(--blue-bg);   border-color: rgba(59,130,246,.25); }
.bucket h3 { font-size: 15px; font-weight: 800; margin-bottom: 4px; letter-spacing: -.2px; }
.bucket--green h3  { color: var(--green); }
.bucket--yellow h3 { color: var(--yellow); }
.bucket--blue h3   { color: var(--blue); }
.bucket p  { font-size: 13px; color: var(--text2); margin-bottom: 10px; line-height: 1.5; }
.bucket ul { list-style: none; }
.bucket li {
  font-size: 12.5px; color: var(--text2);
  padding: 4px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 8px;
}
.bucket li:last-child { border: none; padding-bottom: 0; }
.bucket li::before { content: '→'; color: var(--text3); flex-shrink: 0; margin-top: 1px; }

/* ── STEPS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  counter-reset: steps;
}
.step { position: relative; padding-left: 60px; }
.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute; left: 0; top: 2px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-bg); border: 1px solid var(--green-border);
  color: var(--green); font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p   { font-size: 13.5px; color: var(--text2); line-height: 1.65; }

/* ── GALLERY ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery__item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg2);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
.gallery__item img {
  width: 100%; height: 200px;
  object-fit: cover; object-position: top;
  cursor: zoom-in;
}
.gallery__caption {
  padding: 10px 14px;
  font-size: 12px; color: var(--text2);
  background: var(--bg3);
  border-top: 1px solid var(--border);
  font-weight: 500;
}

/* ── MOVE TYPES (3 cards) ── */
.move-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.move-type {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  transition: border-color .2s;
}
.move-type:hover { border-color: var(--border-hover); }
.move-type__icon { font-size: 22px; margin-bottom: 10px; }
.move-type h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.move-type p  { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ── PRIVACY GRID ── */
.privacy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.privacy__card {
  text-align: center; padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.privacy__card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.privacy__icon { font-size: 28px; margin-bottom: 14px; }
.privacy__card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.privacy__card p  { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ── PRICING ── */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: start;
}
.pricing__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: border-color .2s, transform .2s;
  display: flex; flex-direction: column; gap: 24px;
}
.pricing__card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.pricing__card--featured {
  border-color: var(--green-border);
  background: linear-gradient(160deg, rgba(14,203,129,.07) 0%, var(--bg-card) 60%);
}
.pricing__card--featured:hover { border-color: var(--green); }
.pricing__card--dark { background: var(--bg2); }

.pricing__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #000;
  font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: 20px;
  letter-spacing: .04em; white-space: nowrap;
}
.pricing__header { display: flex; flex-direction: column; gap: 10px; }
.pricing__name {
  font-size: 14px; font-weight: 700;
  color: var(--text2); letter-spacing: .04em; text-transform: uppercase;
}
.pricing__card--featured .pricing__name { color: var(--green); }
.pricing__price { display: flex; align-items: baseline; gap: 4px; }
.pricing__amount { font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.pricing__period { font-size: 13px; color: var(--text2); }
.pricing__desc { font-size: 13.5px; color: var(--text2); line-height: 1.6; }

.pricing__list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.pricing__list li {
  font-size: 13.5px; color: var(--text2);
  display: flex; align-items: flex-start; gap: 10px;
}
.pricing__list li::before {
  content: '✓'; color: var(--green);
  font-weight: 700; font-size: 13px; flex-shrink: 0;
  margin-top: 1px;
}
.pricing__cta { flex: 1; justify-content: center; padding: 10px 14px; font-size: 13px; }
.pricing__actions { display: flex; gap: 8px; width: 100%; }

/* ── CAFÉ ── */
.cafe-wallets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px; margin-bottom: 20px;
}
.cafe-wallet {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s;
}
.cafe-wallet:hover { border-color: var(--green-border); }
.cafe-wallet__header {
  display: flex; justify-content: space-between; align-items: center;
}
.cafe-wallet__network {
  font-size: 13px; font-weight: 700; color: var(--green);
}
.cafe-wallet__fee {
  font-size: 11px; color: var(--text2);
  background: var(--green-bg); padding: 3px 10px;
  border-radius: 20px;
}
.cafe-wallet__addr {
  font-size: 11.5px; color: var(--text2);
  word-break: break-all; line-height: 1.6;
  font-family: 'Courier New', monospace;
  background: var(--bg3); padding: 10px 14px;
  border-radius: var(--radius-xs);
}
.cafe-wallet__copy {
  background: var(--green-bg); border: 1px solid var(--green-border);
  color: var(--green); font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: var(--radius-xs);
  cursor: pointer; transition: background .15s;
  font-family: var(--font);
}
.cafe-wallet__copy:hover { background: rgba(14,203,129,.2); }
.cafe-wallet__copy.copied { background: var(--green); color: #000; }
.cafe-note {
  font-size: 13px; color: var(--text3); margin-top: 4px;
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 680px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--green-border); }
.faq-item summary {
  padding: 18px 22px;
  font-size: 14.5px; font-weight: 600; cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; user-select: none;
  transition: color .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--green); }
.faq-item summary::after {
  content: '+'; font-size: 22px; font-weight: 300;
  color: var(--text3); flex-shrink: 0;
  transition: transform .2s, color .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--green); }
.faq-item p {
  padding: 0 22px 18px;
  font-size: 14px; color: var(--text2); line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ── CTA FINAL ── */
.cta {
  text-align: center;
  padding: 80px 24px 60px;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(14,203,129,.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta__title {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 800; letter-spacing: -1.5px;
  margin-bottom: 16px; line-height: 1.08;
  position: relative; z-index: 1;
}
.cta__title em { color: var(--green); font-style: normal; }
.cta__sub {
  color: var(--text2); font-size: 17px;
  margin-bottom: 36px; line-height: 1.7;
  position: relative; z-index: 1;
}
.cta__note {
  margin-top: 24px; font-size: 13px; color: var(--text3);
  position: relative; z-index: 1;
}
.cta__note a { color: var(--text2); transition: color .15s; }
.cta__note a:hover { color: var(--text); }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--text3);
  background: var(--bg2);
}
.footer__left { display: flex; flex-direction: column; gap: 4px; }
.footer__name { color: var(--text2); font-weight: 600; font-size: 13.5px; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { color: var(--text2); transition: color .15s; font-weight: 500; }
.footer__links a:hover { color: var(--text); }

/* ── FADE-IN ON SCROLL ── */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .buckets--row { flex-direction: column; }
  .nav { padding: 0 20px; }
  .nav__burger { display: flex; }
  .nav__links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(10,14,20,.97);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 24px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav__links .nav__cta { margin: 12px 20px; text-align: center; border-radius: var(--radius-sm) !important; }
  .showcase { grid-template-columns: 1fr; gap: 32px; }
  .showcase--reverse { direction: ltr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 20px; }
  .hero { padding: 72px 20px 0; }
}
@media (max-width: 480px) {
  .hero__title { letter-spacing: -1.5px; }
  .gallery { grid-template-columns: 1fr; }
  .footer { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
  .stat { min-width: 120px; padding: 24px 12px; }
  .stat__val { font-size: 26px; }
}
