/* ========================================
   PROFESSIONAL ENHANCEMENTS FOR BLUE MESSAGGIO
   SMS & Messaging Services Company
   ======================================== */

/* ===== 1. TRUST BADGES & CREDIBILITY ===== */
.trust-indicators {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.trust-badge i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.trust-badge-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 3px 0;
}

.trust-badge-content p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* ===== 2. STATS COUNTER SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--highlight) 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* ===== 3. ENHANCED CTA SECTIONS ===== */
.cta-banner {
    background: linear-gradient(135deg, #0a2647 0%, var(--secondary-color) 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
}

.btn-cta-primary {
    background: white;
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
    background: var(--logo-yellow);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* ===== 4. TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-header-center h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header-center p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 4rem;
    color: var(--logo-yellow);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--highlight));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin: 0 0 3px 0;
    font-weight: 600;
}

.author-info p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-top: 15px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

/* ===== 5. PRICING COMPARISON TABLE ENHANCEMENT ===== */
.feature-comparison {
    background: white;
    padding: 80px 0;
}

.comparison-table-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--secondary-color), var(--highlight));
    color: white;
}

.comparison-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.comparison-table tbody tr {
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.feature-check {
    color: #28a745;
    font-size: 1.2rem;
}

.feature-cross {
    color: #dc3545;
    font-size: 1.2rem;
}

/* ===== 6. INDUSTRY USE CASES ===== */
.use-cases-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.use-case-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-left-color: var(--highlight);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(20, 66, 114, 0.1), rgba(135, 206, 235, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.use-case-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.use-case-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.use-case-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.use-case-examples {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-examples li {
    padding: 8px 0;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.use-case-examples li::before {
    content: '→';
    color: var(--secondary-color);
    font-weight: bold;
}

/* ===== 7. ENHANCED FOOTER CTA ===== */
.footer-cta {
    background: linear-gradient(135deg, #0a2647 0%, var(--secondary-color) 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.footer-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.footer-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== 8. SECURITY BADGES ===== */
.security-section {
    padding: 60px 0;
    background: white;
    border-top: 1px solid #eee;
}

.security-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.security-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.security-badge i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.security-badge h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
}

.security-badge p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {

    .stats-grid,
    .testimonials-grid,
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-badges {
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .stats-grid,
    .testimonials-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        flex-direction: column;
        gap: 20px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-header-center h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .testimonial-card {
        padding: 25px;
    }

    .use-case-card {
        padding: 25px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-item {
    animation: fadeInUp 0.6s ease-out backwards;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}