/* ============================================================
   app.css – Estilos globales de CLIPBOOK Platform
   Paleta: oscuro #2b2a26 | amarillo #fbd10d | blanco #fff
   TOROLAB © 2026
   ============================================================ */

:root {
  --cb-dark:    #2b2a26;
  --cb-yellow:  #fbd10d;
  --cb-white:   #ffffff;
  --cb-gray:    #f4f4f2;
  --cb-muted:   #6b7280;
  --cb-border:  #e5e7eb;
  --cb-shadow:  0 4px 20px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--cb-dark);
  background: var(--cb-white);
}

/* ── Botones CLIPBOOK ───────────────────────────────────────── */
.btn-clipbook {
  background: var(--cb-yellow);
  border: 2px solid var(--cb-yellow);
  color: var(--cb-dark);
  font-weight: 700;
  border-radius: 10px;
  padding: 11px 26px;
  transition: background .15s, transform .1s, box-shadow .15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-clipbook:hover {
  background: #e8c000;
  border-color: #e8c000;
  color: var(--cb-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(251,209,13,.35);
}
.btn-clipbook:active { transform: translateY(0); }

.btn-dark-cb {
  background: var(--cb-dark);
  border: 2px solid var(--cb-dark);
  color: var(--cb-white);
  font-weight: 700;
  border-radius: 10px;
  padding: 11px 26px;
  transition: background .15s, transform .1s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-dark-cb:hover {
  background: #1a1916;
  color: var(--cb-white);
  transform: translateY(-1px);
}

/* ── Navbar ─────────────────────────────────────────────────── */
.cb-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--cb-white);
  border-bottom: 1px solid var(--cb-border);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.cb-navbar-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.cb-navbar-logo img { height: 36px; width: auto; }
.cb-navbar-logo .brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--cb-dark);
  letter-spacing: -.02em;
}
.cb-navbar-logo .brand-name span { color: var(--cb-yellow); }
.cb-navbar-nav { display: flex; align-items: center; gap: 24px; }
.cb-navbar-nav a {
  color: var(--cb-muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .15s;
}
.cb-navbar-nav a:hover { color: var(--cb-dark); }

/* ── Hero ────────────────────────────────────────────────────── */
.cb-hero {
  background: var(--cb-dark);
  color: var(--cb-white);
  padding: 90px 32px 80px;
  text-align: center;
}
.cb-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin: 0 0 16px;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.cb-hero h1 span { color: var(--cb-yellow); }
.cb-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.72);
  max-width: 580px;
  margin: 0 auto 36px;
}
.cb-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Sección features ───────────────────────────────────────── */
.cb-section { padding: 72px 32px; }
.cb-section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 10px;
  color: var(--cb-dark);
}
.cb-section-sub {
  text-align: center;
  color: var(--cb-muted);
  font-size: 1.05rem;
  margin: 0 auto 48px;
  max-width: 520px;
}

.cb-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.cb-feature-card {
  border: 1.5px solid var(--cb-border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: box-shadow .15s, transform .15s;
}
.cb-feature-card:hover {
  box-shadow: var(--cb-shadow);
  transform: translateY(-3px);
}
.cb-feature-icon {
  width: 48px; height: 48px;
  background: var(--cb-yellow);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--cb-dark);
}
.cb-feature-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
.cb-feature-card p  { font-size: .87rem; color: var(--cb-muted); margin: 0; }

