/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: 'Segoe UI', sans-serif;
    background: #0a0a0a;
    color: #fff;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* LOGO */
.logo img {
    height: 45px;
    filter: drop-shadow(0 0 8px rgba(0,255,213,0.5));
}

/* NAV LINKS */
.nav-links a {
    color: #ccc;
    margin-left: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #00ffd5;
}

/* HAMBURGUESA */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* HERO */
.hero {
    text-align: center;
    margin-top: 100px;
    animation: fadeIn 1s ease-in-out;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    background: linear-gradient(90deg, #00ffd5, #007bff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    color: #aaa;
    margin-top: 10px;
}

/* BOTÓN */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: linear-gradient(90deg, #00ffd5, #007bff);
    border-radius: 8px;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.05);
}

/* FORM */
.form-box {
    width: 350px;
    margin: 80px auto;
    padding: 30px;
    background: #141414;
    border-radius: 10px;
    animation: fadeIn 0.8s ease-in-out;
}

.form-box input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: #0f0f0f;
    border: none;
    color: #fff;
    border-radius: 5px;
}

.form-box button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #00ffd5, #007bff);
    border: none;
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

/* LOADER */
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #222;
    border-top: 4px solid #00ffd5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ANIMACIONES */
@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #111;
        position: absolute;
        top: 70px;
        right: 20px;
        padding: 20px;
        border-radius: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 10px 0;
    }

    .hero {
        margin-top: 60px;
    }

    .form-box {
        width: 90%;
    }
}

