html {
    font-size: 90%;
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #07090F;
    --bg-card: rgba(15, 23, 42, 0.6);
    --primary-cyan: #00F2FE;
    --primary-green: #6EE853;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border-glass: rgba(0, 242, 254, 0.2);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(0, 242, 254, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(110, 232, 83, 0.05) 0%, transparent 25%);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- NAVBAR ---- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 9, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    flex-shrink: 0;
}
.logo .mr { color: var(--text-main); }
.logo .oficio {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
    text-decoration: none;
}
.nav-links a:hover { color: var(--text-main); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ---- BUTTONS ---- */
a { text-decoration: none; }

.btn-primary, .btn-primary-outline, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-green));
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(110, 232, 83, 0.45);
}

.btn-primary-outline {
    background: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
}
.btn-primary-outline:hover { background: rgba(0, 242, 254, 0.1); }

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

/* ---- SECTIONS ---- */
section { padding: 6rem 5%; }
.container { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-cyan);
    margin-bottom: 0.75rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
}

/* ---- HERO ---- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    min-height: 90vh;
    padding-top: 7rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease both;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.hero > .hero-content > p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    animation: fadeInUp 0.7s ease 0.4s both;
}
.stat { text-align: left; }
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.3s both;
}

.hero-image img {
    max-width: 70%;
    height: auto;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(0, 242, 254, 0.3));
    border-radius: 20px;
}

.glow-effect {
    position: absolute;
    width: 380px; height: 380px;
    background: radial-gradient(circle, var(--primary-cyan) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(70px);
    z-index: 1;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.glow-green {
    background: radial-gradient(circle, var(--primary-green) 0%, transparent 70%);
    opacity: 0.1;
    width: 250px; height: 250px;
    top: 60%; left: 30%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---- FEATURES CARDS ---- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}
.glass-card.active {
    opacity: 1;
    transform: translateY(0);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}
.glass-card:hover::before { left: 150%; }
.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

.card-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.glass-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.glass-card p { color: var(--text-muted); line-height: 1.7; }

/* ---- HOW IT WORKS ---- */
.how-it-works { background: rgba(255,255,255,0.01); }

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.step {
    flex: 1;
    min-width: 220px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.step.active { opacity: 1; transform: translateY(0); }

.step-number {
    width: 3.75rem; height: 3.75rem;
    background: rgba(110, 232, 83, 0.1);
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 0 20px rgba(110, 232, 83, 0.2);
}

.step h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.step p { color: var(--text-muted); }

.step-connector {
    flex: 0.15;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-cyan));
    margin-top: 30px;
    opacity: 0.4;
    min-width: 40px;
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.testimonial-stars { color: #facc15; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card > p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.author-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ---- PRICING ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 3rem 2.5rem;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.price span:first-child {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.price span:last-child {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    min-height: 48px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-main);
}

.pricing-features li.disabled {
    color: var(--text-muted);
    opacity: 0.6;
}

.pricing-features .check {
    color: var(--primary-green);
    font-weight: bold;
}

.pricing-features .cross {
    color: #ef4444;
    font-weight: bold;
}

.pricing-btn {
    width: 100%;
    margin-top: auto;
}

.pricing-card.featured {
    border-color: var(--primary-cyan);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(0, 242, 254, 0.05) 100%);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.1);
    overflow: visible;
}

.featured-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-green));
    color: #000;
    padding: 0.35rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ---- FOOTER ---- */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 5%;
    text-align: center;
    background: #04060A;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary-cyan); }

.footer-copy {
    color: rgba(148, 163, 184, 0.5);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: all 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 68px; left: 0;
        width: 100%;
        background: rgba(7, 9, 15, 0.97);
        backdrop-filter: blur(12px);
        padding: 2rem 5%;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        z-index: 99;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
        min-height: auto;
        padding-bottom: 4rem;
    }
    .hero h1 { font-size: 2.4rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image { width: 100%; }

    .section-title { font-size: 2rem; }

    .step-connector { display: none; }
    .steps-container { flex-direction: column; align-items: center; }

    .form-group {
        flex-direction: column;
        border-radius: 16px;
        padding: 1rem;
        gap: 0.75rem;
    }
    .form-group .btn-primary { border-radius: 50px; }

    .waitlist-inner { padding: 3rem 1.5rem; }
    .waitlist-inner h2 { font-size: 1.9rem; }
}

/* ---- PARA QUIEN ---- */
.rubro-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 50px;
    padding: 0.45rem 1.05rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    cursor: default;
}
.rubro-chip:hover {
    background: rgba(0,242,254,0.07);
    border-color: rgba(0,242,254,0.25);
    color: var(--text-main);
}

/* ---- FAQ ---- */
.faq-section { background: rgba(255,255,255,0.01); }
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(0,242,254,0.35); }
.faq-item summary {
    padding: 1.4rem 1.5rem;
    font-weight: 600;
    font-size: 1.15rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    user-select: none;
    transition: color 0.2s;
}
.faq-item summary:hover { color: var(--primary-cyan); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-cyan);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    font-weight: 300;
    line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > p {
    padding: 0 1.5rem 1.4rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.1rem;
}
.faq-item > .faq-reqs {
    margin: 0;
    padding: 0 1.5rem 1.4rem 3.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.1rem;
    list-style: disc;
    list-style-position: outside;
}
.faq-item > .faq-reqs li { margin-bottom: 0.4rem; }
.faq-item > .faq-reqs li:last-child { margin-bottom: 0; }
.faq-item > .faq-reqs li::marker { color: var(--primary-cyan); }
.faq-item > .faq-reqs strong { color: inherit; font-weight: 600; }

/* ---- CONTACTO ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}
.contact-input {
    background: rgba(15,23,42,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    width: 100%;
    transition: border-color 0.3s;
}
.contact-input:focus { border-color: var(--primary-cyan); }
.contact-input::placeholder { color: var(--text-muted); }
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: #fff;
    padding: 0.9rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-body);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.45);
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
