/* ===== GLOBAL (ANTES: global.css) ===== */
/* ===== RESET + BASE (PRO) ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700&display=swap');

:root{
  --bg:#071A22;                     /* fondo oscuro */
  --surface:rgba(255,255,255,.06);
  --surface-2:rgba(255,255,255,.08);
  --text:#E5E7EB;
  --muted:#94A3B8;
  --primary:#FF6A00;                /* naranja FLUJO */
  --primary-2:#E65100;              /* hover naranja */
  --border:rgba(148,163,184,.18);
  --shadow:0 14px 40px rgba(0,0,0,.35);
  --radius:14px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  padding-top: 74px;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(255,106,0,.22), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(230,81,0,.14), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img{ max-width: 100%; display: block; }

.container{
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ===== HEADER (Topbar) PRO ===== */
.topbar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: linear-gradient(
    180deg,
    rgba(255,106,0,.18),
    rgba(7,26,34,.92)
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,106,0,.22);
}

.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 18px;
}

.logo img{
  height: 42px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}

.menu{
  display: flex;
  align-items: center;
  gap: 22px; /* un poquito más compacto */
}

.menu-link{
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .2px;
  font-size: 14px;
  opacity: .88;
  position: relative;
  padding: 10px 8px;
  border-radius: 10px;
  transition: opacity .18s ease, background .18s ease, color .18s ease;
}

.menu-link:hover{
  opacity: 1;
  background: var(--surface);
}

.menu-link.active{
  opacity: 1;
  color: var(--text);
  background: rgba(255,106,0,.16);
  border: 1px solid rgba(255,106,0,.28);
}

/* Botón menú móvil, más "premium" */
.menu-btn{
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 18px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.menu-btn:hover{
  transform: translateY(-1px);
  background: var(--surface-2);
}

/* ===== MOBILE MENU (OVERLAY) ===== */
.mobile-menu{
  display: none;
  position: fixed;
  top: 74px;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 74px);
  overflow: auto;

  z-index: 9998;
  background: rgba(7,26,34,.96);
  border-top: 1px solid rgba(255,106,0,.22);
  padding: 10px 0;
}

.mobile-menu .menu-link{
  display: block;
  padding: 12px 16px;
  margin: 6px 10px;
}

.mobile-menu.open::before{
  content:"";
  position: fixed;
  inset: 74px 0 0 0;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
  z-index: -1;
}

@media (max-width: 860px){
  .menu{ display: none; }
  .menu-btn{ display: inline-flex; }
  .mobile-menu.open{ display: block; }
}

/* ===== FOOTER PRO ===== */
.site-footer{
  background: linear-gradient(180deg,
    rgba(17,27,46,.0) 0%,
    rgba(17,27,46,.35) 20%,
    rgba(17,27,46,.55) 100%);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 40px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 22px;
  align-items: start;
}

.footer-brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-title{
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
}

.footer-title span{ color: var(--primary); }

.footer-text{
  margin: 10px 0 10px;
  font-weight: 500;
  color: var(--muted);
}

.footer-link{
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(229,231,235,.35);
  padding-bottom: 2px;
}

.footer-link:hover{
  border-bottom-color: rgba(255,106,0,.85);
  color: var(--primary);
}

.footer-heading{
  margin: 0 0 10px;
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
}

.footer-contact{
  margin: 0 0 8px;
  font-weight: 500;
  color: var(--muted);
}

@media (max-width: 720px){
  .footer-grid{ grid-template-columns: 1fr; }
}


/* ===== INICIO (HOME) ===== */

/* HERO */
.hero{
  height: 560px;
  background: url("../assets/fondo2.png") center/cover no-repeat;
  position: relative;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(255,106,0,.28),
    rgba(7,26,34,.92)
  );
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-content{
  width: min(900px, 92%);
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px 0;
}

.hero-app{
  width: 92px;
  height: 92px;
  object-fit: contain;      /* evita deformación */
  background: #fff;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 18px 35px rgba(0,0,0,.35);
  display: block;
  margin-bottom: 6px;
}

