/* === PDCAhub 2026 — Identidad Tech con Logo Colors === */

:root {
  --bg: #080a0f;
  --bg-elevated: #0d1117;
  --bg-card: #111420;
  --bg-glass: rgba(17, 20, 32, 0.6);
  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #475569;

  /* Colores del logo PDCAhub */
  --neon-cyan: #00D4FF;
  --neon-green: #00FF88;
  --neon-purple: #A855F7;
  --neon-orange: #FF6B35;

  --accent: var(--neon-cyan);
  --accent-glow: rgba(0, 212, 255, 0.35);
  --accent-glow-strong: rgba(0, 212, 255, 0.6);

  --border: rgba(0, 212, 255, 0.12);
  --border-glow: rgba(0, 212, 255, 0.25);

  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

::selection { background: rgba(0, 212, 255, 0.25); color: #fff; }

/* === Scrollbar === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-glow); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* === Typography === */
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 700; line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neon-green);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
}

/* === Utility === */
.container { max-width: 1200px; margin-inline: auto; padding-inline: 1.5rem; }
.section { padding: 7rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .mono-label { margin-bottom: 1rem; }
.section-header h2 {
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green));
  color: #000;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.25), 0 4px 15px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.4), 0 8px 25px rgba(0,0,0,0.4);
}

.btn-outline {
  border: 1.5px solid var(--border-glow);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* === Glass Card Base === */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.3),
    transparent 40%,
    transparent 60%,
    rgba(0, 255, 136, 0.2)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.glass-card:hover::before { opacity: 1; }

.glass-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 212, 255, 0.08);
}

/* Spotlight effect */
.spotlight {
  position: relative;
}
.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--x, 50%) var(--y, 50%),
    rgba(0, 212, 255, 0.08),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.spotlight:hover::after { opacity: 1; }

/* === Header === */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  transition: all var(--transition);
}
.header.scrolled {
  background: rgba(8, 10, 15, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}
.logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.logo:hover img {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0%; height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-green));
  transition: width var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--neon-cyan); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
}
.hamburger span {
  width: 28px; height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
  border-radius: 2px;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh; width: 280px;
    background: var(--bg-elevated);
    border-left: 1px solid var(--border);
    z-index: 1001;
    flex-direction: column;
    padding: 6rem 2rem;
    transition: right var(--transition);
  }
  .nav-links.active { right: 0; }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
  .logo img { width: 38px; height: 38px; }
}
/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

#grid-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg) 75%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 1.5rem;
}

.hero-badges {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  border: 1px solid;
  transition: all var(--transition);
}
.badge-cyan { color: var(--neon-cyan); border-color: rgba(0,212,255,0.25); background: rgba(0,212,255,0.06); }
.badge-green { color: var(--neon-green); border-color: rgba(0,255,136,0.25); background: rgba(0,255,136,0.06); }
.badge-purple { color: var(--neon-purple); border-color: rgba(168,85,247,0.25); background: rgba(168,85,247,0.06); }
.badge-orange { color: var(--neon-orange); border-color: rgba(255,107,53,0.25); background: rgba(255,107,53,0.06); }
.badge-popular { color: #f59e0b; border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.08); }
.badge:hover { transform: translateY(-2px); box-shadow: 0 4px 15px var(--accent-glow); }

.hero-content h1 {
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--text-primary) 20%, var(--neon-cyan) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-terminal {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--neon-cyan);
  margin-bottom: 2.5rem;
  min-height: 1.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.hero-terminal .cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--neon-cyan);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.metric {
  text-align: center;
}
.metric-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.metric-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* === Section: Servicios (Bento Grid) === */
.services-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.2rem;
}

.bento-item {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.bento-item.large { grid-column: span 2; grid-row: span 2; }
.bento-item.wide { grid-column: span 2; }

.bento-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
  transition: transform var(--transition);
}
.bento-item:hover .bento-icon { transform: scale(1.1) rotate(-4deg); }
.bento-icon svg { width: 24px; height: 24px; }

.bento-icon.cyan { background: rgba(0, 212, 255, 0.1); }
.bento-icon.cyan svg { fill: var(--neon-cyan); }
.bento-icon.green { background: rgba(0, 255, 136, 0.1); }
.bento-icon.green svg { fill: var(--neon-green); }
.bento-icon.purple { background: rgba(168, 85, 247, 0.1); }
.bento-icon.purple svg { fill: var(--neon-purple); }
.bento-icon.orange { background: rgba(255, 107, 53, 0.1); }
.bento-icon.orange svg { fill: var(--neon-orange); }