/* ── Planes / Pricing ───────────────────────────────────────── */
.cb-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.cb-plan-card {
  border: 1.5px solid var(--cb-border);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: box-shadow .15s;
}
.cb-plan-card:hover { box-shadow: var(--cb-shadow); }
.cb-plan-card.popular {
  border-color: var(--cb-yellow);
  border-width: 2.5px;
}
.cb-plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--cb-yellow);
  color: var(--cb-dark);
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cb-plan-name  { font-size: 1.1rem; font-weight: 800; margin: 0 0 4px; }
.cb-plan-price { font-size: 2.2rem; font-weight: 900; margin: 12px 0 4px; }
.cb-plan-price span { font-size: 1rem; font-weight: 500; color: var(--cb-muted); }
.cb-plan-features { list-style: none; padding: 0; margin: 18px 0 24px; }
.cb-plan-features li {
  padding: 5px 0;
  font-size: .87rem;
  color: var(--cb-muted);
  display: flex; gap: 8px; align-items: flex-start;
}
.cb-plan-features li::before { content: '✓'; color: var(--cb-yellow); font-weight: 700; }

/* ── Auth pages ─────────────────────────────────────────────── */
.cb-auth-body {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cb-dark) 0%, #3d3c36 100%);
  padding: 20px;
}
.cb-auth-card {
  width: 100%; max-width: 440px;
  background: var(--cb-white);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
  overflow: hidden;
}
.cb-auth-header {
  background: var(--cb-dark);
  padding: 32px 28px 24px;
  text-align: center;
  border-bottom: 3px solid var(--cb-yellow);
}
.cb-auth-header img { height: 42px; margin-bottom: 10px; }
.cb-auth-header h1 {
  font-size: 1.3rem; font-weight: 800;
  color: var(--cb-white); margin: 0 0 4px;
}
.cb-auth-header p { font-size: .82rem; color: rgba(255,255,255,.55); margin: 0; }
.cb-auth-body-inner { padding: 32px 28px; }
.cb-auth-footer {
  background: var(--cb-gray);
  padding: 14px;
  text-align: center;
  font-size: .76rem;
  color: var(--cb-muted);
  border-top: 1px solid var(--cb-border);
}

/* ── Formularios ────────────────────────────────────────────── */
.cb-label { font-weight: 600; font-size: .88rem; color: var(--cb-dark); display: block; margin-bottom: 5px; }
.cb-input {
  width: 100%; border: 1.5px solid var(--cb-border);
  border-radius: 10px; padding: 10px 14px;
  font-size: .95rem; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.cb-input:focus {
  border-color: var(--cb-yellow);
  box-shadow: 0 0 0 3px rgba(251,209,13,.2);
}
.cb-input-group { display: flex; gap: 0; }
.cb-input-group .cb-input { border-radius: 10px 0 0 10px; }
.cb-input-group .cb-input-addon {
  border: 1.5px solid var(--cb-border); border-left: 0;
  border-radius: 0 10px 10px 0;
  background: var(--cb-gray); padding: 0 14px;
  display: flex; align-items: center;
  color: var(--cb-muted); cursor: pointer;
}
.cb-form-group { margin-bottom: 18px; }
.cb-btn-submit {
  width: 100%;
  background: var(--cb-yellow);
  border: none; border-radius: 10px;
  padding: 13px; font-size: 1rem; font-weight: 700;
  color: var(--cb-dark); cursor: pointer;
  transition: background .15s, transform .1s;
  margin-top: 6px;
}
.cb-btn-submit:hover { background: #e8c000; transform: translateY(-1px); }

/* ── Captcha ────────────────────────────────────────────────── */
.cb-captcha {
  background: #fffde7; border: 1.5px dashed #f0c000;
  border-radius: 10px; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
}
.cb-captcha-eq { font-size: 1.3rem; font-weight: 800; color: var(--cb-dark); }
.cb-captcha-inp { max-width: 70px; text-align: center; font-weight: 700; font-size: 1.05rem; }

/* ── Footer público ─────────────────────────────────────────── */
.cb-footer {
  background: var(--cb-dark);
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 32px;
  font-size: .82rem;
}
.cb-footer a { color: var(--cb-yellow); text-decoration: none; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .cb-navbar { padding: 12px 18px; }
  .cb-hero { padding: 60px 18px 50px; }
  .cb-section { padding: 48px 18px; }
  .cb-navbar-nav { display: none; }
}