.hero-title{
  margin: 0;
  color: #fff;
  font-size: 64px;
  font-weight: 1000;
  letter-spacing: .2px;
  line-height: 1;
}

.hero-title span{ color: var(--primary); }

.hero-subtitle{
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 20px;
  font-weight: 650;
}

.hero-actions{
  margin-top: 18px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn{
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  border: 2px solid rgba(255,255,255,.18);
  box-shadow: 0 14px 25px rgba(0,0,0,.25);
  transition: transform .15s ease, background .15s ease, filter .15s ease;
}

.hero-btn:hover{
  background: var(--primary-2);
  filter: none;
  transform: translateY(-1px);
}

/* ===== SEO INTRO ===== */
.seo-intro{
  padding: 26px 0 10px;
  background: var(--bg);
}

.seo-intro p{
  margin: 0 0 12px;
  color: rgba(255,255,255,.86);
  font-weight: 650;
  line-height: 1.7;
}

.seo-intro a{
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,106,0,.45);
}

.seo-intro a:hover{
  border-bottom-color: rgba(255,106,0,.9);
}

/* DISPOSITIVOS */
.devices{
  padding: 42px 0 30px;
  background: var(--bg);
}

.devices-row{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  justify-items: center;
  align-items: end;
}

.device{
  width: 100%;
  text-align: center;
}

.device h4{
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
  letter-spacing: .6px;
  font-weight: 900;
}

.device img{
  width: 120px;
  height: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.35));
}

.device-btn{
  display: inline-block;
  width: 140px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 18px rgba(0,0,0,.20);
  transition: transform .15s ease, background .15s ease;
}

.device-btn:hover{
  background: var(--primary-2);
  transform: translateY(-1px);
}

/* TITULOS */
.section-title{
  text-align: center;
  margin: 0 0 26px;
  color: #fff;
  letter-spacing: 1px;
  font-size: 34px;
  font-weight: 1000;
}

/* FUNCIONES */
.features{
  padding: 44px 0 56px;
  background: var(--bg);
}

.features-grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 26px;
  align-items: center;
}

.features-image img{
  width: 100%;
  max-width: 460px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.35));
}

.features-list{
  display: grid;
  gap: 18px;
}

.feature h3{
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 1000;
}

.feature p{
  margin: 0;
  color: rgba(255,255,255,.86);
  font-weight: 650;
  line-height: 1.55;
}

/* ===== BLOQUE PLANES (HOME) ===== */
.planes-block{
  padding: 46px 0 34px;
  background:
    radial-gradient(900px 600px at 50% 10%, rgba(255,106,0,.16), rgba(0,0,0,0) 60%),
    linear-gradient(var(--bg), var(--bg));
}

.plans-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.plan-card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  will-change: transform;
}

.plan-card:hover{
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 28px 60px rgba(0,0,0,.45);
  filter: brightness(1.05);
}

.badge{
  position: absolute;
  top: -10px;
  right: 16px;
  background: #e31b1b;
  color: #fff;
  font-weight: 950;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
}

.plan-name{
  text-align: center;
  margin: 10px 0 8px;
  font-weight: 1000;
  letter-spacing: .7px;
  color: #fff;
}

.plan-devicons{
  text-align: center;
  opacity: .90;
  margin-bottom: 6px;
  font-size: 16px;
}

.plan-price{
  text-align: center;
  margin: 8px 0 12px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.currency{
  font-weight: 950;
  opacity: .95;
  color: #fff;
}

.amount{
  font-size: 56px;
  font-weight: 1000;
  letter-spacing: .5px;
  color: #fff;
  transition: transform .25s ease, letter-spacing .25s ease, filter .25s ease;
}

.plan-card:hover .amount{
  transform: translateY(-2px) scale(1.03);
  letter-spacing: .6px;
  filter: brightness(1.08);
}

.plan-divider{
  border: none;
  border-top: 1px solid rgba(255,255,255,.16);
  margin: 10px 0 14px;
}

.plan-features{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .3px;
}

.plan-features li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: .98;
  color: #fff;
}