.bento-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
}
.bento-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.8rem;
}
.bento-tags span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .services-bento { grid-template-columns: repeat(2, 1fr); }
  .bento-item.large { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 576px) {
  .services-bento { grid-template-columns: 1fr; }
  .bento-item, .bento-item.large, .bento-item.wide { grid-column: span 1; grid-row: span 1; }
}

/* === Section: Tecnología === */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.tech-card {
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.tech-card:hover { transform: translateY(-6px); }

.tech-card .tech-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.tech-card .tech-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.tech-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}
.tech-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .tech-grid { grid-template-columns: 1fr; }
}

/* === Section: Process (PDCA Cycle) === */
.process-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.process-step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: all var(--transition);
  opacity: 0.6;
}
.process-step.active {
  opacity: 1;
  border-color: var(--border-glow);
  box-shadow: 0 0 25px var(--accent-glow);
}
.process-step .step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 40px;
  color: var(--neon-cyan);
  line-height: 1;
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

#pdca-svg-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
#pdca-svg-container svg {
  max-width: 320px;
  width: 100%;
}
.pdca-arc {
  transition: stroke 0.5s ease, filter 0.5s ease;
  filter: drop-shadow(0 0 4px rgba(0,212,255,0.2));
}
.pdca-arc.active {
  filter: drop-shadow(0 0 12px rgba(0,212,255,0.6));
  stroke: var(--neon-cyan);
}

@media (max-width: 768px) {
  .process-visual { grid-template-columns: 1fr; gap: 2rem; }
}

/* === Section: Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.contact-detail svg {
  width: 20px; height: 20px;
  fill: var(--neon-cyan);
  flex-shrink: 0;
}

.contact-form .form-group { margin-bottom: 1.2rem; }
.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* === Footer (Terminal Style) === */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: var(--bg-elevated);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-brand .footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.7rem; }
.footer ul li a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer ul li a:hover { color: var(--neon-cyan); }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.footer-bottom a { color: var(--neon-cyan); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* === Social Sidebar === */
.social-sidebar {
  position: fixed;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 999;
}
.social-sidebar a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  position: relative;
}
.social-sidebar a:hover {
  transform: scale(1.15);
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}
.social-sidebar a svg { width: 18px; height: 18px; fill: var(--text-primary); transition: fill var(--transition); }
.social-sidebar a:hover svg { fill: #000; }

.social-sidebar a::after {
  content: attr(aria-label);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.social-sidebar a:hover::after { opacity: 1; }

.social-sidebar a.whatsapp { background: #25D366; border-color: #25D366; }
.social-sidebar a.whatsapp:hover { background: #128C7E; border-color: #128C7E; box-shadow: 0 0 15px rgba(37,211,102,0.4); }
.social-sidebar a.telegram { background: #0088cc; border-color: #0088cc; }
.social-sidebar a.telegram:hover { background: #005f8f; border-color: #005f8f; box-shadow: 0 0 15px rgba(0,136,204,0.4); }

@media (max-width: 1024px) {
  .social-sidebar { display: none; }
}

/* === Telegram Chat Button === */
.telegram-chat-btn {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 60px; height: 60px;
  border-radius: 50%;
  z-index: 1000;
  background: linear-gradient(135deg, #0088cc, #00aaff);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,136,204,0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: telegramPulse 2s infinite;
}
.telegram-chat-btn:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,136,204,0.6);
  animation: none;
}
.telegram-chat-btn svg { width: 28px; height: 28px; fill: white; }

.telegram-chat-label {
  position: fixed;
  bottom: 2.8rem; right: 5.5rem;
  z-index: 999;
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 999;
}
.telegram-chat-btn:hover + .telegram-chat-label,
.telegram-chat-label:hover { opacity: 1; transform: translateX(0); }

@keyframes telegramPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,136,204,0.4); }
  50% { box-shadow: 0 4px 30px rgba(0,170,255,0.7); }
}

@media (max-width: 768px) {
  .telegram-chat-btn { width: 50px; height: 50px; bottom: 1.5rem; right: 1.5rem; }
  .telegram-chat-btn svg { width: 24px; height: 24px; }
  .telegram-chat-label { display: none; }
}

/* === Scroll Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.97);
  transition: all var(--transition-slow);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === Video Grid & Embeds === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.video-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.video-card-body { padding: 1.2rem; }
.video-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}
.video-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.video-embed {
  position: relative;
  padding-bottom: 177.78%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--bg-elevated);
}
.video-embed iframe,
.video-embed blockquote {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}
.video-embed.youtube {
  padding-bottom: 56.25%;
}
@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-embed { padding-bottom: 177.78%; }
  .video-embed.youtube { padding-bottom: 56.25%; }
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  #grid-canvas { display: none; }
}

/* === WhatsApp Link === */
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #25D366;
  font-weight: 600;
  transition: color 0.2s ease;
}
.whatsapp-link:hover { color: #128C7E; }
.whatsapp-link svg { width: 18px; height: 18px; fill: currentColor; }

/* === Global Eye Background === */
#eye-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

@media (max-width: 768px) {
  #eye-canvas { opacity: 0.2; }
}

@media (prefers-reduced-motion: reduce) {
  #eye-canvas { display: none; }
}

/* Ensure all content sections appear above the eye background */
.section, .footer {
  position: relative;
  z-index: 1;
}

/* === YouTube Preview Thumbnails === */
.video-preview {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  aspect-ratio: 16 / 9;
  background: var(--bg-elevated);
}

.video-preview .video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-preview:hover .video-thumb {
  transform: scale(1.08);
}

.video-preview .video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.1) 100%
  );
  transition: background 0.3s ease;
}

