:root {
    --primary: #0d6efd;
    --primary-dark: #084298;
}

.hero-parallax {
    height: 100vh;
    background: url('../images/portada.jpg') center/cover no-repeat fixed;
    position: relative;
    z-index: 1;
}

.hero-parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

#typewriter {
    white-space: nowrap;
    overflow: hidden;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Sección general */
.planes-section {
    padding: 60px 20px;
}

.container-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    align-items: start;
}

/* Columna Plan */
.plan-column .tag {
    display: inline-block;
    background: linear-gradient(45deg, #007bff, #00b4d8);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.plan-column .title {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0;
}

.plan-column .subtitle {
    color: #666;
    margin-bottom: 25px;
}

.plan-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.plan-header {
    background: linear-gradient(90deg, #007bff, #00b4d8);
    color: #fff;
    padding: 20px;
    font-size: 22px;
    font-weight: 600;
}

.plan-body {
    padding: 25px;
}

.price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.duration {
    background: #f1f3f5;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.price h3 {
    color: #007bff;
    font-size: 28px;
    margin: 0;
}

.price small {
    display: block;
    color: #999;
}

.discount {
    background: #e6f9ec;
    color: #28a745;
    padding: 10px;
    border-radius: 8px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Columna Auth */
.auth-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    padding: 40px;
    overflow: hidden;
    position: relative;
    min-height: 420px;
}

.forms-container {
    position: relative;
}

.form {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.9);
    transition: all 0.6s ease;
}

.form.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.register-form {
    transform: translateX(-100%) scale(0.9);
}

.form h3 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.form input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.form p {
    text-align: center;
    margin-top: 15px;
}

.form a {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
}

.form a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 26px;
    }

    .auth-box {
        padding: 30px;
    }
}