.plan-features li::before{
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #19c37d;
  color: #002a20;
  font-weight: 1000;
  font-size: 12px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.accent{
  color: var(--primary);
  font-weight: 1000;
}

.buy-btn{
  margin-top: auto;
  display: block;
  text-align: center;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  color: #fff;
  text-decoration: none;
  font-weight: 1000;
  padding: 14px 12px;
  border-radius: 8px;
  letter-spacing: .7px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 28px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  will-change: transform;
}

.buy-btn:hover{
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
  filter: brightness(1.06);
}

.buy-btn:active{
  transform: translateY(-1px) scale(.99);
}

/* ===== BLOQUE PANELES (HOME) ===== */
.paneles-block{
  padding: 46px 0 46px;
  background: var(--bg);
}

.panel-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 10px;
}

.panel-card{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  will-change: transform;
}

.panel-card:hover{
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 28px 60px rgba(0,0,0,.45);
  background: rgba(0,0,0,.42);
}

.panel-card.featured{
  box-shadow: 0 0 0 2px rgba(255,106,0,.45), 0 20px 45px rgba(0,0,0,.35);
}

.panel-head{
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  padding: 14px 12px;
  text-align: center;
  font-weight: 1000;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #fff;
}

.panel-body{
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
}

.panel-credits{
  text-align: center;
  margin: 8px 0 2px;
  font-weight: 900;
  opacity: .95;
  letter-spacing: .4px;
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
}

.panel-price{
  text-align: center;
  margin: 8px 0 16px;
  font-size: 44px;
  font-weight: 1000;
  color: #fff;
  transition: transform .25s ease, letter-spacing .25s ease, filter .25s ease;
}

.panel-card:hover .panel-price{
  transform: translateY(-2px) scale(1.03);
  letter-spacing: .3px;
  filter: brightness(1.08);
}

.panel-price span{
  font-size: 18px;
  opacity: .95;
  margin-right: 6px;
}

.panel-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .25px;
}

.panel-list li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  opacity: .98;
  color: #fff;
}

.panel-list li::before{
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #19c37d;
  color: #002a20;
  font-weight: 1000;
  flex: 0 0 auto;
}

.orange{
  color: var(--primary);
  font-weight: 1000;
}

.panel-buy{
  margin-top: 14px;
  display: block;
  text-align: center;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  color: #fff;
  text-decoration: none;
  font-weight: 1000;
  padding: 14px 12px;
  border-radius: 999px;
  letter-spacing: .7px;
  width: 85%;
  align-self: center;
  margin-bottom: 6px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 28px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  will-change: transform;
}

.panel-buy:hover{
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
  filter: brightness(1.06);
}

.panel-buy:active{
  transform: translateY(-1px) scale(.99);
}

/* FAQS */
.faqs{
  padding: 52px 0 60px;
  background: var(--bg);
}

.faq{
  max-width: 820px;
  margin: 14px auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.10);
}

.faq-q{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 950;
  cursor: pointer;
  text-align: left;
}

.faq-icon{
  opacity: .9;
  transition: transform .2s ease;
}

.faq-a{
  display: none;
  padding: 0 18px 16px;
  color: rgba(255,255,255,.88);
  font-weight: 650;
}

.faq.open .faq-a{ display: block; }
.faq.open .faq-icon{ transform: rotate(180deg); }

/* RESPONSIVE */
@media (max-width: 1100px){
  .plans-grid{ grid-template-columns: repeat(2, 1fr); }
  .panel-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px){
  .devices-row{ grid-template-columns: repeat(3, 1fr); }
  .features-grid{ grid-template-columns: 1fr; }
  .section-title{ font-size: 28px; }
}

@media (max-width: 650px){
  .plans-grid{ grid-template-columns: 1fr; }
  .panel-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .hero{ height: 520px; }
  .hero-title{ font-size: 46px; }
  .hero-btn{ min-width: 180px; }
  .devices-row{ grid-template-columns: repeat(2, 1fr); }
}
