/* JC-Creations · Smart Wallet — sistema visual basado en assets reales */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  /* JC-Creations — del logo real (azul/navy) */
  --navy-950:#060e1e;
  --navy-900:#0a1730;
  --navy-800:#0e1c35;
  --navy-700:#132540;
  --navy-line:#1e3255;
  --blue:#0b7fe0;
  --blue-bright:#57b6ff;
  --silver:#c9d4de;

  /* Smart Wallet — de las capturas reales de la app (menta/verde bosque) */
  --mint-50:#f4faf0;
  --mint-100:#e3f4da;
  --mint-200:#c9e9ba;
  --line-light:#cfe3c3;
  --forest-900:#16261a;
  --forest-700:#2e5a34;
  --forest-600:#3b693a;
  --teal:#04a08f;

  --radius:14px;

  /* Tokens semánticos — modo oscuro (JC-Creations) por defecto */
  --bg:var(--navy-950);
  --surface:var(--navy-800);
  --surface-2:var(--navy-900);
  --border:var(--navy-line);
  --text:#eef2f6;
  --text-muted:#8ea0b5;
  --accent:var(--blue);
  --accent-strong:var(--blue-bright);
  --on-accent:#04101f;
}

body.light{
  /* Tokens semánticos — modo claro (Smart Wallet) */
  --bg:var(--mint-50);
  --surface:var(--mint-100);
  --surface-2:var(--mint-200);
  --border:var(--line-light);
  --text:var(--forest-900);
  --text-muted:#587557;
  --accent:var(--forest-600);
  --accent-strong:var(--teal);
  --on-accent:#ffffff;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  transition:background .2s ease;
}
img{max-width:100%; display:block;}
a{color:inherit;}
:focus-visible{outline:2px solid var(--accent-strong); outline-offset:2px;}

.wrap{max-width:1120px; margin:0 auto; padding:0 24px;}

/* ---------- Header (siempre navy — ancla de marca JC-Creations) ---------- */
.site-header{
  position:sticky; top:0; z-index:20;
  background:rgba(6,14,30,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--navy-line);
}
.site-header .bar{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px;
  padding:12px 24px;
  max-width:1120px; margin:0 auto;
}
.wordmark{
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:18px;
  letter-spacing:-0.01em; text-decoration:none; color:#eef2f6;
  display:flex; align-items:center; gap:10px;
}
.wordmark img{height:30px; width:auto;}
.wordmark .dot{color:var(--blue-bright);}
nav.tabs{display:flex; gap:4px;}
nav.tabs a{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px; letter-spacing:0.04em; text-transform:uppercase;
  text-decoration:none; color:#7c8fa5;
  padding:8px 14px;
  border-radius:20px;
  transition:color .15s, background .15s;
}
nav.tabs a:hover{color:#eef2f6;}
nav.tabs a.active{
  color:#eef2f6;
  background:rgba(87,182,255,0.14);
}
.menu-btn{display:none; background:none; border:1px solid var(--navy-line); color:#eef2f6; border-radius:6px; padding:8px 10px; font-size:16px; cursor:pointer;}

@media (max-width:640px){
  .site-header .bar{position:relative;}
  nav.tabs{display:none;}
  nav.tabs.is-open{
    display:flex; flex-direction:column; gap:2px;
    position:absolute; top:100%; left:0; right:0;
    background:rgba(6,14,30,0.98);
    border-bottom:1px solid var(--navy-line);
    padding:10px 24px 16px;
  }
  nav.tabs.is-open a{padding:12px 14px; font-size:13px;}
  .menu-btn{display:block;}
}

/* ---------- Eyebrow labels ---------- */
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--accent);
  margin:0 0 14px;
}
body.light .eyebrow{color:var(--forest-600);}

/* ---------- Hero ---------- */
.hero{
  padding:76px 0 60px;
  position:relative;
  overflow:hidden;
}
.hero .wrap{
  display:grid; grid-template-columns:1fr; gap:40px; align-items:center;
}
.hero.has-visual .wrap{grid-template-columns:1.15fr 0.85fr;}
@media (max-width:860px){
  .hero.has-visual .wrap{grid-template-columns:1fr;}
  .hero-visual{order:-1; max-width:280px; margin:0 auto;}
}

