/* Prisma Studio — Sistema de diseño unificado (OLED, Doto, escala neutra, acentos duales) */
@import url('https://fonts.googleapis.com/css2?family=Doto:wght@400;600;800;900&family=JetBrains+Mono:wght@400;500;600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #000000;
  --bg-card: #09090c;
  --bg-card-hover: #101015;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(255, 255, 255, 0.18);

  --fg: #f5f5f7;
  --muted: #8e8e93;
  --faint: #48484a;

  /* Acentos de apps */
  --accent-prisma: #ffffff;
  --accent-parallax: #FF9F0A; /* Ámbar / Cinemático */
  --accent-octava: #FF453A;   /* Carmín / Audiófilo */

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-dot: 'Doto', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
}

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

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  height: 64px;
  display: flex;
  align-items: center;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-dot);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
}

.brand-icon {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover {
  color: #fff;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Botones Principales */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
}

.btn-primary:hover {
  background: #e5e5e7;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: var(--card-border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--card-border-hover);
}

.btn-parallax {
  background: var(--accent-parallax);
  color: #000;
  border-color: var(--accent-parallax);
}
.btn-parallax:hover {
  background: #ffb13b;
  transform: translateY(-1px);
}

.btn-octava {
  background: var(--accent-octava);
  color: #fff;
  border-color: var(--accent-octava);
}
.btn-octava:hover {
  background: #ff5f56;
  transform: translateY(-1px);
}

/* Badges */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.tag-studio {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border: 1px solid var(--card-border);
}

.tag-parallax {
  background: rgba(255, 159, 10, 0.12);
  color: var(--accent-parallax);
  border: 1px solid rgba(255, 159, 10, 0.28);
}

.tag-octava {
  background: rgba(255, 69, 58, 0.12);
  color: var(--accent-octava);
  border: 1px solid rgba(255, 69, 58, 0.28);
}

/* Hero */
.hero {
  padding: var(--space-8) 0 var(--space-7);
  text-align: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 159, 10, 0.08) 0%, rgba(255, 69, 58, 0.06) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-dot);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: var(--space-3) 0 var(--space-4);
  color: #fff;
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto var(--space-5);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Stats / Pillars Grid */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-6) 0;
}

.stat-item {
  background: var(--bg-card);
  padding: 28px 20px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-dot);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Apps Showcase Dual Grid */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: var(--space-6) 0;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  background: var(--bg-card-hover);
}

.showcase-card.card-parallax {
  border-top: 3px solid var(--accent-parallax);
}

.showcase-card.card-octava {
  border-top: 3px solid var(--accent-octava);
}

.showcase-card h2 {
  font-family: var(--font-dot);
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin: 12px 0 8px;
}

.showcase-card .card-role {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.showcase-card .card-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #d1d1d6;
}

.feature-bullets svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.card-cta-group {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Interactive Mini-Visualizer inside cards */
.visual-chip {
  background: #000;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spectrum-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.spectrum-bars span {
  width: 3px;
  background: var(--accent-octava);
  border-radius: 2px;
  animation: barBounce 1.2s ease-in-out infinite alternate;
}
.spectrum-bars span:nth-child(2) { animation-delay: 0.2s; height: 18px; }
.spectrum-bars span:nth-child(3) { animation-delay: 0.4s; height: 24px; }
.spectrum-bars span:nth-child(4) { animation-delay: 0.1s; height: 12px; }
.spectrum-bars span:nth-child(5) { animation-delay: 0.3s; height: 20px; }
.spectrum-bars span:nth-child(6) { animation-delay: 0.5s; height: 14px; }
.spectrum-bars span:nth-child(7) { animation-delay: 0.25s; height: 22px; }

@keyframes barBounce {
  0% { height: 4px; }
  100% { height: 24px; }
}

.tv-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-parallax);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-parallax);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-parallax);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Manifiesto Section */
.section-heading {
  max-width: 680px;
  margin-bottom: var(--space-5);
}

.section-heading .tag {
  margin-bottom: var(--space-2);
}

.section-heading h2 {
  font-family: var(--font-dot);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.section-heading p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
  line-height: 1.6;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.principle-box {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: border-color 0.2s ease;
}

.principle-box:hover {
  border-color: var(--card-border-hover);
}

.principle-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: #fff;
}

.principle-box h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.principle-box p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* About Creator */
.creator-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(10, 10, 13, 0.95) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 44px;
  margin: var(--space-7) 0;
  display: flex;
  gap: 36px;
  align-items: center;
}

.avatar-badge {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #111115;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-dot);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.creator-info h3 {
  font-family: var(--font-dot);
  font-size: 26px;
  color: #fff;
  margin: 4px 0 10px;
}

.creator-info p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.creator-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: var(--space-6) 0 var(--space-5);
  margin-top: var(--space-7);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: var(--space-4);
}

.footer-nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive */
@media (max-width: 860px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .creator-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .hide-xs { display: none !important; }
  .stats-strip {
    grid-template-columns: 1fr;
  }
}
