﻿/* Landing Page Global Styles */
.landing-page {
    min-height: 100vh;
    overflow-x: hidden;
}

/* Hero Section */
.landing-page .hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.landing-page .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 10%, rgba(102, 126, 234, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 20% 90%, rgba(118, 75, 162, 0.2) 0%, transparent 25%);
    opacity: 1;
    animation: backgroundShift 20s ease-in-out infinite;
    z-index: 1;
}

.landing-page .hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(255, 255, 255, 0.03) 60px, rgba(255, 255, 255, 0.03) 120px),
        repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(255, 255, 255, 0.02) 60px, rgba(255, 255, 255, 0.02) 120px);
    animation: rotateBackground 60s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
}

@keyframes rotateBackground {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.landing-page .gradient-text {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Visual Container */
.landing-page .hero-visual-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    z-index: 10;
}

.landing-page .hero-card {
    position: relative;
    z-index: 2;
}

.landing-page .floating-icon {
    position: absolute;
    z-index: 1;
}

.landing-page .floating-icon.icon-1 {
    top: -20px;
    left: -40px;
    animation: float 4s ease-in-out infinite;
}

.landing-page .floating-icon.icon-2 {
    top: 50%;
    right: -40px;
    animation: float 4s ease-in-out 1s infinite;
}

.landing-page .floating-icon.icon-3 {
    bottom: -20px;
    left: 50px;
    animation: float 4s ease-in-out 2s infinite;
}

.landing-page .floating-icon.icon-4 {
    top: 20%;
    left: -60px;
    animation: float 4s ease-in-out 1.5s infinite;
}

/* Feature Cards */
.landing-page .feature-card {
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-page .feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

/* Stat Items */
.landing-page .stat-item {
    transition: transform 0.3s ease;
}

.landing-page .stat-item:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
    }
}

/* Animation Classes */
.landing-page .animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.landing-page .animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.landing-page .floating {
    animation: float 4s ease-in-out infinite;
}

.landing-page .pulsing {
    animation: pulse 3s ease-in-out infinite;
}

/* Animation Delays */
.landing-page .delay-1 {
    animation-delay: 0.2s;
}

.landing-page .delay-2 {
    animation-delay: 0.4s;
}

.landing-page .delay-3 {
    animation-delay: 0.6s;
}

/* CTA Button Hover Effect */
.landing-page .cta-button {
    transition: all 0.3s ease !important;
}

.landing-page .cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Responsive Design */
@media (max-width: 960px) {
    .landing-page .hero-section {
        min-height: auto;
    }
    
    .landing-page .hero-visual-container {
        margin-top: 3rem;
    }
    
    .landing-page .floating-icon {
        display: none;
    }
}

@media (max-width: 600px) {
    .landing-page .feature-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
