/* Packages Page Styling */

/* Header Styling */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand .logo {
    width: 50px;
    height: 50px;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4f46e5;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.1);
}

.nav-link.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    font-weight: 600;
}

.nav-link.btn-primary:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 15px;
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.billing-label {
    font-weight: 600;
    color: #374151;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4f46e5;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.savings-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Package Cards */
.package-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.package-card.popular {
    border-color: #4f46e5;
    transform: scale(1.05);
}

.package-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.package-card.collective {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.package-card.collective .package-header h3,
.package-card.collective .feature-list .check {
    color: white;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 15px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Package Header */
.package-header {
    text-align: center;
    margin-bottom: 2rem;
}

.package-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 0.5rem;
}

.package-icon {
    font-size: 3rem;
    margin: 1rem 0;
}

.package-subtitle {
    color: #666;
    font-size: 0.9rem;
}

/* Package Price */
.package-price {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #4f46e5;
}

.price-period {
    font-size: 1rem;
    color: #666;
    margin-left: 0.5rem;
}

.savings {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

.user-count {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.package-card.collective .user-count {
    color: rgba(255, 255, 255, 0.8);
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.check, .cross {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.check {
    background: #10b981;
    color: white;
}

.cross {
    background: #ef4444;
    color: white;
}

/* Package Buttons */
.btn-package {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-free {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    border: 2px solid #4f46e5;
}

.btn-free:hover {
    background: #4f46e5;
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: translateY(-2px);
}

.btn-premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.btn-premium:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
}

.btn-collective {
    background: white;
    color: #4f46e5;
    border: 2px solid white;
}

.btn-collective:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Special Offers */
.special-offers {
    background: rgba(79, 70, 229, 0.05);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.special-offers h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 2rem;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.offer-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-3px);
}

.offer-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.offer-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 0.5rem;
}

.offer-card p {
    color: #666;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 3rem;
}

.faq-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #4f46e5;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer Styling */
.footer {
    background: rgba(79, 70, 229, 0.05);
    border-top: 1px solid rgba(79, 70, 229, 0.1);
    margin-top: 4rem;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
}

.footer-brand span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4f46e5;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #4f46e5;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(79, 70, 229, 0.1);
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.monthly {
    display: inline;
}

.annual {
    display: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem 0;
    }

    .nav-brand h1 {
        font-size: 1.5rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .package-card.popular {
        transform: none;
    }

    .package-card.popular:hover {
        transform: translateY(-5px);
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .special-offers {
        padding: 2rem;
    }

    .billing-toggle {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-nav {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.8rem 0;
    }

    .nav-brand .logo {
        width: 40px;
        height: 40px;
    }

    .nav-brand h1 {
        font-size: 1.3rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .package-card {
        padding: 1.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .package-icon {
        font-size: 2.5rem;
    }

    .offer-card {
        padding: 1.5rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .footer {
        padding: 2rem 0 1.5rem;
        margin-top: 3rem;
    }

    .footer-nav {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .footer-brand span {
        font-size: 1.1rem;
    }
}