.video-preview:hover .video-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 212, 255, 0.1) 100%
  );
}

.video-preview .video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 0, 0, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.video-preview:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: #ff0000;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
}

.video-preview .video-play-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
  margin-left: 4px;
}

.video-preview .video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* TikTok cards also get the glass-card treatment */
.video-card .video-embed {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

/* Mobile video sizing */
@media (max-width: 768px) {
  .video-preview {
    aspect-ratio: 16 / 9;
  }
}

/* === Profile Page Styles === */
.profile-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.profile-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.profile-avatar-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green), var(--neon-purple));
  position: relative;
}

.profile-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg);
}

.profile-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-bio {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

.profile-bio strong {
  color: var(--neon-cyan);
  font-weight: 600;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.profile-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-green), var(--neon-purple));
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--accent-glow);
  flex-shrink: 0;
  margin-top: 1.5rem;
  margin-left: 15px;
  z-index: 1;
}

.timeline-card {
  padding: 1.5rem;
  flex: 1;
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
}

.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Certifications Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.cert-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
}

.cert-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 1.5rem;
}

.cert-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.cert-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.cert-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: auto;
  padding-top: 0.5rem;
}

.cert-link:hover {
  color: var(--neon-green);
}

/* Transcript Grid */
.transcript-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Featured Video */
.video-featured {
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive Profile */
@media (max-width: 768px) {
  .profile-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .profile-actions {
    justify-content: center;
  }
  
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .transcript-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 10px;
  }
  
  .timeline-dot {
    margin-left: 5px;
  }
}

@media (max-width: 480px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

/* === Credential Wall — Visual Badge Showcase === */
.cred-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.cred-card {
  position: relative;
  background: linear-gradient(145deg, rgba(14,19,32,0.9), rgba(17,20,32,0.7));
  border: 1px solid rgba(0,212,255,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  overflow: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

.cred-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), transparent 50%, rgba(0,255,136,0.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cred-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,255,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(0,212,255,0.06);
}

/* Shine effect on hover */
.cred-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(0,212,255,0.03) 45%,
    rgba(0,212,255,0.08) 50%,
    rgba(0,212,255,0.03) 55%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
  border-radius: inherit;
}

.cred-card:hover .cred-shine {
  transform: translateX(100%);
}

/* Seal / Ring */
.cred-seal {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cred-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid;
  border-color: rgba(0,212,255,0.15) rgba(0,212,255,0.05) rgba(0,212,255,0.15) rgba(0,212,255,0.05);
  animation: sealRotate 8s linear infinite;
}

@keyframes sealRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cred-icon {
  width: 32px;
  height: 32px;
  z-index: 1;
}

.cred-icon svg {
  width: 100%;
  height: 100%;
}

/* Text body */
.cred-body {
  text-align: center;
  z-index: 1;
}

.cred-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.cred-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neon-cyan);
  line-height: 1.3;
}

.cred-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Note below wall */
.cred-note {
  text-align: center;
  margin-top: 2rem;
  max-width: 600px;
  margin-inline: auto;
}