.hero h1{
  font-family:'Space Grotesk',sans-serif; font-weight:600;
  font-size:clamp(32px,5vw,52px);
  line-height:1.08;
  letter-spacing:-0.01em;
  margin:0 0 18px;
  max-width:600px;
}
.hero h1 em{font-style:normal; color:var(--accent-strong);}
.hero p.lede{
  max-width:500px; color:var(--text-muted); font-size:17px; margin:0 0 30px;
}
.btn-row{display:flex; gap:14px; flex-wrap:wrap;}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 22px; border-radius:10px;
  font-weight:600; font-size:14.5px; text-decoration:none;
  transition:transform .15s, background .15s, border-color .15s, box-shadow .15s;
}
.btn-primary{background:var(--accent); color:var(--on-accent);}
.btn-primary:hover{background:var(--accent-strong); transform:translateY(-1px);}
.btn-ghost{border:1px solid var(--border); color:var(--text);}
.btn-ghost:hover{border-color:var(--accent); color:var(--accent);}
body.light .btn-ghost:hover{color:var(--forest-700);}

.hero-stats{
  margin-top:44px; padding-top:26px;
  border-top:1px solid var(--border);
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
  max-width:600px;
}
.hero-stats .stat b{
  display:block; font-family:'Space Grotesk',sans-serif; font-weight:600;
  font-size:24px; color:var(--accent-strong);
}
.hero-stats .stat span{font-size:12.5px; color:var(--text-muted);}

/* ---------- JC hero visual: el logo real con glow ---------- */
.jc-badge{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  padding:20px;
}
.jc-badge::before{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(circle at 50% 45%, rgba(11,127,224,0.35), transparent 65%);
  filter:blur(10px);
  z-index:0;
}
.jc-badge img{position:relative; z-index:1; width:100%; max-width:340px; margin:0 auto; filter:drop-shadow(0 20px 40px rgba(0,0,0,0.5));}

/* ---------- Phone frame: capturas reales de la app ---------- */
.phone{
  position:relative;
  width:100%; max-width:270px; margin:0 auto;
  background:#111214;
  border-radius:34px;
  padding:14px 10px 10px;
  box-shadow:0 30px 60px -20px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,0,0,0.06);
}
.phone::before{
  content:"";
  position:absolute; top:6px; left:50%; transform:translateX(-50%);
  width:64px; height:6px; border-radius:4px; background:#2a2c30;
}
.phone img{border-radius:18px; width:100%;}

/* ---------- Sections ---------- */
section{padding:64px 0;}
h2{
  font-family:'Space Grotesk',sans-serif; font-weight:600; letter-spacing:-0.01em;
  font-size:clamp(26px,3.4vw,34px); margin:0 0 12px;
}
.section-lede{color:var(--text-muted); max-width:580px; margin:0 0 36px; font-size:15.5px;}

/* ---------- App stub card (catálogo) ---------- */
.stub{
  position:relative;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:30px 30px 26px;
  display:flex; gap:22px;
}
.stub-icon{flex:0 0 auto; width:72px; height:72px; border-radius:18px; overflow:hidden;}
.stub-icon img{width:100%; height:100%; object-fit:cover;}
.stub-body{flex:1; min-width:0;}
.stub-head{display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px;}
.stub-head .stub-tag{
  font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.06em;
  text-transform:uppercase; color:var(--accent);
  background:rgba(11,127,224,0.12); border:1px solid rgba(11,127,224,0.3);
  padding:3px 10px; border-radius:20px;
}
.stub h3{font-family:'Space Grotesk',sans-serif; font-size:22px; margin:0 0 8px; font-weight:600;}
.stub p{color:var(--text-muted); font-size:15px; margin:0 0 20px; max-width:460px;}
.stub .btn-row{gap:12px;}

