/* ============================================================
   Kuro Stream — Landing page
   Tema: oscuro de streaming · Acento: #E50914
   ============================================================ */

:root {
  --black: #000000;
  --surface: #121212;
  --surface-2: #1a1a1a;
  --surface-3: #242424;
  --primary: #E50914;
  --primary-hover: #f6121d;
  --text: #ffffff;
  --text-secondary: #b3b3b3;
  --border: #262626;
  --radius: 14px;
  --radius-sm: 10px;
  --max-width: 1140px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 820px;
}

.accent {
  color: var(--primary);
}

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.35);
}

.brand-logo.big {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.brand-name {
  font-size: 18px;
}

.brand-name em {
  font-style: normal;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a:not(.btn) {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 8px 26px rgba(229, 9, 20, 0.55);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-secondary);
  background: var(--surface);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 16px;
  border-radius: var(--radius-sm);
}

.btn-download {
  font-size: 17px;
  padding: 16px 34px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
}

.hero-glow {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.28), transparent 65%);
  pointer-events: none;
}

.hero-glow::after {
  content: '';
  position: absolute;
  left: -480px;
  top: 120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(187, 134, 252, 0.14), transparent 65%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-sub strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13.5px;
}

/* --- Teléfono mockup (CSS) --- */
.hero-phone {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone {
  width: 290px;
  height: 590px;
  background: var(--surface);
  border-radius: 40px;
  padding: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7), 0 0 60px rgba(229, 9, 20, 0.12);
  position: relative;
  z-index: 2;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: var(--black);
  overflow: hidden;
}

.phone-screen-img {
  padding: 0;
  display: block;
}

.phone-screen-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-shadow {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 50px;
  background: radial-gradient(ellipse, rgba(229, 9, 20, 0.25), transparent 70%);
  filter: blur(8px);
}

/* ============ SECTIONS ============ */
.section {
  padding: 90px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--black), var(--surface) 30%, var(--black));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 17px;
}

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 9, 20, 0.55);
  background: var(--surface-2);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 9, 20, 0.12);
  color: var(--primary);
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
}

/* ============ DOWNLOAD ============ */
.download-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  margin-bottom: 26px;
}

.download-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 30px;
}

.dl-app {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dl-app h3 {
  font-size: 20px;
  font-weight: 800;
}

.dl-app p {
  color: var(--text-secondary);
  font-size: 14px;
}

.dl-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.step {
  display: flex;
  gap: 14px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.14);
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
}

.step strong {
  font-size: 15px;
}

.step p {
  color: var(--text-secondary);
  font-size: 13.5px;
}

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.req-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.req-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--primary);
}

.req-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.req-card li {
  color: var(--text-secondary);
  font-size: 14.5px;
  padding-left: 22px;
  position: relative;
}

.req-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.req-card li strong {
  color: var(--text);
}

/* ============ LEGAL / PRIVACIDAD ============ */
.legal {
  padding: 80px 0 100px;
}

.legal h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.legal-updated {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal section {
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.legal p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 10px;
}

.legal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.legal li {
  color: var(--text-secondary);
  font-size: 15px;
  padding-left: 22px;
  position: relative;
}

.legal li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ============ VIRUSTOTAL ============ */
.virus-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  margin-bottom: 26px;
}

.virus-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(63, 185, 80, 0.12);
  border: 1px solid rgba(63, 185, 80, 0.4);
  color: #3fb950;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.virus-info h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.virus-info p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 460px;
}

.virus-img {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.virus-img:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.virus-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============ FAQ ============ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  color: var(--primary);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 15px;
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 26px;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 26px;
  padding-bottom: 30px;
}

.footer .brand-name {
  font-size: 16px;
}

.footer p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 12px;
}

.footer-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 30px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-sub {
    margin: 0 auto 32px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-note {
    justify-content: center;
  }

  .hero-glow {
    right: -260px;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 6px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a:not(.btn) {
    padding: 12px 4px;
    font-size: 16px;
  }

  .nav-links .btn {
    margin-top: 10px;
  }

  .nav-toggle {
    display: flex;
  }

  .dl-steps {
    grid-template-columns: 1fr;
  }

  .virus-box {
    grid-template-columns: 1fr;
  }

  .req-grid {
    grid-template-columns: 1fr;
  }
}

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

  .download-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .section {
    padding: 64px 0;
  }
}
