/* Pricing Packages Styles */
.pricing-section {
    background: linear-gradient(135deg, #FFAA17 0%, #f09800 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="20" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.pricing-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: "Oswald", sans-serif;
    animation: fadeInDown 0.8s ease-out;
}

.pricing-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: "Rubik", sans-serif;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.pricing-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    transform: scale(1.05);
    animation: pulse 2s infinite;
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 123, 255, 0.4);
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 12px 15px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    animation: badge-glow 2s ease-in-out infinite;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.pricing-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 30px;
    animation: badge-shine 3s infinite;
}

.pricing-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #FFAA17, #f09800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    position: relative;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(255, 170, 23, 0.3);
}

.pricing-card.featured .pricing-icon {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    color: #FFAA17;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.pricing-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Oswald", sans-serif;
    color: #222429;
}

.pricing-card.featured .pricing-name {
    color: white;
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    font-family: "Oswald", sans-serif;
    color: #222429;
}

.pricing-card.featured .pricing-price {
    color: white;
}

.pricing-price .currency {
    font-size: 24px;
    vertical-align: super;
    margin-right: 5px;
    font-weight: 600;
}

.pricing-price .period {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.8;
    margin-left: 5px;
    font-family: "Rubik", sans-serif;
}

.pricing-description {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 30px;
    line-height: 1.5;
    font-family: "Rubik", sans-serif;
    color: #686A6F;
}

