/* === RESET Y VARIABLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37;
    --secondary-color: #fce4ec;
    --dark-color: #2c3e50;
    --light-color: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === NAVBAR === */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-nav {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-primary-nav {
    background: var(--primary-color);
    color: white !important;
}

.btn-primary-nav:hover {
    background: #b8941f;
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* === HERO === */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 1200"><path d="M0,0 L1200,0 L1200,1200 L0,1200 Z" fill="none"/><circle cx="200" cy="200" r="100" fill="rgba(255,255,255,0.05)"/><circle cx="1000" cy="800" r="150" fill="rgba(255,255,255,0.05)"/><circle cx="600" cy="400" r="80" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === BOTONES === */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #b8941f;
    border-color: #b8941f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--dark-color);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* === SECCIONES === */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* === BENEFICIOS === */
.beneficios {
    background: #f8f9fa;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.beneficio-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.beneficio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.beneficio-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.beneficio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.beneficio-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* === CARACTERÍSTICAS === */
.caracteristicas {
    background: white;
}

.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #b8941f 100%);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem;
    box-shadow: var(--shadow-lg);
}

/* === PRECIOS === */
.precios {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.precios .section-header h2 {
    color: white;
}

.precios .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.precios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.precio-card {
    background: white;
    color: var(--text-color);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.precio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.precio-card.popular {
    transform: scale(1.05);
    border: 3px solid var(--primary-color);
}

.precio-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-nombre {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.plan-precio {
    margin: 2rem 0;
}

.precio-moneda {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--primary-color);
}

.precio-valor {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-descripcion {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.plan-caracteristicas {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.plan-caracteristicas li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.plan-caracteristicas li:last-child {
    border-bottom: none;
}

/* === TESTIMONIOS === */
.testimonios {
    background: #f8f9fa;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonio-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonio-stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonio-texto {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonio-autor {
    display: flex;
    flex-direction: column;
}

.testimonio-autor strong {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.testimonio-autor span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* === CTA FINAL === */
.cta-final {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b8941f 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-final .btn-primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-final .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* === FOOTER === */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* === REGISTRO === */
.registro-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.registro-container {
    width: 100%;
    max-width: 500px;
}

.registro-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.registro-header {
    text-align: center;
    margin-bottom: 2rem;
}

.registro-header h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.registro-header p {
    color: var(--text-light);
}

.plan-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}

.plan-info h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.plan-info p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.registro-form .form-group {
    margin-bottom: 1.5rem;
}

.registro-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.registro-form input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.registro-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.registro-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.registro-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* === ALERTAS === */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .feature-item,
    .feature-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .feature-image {
        order: -1;
    }

    .mockup {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .precio-card.popular {
        transform: scale(1);
    }

    .precio-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 4rem 0;
    }

    .registro-box {
        padding: 2rem 1.5rem;
    }
}