/* Landing Page Conversion Enhancements - Xyloclime Pro */
/* Testimonials, ROI, Value Proposition Styling */

/* ===================================================================
   TESTIMONIALS SECTION
   =================================================================== */

.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.97) 0%, rgba(15, 35, 55, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #00a3cc);
    opacity: 0;
    transition: opacity 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 212, 255, 0.1);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 18px;
}

.testimonial-text {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 48px;
    color: rgba(0, 212, 255, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #0088cc);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 24px;
    color: #0a1929;
}

.author-name {
    color: #00d4ff;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.author-title {
    color: #8892a0;
    font-size: 14px;
}

/* ROI Highlight */
.roi-highlight {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(0, 212, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 40px 20px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.roi-item {
    text-align: center;
    flex: 1;
}

.roi-number {
    font-size: 36px;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #00d4ff, #00a3cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.roi-label {
    font-size: 14px;
    color: #8892a0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.roi-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.3), transparent);
}

/* ===================================================================
   VALUE PROPOSITION SECTION
   =================================================================== */

.value-prop-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1929 0%, #0f2337 100%);
    position: relative;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0.8;
}

.value-card:first-child::before {
    background: linear-gradient(90deg, #ff4444, #cc0000);
}

.value-card:last-child::before {
    background: linear-gradient(90deg, #00d4ff, #00a3cc);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
}

.value-icon.bad {
    background: rgba(255, 68, 68, 0.15);
    border: 2px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
}

.value-icon.good {
    background: rgba(0, 212, 255, 0.15);
    border: 2px solid rgba(0, 212, 255, 0.3);
    color: #00d4ff;
}

.value-card h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
}

.value-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.value-list li {
    padding: 12px 0;
    color: #e0e0e0;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.value-list li:last-child {
    border-bottom: none;
}

.value-list.negative li i {
    color: #ff4444;
    flex-shrink: 0;
    margin-top: 4px;
}

.value-list.positive li i {
    color: #00d4ff;
    flex-shrink: 0;
    margin-top: 4px;
}

.value-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: rgba(0, 212, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
}

.value-calculation {
    font-size: 18px;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.value-calculation strong {
    color: #00d4ff;
    font-weight: 600;
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .roi-highlight {
        flex-wrap: wrap;
        gap: 30px;
    }

    .roi-divider {
        display: none;
    }

    .roi-item {
        flex: 0 0 calc(50% - 15px);
    }

    .value-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .testimonials-section,
    .value-prop-section {
        padding: 60px 0;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .roi-number {
        font-size: 28px;
    }

    .roi-label {
        font-size: 12px;
    }

    .roi-item {
        flex: 0 0 100%;
    }

    .value-card {
        padding: 30px;
    }

    .value-calculation {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .testimonial-rating i {
        font-size: 16px;
    }

    .testimonial-text {
        font-size: 14px;
        padding-left: 15px;
    }

    .author-name {
        font-size: 14px;
    }

    .author-title {
        font-size: 12px;
    }

    .roi-number {
        font-size: 24px;
    }

    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .value-card h3 {
        font-size: 20px;
    }

    .value-list li {
        font-size: 14px;
    }
}

/* ===================================================================
   ANIMATION ENHANCEMENTS
   =================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

.roi-item {
    animation: fadeInUp 0.6s ease-out;
}

.roi-item:nth-child(odd) {
    animation-delay: 0.1s;
}

.roi-item:nth-child(even) {
    animation-delay: 0.2s;
}

/* Pulse animation for ROI numbers */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.roi-number {
    animation: pulse 2s ease-in-out infinite;
}

.value-card {
    animation: fadeInUp 0.6s ease-out;
}

.value-card:nth-child(1) {
    animation-delay: 0.1s;
}

.value-card:nth-child(2) {
    animation-delay: 0.2s;
}