.pricing-card.featured .pricing-description {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-features {
    text-align: left;
    margin-bottom: 35px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.pricing-features li:hover {
    padding-left: 10px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    margin: 0 -10px;
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured .pricing-features li:hover {
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background: linear-gradient(135deg, #FFAA17, #f09800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 170, 23, 0.3);
}

.feature-icon::before {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.pricing-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.pricing-card.featured .feature-icon::before {
    color: #FFAA17;
}

.feature-text {
    font-size: 14px;
    line-height: 1.4;
    font-family: "Rubik", sans-serif;
    color: #686A6F;
}

.pricing-card.featured .feature-text {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-cta {
    width: 100%;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.pricing-cta:hover::before {
    width: 300px;
    height: 300px;
}

.pricing-card:not(.featured) .pricing-cta {
    background: linear-gradient(135deg, #FFAA17, #f09800);
    color: #212529;
    font-weight: 600;
    font-family: "Rubik", sans-serif;
    border: 2px solid #FFAA17;
}

.pricing-card:not(.featured) .pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 170, 23, 0.4);
    background: linear-gradient(135deg, #f09800, #e39000);
}

.pricing-card.featured .pricing-cta {
    background: white;
    color: #FFAA17;
    font-weight: 600;
    font-family: "Rubik", sans-serif;
    border: 2px solid #fff;
}

.pricing-card.featured .pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
    background: #f8f9fa;
    color: #f09800;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 0 20px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6), 0 0 30px rgba(255, 107, 53, 0.5);
    }
}

@keyframes badge-shine {
    0% {
        transform: translateX(-100%);
    }
    50%, 100% {
        transform: translateX(100%);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .pricing-container {
        max-width: 1000px;
    }
    
    .pricing-card {
        padding: 35px 25px;
    }
}

@media (max-width: 992px) {
    .pricing-section {
        padding: 70px 0;
    }
    
    .pricing-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        max-width: 900px;
    }
    
    .pricing-card.featured {
        transform: scale(1.02);
    }
    
    .pricing-card.featured:hover {
        transform: scale(1.05) translateY(-10px);
    }
    
    .pricing-badge {
        top: -18px;
        right: 15px;
        padding: 10px 20px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 50px 0 40px 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        position: relative;
    }
    
    .pricing-header {
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .pricing-title {
        font-size: 32px;
        margin-bottom: 12px;
        line-height: 1.2;
        font-weight: 700;
    }
    
    .pricing-subtitle {
        font-size: 15px;
        padding: 0 10px;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .pricing-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .pricing-card {
        padding: 30px 20px;
        margin: 0;
        max-width: 100%;
        width: 100%;
        border-radius: 15px;
        order: 2;
    }
    
    .pricing-card.featured {
        transform: scale(1);
        order: 1;
        margin: 10px 0 15px 0;
        padding: 35px 20px;
    }
    
    .pricing-card:first-child {
        order: 0;
    }
    
    .pricing-card.featured:hover {
        transform: scale(1.02) translateY(-5px);
    }
    
    .pricing-card:hover {
        transform: translateY(-5px);
    }
    
    .pricing-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .pricing-price {
        font-size: 36px;
        margin-bottom: 6px;
        line-height: 1;
    }
    
    .pricing-name {
        font-size: 22px;
        margin-bottom: 10px;
        line-height: 1.2;
    }
    
    .pricing-description {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .pricing-features {
        margin-bottom: 25px;
    }
    
    .pricing-features ul {
        padding: 0;
        margin: 0;
    }
    
    .pricing-features li {
        padding: 10px 0;
        font-size: 13px;
        line-height: 1.4;
        align-items: flex-start;
    }
    
    .feature-icon {
        width: 16px;
        height: 16px;
        margin-right: 8px;
        margin-top: 2px;
        flex-shrink: 0;
    }
    
    .pricing-cta {
        padding: 14px 20px;
        font-size: 14px;
        font-weight: 600;
        width: 100%;
        border-radius: 25px;
    }
    
    .pricing-badge {
        top: -12px;
        right: 50%;
        transform: translateX(50%);
        padding: 6px 15px;
        font-size: 10px;
        letter-spacing: 0.8px;
        border-radius: 20px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .pricing-section {
        padding: 40px 0 30px 0;
    }
    
    .pricing-header {
        margin-bottom: 35px;
        padding: 0 10px;
    }
    
    .pricing-title {
        font-size: 28px;
        line-height: 1.1;
        margin-bottom: 10px;
    }
    
    .pricing-subtitle {
        font-size: 14px;
        line-height: 1.4;
        padding: 0 5px;
    }
    
    .pricing-container {
        padding: 0 10px;
        gap: 15px;
    }
    
    .pricing-card {
        padding: 25px 15px;
        max-width: 100%;
        width: 100%;
        border-radius: 12px;
    }
    
    .pricing-card.featured {
        margin: 8px 0 12px 0;
        padding: 30px 15px;
    }
    
    .pricing-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .pricing-price {
        font-size: 32px;
        margin-bottom: 5px;
    }
    
    .pricing-name {
        font-size: 20px;
        margin-bottom: 8px;
        line-height: 1.1;
    }
    
    .pricing-description {
        font-size: 13px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .pricing-features {
        margin-bottom: 20px;
    }
    
    .pricing-features li {
        padding: 8px 0;
        font-size: 12px;
        line-height: 1.3;
        align-items: flex-start;
    }
    
    .feature-icon {
        width: 14px;
        height: 14px;
        margin-right: 6px;
        margin-top: 1px;
        flex-shrink: 0;
    }
    
    .feature-icon::before {
        font-size: 10px;
    }
    
    .pricing-cta {
        padding: 12px 15px;
        font-size: 13px;
        font-weight: 600;
        width: 100%;
        border-radius: 20px;
    }
    
    .pricing-badge {
        top: -10px;
        padding: 5px 12px;
        font-size: 9px;
        letter-spacing: 0.6px;
        border-radius: 15px;
        white-space: nowrap;
    }
}

@media (max-width: 360px) {
    .pricing-section {
        padding: 35px 0 25px 0;
    }
    
    .pricing-header {
        margin-bottom: 30px;
        padding: 0 8px;
    }
    
    .pricing-title {
        font-size: 24px;
        line-height: 1.1;
        margin-bottom: 8px;
    }
    
    .pricing-subtitle {
        font-size: 13px;
        line-height: 1.3;
        padding: 0 3px;
    }
    
    .pricing-container {
        padding: 0 8px;
        gap: 12px;
    }
    
    .pricing-card {
        padding: 20px 12px;
        border-radius: 10px;
    }
    
    .pricing-card.featured {
        margin: 6px 0 10px 0;
        padding: 25px 12px;
    }
    
    .pricing-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .pricing-price {
        font-size: 28px;
        margin-bottom: 4px;
    }
    
    .pricing-name {
        font-size: 18px;
        margin-bottom: 6px;
        line-height: 1.1;
    }
    
    .pricing-description {
        font-size: 12px;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .pricing-features {
        margin-bottom: 15px;
    }
    
    .pricing-features li {
        padding: 6px 0;
        font-size: 11px;
        line-height: 1.2;
    }
    
    .feature-icon {
        width: 12px;
        height: 12px;
        margin-right: 5px;
        margin-top: 1px;
    }
    
    .feature-icon::before {
        font-size: 8px;
    }
    
    .pricing-cta {
        padding: 10px 12px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 18px;
    }
    
    .pricing-badge {
        top: -8px;
        padding: 4px 10px;
        font-size: 8px;
        letter-spacing: 0.5px;
        border-radius: 12px;
    }
}

/* Loading animation for cards */
.pricing-card {
    animation-delay: calc(var(--card-index) * 0.2s);
}

.pricing-card:nth-child(1) { --card-index: 0; }
.pricing-card:nth-child(2) { --card-index: 1; }
.pricing-card:nth-child(3) { --card-index: 2; }

/* Hover effects for features */
.pricing-features li {
    position: relative;
    overflow: hidden;
}

.pricing-features li::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.pricing-features li:hover::after {
    left: 100%;
}

.pricing-card.featured .pricing-features li::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}