.plans {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.plan-card {
    background: #111;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 300px;
    transition: 0.3s;
}

.plan-card:hover {
    transform: scale(1.05);
}

.plan-card h2 {
    font-size: 24px;
}

.price {
    font-size: 28px;
    margin: 15px 0;
    color: #00ffd5;
}

.plan-card ul {
    list-style: none;
    margin: 20px 0;
}

.plan-card ul li {
    margin: 10px 0;
}

/* ADMIN PANEL */

.admin-title {
    text-align: center;
    margin-top: 40px;
    font-size: 28px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.admin-card {
    background: linear-gradient(145deg, #111, #1a1a1a);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,255,213,0.05);
    transition: 0.3s;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0,255,213,0.2);
}

.status {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.status.pending {
    background: orange;
    color: #000;
}

.status.approved {
    background: #00ffae;
    color: #000;
}

.status.rejected {
    background: red;
    color: #fff;
}

.actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.btn.small {
    font-size: 12px;
    padding: 8px 12px;
}

.btn.success {
    background: #00ffae;
    color: #000;
}

.btn.danger {
    background: #ff4d4d;
    color: #fff;
}

.card {
    background: #111;
    padding: 30px;
    border-radius: 15px;
    margin-top: 50px;
    text-align: center;
}

.card.premium {
    background: linear-gradient(135deg, #111, #1a1a1a);
    box-shadow: 0 0 20px rgba(0,255,213,0.1);
}

.plans-title {
    text-align: center;
    margin-top: 40px;
    font-size: 32px;
}

.plans {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.plan-card {
    background: #111;
    padding: 30px;
    border-radius: 15px;
    width: 300px;
    text-align: center;
    transition: 0.3s;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(0,255,213,0.2);
}

.plan-card h2 {
    font-size: 22px;
}

.usd {
    font-size: 18px;
    color: #aaa;
}

.ars {
    font-size: 26px;
    color: #00ffd5;
    margin: 10px 0;
}

.plan-card ul {
    list-style: none;
    margin: 20px 0;
}

.plan-card ul li {
    margin: 8px 0;
}

.alias {
    margin-top: 10px;
}

.copy-btn {
    margin-top: 10px;
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    background: #222;
    color: #fff;
    cursor: pointer;
}

.copy-btn:hover {
    background: #00ffd5;
    color: #000;
}

/* DESTACADOS */
.plan-card.premium {
    border: 2px solid #00ffd5;
}

.plan-card.elite {
    border: 2px solid gold;
}

.status-card {
    padding: 40px;
    border-radius: 15px;
    margin-top: 60px;
    text-align: center;
}

.status-card h2,
.status-card h1 {
    margin-bottom: 10px;
}

/* ESTADOS */

.status-card.no-plan {
    background: #111;
}

.status-card.pending {
    background: #2a1f00;
    border: 1px solid orange;
}

.status-card.rejected {
    background: #2a0000;
    border: 1px solid red;
}

.status-card.approved {
    background: linear-gradient(135deg, #111, #1a1a1a);
    border: 1px solid #00ffd5;
}

/* FEATURES */

.features {
    margin-top: 25px;
}

.feature-box {
    background: #111;
    padding: 15px;
    border-radius: 10px;
}

/* BOTÓN GRANDE */

.btn.big {
    font-size: 16px;
    padding: 15px 25px;
}

.hero {
    text-align: center;
    margin-top: 120px;
    padding: 20px;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.2;
    background: linear-gradient(90deg, #00ffd5, #007bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    margin-top: 20px;
    color: #aaa;
    font-size: 18px;
}

.highlight {
    margin-top: 15px;
    color: #00ffd5;
    font-weight: bold;
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn.secondary {
    background: #222;
    color: #fff;
}

.btn.secondary:hover {
    background: #444;
}

.btn.big {
    font-size: 16px;
    padding: 15px 25px;
}

/* STATS ADMIN */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: #111;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.stat-card h3 {
    font-size: 14px;
    color: #aaa;
}

.stat-card p {
    font-size: 24px;
    color: #00ffd5;
    margin-top: 10px;
}

.ai-result {
    margin-top: 80px;
    text-align: center;
}

.plan-badge {
    margin-top: 10px;
    color: #00ffd5;
    font-weight: bold;
}

.ai-box {
    margin-top: 20px;
    background: #111;
    padding: 25px;
    border-radius: 12px;
    text-align: left;
    line-height: 1.6;
    border: 1px solid #00ffd5;
}

.logo img {
    height: 40px;
    transition: 0.4s ease;
    filter: drop-shadow(0 0 5px #00ffd5);
    animation: floatLogo 3s ease-in-out infinite;
}

/* Hover premium */
.logo img:hover {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 0 15px #00ffd5);
}

/* Animación suave */
@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.footer-logo.right {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
    padding-right: 20px;
}

.footer-logo.right img {
    height: 45px;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-logo.right img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.logo img {
    height: 55px; /* antes 40 */
    transition: 0.4s ease;

    /* MENOS glow exagerado */
    filter: drop-shadow(0 0 6px rgba(0,255,213,0.6));

    animation: floatLogo 3s ease-in-out infinite;
}

/* Hover */
.logo img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px #00ffd5);
}

.logo img {
    height: 55px;
    transition: 0.4s ease;

    /* glow más sutil */
    filter: drop-shadow(0 0 4px rgba(0,255,213,0.5));

    animation: floatLogo 3s ease-in-out infinite;
}

.logo img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px #00ffd5);
}

.msg {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

.msg.success {
    background: rgba(0,255,150,0.1);
    color: #00ffb3;
    border: 1px solid #00ffb3;
}

.msg.error {
    background: rgba(255,0,0,0.1);
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
}

.form-box a {
    color: #00ffd5;
    font-size: 14px;
}

.form-box a:hover {
    color: #007bff;
}

/* HISTORY */

.history-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.history-grid {
    margin-top: 40px;
    display: grid;
    gap: 20px;
}

.history-card {
    background: linear-gradient(145deg, #111, #1a1a1a);
    padding: 20px;
    border-radius: 15px;
    position: relative;
    transition: 0.3s;
    border: 1px solid rgba(0,255,213,0.1);
}

.history-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0,255,213,0.2);
}

.history-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #00ffd5;
    margin-bottom: 10px;
}

.history-content {
    line-height: 1.6;
    color: #ddd;
}

.delete-btn {
    color: #ff4d4d;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.delete-btn:hover {
    transform: scale(1.2);
}

.empty-state {
    margin-top: 60px;
    text-align: center;
    color: #aaa;
}

.empty-state h3 {
    color: #fff;
    margin-bottom: 10px;
}

/* GAMIFICACIÓN */

.gamification {
    margin-top: 20px;
    text-align: center;
}

.level {
    color: #00ffd5;
    font-weight: bold;
}

.usage {
    color: #aaa;
    font-size: 14px;
}

.smart-msg {
    margin-top: 10px;
    color: #aaa;
    font-size: 14px;
}

/* PROGRESS */

.progress-bar {
    width: 100%;
    height: 8px;
    background: #222;
    border-radius: 10px;
    margin-top: 10px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00ffd5, #007bff);
    border-radius: 10px;
    transition: 0.5s;
}

/* BOTONES DASHBOARD */

.dashboard-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* DASHBOARD PREMIUM */

.sub {
    color: #aaa;
    margin-bottom: 10px;
}

.gamification {
    margin-top: 20px;
    text-align: center;
}

.level {
    color: #00ffd5;
    font-weight: bold;
    font-size: 18px;
}

.usage {
    color: #aaa;
    font-size: 14px;
}

.smart-msg {
    margin-top: 10px;
    color: #aaa;
}

/* PROGRESS */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #222;
    border-radius: 10px;
    margin-top: 10px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00ffd5, #007bff);
    border-radius: 10px;
}

/* LIMIT */
.limit-box {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    background: #1a1a1a;
    color: #ff4d4d;
}

.limit-box.pro {
    color: #00ffd5;
}

.limit-box.elite {
    color: gold;
}

/* UPSELL */
.upgrade-box {
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #00ffd5;
    border-radius: 10px;
    text-align: center;
}

.btn.upgrade {
    margin-top: 10px;
    background: #00ffd5;
    color: #000;
}

/* ACTIONS */
.dashboard-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn.main {
    font-weight: bold;
}

.achievements {
    margin-top: 25px;
    text-align: center;
}

.badges {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: #111;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #00ffd5;
    font-size: 12px;
}

.hidden {
    display: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* CENTRADO */
.center {
    text-align: center;
}

/* HERO */
.hero {
    padding: 80px 20px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.subtitle {
    color: #bbb;
    max-width: 700px;
    margin: 0 auto 15px;
    font-size: 18px;
}

.highlight {
    color: #00e0ff;
    margin-top: 10px;
    font-size: 16px;
}

/* BOTONES */
.cta-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* SECCIONES */
.section {
    margin-top: 60px;
}

/* GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* CARDS */
.card {
    background: #111;
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    background: #161616;
}

/* NARROW */
.narrow {
    max-width: 700px;
    margin: 0 auto;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }
}

/* =========================
   BASE (NO ROMPE LO EXISTENTE)
========================= */
:root{
  --bg:#0a0a0a;
  --card:#111;
  --card-2:#161616;
  --primary:#00ffd5;
  --primary-2:#007bff;
  --text:#fff;
  --muted:#aaa;
}

body{
  background: radial-gradient(circle at 20% 0%, rgba(0,255,213,0.08), transparent 40%), var(--bg);
}

/* =========================
   HERO PRO (NUEVO PERO COMPATIBLE)
========================= */
.hero-pro{
  padding:120px 20px 80px;
  text-align:center;
}

.hero-pro h1{
    font-size:clamp(32px,5vw,56px);
    line-height:1.1;
    background:linear-gradient(90deg,var(--primary),var(--primary-2));

    -webkit-background-clip:text;
    background-clip:text;

    -webkit-text-fill-color:transparent;
    color:transparent;
}

.hero-pro .badge{
  display:inline-block;
  padding:6px 12px;
  border:1px solid rgba(0,255,213,0.3);
  border-radius:20px;
  font-size:12px;
  color:var(--primary);
  margin-bottom:20px;
}

.cta-group{
  margin-top:30px;
  display:flex;
  gap:15px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn.primary{
  background:linear-gradient(90deg,var(--primary),var(--primary-2));
  color:#000;
}

.btn.ghost{
  background:transparent;
  border:1px solid #333;
  color:#fff;
}

.btn.ghost:hover{
  border-color:var(--primary);
  color:var(--primary);
}

.btn.xl{
  padding:16px 32px;
  font-size:16px;
}

/* =========================
   STATS
========================= */
.hero-stats{
  margin-top:40px;
  display:flex;
  justify-content:center;
  gap:40px;
  flex-wrap:wrap;
}

.hero-stats div{
  text-align:center;
}

.hero-stats strong{
  display:block;
  font-size:22px;
  color:var(--primary);
}

.hero-stats span{
  font-size:12px;
  color:var(--muted);
}

/* =========================
   SPLIT SECTION
========================= */
.split-section{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  margin-top:80px;
}

.split{
  background:var(--card);
  padding:30px;
  border-radius:15px;
}

.highlight-box{
  border:1px solid rgba(0,255,213,0.2);
  background:linear-gradient(145deg,#111,#1a1a1a);
}

/* =========================
   STEPS
========================= */
.steps{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
  margin-top:40px;
}

.step{
  background:var(--card);
  padding:25px;
  border-radius:15px;
  position:relative;
  transition:.3s;
}

.step:hover{
  transform:translateY(-5px);
  box-shadow:0 0 20px rgba(0,255,213,0.15);
}

.step span{
  position:absolute;
  top:-10px;
  left:-10px;
  background:var(--primary);
  color:#000;
  padding:6px 10px;
  border-radius:8px;
  font-size:12px;
  font-weight:bold;
}

/* =========================
   FEATURES
========================= */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
  margin-top:40px;
}

.feature{
  background:var(--card);
  padding:25px;
  border-radius:15px;
  transition:.3s;
}

.feature:hover{
  transform:translateY(-5px);
  background:var(--card-2);
}

/* =========================
   TESTIMONIALS
========================= */
.testimonials{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
  margin-top:40px;
}

.testimonial{
  background:var(--card);
  padding:20px;
  border-radius:12px;
  font-style:italic;
}

.testimonial span{
  display:block;
  margin-top:10px;
  font-size:12px;
  color:var(--muted);
}

/* =========================
   CTA FINAL
========================= */
.cta-final{
  text-align:center;
  margin:100px 0;
}

.cta-final h2{
  font-size:32px;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:900px){
  .split-section{
    grid-template-columns:1fr;
  }
}

/* =========================
   MEJORAS GLOBALES (NO ROMPE)
========================= */
.card, .plan-card, .admin-card{
  backdrop-filter: blur(6px);
}

.btn{
  box-shadow:0 0 15px rgba(0,255,213,0.15);
}

.btn:hover{
  transform:translateY(-2px) scale(1.03);
}