.cred-note p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cred-note a {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: color var(--transition);
}

.cred-note a:hover {
  color: var(--neon-green);
}

/* Responsive */
@media (max-width: 992px) {
  .cred-wall { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .cred-wall { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .cred-card { padding: 1.2rem; }
}

@media (max-width: 400px) {
  .cred-wall { grid-template-columns: repeat(2, 1fr); }
  .cred-seal { width: 48px; height: 48px; }
  .cred-icon { width: 24px; height: 24px; }
}

/* === Language Selector === */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border);
}

.lang-switch a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.lang-switch a:hover {
  color: var(--neon-cyan);
  border-color: var(--border);
}

.lang-switch a.active {
  color: var(--neon-cyan);
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.2);
}

@media (max-width: 768px) {
  .lang-switch {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 1rem;
    justify-content: center;
  }
}

/* === Tienda / Shop === */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.shop-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.shop-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(168,85,247,0.1), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}
.shop-card:hover::before { opacity: 1; }
.shop-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,255,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.shop-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(168,85,247,0.08));
  border-radius: calc(var(--radius) - 0.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
}
.shop-card-image svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--neon-cyan);
  stroke-width: 1.5;
  opacity: 0.6;
}
.shop-card-content { flex: 1; }
.shop-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}
.shop-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.shop-card-price {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
}
.shop-card-price span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}
.shop-card-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.shop-card-actions .btn {
  flex: 1;
  min-width: 100px;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
}

/* === Carrito === */
.cart-widget {
  position: fixed;
  top: 6rem;
  right: 1.5rem;
  z-index: 998;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.cart-widget:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-2px);
}
.cart-widget svg {
  width: 22px;
  height: 22px;
  stroke: var(--neon-cyan);
  fill: none;
  stroke-width: 2;
}
.cart-count {
  background: var(--neon-cyan);
  color: var(--bg-primary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-modal {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}
.cart-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cart-modal-inner {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform var(--transition-fast);
}
.cart-modal.active .cart-modal-inner {
  transform: translateY(0);
}
.cart-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.cart-modal-header h3 {
  font-size: 1.3rem;
}
.cart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.2rem;
}
.cart-close:hover { color: var(--neon-cyan); }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.cart-item-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.cart-item-price {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--neon-cyan);
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  margin-left: 0.8rem;
}
.cart-item-remove:hover { color: var(--neon-orange); }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0 0;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
}
.cart-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}
.cart-checkout {
  margin-top: 1.5rem;
  width: 100%;
}

@media (max-width: 768px) {
  .shop-grid { grid-template-columns: 1fr; }
  .cart-widget { top: 5.5rem; right: 1rem; padding: 0.6rem 0.8rem; }
}

/* === Blog Article Layout === */
.blog-page { padding-top: 8rem; padding-bottom: 4rem; }
.blog-breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2.5rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.blog-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.blog-breadcrumb a:hover { color: var(--neon-cyan); }
.blog-breadcrumb span { color: var(--text-muted); }

.blog-header { max-width: 760px; margin: 0 auto 2.5rem; }
.blog-header h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.2; margin: 1rem 0; color: var(--text-primary); }
.blog-intro { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; margin: 1rem 0 0; }
.blog-meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.blog-meta-item { font-size: 0.82rem; color: var(--text-muted); }

.blog-body { max-width: 760px; margin: 0 auto; }
.blog-body h2 { font-size: 1.45rem; font-weight: 700; color: var(--text-primary); margin: 2.75rem 0 1rem; padding-top: 0.5rem; border-top: 1px solid var(--border); }
.blog-body h3 { font-size: 1.1rem; font-weight: 600; color: var(--neon-cyan); margin: 2rem 0 0.75rem; }
.blog-body p { font-size: 1.05rem; line-height: 1.85; color: var(--text-secondary); margin: 0 0 1.25rem; }
.blog-body ul, .blog-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.blog-body li { font-size: 1rem; line-height: 1.75; color: var(--text-secondary); margin-bottom: 0.4rem; }
.blog-body strong { color: var(--text-primary); font-weight: 600; }
.blog-body a { color: var(--neon-cyan); }

