/* =============================================================================
   CONTACT & PRICING SECTION STYLES
   ============================================================================= */

/* Contact & Pricing Section */
.contact-pricing {
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.9) 0%, 
        rgba(240, 253, 244, 0.7) 50%, 
        rgba(249, 250, 251, 0.9) 100%);
    backdrop-filter: blur(10px);
}

/* Top Row Layout */
.top-pricing-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* Standalone Pricing Cards */
.pricing-card-standalone {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: 0 15px 50px var(--shadow-light);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card-standalone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pricing-card-standalone:hover::before {
    transform: scaleX(1);
}

.pricing-card-standalone:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 70px var(--shadow-medium);
    border-color: rgba(16, 185, 129, 0.3);
}

.pricing-card-standalone h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

/* Contact Form Card */
.contact-form-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: 0 15px 50px var(--shadow-light);
    backdrop-filter: blur(20px);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-form-card:hover::before {
    transform: scaleX(1);
}

.contact-form-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

/* Price Structure */
.price-structure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    background: rgba(16, 185, 129, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.base-fee, .per-page {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.plus {
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.4s ease-out forwards;
}

.pricing-features li:nth-child(1) { animation-delay: 0.3s; }
.pricing-features li:nth-child(2) { animation-delay: 0.4s; }
.pricing-features li:nth-child(3) { animation-delay: 0.5s; }
.pricing-features li:nth-child(4) { animation-delay: 0.6s; }

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
    animation: checkmark 0.5s ease-out forwards;
    animation-delay: inherit;
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    margin: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    box-shadow: 0 4px 20px var(--shadow-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(16, 185, 129, 0.15),
        0 0 0 4px rgba(16, 185, 129, 0.1);
    background: rgba(255, 255, 255, 1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: 'Montserrat', sans-serif;
}

.submit-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: all 0.4s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.submit-button:hover::before {
    width: 400px;
    height: 400px;
}

.submit-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 64, 64, 0.3);
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.submit-button:active {
    transform: translateY(-1px) scale(0.98);
}

/* Message Styling */
.message {
    padding: 20px 24px;
    border-radius: 16px;
    margin-bottom: 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    animation: fadeInUp 0.5s ease-out;
    backdrop-filter: blur(10px);
}

.message.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.1));
    color: #059669;
    border: 2px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.1);
}

.message.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    color: #dc2626;
    border: 2px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.1);
}

/* Hosting Section */
.hosting-section {
    background: rgba(255, 255, 255, 0.6);
    padding: 50px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hosting-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

/* Hosting Packages */
.hosting-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.hosting-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-light);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.hosting-card:nth-child(1) { animation-delay: 0.5s; }
.hosting-card:nth-child(2) { animation-delay: 0.6s; }
.hosting-card:nth-child(3) { animation-delay: 0.7s; }

.hosting-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.hosting-card:hover::before {
    transform: scaleX(1);
}

.hosting-card.support {
    border-color: rgba(16, 185, 129, 0.5);
    transform: scale(1.05) translateY(20px);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15);
    animation: fadeInUp 0.6s ease-out 0.6s forwards, popular-pulse 3s ease-in-out infinite;
}

.hosting-card.support::before {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.hosting-card.premium::before {
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.hosting-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px var(--shadow-medium);
}

.hosting-card.support:hover {
    transform: scale(1.08) translateY(-10px);
}

.hosting-card h4 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.hosting-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    animation: badge-glow 2s ease-in-out infinite;
}

.hosting-price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hosting-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hosting-card ul li {
    padding: 10px 0;
    color: var(--text-color);
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding-left: 25px;
    opacity: 0;
    transform: translateX(-10px);
    animation: slideInLeft 0.4s ease-out forwards;
}

.hosting-card ul li:nth-child(1) { animation-delay: 0.8s; }
.hosting-card ul li:nth-child(2) { animation-delay: 0.9s; }
.hosting-card ul li:nth-child(3) { animation-delay: 1s; }
.hosting-card ul li:nth-child(4) { animation-delay: 1.1s; }

.hosting-card ul li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 16px;
}

/* Animations */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes popular-pulse {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15);
    }
    50% {
        box-shadow: 0 25px 70px rgba(16, 185, 129, 0.25);
    }
}

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .top-pricing-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hosting-packages {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hosting-card.support {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hosting-section {
        padding: 30px 20px;
    }
    
    .pricing-card-standalone,
    .contact-form-card {
        padding: 30px 20px;
    }
    
    .pricing-card-standalone h3,
    .contact-form-card h3 {
        font-size: 24px;
    }
    
    .hosting-title {
        font-size: 28px;
    }
    
    .hosting-card {
        padding: 30px 20px;
    }
    
    .hosting-price {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .pricing-card-standalone,
    .contact-form-card,
    .hosting-card {
        padding: 25px 15px;
    }
    
    .price-structure {
        flex-direction: column;
        gap: 5px;
        font-size: 16px;
    }
    
    .hosting-card h4 {
        font-size: 22px;
    }
    
    .hosting-price {
        font-size: 24px;
    }
}