.tier-grid.catalog{grid-template-columns:1.3fr 1fr;}
.coming-soon{
  border:1px dashed var(--border); border-radius:var(--radius);
  padding:30px; display:flex; align-items:center; justify-content:center;
  color:var(--text-muted); font-size:14.5px; text-align:center; min-height:120px;
}

/* ---------- Feature lists (smart-wallet) ---------- */
.tier-grid{display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:8px;}
@media (max-width:720px){.tier-grid{grid-template-columns:1fr;} .tier-grid.catalog{grid-template-columns:1fr;}}
.tier-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:28px;}
.tier-card h3{
  font-family:'IBM Plex Mono',monospace; font-size:13px; letter-spacing:0.08em;
  text-transform:uppercase; margin:0 0 18px; display:flex; align-items:center; gap:8px;
}
.tier-card.free h3{color:var(--forest-600);}
body:not(.light) .tier-card.free h3{color:var(--accent);}
.tier-card.premium h3{color:var(--teal);}
.tier-card ul{list-style:none; margin:0; padding:0;}
.tier-card li{
  padding:11px 0; border-bottom:1px dotted var(--border);
  font-size:15px; display:flex; gap:10px; align-items:flex-start;
}
.tier-card li:last-child{border-bottom:none;}
.tier-card li::before{content:"✓"; color:var(--accent); font-weight:700; flex:0 0 auto;}

/* ---------- Galería de capturas reales ---------- */
.shots-row{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
  margin-top:8px;
}
@media (max-width:720px){.shots-row{grid-template-columns:1fr; max-width:270px; margin-inline:auto;}}
.shot-card figcaption{
  text-align:center; margin-top:14px; font-size:13.5px; color:var(--text-muted);
  font-family:'IBM Plex Mono',monospace; letter-spacing:0.03em;
}

/* ---------- Callout / legal callout ---------- */
.callout{
  background:var(--surface); border:1px solid var(--border);
  border-left:3px solid var(--accent); border-radius:8px;
  padding:16px 20px; font-size:14.5px; color:var(--text-muted); margin-top:18px;
}
.callout strong{display:block; color:var(--accent); font-size:12.5px; letter-spacing:0.05em; text-transform:uppercase; margin-bottom:6px;}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--accent); color:var(--on-accent);
  text-align:center; padding:64px 0;
}
.cta-band h2{margin-bottom:26px; color:var(--on-accent);}
.cta-band .btn-primary{background:var(--on-accent); color:var(--accent);}
.cta-band .btn-primary:hover{background:#ffffff;}

/* ---------- Legal page ---------- */
.legal p, .legal li{font-size:15.5px;}
.legal section{padding:0 0 40px; border-bottom:1px solid var(--border); margin-bottom:40px;}
.legal section:last-of-type{border-bottom:none;}
.legal h2{font-size:21px; border-bottom:none; padding-bottom:0;}
.legal .entry-num{font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--accent); display:block; margin-bottom:6px; letter-spacing:0.08em;}
.legal a{color:var(--accent); text-decoration:none; border-bottom:1px solid currentColor; opacity:0.85;}
.legal a:hover{opacity:1;}
.legal strong{color:var(--text); font-weight:600;}

/* ---------- Footer ---------- */
footer.site-footer{
  border-top:1px solid var(--border);
  padding:32px 0 48px;
  color:var(--text-muted); font-size:13.5px;
}
footer.site-footer .wrap{display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between;}
footer.site-footer a{color:var(--text-muted); text-decoration:underline; text-decoration-color:var(--border);}
footer.site-footer a:hover{color:var(--accent);}

@media (prefers-reduced-motion: no-preference){
  .hero h1, .hero p.lede, .hero .btn-row, .hero-stats, .hero-visual{
    animation:rise .55s ease-out both;
  }
  .hero p.lede{animation-delay:.05s;}
  .hero .btn-row{animation-delay:.1s;}
  .hero-stats{animation-delay:.15s;}
  .hero-visual{animation-delay:.08s;}
}
@keyframes rise{ from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:translateY(0);} }
