:root {
  --bg: #0a1220;
  --bg2: #0f1b30;
  --card: #131f36;
  --card2: #182642;
  --line: rgba(255,255,255,.08);
  --text: #eef2fa;
  --muted: #93a1bd;
  --lime: #c8f31d;
  --blue: #2f6bff;
  --blue2: #6d9bff;
  --pink: #ff5d8f;
  --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(47,107,255,.25), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(200,243,29,.08), transparent 60%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,18,32,.75);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.logo .cube { width: 30px; height: 30px; display: grid; place-items: center; background: var(--lime); color: #0a1220; border-radius: 9px; font-size: 1rem; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-links a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-links a.active { color: var(--text); background: rgba(255,255,255,.08); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 11px 20px; border-radius: 12px; border: 0; cursor: pointer;
  font-weight: 700; font-size: .95rem; font-family: inherit;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: #0a1220; box-shadow: 0 8px 30px rgba(200,243,29,.25); }
.btn-blue { background: linear-gradient(135deg, var(--blue), #4a83ff); color: #fff; box-shadow: 0 8px 30px rgba(47,107,255,.35); }
.btn-ghost { background: rgba(255,255,255,.07); color: var(--text); border: 1px solid var(--line); }
.btn-danger { background: rgba(255,93,143,.15); color: var(--pink); border: 1px solid rgba(255,93,143,.3); }
.btn-sm { padding: 7px 13px; font-size: .82rem; border-radius: 9px; }

/* HERO */
.hero { padding: 84px 0 56px; text-align: center; position: relative; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.hero h1 .grad { background: linear-gradient(90deg, var(--lime), #7ee36b, var(--blue2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 22px auto 34px; line-height: 1.65; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(200,243,29,.1); border: 1px solid rgba(200,243,29,.3); color: var(--lime);
  font-size: .85rem; font-weight: 600; margin-bottom: 26px;
}

/* STATS */
.stats { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 48px 0; }
.stat {
  background: linear-gradient(160deg, var(--card), var(--bg2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 40px; min-width: 180px; text-align: center;
}
.stat b { display: block; font-size: 2.1rem; font-weight: 900; color: var(--lime); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .9rem; }

/* SECTIONS */
.section { padding: 56px 0; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 850; letter-spacing: -.02em; text-align: center; margin-bottom: 10px; }
.section .sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 40px; line-height: 1.6; }

/* GRID CARDS */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card {
  background: linear-gradient(165deg, var(--card), var(--bg2));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: rgba(200,243,29,.35); box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.card-thumb { aspect-ratio: 16/10; background: linear-gradient(140deg, #1a2a4a, #101b31); display: grid; place-items: center; font-size: 3rem; position: relative; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.05rem; font-weight: 750; letter-spacing: -.01em; }
.card-body p { color: var(--muted); font-size: .88rem; line-height: 1.55; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .03em; }
.tag-free { background: rgba(126,227,107,.14); color: #7ee36b; border: 1px solid rgba(126,227,107,.3); }
.tag-premium { background: linear-gradient(90deg, rgba(255,196,0,.18), rgba(255,93,143,.18)); color: #ffc400; border: 1px solid rgba(255,196,0,.35); }
.tag-cat { background: rgba(109,155,255,.12); color: var(--blue2); border: 1px solid rgba(109,155,255,.25); }
.lock-overlay {
  position: absolute; inset: 0; backdrop-filter: blur(3px);
  background: rgba(10,18,32,.55); display: grid; place-items: center; font-size: 2rem;
}

/* CATEGORY chips */
.chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.chip {
  padding: 9px 18px; border-radius: 999px; background: rgba(255,255,255,.05);
  border: 1px solid var(--line); color: var(--muted); font-size: .88rem; font-weight: 600;
  transition: all .15s;
}
.chip:hover, .chip.active { background: rgba(200,243,29,.12); border-color: rgba(200,243,29,.4); color: var(--lime); }

/* PRICING */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; max-width: 900px; margin: 0 auto; }
.price-card { background: linear-gradient(165deg, var(--card), var(--bg2)); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; position: relative; }
.price-card.featured { border-color: rgba(200,243,29,.5); background: linear-gradient(165deg, #16253f, #0e1a30); box-shadow: 0 20px 60px rgba(200,243,29,.1); }
.price-card .plan-name { font-weight: 800; font-size: 1.05rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.price-card .price { font-size: 2.6rem; font-weight: 900; margin: 14px 0 4px; letter-spacing: -.03em; }
.price-card .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 11px; }
.price-card li { color: var(--muted); font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.price-card li::before { content: '✓'; color: var(--lime); font-weight: 900; }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--lime); color: #0a1220; font-size: .72rem; font-weight: 800; padding: 5px 16px; border-radius: 999px; letter-spacing: .05em; }

/* AUTH */
.auth-wrap { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 420px; background: linear-gradient(165deg, var(--card), var(--bg2)); border: 1px solid var(--line); border-radius: 24px; padding: 40px 36px; }
.auth-card h1 { font-size: 1.6rem; font-weight: 850; margin-bottom: 6px; letter-spacing: -.02em; }
.auth-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 650; color: var(--muted); margin-bottom: 7px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 11px; font-family: inherit;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--text); font-size: .95rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,107,255,.2); }
.error-box { background: rgba(255,93,143,.12); border: 1px solid rgba(255,93,143,.35); color: var(--pink); padding: 12px 16px; border-radius: 11px; font-size: .88rem; margin-bottom: 18px; }

/* DASH layout */
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 38px 0 24px; }
.dash-head h1 { font-size: 1.7rem; font-weight: 850; letter-spacing: -.02em; }
.dash-head .hello { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.plan-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 750; }
.plan-free { background: rgba(147,161,189,.15); color: var(--muted); border: 1px solid var(--line); }
.plan-premium { background: linear-gradient(90deg, rgba(255,196,0,.2), rgba(255,93,143,.2)); color: #ffc400; border: 1px solid rgba(255,196,0,.4); }
.searchbar { display: flex; gap: 10px; margin-bottom: 24px; }
.searchbar input { max-width: 340px; }

/* ADMIN */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 26px 0 36px; }
.admin-stat { background: linear-gradient(160deg, var(--card), var(--bg2)); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.admin-stat b { display: block; font-size: 1.7rem; font-weight: 900; color: var(--lime); }
.admin-stat span { color: var(--muted); font-size: .82rem; }
.panel { background: linear-gradient(165deg, var(--card), var(--bg2)); border: 1px solid var(--line); border-radius: 20px; padding: 28px; margin-bottom: 30px; }
.panel h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -.01em; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th { text-align: left; color: var(--muted); font-weight: 650; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:hover td { background: rgba(255,255,255,.02); }
.table-scroll { overflow-x: auto; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; }

/* ITEM DETAIL */
.item-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; padding: 44px 0; align-items: start; }
.item-hero .visual { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: linear-gradient(140deg, #1a2a4a, #101b31); display: grid; place-items: center; font-size: 5rem; position: relative; }
.item-hero .visual img { width: 100%; height: 100%; object-fit: cover; }
.item-hero h1 { font-size: 2rem; font-weight: 900; letter-spacing: -.02em; margin: 12px 0; }
.item-hero .desc { color: var(--muted); line-height: 1.7; margin: 18px 0 26px; }
.formats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.format-chip { padding: 6px 14px; border-radius: 9px; background: rgba(109,155,255,.1); border: 1px solid rgba(109,155,255,.25); color: var(--blue2); font-size: .82rem; font-weight: 650; }
.locked-box { background: linear-gradient(140deg, rgba(255,196,0,.08), rgba(255,93,143,.08)); border: 1px solid rgba(255,196,0,.3); border-radius: 16px; padding: 22px; margin-bottom: 20px; }
.locked-box b { color: #ffc400; }
.locked-box p { color: var(--muted); font-size: .9rem; margin: 8px 0 16px; line-height: 1.5; }

/* FOOTER */
footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 60px; text-align: center; color: var(--muted); font-size: .88rem; }
footer .links { display: flex; gap: 20px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }
footer a:hover { color: var(--text); }

/* HOW */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.how-step { background: linear-gradient(165deg, var(--card), var(--bg2)); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.how-step .num { width: 38px; height: 38px; border-radius: 11px; background: rgba(200,243,29,.12); border: 1px solid rgba(200,243,29,.35); color: var(--lime); display: grid; place-items: center; font-weight: 900; margin-bottom: 16px; }
.how-step h3 { font-size: 1rem; font-weight: 750; margin-bottom: 8px; }
.how-step p { color: var(--muted); font-size: .88rem; line-height: 1.55; }

@media (max-width: 760px) {
  .item-hero { grid-template-columns: 1fr; }
  .nav-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .nav-links { margin-left: 0; }
}

/* ===== LANDING estilo Notion ===== */
.pill-label { text-align: center; margin: 0 auto 10px; width: fit-content; padding: 5px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.blue-title { color: var(--blue2); }
.notion-hero { padding: 70px 0 40px; text-align: center; }
.notion-title { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.04; }
.cube-ico { font-size: .8em; }
.blog-label { color: var(--muted); margin: 18px 0 26px; font-size: 1.05rem; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 860px; margin: 0 auto 30px; }
.fchip { padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--text); }
.social-row { display: flex; gap: 14px; justify-content: center; font-size: 1.4rem; margin-bottom: 14px; }
.social-row a { opacity: .85; } .social-row a:hover { opacity: 1; transform: scale(1.1); }
.preview-note { color: var(--blue2); font-weight: 650; font-size: .95rem; }
.quote-box { max-width: 640px; margin: 22px auto; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 18px; padding: 28px 32px; text-align: center; color: var(--muted); line-height: 1.75; }
.tools-row { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin: 26px 0; color: var(--muted); font-weight: 700; font-size: 1.05rem; }
.tools-row.small { font-size: .85rem; gap: 18px; }
.stats-band { display: flex; gap: 60px; justify-content: center; flex-wrap: wrap; background: #0d1b2e; border: 1px solid var(--line); border-radius: 20px; padding: 30px 40px; max-width: 640px; margin: 0 auto; text-align: center; }
.stats-band b { display: block; font-size: 1.9rem; font-weight: 900; color: var(--lime); }
.stats-band span { color: var(--muted); font-size: .85rem; }

/* categorías estilo captura */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; max-width: 760px; margin: 0 auto; }
.cat-card { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 16px; padding: 26px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: all .2s; }
.cat-card:hover { transform: translateY(-3px); border-color: rgba(200,243,29,.4); }
.cat-ico { font-size: 2rem; }
.cat-name { font-weight: 850; letter-spacing: .02em; text-align: center; font-size: .95rem; }
.try-btn { background: #0d1b2e; color: var(--lime); font-size: .78rem; font-weight: 750; padding: 7px 22px; border-radius: 999px; }

/* pricing 4 tarjetas, colores de referencia */
.pricing4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: start; }
.pricing4 .price-card { padding: 26px 22px; text-align: center; }
.pricing4 .pc-tag { position: absolute; top: 14px; right: 14px; font-size: .68rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.2); }
.pricing4 .pc-icon { font-size: 2.2rem; margin-bottom: 8px; }
.pricing4 .price { font-size: 2.4rem; margin: 8px 0 2px; }
.pricing4 .pc-old { text-decoration: line-through; opacity: .55; font-size: .9rem; }
.pricing4 .pc-discount { font-size: .78rem; font-weight: 650; margin: 10px 0; opacity: .8; }
.pricing4 .pc-join { width: 100%; margin: 8px 0 18px; }
.pricing4 ul { text-align: left; margin: 0; }
.pricing4 li { font-size: .84rem; }
.pricing4 .pc-foot { margin-top: 16px; font-size: .8rem; font-weight: 750; opacity: .8; }
.pc-free { background: #eef2fa; color: #10203a; border: none; }
.pc-free .plan-name, .pc-free li, .pc-free .pc-discount { color: #4a5a75; }
.pc-basic { background: linear-gradient(165deg, #2f6bff, #1e4fd6); color: #fff; border: none; }
.pc-basic li, .pc-basic .plan-name, .pc-basic .pc-discount { color: rgba(255,255,255,.9); }
.pc-basic .pc-join { background: #fff; color: #1e4fd6; }
.pc-plus { background: linear-gradient(165deg, #c8f31d, #a8d80e); color: #10203a; border: none; }
.pc-plus li, .pc-plus .plan-name, .pc-plus .pc-discount, .pc-plus .pc-old { color: #2c3a1a; }
.pc-max { background: linear-gradient(165deg, #0d1b2e, #0a1220); color: #fff; border: 1px solid var(--line); }
.pc-max li, .pc-max .plan-name, .pc-max .pc-discount { color: var(--muted); }
.btn-dark { background: #0d1b2e; color: var(--lime); border: 1px solid rgba(200,243,29,.4); }
.pc-plus .btn-dark { border: none; }
.pricing4 li::before { content: '✅'; font-size: .7rem; }

/* apoyo */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.support-card { border-radius: 16px; padding: 26px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 700; text-align: center; transition: transform .15s; }
.support-card:hover { transform: translateY(-3px); }
.support-card small { opacity: .75; font-weight: 500; }
.sc-coffee { background: #e58cf1; color: #23102a; }
.sc-print { background: #0d1b2e; color: #fff; border: 1px solid var(--line); }
.sc-gum { background: #ffd93d; color: #231a02; }
.sc-hot { background: #ff5c35; color: #fff; }

/* ===== NETFLIX dashboard ===== */
.flix-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.flix-hero-bg { position: absolute; inset: 0; }
.flix-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.flix-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 5%, rgba(10,18,32,.55) 60%, rgba(10,18,32,.3)); }
.flix-hero-content { position: relative; z-index: 2; padding-bottom: 44px; padding-top: 80px; max-width: 1180px; }
.flix-hero-content h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; margin: 12px 0; letter-spacing: -.02em; }
.flix-hero-content p { color: var(--muted); max-width: 520px; margin-bottom: 20px; line-height: 1.6; }
.flix-row { margin: 30px 0; }
.flix-row-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 14px; letter-spacing: -.01em; }
.flix-count { color: var(--muted); font-weight: 600; font-size: .85rem; margin-left: 6px; }
.flix-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.flix-track { display: flex; gap: 14px; padding-bottom: 12px; }
.flix-card { flex: 0 0 250px; border-radius: 12px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .2s, border-color .2s, box-shadow .2s; }
.flix-card:hover { transform: scale(1.05); border-color: rgba(200,243,29,.45); box-shadow: 0 16px 40px rgba(0,0,0,.5); z-index: 3; }
.flix-thumb { aspect-ratio: 16/9; position: relative; background: linear-gradient(140deg, #1a2a4a, #101b31); display: grid; place-items: center; }
.flix-thumb img { width: 100%; height: 100%; object-fit: cover; }
.flix-emoji { font-size: 2.6rem; }
.flix-tier { position: absolute; top: 8px; left: 8px; }
.flix-info { padding: 12px 14px; }
.flix-info h3 { font-size: .92rem; font-weight: 700; margin-bottom: 4px; }
.flix-info p { color: var(--muted); font-size: .76rem; }

/* ===== WORKSPACE proyecto ===== */
.ws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ws-card { background: linear-gradient(165deg, var(--card), var(--bg2)); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ws-card h3 { font-size: 1rem; font-weight: 750; }
.ws-card p { color: var(--muted); font-size: .85rem; line-height: 1.5; flex: 1; }
.ws-ico { font-size: 1.7rem; }
.ws-locked { opacity: .75; }
.ws-lock { color: #ffc400; font-weight: 700; font-size: .85rem; }
.ws-soon { color: var(--muted); font-size: .85rem; }
