/* Hero Section */
.hero {
    position: relative;
    padding: 2rem 0 8rem;
    overflow: hidden;
    padding-bottom: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(52, 184, 193, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(109, 214, 220, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 60% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 35%),
        linear-gradient(45deg, transparent 0%, rgba(52, 184, 193, 0.08) 25%, transparent 50%),
        linear-gradient(-30deg, transparent 0%, rgba(109, 214, 220, 0.06) 30%, transparent 60%),
        repeating-linear-gradient(90deg, transparent 0%, transparent 40px, rgba(52, 184, 193, 0.05) 40px, rgba(52, 184, 193, 0.05) 42px),
        repeating-linear-gradient(0deg, transparent 0%, transparent 60px, rgba(109, 214, 220, 0.04) 60px, rgba(109, 214, 220, 0.04) 62px),
        repeating-linear-gradient(45deg, transparent 0%, transparent 80px, rgba(255, 107, 53, 0.04) 80px, rgba(255, 107, 53, 0.04) 82px),
        repeating-linear-gradient(-45deg, transparent 0%, transparent 100px, rgba(52, 184, 193, 0.03) 100px, rgba(52, 184, 193, 0.03) 102px);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(109, 214, 220, 0.3) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.hero-bg::before,
.hero-bg::after,
.hero-pattern::before,
.hero-pattern::after,
.hero::before,
.hero::after {
    content: '';
    position: absolute;
}

.hero-bg::before {
    top: 10%;
    left: 5%;
    width: 120px;
    height: 80px;
    background: linear-gradient(45deg, rgba(52, 184, 193, 0.2), rgba(109, 214, 220, 0.1));
    border-radius: 20px;
    transform: rotate(-15deg);
    animation: floatShape 8s ease-in-out infinite;
}

.hero-bg::after {
    bottom: 20%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent);
    border-radius: 50%;
    animation: floatShape 6s ease-in-out infinite reverse;
}

.hero-pattern::before {
    top: 30%;
    right: 15%;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(52, 184, 193, 0.5), transparent);
    transform: rotate(25deg);
    animation: lineMove 10s ease-in-out infinite;
}

.hero-pattern::after {
    bottom: 40%;
    left: 20%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(109, 214, 220, 0.3);
    border-radius: 50%;
    animation: circlePulse 7s ease-in-out infinite;
}

.hero::before {
    top: 60%;
    left: 70%;
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.15);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: triangleFloat 9s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    top: 20%;
    right: 30%;
    width: 60px;
    height: 30px;
    background: linear-gradient(135deg, rgba(52, 184, 193, 0.18), rgba(109, 214, 220, 0.1));
    border-radius: 15px;
    transform: rotate(45deg);
    animation: rectangleRotate 12s linear infinite;
    z-index: 0;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px) rotate(-15deg); }
    50% { transform: translateY(-20px) rotate(-10deg); }
}

@keyframes lineMove {
    0%, 100% {
        transform: rotate(25deg) translateX(0px);
        opacity: 0.5;
    }
    50% {
        transform: rotate(30deg) translateX(10px);
        opacity: 0.8;
    }
}

@keyframes circlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

@keyframes triangleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
    }
}

@keyframes rectangleRotate {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.hero-buttons .btn {
    width: 100%;
    max-width: 400px;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.hero-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0 0 auto;
    max-width: 200px;
}

.info-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary-light);
}

