/* ============================================================
   style-claude.css
   Estilos para páginas y componentes creados con Claude.
   Mantener separado de master.css para facilitar el mantenimiento.
   Proyecto: okundata.com
   ============================================================ */

/* ── Variables de diseño ────────────────────────────────────── */
:root {
  --ok-brand:              #292929;
  --ok-brand-dark:         #202020;
  --ok-gradient:           linear-gradient(to right, #434343 , #1a1a1a);
  --ok-gradient-alt:       linear-gradient(to right, #434343 , #1a1a1a);
  --ok-hero-bg:            linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --ok-page-bg:            #f9fbfe;
  --ok-card-shadow:        0 2px 15px rgba(0, 0, 0, 0.07);
  --ok-card-shadow-hover:  0 8px 25px rgba(0, 0, 0, 0.12);
}


	/* background-image: linear-gradient(to right, #494E5A , #242837); */


/* ── Hero (índices de blog / novedades) ─────────────────────── */

.ok-hero {
  background: var(--ok-hero-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

/* Dot grid overlay */
.ok-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient color blobs */
.ok-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(99, 102, 241, 0.28) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 30%, rgba(14, 165, 233, 0.22) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

/* Asegurar que el contenido quede sobre los pseudo-elementos */
.ok-hero > .container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

/* Pill label (ej: "NOVEDADES" / "BLOG") */
.ok-hero-label {
  display: inline-block;
  background: rgba(250, 197, 111, 0.15);
  border: 1px solid rgba(250, 197, 111, 0.45);
  color: #fac56f;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.ok-hero .ok-hero-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  margin-bottom: 1.25rem !important;
  letter-spacing: -0.02em !important;
}

.ok-hero-subtitle {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.875rem;
  line-height: 1.2;
  opacity: 0.7;
  /* max-width: 700px; */
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* Hero CTA button */
.ok-hero-cta {
  display: inline-block;
  background: #fac56f;
  color: #1a1a2e !important;
  -webkit-text-fill-color: #1a1a2e !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.6rem;
  border-radius: 30px;
  text-decoration: none !important;
  letter-spacing: 0.01em;
  margin-bottom: 2.25rem;
  transition: background 0.2s, transform 0.15s;
}

.ok-hero-cta:hover {
  background: #f5b84e;
  transform: translateY(-2px);
  text-decoration: none !important;
}

/* Stats bar */
.ok-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ok-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.ok-hero-stat strong {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
}

.ok-hero-stat span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ok-hero-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.18);
}


/* ── Sección de artículos ───────────────────────────────────── */

.ok-articles-section {
  background: var(--ok-page-bg);
  padding: 3rem 0;
}


/* ── Cards de artículos ─────────────────────────────────────── */

.ok-card-link {
  text-decoration: none;
}

.ok-card-link:hover {
  text-decoration: none;
}

.ok-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--ok-card-shadow);
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ok-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ok-card-shadow-hover);
}


.ok-badge {
  display: inline-block;
  background: #fac56f;
  color: var(--ok-brand);
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Meta row (badge + date) dentro de cada card */
.ok-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  gap: 0.5rem;
}

.ok-card-date {
  color: #999;
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.ok-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ok-brand-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.ok-card-text {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.ok-read-link {
  color: var(--ok-brand);
  font-size: 0.85rem;
  font-weight: 600;
}


/* ── Páginas de artículo individual ─────────────────────────── */

.ok-article-bg {
  background: var(--ok-page-bg);
  padding-top: 80px;
}

.ok-sidebar-sticky {
  top: 100px;
}


/* ── Gradientes de marca ────────────────────────────────────── */

/* Usado en CTAs y cards de sidebar dentro de artículos */
.ok-gradient-brand {
  background: var(--ok-gradient);
}

/* Usado en el bloque CTA al pie de los índices */
.ok-gradient-alt {
  background: var(--ok-gradient-alt);
}


/* ── Bloque CTA al pie de los índices ───────────────────────── */

.ok-cta-box {
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  color: white;
}

.ok-cta-box h2 {
  color: white;
  margin-bottom: 0.75rem;
}

.ok-cta-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
