/* ===================
   Enhanced Hero Section - Logo Inspired Design
   =================== */

.hero {
    position: relative;
    background: linear-gradient(135deg, #1a252f 0%, var(--dark-bg) 50%, #1a252f 100%);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Animated Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.hero-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-cyan) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-orange) 0%, transparent 70%);
    bottom: -150px;
    left: -50px;
    animation-delay: 7s;
}

.hero-circle-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: 14s;
}

/* Gear pattern inspired by logo */
.gear-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 100px,
            rgba(0, 206, 209, 0.03) 100px,
            rgba(0, 206, 209, 0.03) 101px
        ),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 100px,
            rgba(0, 206, 209, 0.03) 100px,
            rgba(0, 206, 209, 0.03) 101px
        );
    animation: patternShift 30s linear infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

@keyframes patternShift {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 100px 100px, 100px 100px;
    }
}

/* Hero Content */
.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Logo Badge */
.hero-badge {
    margin-bottom: var(--spacing-md);
    animation: fadeInDown 0.8s ease-out;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-cyan);
    box-shadow:
        0 0 30px rgba(0, 206, 209, 0.4),
        0 0 60px rgba(0, 206, 209, 0.2);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow:
            0 0 30px rgba(0, 206, 209, 0.4),
            0 0 60px rgba(0, 206, 209, 0.2);
    }
    50% {
        box-shadow:
            0 0 40px rgba(0, 206, 209, 0.6),
            0 0 80px rgba(0, 206, 209, 0.3);
    }
}

/* Title Styling */
.hero h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: fadeInDown 0.8s ease-out 0.2s backwards;
}

.hero-title-main {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-title-sub {
    font-size: 2rem;
    font-weight: 300;
    color: var(--light-gray);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 0.2em;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--primary-orange);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    animation: fadeInDown 0.8s ease-out 0.4s backwards;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: fadeIn 0.8s ease-out 0.6s backwards;
}

/* Call to Action Buttons */
.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 206, 209, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-primary:hover::before {
    width: 300px;
    height: 300px;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 206, 209, 0.6);
}

.cta-primary svg {
    transition: transform 0.3s;
}

.cta-primary:hover svg {
    transform: translateX(5px);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-cyan);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: var(--transition);
}

.cta-secondary:hover {
    background-color: var(--primary-cyan);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 206, 209, 0.4);
}

/* Hero Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 206, 209, 0.2);
    transition: var(--transition);
}

.hero-feature:hover {
    background: rgba(0, 206, 209, 0.1);
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.feature-text strong {
    color: var(--white);
    font-size: 0.95rem;
}

.feature-text span {
    color: var(--light-gray);
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .hero-title-main {
        font-size: 2.5rem;
    }

    .hero-title-sub {
        font-size: 1.3rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-primary,
    .cta-secondary {
        justify-content: center;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-circle-1,
    .hero-circle-2,
    .hero-circle-3 {
        opacity: 0.05;
    }
}

@media (max-width: 480px) {
    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-title-main {
        font-size: 2rem;
    }

    .hero-title-sub {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }
}
