
/* Hero Section Styles */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #ecfdf5 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(8, 145, 178, 0.1) 0%, transparent 50%);
    background-size: 50px 50px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0, 25px 25px; }
    100% { background-position: 50px 50px, 75px 75px; }
}

.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 4rem;
    height: 4rem;
    color: rgba(37, 99, 235, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.floating-element svg {
    width: 100%;
    height: 100%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #111827;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-number[data-target="30"] {
    color: #2563eb;
}

.stat-number[data-target="50"] {
    color: #0891b2;
}

.stat-number[data-target="1000"] {
    color: #059669;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

.hero-card-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.hero-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hero-card-main {
    padding: 2rem;
    transform: rotate(2deg);
    position: relative;
    z-index: 3;
}

.hero-card-main:hover {
    transform: rotate(1deg);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #2563eb;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
}

.card-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.card-info p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.card-metric {
    font-size: 1.25rem;
    font-weight: 700;
    color: #059669;
}

.card-content {
    space-y: 1rem;
}

.progress-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.progress-item span:last-child {
    font-weight: 600;
    color: #111827;
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #2563eb, #0891b2);
    border-radius: 9999px;
    transition: width 1s ease-in-out;
}

.hero-card-team {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transform: rotate(-12deg);
    z-index: 2;
    transition: transform 0.3s ease;
}

.hero-card-team:hover {
    transform: rotate(-6deg);
}

.hero-card-team .card-icon {
    width: 2rem;
    height: 2rem;
    background: #0891b2;
    border-radius: 50%;
    margin-right: 0.75rem;
}

.hero-card-team .card-info {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.125rem;
}

.card-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
}

.hero-card-global {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transform: rotate(12deg);
    z-index: 2;
    transition: transform 0.3s ease;
}

.hero-card-global:hover {
    transform: rotate(6deg);
}

.hero-card-global .card-icon {
    width: 2rem;
    height: 2rem;
    background: #059669;
    border-radius: 50%;
    margin-right: 0.75rem;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.stat-number.animate {
    animation: countUp 0.5s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-card-container {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-card-container {
        max-width: 350px;
    }
    
    .hero-card-main {
        padding: 1.5rem;
    }
    
    .floating-element {
        width: 3rem;
        height: 3rem;
    }
}

@media (max-width: 640px) {
    .hero-container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }
    
    .hero-actions {
        gap: 0.75rem;
    }
    
    .hero-stats {
        gap: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-card-container {
        max-width: 300px;
    }
    
    .hero-card-main {
        padding: 1rem;
    }
    
    .hero-card-team,
    .hero-card-global {
        padding: 0.75rem;
    }
}

/* Parallax Effect */
.hero-background {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-pattern,
    .floating-element,
    .hero-card,
    .hero-card-team,
    .hero-card-global {
        animation: none;
    }
    
    .hero-text,
    .hero-visual {
        animation: none;
    }
}