.blog-callout {
  background: rgba(0,212,255,0.06);
  border-left: 3px solid var(--neon-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.blog-callout p { margin: 0; color: var(--text-primary); font-size: 0.97rem; }
.blog-callout.tip { background: rgba(0,255,136,0.05); border-color: var(--neon-green); }
.blog-callout.warning { background: rgba(255,107,53,0.06); border-color: var(--neon-orange); }

.blog-product-cta {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 3rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.blog-product-cta h3 { font-size: 1.2rem; color: var(--text-primary); margin: 0; }
.blog-product-cta p { color: var(--text-secondary); margin: 0; font-size: 0.95rem; line-height: 1.6; }
.blog-product-cta ul { padding-left: 0; list-style: none; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.blog-product-cta li { font-size: 0.9rem; color: var(--text-secondary); }
.blog-product-cta-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem; border-top: 1px solid var(--border); padding-top: 1.25rem; }
.blog-product-cta-price { font-size: 1.6rem; font-weight: 700; color: var(--neon-cyan); }
.blog-product-cta-price span { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }

.blog-hr { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }

/* Blog index cards with reading time */
.blog-card-meta { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.5rem; }
.blog-read-time { font-size: 0.78rem; color: var(--text-muted); }

/* === Brand Moment === */
.brand-moment {
  position: relative;
  height: 70vh;
  min-height: 440px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-moment-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.brand-moment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    rgba(8, 10, 15, 0.35) 20%,
    rgba(8, 10, 15, 0.35) 80%,
    var(--bg) 100%
  );
  z-index: 1;
}

.brand-moment-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 760px;
}

.brand-moment-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0.5rem 0 1rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-moment-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === Tools Preview Section (index) === */
.tools-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 1024px) { .tools-preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tools-preview-grid { grid-template-columns: 1fr; } }

.tool-preview-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  gap: 1.25rem;
}
.tool-preview-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,212,255,0.12);
}
.tool-preview-top { display: flex; flex-direction: column; gap: 0.75rem; }
.tool-preview-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tool-preview-card h3 { font-size: 1rem; color: var(--text-primary); margin: 0; line-height: 1.3; }
.tool-preview-card p { font-size: 0.875rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }
.tool-preview-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.tool-preview-price { font-size: 1.25rem; font-weight: 700; color: var(--neon-cyan); }
.tool-preview-price span { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }
.tools-preview-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.tools-preview-note a { color: var(--neon-cyan); text-decoration: none; border-bottom: 1px solid rgba(0,212,255,0.3); }
.tools-preview-note a:hover { border-color: var(--neon-cyan); }

.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; white-space: nowrap; }

/* Hero tools CTA */
.hero-tools-cta { margin-top: 1.25rem; }
.hero-tools-cta a {
  color: var(--neon-cyan);
  font-size: 0.875rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,212,255,0.3);
  padding-bottom: 2px;
  transition: border-color var(--transition);
}
.hero-tools-cta a:hover { border-color: var(--neon-cyan); }

/* Shop: digital products highlight banner */
.shop-products-banner {
  background: linear-gradient(135deg, rgba(0,212,255,0.06) 0%, rgba(0,255,136,0.04) 100%);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.shop-products-banner p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; flex: 1; }
.shop-products-banner strong { color: var(--neon-cyan); }

/* === Native Video Card === */
.native-video-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--bg-elevated);
}

.native-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === Clients / Case Studies Section === */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.client-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
}

.client-logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-logo-wrap img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  padding: 4px;
  flex-shrink: 0;
}

.client-logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(0,212,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-logo-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--neon-cyan);
}

.client-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.client-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.client-name a:hover { color: var(--neon-cyan); }

.client-industry {
  font-size: 0.72rem;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.client-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.client-tags span {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  border: 1px solid;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.client-tags span.cyan  { color: var(--neon-cyan);   border-color: rgba(0,212,255,0.3);  background: rgba(0,212,255,0.06); }
.client-tags span.green { color: var(--neon-green);  border-color: rgba(0,255,136,0.3);  background: rgba(0,255,136,0.06); }
.client-tags span.purple{ color: var(--neon-purple); border-color: rgba(168,85,247,0.3); background: rgba(168,85,247,0.06); }
.client-tags span.orange{ color: var(--neon-orange); border-color: rgba(255,107,53,0.3); background: rgba(255,107,53,0.06); }

.client-status {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--neon-green);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.client-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  animation: pulse-dot 1.8s infinite;
}

.client-status.prospect {
  color: var(--neon-orange);
}

.client-status.prospect::before {
  background: var(--neon-orange);
  animation: none;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

@media (max-width: 640px) {
  .clients-grid { grid-template-columns: 1fr; }
}
