:root {
    --bg-primary: #000000;
    --bg-secondary: #0A0A0A;
    --accent-primary: #00FF66;
    --accent-secondary: #00CC52;
    --success-color: #00FF66;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: #FFFFFF;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.logo-img {
    height: 180px;
    width: auto;
    object-fit: contain;
}

nav a {
    color: #000000;
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--accent-secondary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 255, 102, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 16rem 5% 4rem; /* Gran espacio en desktop para esquivar la barra blanca gigante */
    position: relative;
    overflow: hidden;
    gap: 4rem;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.3) 100%), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Background glowing orbs */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(31, 130, 78, 0.15) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 102, 0.1) 0%, transparent 60%);
    bottom: -150px;
    right: 5%;
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content h1 span {
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    font-size: 0.95rem;
    color: #CBD5E1;
    font-weight: 400;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 255, 102, 0.3);
    animation: rotate 30s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.glass-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    transform: rotateY(-5deg) rotateX(5deg);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--success-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateY(-5deg) rotateX(5deg); }
    50% { transform: translateY(-20px) rotateY(-5deg) rotateX(5deg); }
}

.step-indicator {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.4s ease;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.step-indicator:last-child {
    margin-bottom: 0;
}

.step-indicator.active {
    background: rgba(0, 255, 102, 0.1);
    border-color: rgba(0, 255, 102, 0.3);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

section {
    scroll-margin-top: 240px; /* Evita que la barra tape los títulos al hacer click en el menú */
}

/* How it works */
.how-it-works {
    padding: 6rem 5%;
    background-color: var(--bg-secondary);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 5rem;
    font-weight: 700;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-primary);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(0, 255, 102, 0.3);
}

.icon-container i {
    width: 32px;
    height: 32px;
}

.icon-container {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 20px rgba(0, 255, 102, 0.25);
    color: white;
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.step-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 13rem; /* Espacio crítico en celular para no tapar los textos */
    }
    
    .cta-group {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        text-align: center;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-top: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.15;
    }
    
    .hero-visual {
        margin-top: 2rem;
        width: 100%;
    }
}

/* Modal Styles Minimalistas */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    width: 90%;
    max-width: 550px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 255, 102, 0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-icon {
    color: var(--accent-primary);
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.modern-form .form-group {
    margin-bottom: 1.5rem;
}

.modern-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    width: 20px;
    height: 20px;
}

.input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 255, 102, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.btn-full {
    width: 100%;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.btn-full i {
    width: 20px;
    height: 20px;
}

.secure-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--success-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.secure-note i {
    width: 16px;
    height: 16px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1001;
    transition: all 0.3s ease;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

/* Requirements Section */
.requirements-section {
    padding: 3rem 5%;
    background-color: var(--bg-primary);
    border-top: 1px dashed rgba(0, 255, 102, 0.15);
    border-bottom: 1px dashed rgba(0, 255, 102, 0.15);
    position: relative;
    overflow: hidden;
}

.requirements-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 102, 0.05) 0%, transparent 60%);
    transform: translateX(-50%);
    z-index: 0;
}

.requirements-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.requirements-container h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.req-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.req-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 102, 0.3);
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.05);
}

.req-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 102, 0.8);
    box-shadow: 0 5px 25px rgba(0, 255, 102, 0.25);
    background: rgba(0, 255, 102, 0.05);
}

.req-item i {
    color: var(--accent-primary);
    width: 32px;
    height: 32px;
}

.req-item span {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-main);
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 5%;
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.benefits-container h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--text-main);
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background: var(--bg-primary);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 102, 0.4);
    box-shadow: 0 10px 40px rgba(0, 255, 102, 0.1);
}

.benefit-card i {
    color: var(--accent-primary);
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.benefit-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Footer Legal (Optimizado para móvil) */
.footer-legal {
    background-color: #FFFFFF; /* Matches top navbar */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 4rem 5% 2rem;
    text-align: center;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.logo-img-footer {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #1E293B;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.footer-separator {
    color: rgba(0, 0, 0, 0.15);
}

.copyright {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.6;
    max-width: 800px;
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    .logo-img {
        height: 120px;
    }
}

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-separator {
        display: none;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .navbar .btn-primary {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    .logo-img {
        height: 100px;
        max-width: 65%;
    }
    
    /* Meta Ads Premium CRO Typography (Mobile Scale) */
    .hero-content h1 {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 0.8rem;
    }
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    .how-it-works h2, .requirements-container h2, .benefits-container h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    .step-card h3, .benefit-card h3 {
        font-size: 1.15rem;
    }
    .step-card p, .benefit-card p {
        font-size: 0.95rem;
    }
    .req-item span {
        font-size: 0.95rem;
    }
    .btn-large {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    .card-header {
        font-size: 0.8rem;
    }
    .step-indicator {
        padding: 1rem;
        font-size: 0.85rem;
    }
}
