/**
 * SPECTACULAR LANDING PAGE STYLES
 * The HARNESS Project - Modern, Engaging, World-Class Design
 * Created: January 25, 2026
 */

/* ========== MODERN HERO ENHANCEMENTS ========== */

.hero-spectacular {
    background: linear-gradient(135deg, #00BDBD 0%, #00A5A5 25%, #F6CC00 50%, #E8B500 75%, #DD0E6E 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Animated gradient background */
.hero-spectacular::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    opacity: 0.3;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Floating particles effect */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 20s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 15s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 22s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 20s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 17s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 19s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 21s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 23s; }
.particle:nth-child(10) { left: 15%; animation-delay: 6s; animation-duration: 18s; }

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Enhanced hero logo with glow */
.hero-logo-spectacular {
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: heroGlow 3s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% {
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.5));
    }
}

/* Modern glassmorphism buttons */
.btn-glassmorphism {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glassmorphism:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

/* ========== FEATURE CARDS WITH 3D EFFECT ========== */

.feature-cards-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    perspective: 1000px;
    margin-top: 60px;
}

.feature-card-3d {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.feature-card-3d::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 189, 189, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.feature-card-3d:hover::before {
    opacity: 1;
}

.feature-card-3d:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.feature-icon-spectacular {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #00BDBD, #F6CC00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3em;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 189, 189, 0.3);
    transition: all 0.3s;
}

.feature-card-3d:hover .feature-icon-spectacular {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 20px 50px rgba(0, 189, 189, 0.5);
}

/* ========== ANIMATED STATISTICS ========== */

.stats-spectacular {
    background: linear-gradient(135deg, #00BDBD 0%, #F6CC00 50%, #DD0E6E 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.stats-spectacular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M30 0 L60 30 L30 60 L0 30 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

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

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

.stat-item-spectacular:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 4em;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.3em;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Counter animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-number.counting {
    animation: countUp 1s ease-out;
}

/* ========== INTERACTIVE TOOLS SHOWCASE ========== */

.tools-showcase {
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.tool-card-interactive {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tool-card-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 189, 189, 0.1), transparent);
    transition: left 0.5s;
}

.tool-card-interactive:hover::before {
    left: 100%;
}

.tool-card-interactive:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.tool-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #00BDBD, #F6CC00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: white;
    transition: all 0.3s;
}

.tool-card-interactive:hover .tool-icon {
    transform: rotate(360deg) scale(1.1);
}

/* ========== TESTIMONIAL SLIDER ========== */

.testimonials-spectacular {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonial-slider {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.testimonial-card {
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.testimonial-quote {
    font-size: 1.5em;
    line-height: 1.8;
    color: #333;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    padding: 0 40px;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 4em;
    color: #00BDBD;
    opacity: 0.3;
}

.testimonial-author {
    font-size: 1.2em;
    font-weight: bold;
    color: #DD0E6E;
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 1em;
    color: #666;
}

/* ========== CTA SECTION WITH ANIMATION ========== */

.cta-spectacular {
    background: linear-gradient(135deg, #DD0E6E 0%, #00BDBD 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-spectacular::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 40px 40px;
    animation: rotateBg 30s linear infinite;
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
    color: white;
}

.cta-spectacular h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-spectacular p {
    font-size: 1.5em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn-cta-large {
    padding: 25px 60px;
    font-size: 1.4em;
    background: white;
    color: #DD0E6E;
    border-radius: 50px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-cta-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #00BDBD, #F6CC00);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-cta-large:hover::before {
    width: 400px;
    height: 400px;
}

.btn-cta-large span {
    position: relative;
    z-index: 1;
}

.btn-cta-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.btn-cta-large:hover span {
    color: white;
}

/* ========== SCROLL ANIMATIONS ========== */

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========== RESPONSIVE DESIGN ========== */

@media (max-width: 768px) {
    .hero-spectacular {
        min-height: 80vh;
        padding: 120px 20px 80px;
    }
    
    .hero-logo-spectacular {
        max-width: 300px;
    }
    
    .feature-cards-3d {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 3em;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-spectacular h2 {
        font-size: 2.5em;
    }
    
    .btn-cta-large {
        padding: 20px 40px;
        font-size: 1.2em;
    }
}

/* ========== LOADING ANIMATION ========== */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00BDBD, #F6CC00, #DD0E6E);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-spinner {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-size: 1.5em;
    font-weight: bold;
}
