/* =============================================
   NOVO TV ONLINE — ESTILOS GLOBALES
   Colores: Blanco dominante · Morado secundario · Naranja botones
   ============================================= */
:root {
  /* COLORES PRINCIPALES */
  --white:        #FFFFFF;
  --off-white:    #F8F7FF;
  --off-white2:   #F0EEF8;

  /* MORADO */
  --purple:       #6B21A8;
  --purple-dark:  #3B0764;
  --purple-light: #9333EA;
  --purple-grad:  linear-gradient(135deg, #9333EA 0%, #6B21A8 40%, #3B0764 100%);
  --purple-grad-h:linear-gradient(180deg, #9333EA 0%, #6B21A8 45%, #3B0764 100%);

  /* NARANJA (botones) */
  --orange:       #F97316;
  --orange-dark:  #C2410C;
  --orange-light: #FB923C;
  --orange-grad:  linear-gradient(135deg, #FDBA74 0%, #F97316 40%, #C2410C 100%);

  /* TEXTOS */
  --text:         #1E1333;
  --text-light:   #6B5F80;

  --shadow-p:     0 4px 24px rgba(107,33,168,0.18);
  --shadow-o:     0 4px 24px rgba(249,115,22,0.25);
}

*  { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family:'DM Sans',sans-serif; background:var(--white); color:var(--text); overflow-x:hidden; }
img  { max-width:100%; height:auto; display:block; }
a    { text-decoration:none; }

/* ── NAVBAR ── */
.navbar {
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(255,255,255,0.97);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(107,33,168,0.12);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 5vw; height:72px;
  box-shadow: 0 2px 16px rgba(107,33,168,0.07);
}
.nav-logo img { height:52px; width:auto; object-fit:contain; }
.nav-links { display:flex; gap:2.2rem; list-style:none; }
.nav-links a { color:var(--text-light); font-weight:500; font-size:.93rem; transition:color .2s; }
.nav-links a:hover,
.nav-links a.active { color:var(--purple); }
.nav-links a.nav-cta {
  background: var(--orange-grad);
  color: var(--white) !important;
  padding:.5rem 1.4rem; border-radius:6px; font-weight:700;
  box-shadow: var(--shadow-o);
  transition: box-shadow .2s, transform .15s;
}
.nav-links a.nav-cta:hover { box-shadow:0 6px 28px rgba(249,115,22,.45); transform:translateY(-1px); }

.hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; }
.hamburger span { display:block; width:24px; height:2px; background:var(--purple); border-radius:2px; transition:.3s; }

.mobile-menu {
  display:none; position:fixed; top:72px; left:0; right:0;
  background:var(--white); border-bottom:1px solid rgba(107,33,168,.1);
  padding:1.5rem 5vw; flex-direction:column; gap:1rem; z-index:99;
}
.mobile-menu.open { display:flex; }
.mobile-menu a { color:var(--text); font-size:1rem; font-weight:500; padding:.5rem 0; border-bottom:1px solid rgba(107,33,168,.06); }
.mobile-menu a:last-child { border-bottom:none; }

/* ── BOTONES ── */
.btn {
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.85rem 2rem; border-radius:8px;
  font-weight:700; font-size:.97rem; cursor:pointer; border:none;
  transition:transform .15s, box-shadow .2s;
}
/* Botón primario = NARANJA */
.btn-primary {
  background: var(--orange-grad);
  color: var(--white);
  box-shadow: var(--shadow-o);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 10px 32px rgba(249,115,22,.5); color:var(--white); }

/* Botón secundario = MORADO outline */
.btn-secondary { background:transparent; color:var(--purple); border:2px solid var(--purple); }
.btn-secondary:hover { background:var(--purple-grad); color:var(--white); border-color:transparent; }

/* Botón WhatsApp */
.btn-whatsapp {
  display:inline-flex; align-items:center; gap:.6rem;
  background:#25D366; color:#fff; padding:.9rem 2rem; border-radius:8px;
  font-weight:700; font-size:.97rem;
  box-shadow:0 4px 20px rgba(37,211,102,.3);
  transition:background .2s, transform .15s;
}
.btn-whatsapp:hover { background:#1da851; transform:translateY(-2px); color:#fff; }
.btn-whatsapp svg { width:20px; height:20px; fill:currentColor; }

/* ── HERO ── */
.hero {
  min-height:100vh; display:flex; align-items:center;
  padding:100px 5vw 60px; position:relative; overflow:hidden;
  background: var(--white);
}
.hero::before {
  content:''; position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(ellipse 70% 55% at 75% 45%, rgba(147,51,234,.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(249,115,22,.05) 0%, transparent 60%);
}
.hero-grid {
  position:absolute; inset:0; z-index:0;
  background-image:
    linear-gradient(rgba(107,33,168,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,33,168,.04) 1px, transparent 1px);
  background-size:60px 60px;
}
.hero-content { position:relative; z-index:1; max-width:580px; }
.hero-badge {
  display:inline-flex; align-items:center; gap:.5rem;
  background:rgba(107,33,168,.08); border:1px solid rgba(107,33,168,.2);
  border-radius:100px; padding:.35rem 1rem;
  font-size:.78rem; font-weight:600; color:var(--purple);
  letter-spacing:1px; text-transform:uppercase; margin-bottom:1.8rem;
}
.hero-badge::before { content:'●'; font-size:.5rem; animation:blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero-title {
  font-family:'Playfair Display',serif;
  font-size:clamp(2.6rem,5.5vw,4.4rem);
  font-weight:900; line-height:1.06; margin-bottom:1.3rem;
}
.hero-title em { color:var(--purple); font-style:normal; }
.hero-sub { font-size:1.05rem; color:var(--text-light); line-height:1.7; max-width:460px; margin-bottom:2.2rem; font-weight:300; }
.hero-buttons { display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:2.5rem; }
.hero-stats { display:flex; gap:2.5rem; padding-top:2rem; border-top:1px solid rgba(107,33,168,.12); flex-wrap:wrap; }
.stat-num { font-family:'Playfair Display',serif; font-size:2rem; font-weight:900; color:var(--purple); line-height:1; }
.stat-label { font-size:.78rem; color:var(--text-light); margin-top:.3rem; text-transform:uppercase; letter-spacing:.5px; }
.hero-visual { position:absolute; right:2vw; top:50%; transform:translateY(-50%); width:min(46vw,540px); z-index:1; pointer-events:none; }
.hero-visual img { filter:drop-shadow(0 30px 60px rgba(107,33,168,.12)); }

/* ── CHANNELS BAND ── */
.channels-band { background:var(--purple-dark); padding:2.8rem 0; overflow:hidden; }
.channels-label { text-align:center; font-size:.72rem; font-weight:600; letter-spacing:2.5px; text-transform:uppercase; color:rgba(255,255,255,.4); margin-bottom:2rem; }
.channels-track { display:flex; gap:4rem; align-items:center; animation:marquee 32s linear infinite; width:max-content; padding:0 2rem; }
.channels-track img { height:28px; width:auto; object-fit:contain; opacity:.5; filter:brightness(2); transition:opacity .3s; }
.channels-track img:hover { opacity:1; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── SECCIONES ── */
.section { padding:90px 5vw; }
.section-alt { background:var(--off-white); }
.section-alt2 { background:var(--off-white2); }
.section-dark { background:var(--purple-dark); color:var(--white); }
.section-label { font-size:.75rem; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--purple); margin-bottom:.8rem; }
.section-dark .section-label { color:var(--orange-light); }
.section-title { font-family:'Playfair Display',serif; font-size:clamp(1.9rem,3.8vw,2.9rem); font-weight:900; line-height:1.1; margin-bottom:1rem; }
.section-sub { color:var(--text-light); font-size:1rem; line-height:1.7; max-width:520px; font-weight:300; }
.section-dark .section-sub { color:rgba(255,255,255,.65); }

/* ── FEATURES ── */
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1.5rem; margin-top:3rem; }
.feature-card { background:var(--white); border-radius:12px; padding:2rem; border:1px solid rgba(107,33,168,.1); transition:transform .25s, box-shadow .25s; }
.feature-card:hover { transform:translateY(-4px); box-shadow:0 12px 40px rgba(107,33,168,.12); }
.feature-icon { width:48px; height:48px; background:rgba(107,33,168,.08); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:1.2rem; }
.feature-card h3 { font-size:1rem; font-weight:600; margin-bottom:.5rem; color:var(--text); }
.feature-card p { font-size:.88rem; color:var(--text-light); line-height:1.6; }

/* ── DEPORTES ── */
.sports-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1.4rem; margin-top:3rem; }
.sport-card { border-radius:14px; overflow:hidden; cursor:pointer; box-shadow:0 8px 30px rgba(0,0,0,.12); transition:transform .3s, box-shadow .3s; }
.sport-card:hover { transform:translateY(-6px) scale(1.02); box-shadow:0 20px 50px rgba(107,33,168,.2); }
.sport-card img { width:100%; display:block; object-fit:cover; }

/* ── PLANES ── */
.plans-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1.8rem; align-items:start; margin-top:3rem; }
.plan-card { background:var(--white); border-radius:16px; padding:2.2rem; border:1.5px solid rgba(107,33,168,.1); position:relative; transition:transform .25s, box-shadow .25s; }
.plan-card:hover { transform:translateY(-5px); box-shadow:0 16px 50px rgba(107,33,168,.13); }
/* Plan destacado = gradiente morado */
.plan-card.featured { background:var(--purple-grad-h); border-color:transparent; color:var(--white); transform:scale(1.03); box-shadow:0 24px 70px rgba(107,33,168,.45), 0 0 0 1px rgba(255,255,255,.07) inset; }
.plan-card.featured:hover { transform:scale(1.03) translateY(-5px); }
.plan-badge { position:absolute; top:-14px; left:50%; transform:translateX(-50%); background:var(--orange-grad); color:var(--white); font-size:.7rem; font-weight:700; letter-spacing:1px; text-transform:uppercase; padding:5px 18px; border-radius:100px; white-space:nowrap; }
.plan-name { font-family:'Playfair Display',serif; font-size:1.5rem; font-weight:700; margin-bottom:.3rem; }
.plan-desc { font-size:.82rem; opacity:.65; margin-bottom:1.5rem; }
.plan-price { font-family:'Playfair Display',serif; font-size:2.8rem; font-weight:900; line-height:1; }
.plan-currency { font-size:1.2rem; font-weight:600; vertical-align:super; margin-right:2px; }
.plan-period { font-size:.8rem; opacity:.6; margin-top:.3rem; margin-bottom:1.8rem; }
.plan-features { list-style:none; margin-bottom:2rem; display:flex; flex-direction:column; gap:.75rem; }
.plan-features li { font-size:.88rem; display:flex; align-items:flex-start; gap:.6rem; opacity:.9; }
.plan-features li::before { content:'✓'; font-weight:700; color:var(--orange); flex-shrink:0; }
.plan-card.featured .plan-features li::before { color:#FED7AA; }
.plan-divider { border:none; border-top:1px solid rgba(107,33,168,.1); margin:1.5rem 0; }
.plan-card.featured .plan-divider { border-color:rgba(255,255,255,.15); }
/* Botón en plan normal = naranja */
.plan-btn-orange { display:block; text-align:center; padding:.9rem; border-radius:8px; font-weight:700; font-size:.95rem; background:var(--orange-grad); color:var(--white); box-shadow:var(--shadow-o); transition:all .2s; }
.plan-btn-orange:hover { box-shadow:0 8px 28px rgba(249,115,22,.5); transform:translateY(-1px); color:var(--white); }
/* Botón en plan destacado = blanco */
.plan-btn-light { display:block; text-align:center; padding:.9rem; border-radius:8px; font-weight:700; font-size:.95rem; background:rgba(255,255,255,.95); color:var(--purple); transition:all .2s; }
.plan-btn-light:hover { background:#fff; color:var(--purple-dark); }

/* ── WHATSAPP CTA ── */
.wa-cta { background:var(--purple-grad); border-radius:16px; padding:2.5rem; text-align:center; color:var(--white); box-shadow:0 8px 40px rgba(107,33,168,.3); }
.wa-cta h3 { font-family:'Playfair Display',serif; font-size:1.4rem; font-weight:700; margin-bottom:.7rem; }
.wa-cta p { font-size:.88rem; opacity:.85; margin-bottom:1.5rem; line-height:1.6; }

/* ── APP CARDS ── */
.app-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:2rem; margin-top:3rem; }
.app-card { border-radius:16px; overflow:hidden; box-shadow:0 16px 50px rgba(107,33,168,.13); transition:transform .3s, box-shadow .3s; cursor:pointer; }
.app-card:hover { transform:translateY(-7px); box-shadow:0 28px 70px rgba(107,33,168,.22); }
.app-card img { width:100%; display:block; }

/* ── CONTACTO ── */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:5vw; align-items:start; }
.contact-info-list { display:flex; flex-direction:column; gap:1.4rem; margin-top:2rem; }
.contact-item { display:flex; align-items:flex-start; gap:1rem; }
.contact-icon { width:44px; height:44px; background:rgba(107,33,168,.08); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; }
.contact-item h4 { font-size:.88rem; font-weight:600; margin-bottom:.2rem; color:var(--text); }
.contact-item p, .contact-item a { font-size:.88rem; color:var(--text-light); }
.contact-item a:hover { color:var(--purple); }
.contact-visual img { width:100%; max-width:400px; margin:2rem auto 0; filter:drop-shadow(0 20px 40px rgba(0,0,0,.1)); }
.contact-form { background:var(--white); border-radius:16px; padding:2.5rem; border:1px solid rgba(107,33,168,.1); box-shadow:0 4px 24px rgba(107,33,168,.07); }
.contact-form h3 { font-family:'Playfair Display',serif; font-size:1.4rem; font-weight:700; margin-bottom:1.5rem; color:var(--text); }
.form-group { margin-bottom:1.2rem; }
.form-group label { display:block; font-size:.82rem; font-weight:600; margin-bottom:.4rem; color:var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; padding:.75rem 1rem;
  border:1.5px solid rgba(107,33,168,.15); border-radius:8px;
  background:var(--off-white); color:var(--text);
  font-family:'DM Sans',sans-serif; font-size:.9rem; outline:none;
  transition:border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color:var(--purple); box-shadow:0 0 0 3px rgba(107,33,168,.08); }
.form-group textarea { resize:vertical; min-height:110px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.alert { padding:1rem 1.5rem; border-radius:8px; margin-bottom:1.5rem; font-size:.9rem; font-weight:500; }
.alert-success { background:rgba(37,211,102,.1); color:#1a7a41; border:1px solid rgba(37,211,102,.3); }
.alert-error   { background:rgba(107,33,168,.08); color:var(--purple); border:1px solid rgba(107,33,168,.25); }

/* ── PAGE HEADER ── */
.page-header {
  background: var(--purple-grad);
  padding:130px 5vw 60px; color:var(--white); text-align:center;
}
.page-header h1 { font-family:'Playfair Display',serif; font-size:clamp(2.2rem,5vw,3.5rem); font-weight:900; margin-bottom:.8rem; }
.page-header p { font-size:1.05rem; opacity:.88; max-width:500px; margin:0 auto; }

/* ── FOOTER ── */
.footer { background:var(--purple-dark); color:rgba(255,255,255,.7); padding:3rem 5vw 2rem; }
.footer-top { display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:2rem; padding-bottom:2rem; border-bottom:1px solid rgba(255,255,255,.1); margin-bottom:1.5rem; }
.footer-brand img { height:46px; width:auto; object-fit:contain; }
.footer-brand p { font-size:.8rem; margin-top:.5rem; opacity:.45; }
.footer-links { display:flex; gap:1.8rem; flex-wrap:wrap; align-items:center; }
.footer-links a { color:rgba(255,255,255,.6); font-size:.88rem; transition:color .2s; }
.footer-links a:hover { color:var(--orange-light); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.5rem; }
.footer-bottom p { font-size:.78rem; opacity:.45; }

/* ── TABLA COMPARATIVA ── */
table thead tr { background: var(--purple-grad); }
table tbody tr td:nth-child(3) { background:rgba(107,33,168,.06); font-weight:600; color:var(--purple); }

/* ── FAQ ── */
details summary { font-weight:600; cursor:pointer; color:var(--text); list-style:none; display:flex; justify-content:space-between; align-items:center; }
details summary span { color:var(--purple); font-size:1.2rem; }
details p { color:var(--text-light); font-size:.92rem; line-height:1.7; margin-top:.8rem; }

/* ── ANIMACIONES ── */
.fade-in { opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity:1; transform:none; }

/* ── RESPONSIVE ── */
@media (max-width:960px) {
  .hero-visual { display:none; }
  .contact-grid { grid-template-columns:1fr; }
  .plans-grid { grid-template-columns:1fr; }
  .plan-card.featured { transform:none; }
}
@media (max-width:600px) {
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .hero-stats { gap:1.5rem; }
  .form-row { grid-template-columns:1fr; }
  .footer-top { flex-direction:column; }
  .app-cards { grid-template-columns:1fr; }
}
