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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    color: #333;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.page {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    padding: 0;
    margin: 0;
}

.container {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    border-radius: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    box-shadow: none;
    margin: 0;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem 5%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(13, 71, 161, 0.1);
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav a.active {
    color: #0D47A1;
    font-weight: 600;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0D47A1;
    transition: width 0.3s ease;
}

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

.logo {
    font-weight: bold;
    color: #0D47A1;
    margin-left: auto;
    margin-right: auto;
}

.logo-img {
    height: 40px;
    width: auto;
}

.btn-contact {
    background: #0D47A1;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(13, 71, 161, 0.2);
}

.btn-contact:hover {
    background: #083c8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(13, 71, 161, 0.3);
}

/* Hero Section */
.plans-hero {
    text-align: center;
    padding: 120px 5% 60px;
    animation: fadeInUp 0.8s ease;
}

.plans-hero h1 {
    font-size: 2.8rem;
    color: #0D47A1;
    margin-bottom: 1rem;
    font-weight: 700;
}

.plans-hero .subtitle {
    font-size: 1.2rem;
    color: #546e7a;
    font-weight: 400;
}

/* Plans Container */
.plans-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    animation: fadeIn 0.8s ease 0.2s backwards;
}

/* Plan Card */
.plan-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 8px 24px rgba(13, 71, 161, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    animation: scaleIn 0.6s ease backwards;
}

.plan-card:nth-child(1) { animation-delay: 0.1s; }
.plan-card:nth-child(2) { animation-delay: 0.2s; }
.plan-card:nth-child(3) { animation-delay: 0.3s; }

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(13, 71, 161, 0.15);
    border-color: #0D47A1;
}

/* Plan Badge */
.plan-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: #0D47A1;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(13, 71, 161, 0.3);
}

.plan-badge.premium {
    background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
}

/* Plan Header */
.plan-header h2 {
    color: #0D47A1;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 15px;
}

.plan-price .currency {
    font-size: 1.5rem;
    color: #546e7a;
    font-weight: 600;
}

.plan-price .amount {
    font-size: 3.5rem;
    color: #0D47A1;
    font-weight: 700;
    margin: 0 5px;
}

.plan-price .period {
    font-size: 1rem;
    color: #78909c;
}

.plan-description {
    color: #546e7a;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Plan Features */
.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #37474f;
    font-size: 0.95rem;
}

.plan-features i {
    color: #0D47A1;
    font-size: 1.2rem;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Plan Button */
.plan-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: #0D47A1;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2);
}

.plan-button:hover {
    background: #083c8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.3);
}

.plan-note {
    text-align: center;
    color: #78909c;
    font-size: 0.85rem;
    margin-top: 15px;
    font-style: italic;
}

/* Destacar plan popular */
.plan-card.basic {
    border: 3px solid #0D47A1;
    transform: scale(1.05);
}

.plan-card.basic .plan-badge {
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Comparison Section */
.comparison-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px 5%;
    text-align: center;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(13, 71, 161, 0.08);
}

.comparison-section h2 {
    color: #0D47A1;
    font-size: 2rem;
    margin-bottom: 15px;
}

.comparison-section p {
    color: #546e7a;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-secondary {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: #0D47A1;
    border: 2px solid #0D47A1;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: #0D47A1;
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    font-weight: 600;
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    border-top: 2px solid rgba(13, 71, 161, 0.1);
    font-size: 0.9rem;
    color: #546e7a;
    background: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .plans-container {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .plan-card.basic {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 3%;
    }

    .nav {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .btn-contact {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .plans-hero {
        padding: 100px 5% 40px;
    }

    .plans-hero h1 {
        font-size: 2rem;
    }

    .plans-hero .subtitle {
        font-size: 1rem;
    }

    .plan-card {
        padding: 30px 20px;
    }

    .plan-header h2 {
        font-size: 1.5rem;
    }

    .plan-price .amount {
        font-size: 2.8rem;
    }

    .footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 0.5rem;
        font-size: 0.75rem;
        flex-wrap: wrap;
    }

    .plans-hero h1 {
        font-size: 1.6rem;
    }

    .plans-hero .subtitle {
        font-size: 0.9rem;
    }

    .plan-price .amount {
        font-size: 2.4rem;
    }

    .comparison-section h2 {
        font-size: 1.5rem;
    }

    .comparison-section p {
        font-size: 0.95rem;
    }
}