.info-card:hover::before {
    opacity: 1;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(52, 184, 193, 0.3);
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-number {
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.info-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

.card-1 {
    animation: slideInRight 0.6s ease-out 0.1s both;
}

.card-2 {
    animation: slideInRight 0.6s ease-out 0.2s both;
}

.card-3 {
    animation: slideInRight 0.6s ease-out 0.3s both;
}

.card-4 {
    animation: slideInRight 0.6s ease-out 0.4s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-card {
    position: absolute;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    width: 240px;
}

.hero-card:nth-child(1) { top: 0; left: 0; }
.hero-card:nth-child(2) { top: 100px; right: 0; }
.hero-card:nth-child(3) { bottom: 0; left: 50px; }

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.card-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.progress-bar {
    height: 8px;
    background: var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 4px;
    transition: width 1s ease;
}

.hero-person {
    align-self: baseline;
}

@media (max-width: 1200px) {
    .hero-title { font-size: 3rem; }
    .hero-image { height: 450px; }
    .hero-info-cards { max-width: 180px; }
    .info-card { padding: 0.875rem; }
    .info-number { font-size: 1.1rem; }
    .info-label { font-size: 0.75rem; }
}

@media (max-width: 1024px) {
    .hero { padding-bottom: 4rem; }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-text {
        order: 1;
        padding-bottom: 2rem;
    }
    .hero-buttons {
        justify-content: center;
        align-items: center;
        margin-bottom: 2.5rem;
    }
    
    .hero-buttons .btn {
        max-width: 400px;
    }
    .hero-stats { display: none; }
    .hero-image {
        flex-direction: column;
        height: auto;
        gap: 1.5rem;
        order: 2;
    }
    .hero-info-cards {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 100%;
        justify-content: center;
        gap: 0.75rem;
    }
    .info-card {
        flex: 1;
        min-width: 140px;
        max-width: 180px;
    }
    .hero-person { display: none; }
    .hero-pattern { display: none; }
}

@media (max-width: 768px) {
    .hero { padding: 3rem 0 4rem; }
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    .hero-stats { display: none; }
    .stat { min-width: 100px; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.8rem; }
    .hero-image {
        height: auto;
        gap: 1rem;
    }
    .hero-person { order: 1; }
    .hero-info-cards {
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .info-card {
        flex: 1;
        min-width: 120px;
        max-width: 150px;
        padding: 0.75rem;
    }
    .info-icon {
        width: 32px;
        height: 32px;
    }
    .info-number { font-size: 1rem; }
    .info-label { font-size: 0.7rem; }
    .hero-person { display: none; }
    .hero-pattern {
        background-image:
            radial-gradient(circle at 10% 20%, rgba(52, 184, 193, 0.1) 0%, transparent 40%),
            radial-gradient(circle at 90% 80%, rgba(109, 214, 220, 0.08) 0%, transparent 35%),
            radial-gradient(circle at 80% 10%, rgba(255, 107, 53, 0.06) 0%, transparent 25%),
            linear-gradient(45deg, transparent 0%, rgba(52, 184, 193, 0.04) 15%, transparent 30%),
            linear-gradient(-30deg, transparent 0%, rgba(109, 214, 220, 0.03) 20%, transparent 40%),
            repeating-linear-gradient(90deg, transparent 0%, transparent 25px, rgba(52, 184, 193, 0.03) 25px, rgba(52, 184, 193, 0.03) 27px),
            repeating-linear-gradient(0deg, transparent 0%, transparent 35px, rgba(109, 214, 220, 0.02) 35px, rgba(109, 214, 220, 0.02) 37px);
    }
}

@media (max-width: 480px) {
    .hero { padding: 2rem 0 3rem; }
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    .hero-buttons {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .stat { min-width: 80px; }
    .stat-number { font-size: 1.25rem; }
    .stat-label { font-size: 0.75rem; }
    .hero-image { gap: 0.75rem; }
    .hero-info-cards {
        flex-direction: column;
        gap: 0.5rem;
        max-width: 100%;
    }
    .info-card {
        min-width: auto;
        max-width: 100%;
        padding: 0.75rem;
        flex-direction: row;
        justify-content: flex-start;
    }
    .info-icon {
        width: 28px;
        height: 28px;
    }
    .info-number { font-size: 1rem; }
    .info-label { font-size: 0.7rem; }
    .hero-pattern {
        background-image:
            radial-gradient(circle at 15% 25%, rgba(52, 184, 193, 0.08) 0%, transparent 35%),
            radial-gradient(circle at 85% 75%, rgba(109, 214, 220, 0.06) 0%, transparent 30%),
            linear-gradient(45deg, transparent 0%, rgba(52, 184, 193, 0.03) 10%, transparent 25%),
            linear-gradient(-30deg, transparent 0%, rgba(109, 214, 220, 0.02) 15%, transparent 35%),
            repeating-linear-gradient(90deg, transparent 0%, transparent 20px, rgba(52, 184, 193, 0.02) 20px, rgba(52, 184, 193, 0.02) 22px);
    }
}

@media (max-width: 360px) {
    .hero-title { font-size: 1.75rem; }
    .hero-description { font-size: 0.9rem; }
    .info-card { padding: 0.65rem; }
    .info-icon {
        width: 24px;
        height: 24px;
    }
    .info-number { font-size: 0.9rem; }
    .info-label { font-size: 0.65rem; }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero { padding: 2rem 0 3rem; }
    .hero-title { font-size: 2rem; }
    .hero-stats {
        flex-direction: row;
        gap: 1.5rem;
    }
    .hero-info-cards {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .info-card {
        flex: 1;
        min-width: 100px;
        max-width: 120px;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-pattern,
    .hero-gradient {
        transform: scale(0.5);
        transform-origin: top left;
    }
}

@media print {
    .hero {
        padding: 1rem 0;
    }
    .hero-buttons { display: none; }
}

