:root {
    --primary-color: #4caf7a;
    --primary-hover: #69c390;
    --secondary-color: #4a4f55;
    --bg-dark: #0b0f0d;
    --bg-card: rgba(20, 24, 22, 0.85);
    --text-light: #eef3f1;
    --text-muted: #aab3ad;
    --glow: 0 0 15px rgba(76, 175, 122, 0.35);
    --accent-green: #4caf7a;
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.ip-mini {
    position: fixed;
    top: 10px;
    right: 14px;
    z-index: 1200;
    display: inline-flex;
    gap: 3px;
    align-items: center;
    background: rgba(5, 5, 5, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 0.62rem;
    line-height: 1;
    color: var(--text-muted);
    letter-spacing: 0.2px;
}

.ip-mini span:last-child {
    color: var(--primary-color);
    font-weight: 500;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Canvas Background */
#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

/* Header */
header {
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    transition: 0.3s;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clients-counter {
    text-align: center;
    padding: 10px 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.clients-counter i { color: var(--primary-color); margin-right: 6px; }

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-direction: column;
    align-items: flex-start;
}

.logo img.header-banner {
    height: 56px;
    width: auto;
    display: block;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 6px 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    filter: none;
}

.header-domain-outside {
    position: fixed;
    top: 86px;
    left: 0;
    width: 100%;
    z-index: 999;
    pointer-events: none;
}

.header-domain-outside .container {
    display: flex;
    justify-content: flex-start;
}

.logo-domain-mini {
    margin-top: 10px;
    width: 300px;
    max-width: 300px;
    pointer-events: auto;
    background: linear-gradient(135deg, rgba(8, 13, 11, 0.92), rgba(13, 20, 17, 0.86));
    border: 1px solid rgba(76, 175, 122, 0.28);
    border-radius: 14px;
    padding: 8px 9px 9px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(4px);
}

.logo-domain-mini-label {
    display: block;
    color: #ebfff4;
    font-size: 0.76rem;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    font-weight: 600;
}

.logo-domain-mini-wrap {
    display: flex;
    align-items: center;
    min-height: 36px;
    border-radius: 10px;
    background: rgba(3, 8, 6, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.logo-domain-mini-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    color: rgba(170, 235, 194, 0.95);
    font-size: 0.8rem;
}

.logo-domain-mini-wrap input {
    flex: 1;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 0.8rem;
    padding: 0 8px 0 0;
    min-width: 0;
    outline: none;
}

.logo-domain-mini-wrap input::placeholder {
    color: rgba(238, 243, 241, 0.46);
}

.logo-domain-mini-wrap button {
    border: 0;
    min-height: 36px;
    padding: 0 13px;
    background: linear-gradient(135deg, #4caf7a, #2a8f5e);
    color: #04130c;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.logo-domain-mini-wrap button:hover {
    filter: brightness(1.08);
}

.logo-domain-mini-wrap:focus-within {
    border-color: rgba(100, 212, 145, 0.7);
    box-shadow: 0 0 0 3px rgba(76, 175, 122, 0.18);
}

.logo .accounts-counter {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 4px;
    background: rgba(76, 175, 122, 0.16);
    border: 1px solid rgba(76, 175, 122, 0.30);
    padding: 6px 10px;
    border-radius: 10px;
}
.logo .accounts-counter i { color: var(--primary-color); margin-right: 6px; }

.logo .ip-counter {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.logo .ip-counter i { color: var(--primary-color); margin-right: 6px; }

.logo span {
    color: var(--text-light);
}

/* Header Stats */
.header-stats {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: -2px;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.header-stats i {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-right: 3px;
}

.header-stats span {
    color: var(--text-light);
    font-weight: bold;
    font-family: 'Cinzel', serif;
}

nav ul {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Logo in header handled via .logo styles */

nav a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary-color);
    text-shadow: var(--glow);
}

.nav-check { display: none; visibility: hidden; }
.nav-toggle {
    display: none;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(5,5,5,0.6);
    color: var(--text-light);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav-toggle i { font-size: 1rem; color: var(--primary-color); }
.nav-toggle .nav-toggle-text { display: none; }
.nav-close { display: none; }
@media (min-width: 769px) {
    .nav-toggle, .nav-close { display: none !important; }
}

.btn-nav {
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: radial-gradient(circle at center, rgba(0,0,0,0.6) 0%, rgba(5,5,5,1) 100%), url('../img/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 200px;
    position: relative;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    background: none;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    color: var(--text-light);
    padding: 0;
    border-radius: 0;
    font-size: 1.05rem;
    margin-bottom: 14px;
}
.hero-stats i { color: var(--primary-color); margin-right: 8px; }

.hero-content {
    z-index: 2;
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(0,0,0,0.9);
    letter-spacing: 2px;
    background: linear-gradient(to bottom, #d4af37, #aa8620);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #ddd;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Live Stats in Hero - REMOVED */

.btn-main {
    background: linear-gradient(45deg, var(--secondary-color), #600000);
    color: white;
    padding: 18px 50px;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: bold;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 5px 20px rgba(138, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
}

.btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #600000, var(--secondary-color));
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 0;
}

.btn-main:hover::before {
    opacity: 1;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(138, 0, 0, 0.6);
    color: white;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(to bottom, #050505, #0a0a0a);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 80px;
    position: relative;
    padding-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    border: var(--glass-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.feature-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transition: transform 0.3s;
}

.feature-card:hover i {
    transform: scale(1.1);
    color: var(--primary-hover);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.feature-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-service-cta {
    display: inline-flex;
    margin-top: 18px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--text-light);
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.feature-service-cta:hover {
    color: #111;
    background: rgba(212, 175, 55, 0.9);
    border-color: rgba(212, 175, 55, 0.9);
}

/* Plans Section */
.plans {
    padding: 120px 0;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png'); /* Subtle texture */
    background-color: #080808;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    align-items: stretch;
}

.plan-card {
    background-color: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 25px 20px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.2);
}

.plan-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    transform: scale(1.02);
    z-index: 10;
    background: linear-gradient(to bottom, rgba(30,30,30,0.95), rgba(20,20,20,0.95));
}

.plan-card.popular:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.25);
}

.ribbon {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-color), #b8962e);
    color: var(--bg-dark);
    padding: 2px 12px;
    font-weight: bold;
    font-size: 0.65rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-header {
    text-align: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 10px;
}

.plan-header h3 {
    font-size: 1.4rem;
    margin-bottom: 2px;
    color: var(--text-light);
}

.plan-desc {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.75rem;
    margin-bottom: 5px;
    min-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.price span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: normal;
}

.discount-note {
    color: var(--accent-green);
    font-size: 0.65rem;
    margin-top: 4px;
    margin-bottom: 2px;
    font-weight: 500;
    background: rgba(46, 204, 113, 0.1);
    display: inline-block;
    padding: 1px 5px;
    border-radius: 3px;
}

.plan-features {
    margin-bottom: 10px;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 4px;
    color: #ccc;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    line-height: 1.2;
}

.plan-features li i {
    color: var(--primary-color);
    margin-right: 6px;
    width: 14px;
    text-align: center;
    font-size: 0.85rem;
}

/* Plan Controls (New) */
.plan-controls {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-controls label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.plan-controls select {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    padding: 3px 6px;
    border-radius: 3px;
    font-family: inherit;
    font-size: 0.75rem;
    outline: none;
    transition: 0.3s;
    width: auto; /* Auto width to fit content */
    max-width: 65%; /* Prevent it from being too wide */
    cursor: pointer;
    height: 24px;
}

.plan-controls select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.plan-controls select option {
    background-color: #1a1a1a;
    color: var(--text-light);
}

.btn-buy {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 1rem;
    transition: 0.3s;
    letter-spacing: 1px;
}

.btn-buy:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.plan-card.popular .btn-buy {
    background: linear-gradient(90deg, var(--primary-color), #b8962e);
    color: var(--bg-dark);
    border: none;
}

.plan-card.popular .btn-buy:hover {
    background: linear-gradient(90deg, #b8962e, var(--primary-color));
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

/* Plan Backgrounds */
.plan-card.plan-elfa {
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.6), rgba(5, 5, 5, 0.8)), url('https://tse1.mm.bing.net/th/id/OIP.XJmUqFg9h2HLQAj50TpVmgHaIZ?rs=1&pid=ImgDetMain&o=7&rm=3');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.plan-card.plan-mago {
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.6), rgba(5, 5, 5, 0.8)), url('https://tse2.mm.bing.net/th/id/OIP.WayqEQLEJ1_1cK6ZvmeUyQAAAA?rs=1&pid=ImgDetMain&o=7&rm=3');
    background-size: cover;
    background-position: center;
}

.plan-card.mu-plan-master {
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.6), rgba(5, 5, 5, 0.8)), url('https://p2.bahamut.com.tw/B/2KU/65/4042c914885ed38cf95d40f78110ax15.JPG');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Custom Plan Styles */
.plan-card.custom-plan {
    border: 1px dashed rgba(255,255,255,0.2);
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.6), rgba(5, 5, 5, 0.8)), url('https://th.bing.com/th/id/R.e4b58fd8c2edf0bd395ffff377474c3d?rik=y8H%2f6Zfa%2bLsmNA&pid=ImgRaw&r=0');
    background-size: cover;
    background-position: center;
    max-width: 400px; /* Ancho m�ximo igual al promedio de las otras tarjetas */
    width: 100%;
}

.plan-card.custom-plan:hover {
    border-color: var(--primary-color);
    border-style: solid;
}

.custom-icon {
    font-size: 3rem;
    color: var(--text-muted);
    margin: 20px 0;
    transition: 0.4s;
}

.plan-card.custom-plan:hover .custom-icon {
    color: var(--primary-color);
    transform: rotate(15deg) scale(1.1);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.custom-text {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn-custom {
    border-color: var(--text-muted);
    color: var(--text-muted);
}

.btn-custom:hover {
    background-color: var(--text-muted);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/* Footer */
footer {
    background-color: #020202;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.whatsapp-link {
    font-size: 1.8rem;
    color: #25D366; /* WhatsApp Green */
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

.whatsapp-link:hover {
    color: #128c7e;
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666;
    font-size: 0.9rem;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-message {
    background-color: #fff;
    color: #000;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    font-size: 11px;
    font-weight: 600;
    max-width: 140px;
    line-height: 1.2;
    position: relative;
    animation: fadeIn 1s ease-out;
    text-align: right;
    border: none;
}

.whatsapp-message::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 24px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
}

.float-whatsapp {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.float-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Support Hours in Footer */
.support-hours {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 10px;
}

.support-hours h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hours-time {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 5px;
}

.hours-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    max-width: 400px;
    margin: 0 auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.payments {
    padding: 120px 0;
    background: linear-gradient(to bottom, #0a0a0a, #080808);
}
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    align-items: stretch;
}
.payment-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 35px 25px;
    position: relative;
    border: var(--glass-border);
    transition: 0.4s;
    text-align: center;
}
.payment-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.2);
}
.payment-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.payment-card h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--text-light);
}
.payment-card.paypal i {
    color: #1e3a8a;
}
.payment-card.binance i {
    color: #f3ba2f;
}

/* Payment Methods */
.payment-methods {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.payment-badge {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--text-light);
    padding: 8px 14px;
    border-radius: 40px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.payment-badge i {
    color: var(--primary-color);
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Scroll Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .container {
        max-width: 95%;
    }
}

@media (max-width: 992px) {
    .hero-content h2 {
        font-size: clamp(2rem, 5.5vw, 3rem);
    }
    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.4rem);
    }
}

@media (max-width: 768px) {
    /* Header & Nav */
    header {
        padding: 10px 0;
    }
    
    header .container {
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-toggle { display: inline-flex; z-index: 1002; gap: 8px; padding: 0 10px; width: auto; }
    .nav-toggle .nav-toggle-text { display: inline; font-size: 0.9rem; color: var(--text-light); }
    .nav-close { display: none; }
    
    nav {
        position: relative;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 90px;
        left: 50%;
        transform: translateX(-50%);
        width: min(720px, calc(100% - 24px));
        background: rgba(5,5,5,0.94);
        backdrop-filter: blur(6px);
        border: 1px solid rgba(212, 175, 55, 0.25);
        border-radius: 12px;
        padding: 22px 16px 16px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.5);
        flex-direction: column;
        gap: 12px;
        z-index: 1001;
        max-height: 40vh;
        overflow-y: auto;
    }
    .nav-links.show {
        display: flex;
    }
    .nav-close {
        display: inline-flex;
        position: absolute;
        top: 8px;
        right: 8px;
        border: 1px solid rgba(212, 175, 55, 0.35);
        background: rgba(5,5,5,0.8);
        color: var(--text-light);
        border-radius: 8px;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        z-index: 2;
    }
    .nav-links .nav-client-area { order: -1; }
    .nav-links li { margin: 6px 0; }
    .nav-links a { display: block; }
    #nav-check:checked ~ nav .nav-links {
        display: flex;
    }
    .nav-close {
        display: inline-flex;
        align-self: flex-end;
        position: sticky;
        top: 8px;
        border: 1px solid rgba(212, 175, 55, 0.35);
        background: rgba(5,5,5,0.7);
        color: var(--text-light);
        border-radius: 8px;
        padding: 6px 10px;
        font-size: 0.9rem;
        gap: 6px;
        z-index: 2;
    }
    .nav-links .nav-client-area { order: -1; }
    .logo img.header-banner { height: 40px; padding: 4px 10px; }
    .header-domain-outside { display: none; }
    .logo-domain-mini { display: none; }
    
    nav ul {
        gap: 8px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    nav a {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    /* Hero Section */
    .hero {
        padding-top: 140px;
        height: auto;
        min-height: 100vh;
        padding-bottom: 50px;
        background-attachment: scroll; /* smoother on mobile */
    }

    .hero-content h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
        padding: 0 15px;
    }

    /* Sections General */
    .features, .plans, .payments {
        padding: 60px 0;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 50px;
    }

    /* Grids */
    .features-grid, .plans-grid, .payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    /* WhatsApp Widget */
    .whatsapp-widget {
        bottom: 20px;
        right: 15px;
    }
    
    .whatsapp-message {
        font-size: 0.85rem;
        max-width: 200px;
        padding: 10px 14px;
    }
    
    .float-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: calc(20px + env(safe-area-inset-bottom));
    }
}
#promociones .plans-grid {
    display: grid !important;
    grid-template-columns: minmax(280px, 420px);
    justify-content: center;   /* centra la columna */
    gap: 22px;
}

/* SOLO ajustar borde en promociones mobile */
#promociones .plan-card {
    border: 1px solid rgba(212, 175, 55, 0.18);
}

/* Mantener fondos con imagen */
.plan-card.plan-elfa,
.plan-card.plan-mago,
.plan-card.mu-plan-master,
.plan-card.custom-plan {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .plan-card.popular {
        transform: none;
        box-shadow: 0 10px 24px rgba(0,0,0,0.4);
        border: 2px solid rgba(212, 175, 55, 0.35) !important;
    }
@media (max-width: 768px) {
    /* Plan Controls Mobile: stack and full-width selects */
    .plan-controls label {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .plan-controls select {
        width: 100%;
        max-width: 100%;
        height: 30px;
    }
    .section-title {
        margin-bottom: 32px;
    }
    .features, .plans, .payments {
        padding: 50px 0;
    }
    .features-grid, .plans-grid, .payment-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .feature-card, .plan-card, .payment-card {
        padding: 22px 18px;
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.35);
        transform: none;
    }
    .feature-card i {
        font-size: 2.4rem;
        margin-bottom: 12px;
    }
    .feature-card h3 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    .feature-card p {
        font-size: 0.95rem;
        line-height: 1.55;
    }
    .plan-header h3 {
        font-size: 1.2rem;
    }
    .price {
        font-size: 1.8rem;
    }
    .ribbon {
        top: -10px;
        padding: 2px 10px;
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    nav ul { gap: 8px; }
    nav a { font-size: 0.9rem; }
    .btn-nav { padding: 6px 15px; }
    .hero-content h2 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .btn-main { padding: 12px 30px; font-size: 0.95rem; }
    .features-grid, .plans-grid, .payment-grid { grid-template-columns: 1fr; gap: 20px; }
    footer { padding: 50px 0 20px; }
}


/* Login Modal */
.login-modal-overlay {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.login-modal-content {
    background-color: var(--bg-card);
    margin: 10% auto;
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: slideUp 0.3s;
}

.close-login-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-login-modal:hover,
.close-login-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.auth-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-header h2 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.auth-forgot-line {
    margin-top: 8px;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.recover-password-wrap {
    display: none;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    text-align: left;
}

.recover-password-wrap.show {
    display: block;
}

.recover-password-note {
    color: #b8b8b8;
    font-size: 0.82rem;
    margin: 0 0 10px;
}

.recover-password-form .form-input {
    margin-bottom: 10px;
}

.btn-submit.btn-recover-submit {
    margin-top: 0;
}

.recover-password-msg {
    margin-top: 8px;
    font-size: 0.85rem;
    display: none;
}

.recover-password-msg.success {
    color: #2ecc71;
}

.recover-password-msg.error {
    color: #e74c3c;
}

.auth-mode-back {
    display: inline-block;
    margin-top: 8px;
    color: #b7b7b7;
    font-size: 0.82rem;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 10px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
}

.form-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.remember-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -2px 0 12px;
}

.remember-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
    margin: 0;
}

.remember-wrap label {
    margin: 0;
    color: #e2e2e2;
    font-size: 1rem;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #d4af37, #f1c40f);
    color: #000;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.error-msg {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: none;
}

/* Mobile overrides (final pass) */
@media (max-width: 768px) {
    .nav-links {}
    .plan-controls label {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .plan-controls select {
        width: 100%;
        max-width: 100%;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .logo h1 { font-size: 1.5rem; }
    nav ul { gap: 8px; }
    nav a { font-size: 0.9rem; }
    .btn-nav { padding: 6px 15px; }
    .hero-content h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
    .btn-main { padding: 15px 40px; font-size: 1rem; width: 80%; }
    .features-grid, .plans-grid, .payment-grid { grid-template-columns: 1fr; gap: 25px; }
    .plan-card, .feature-card, .payment-card { padding: 25px 20px; }
    .plan-header h3 { font-size: clamp(1.2rem, 5vw, 1.4rem); }
    .price { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .plan-controls { padding: 10px; }
    .plan-controls label { font-size: 0.9rem; }
    .plan-controls select { width: 100%; max-width: 100%; }
    footer { padding: 50px 0 20px; }
    .footer-logo h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
    .hours-time { font-size: clamp(1rem, 5vw, 1.2rem); }
    .section-title {
        margin-bottom: 26px;
    }
    .features-grid, .plans-grid, .payment-grid {
        gap: 18px;
    }
    .feature-card, .plan-card, .payment-card {
        padding: 20px 16px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    }
    .feature-card i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .feature-card h3 {
        font-size: 1.15rem;
    }
    .feature-card p {
        font-size: 0.92rem;
    }
    .plan-header h3 {
        font-size: 1.1rem;
    }
    .price {
        font-size: 1.6rem;
    }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* CENTRAR SECCIÓN PROMOCIONES */
#promociones {
    text-align: center;
}

/* Centrar el título */
#promociones h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Centrar las cards dentro del grid */
#promociones .plans-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}


/* ==========================================
   PEGAR ESTE BLOQUE en el <style> de tu panel HTML
   justo después de .btn-reduce:hover { ... }
   ========================================== */

/* Ticket Glow */
.btn-ticket:hover {
    background: linear-gradient(135deg, #00b894, #00cec9);
    box-shadow: 0 8px 20px -4px rgba(0, 184, 148, 0.6);
    color: white;
}

/* Ajustar el grid de acciones para el nuevo botón (ahora son 7 botones) */
/* Si tienes esta regla en tu CSS, actualízala así:        */
.actions-cell {
    display: grid;
    grid-template-columns: repeat(4, 36px);  /* fila de 4 */
    gap: 6px;
    justify-content: start;
}

.domain-results-modal {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(76, 175, 122, 0.2), rgba(2, 5, 4, 0.9) 45%), rgba(2, 5, 4, 0.84);
    backdrop-filter: blur(9px);
    z-index: 10020;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.domain-results-modal.show {
    display: flex;
}

.domain-results-dialog {
    width: min(636px, 100%);
    height: min(86vh, 760px);
    background: linear-gradient(180deg, #101714, #0d1210);
    border: 1px solid rgba(76, 175, 122, 0.42);
    border-radius: 20px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.domain-results-title {
    padding: 15px 56px 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(180deg, rgba(76, 175, 122, 0.14), rgba(76, 175, 122, 0.03));
}

.domain-results-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e3fff0;
    background: rgba(22, 52, 38, 0.65);
    border: 1px solid rgba(112, 216, 153, 0.36);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.72rem;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.domain-results-title h3 {
    font-size: 1.32rem;
    margin-bottom: 3px;
    color: #f4fff8;
}

.domain-results-title p {
    font-size: 0.88rem;
    color: #b4c2ba;
}

.domain-results-close {
    position: absolute;
    top: 11px;
    right: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(10, 16, 13, 0.7);
    color: #e0ece5;
    font-size: 1.8rem;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.domain-results-close:hover {
    color: #fff;
    border-color: rgba(112, 216, 153, 0.45);
    background: rgba(18, 32, 25, 0.86);
}

.domain-results-frame-wrap {
    position: relative;
    flex: 1;
    min-height: 0;
}

.domain-results-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ddf5e6;
    font-size: 0.92rem;
    background: linear-gradient(180deg, rgba(8, 13, 11, 0.82), rgba(8, 13, 11, 0.92));
    z-index: 2;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.domain-results-modal.ready .domain-results-loading {
    opacity: 0;
    visibility: hidden;
}

.domain-loader-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #6dd89c;
    box-shadow: 0 0 0 0 rgba(109, 216, 156, 0.5);
    animation: domainPulse 1.3s infinite;
}

#domain-results-frame {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #0a0e0c;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .domain-results-modal {
        padding: 10px;
    }
    .domain-results-dialog {
        height: 92vh;
        border-radius: 14px;
    }
}

@keyframes domainPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(109, 216, 156, 0.45);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(109, 216, 156, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(109, 216, 156, 0);
    }
}
