/* Goofy Cosmic Landing Styling with Taller Hero Container & Mobile Offset */

.hero-section {
    position: relative;
    padding: 80px 32px 60px 32px;
    text-align: center;
    max-width: 1100px;
    margin: 20px auto 40px auto;
    border-radius: var(--radius-wobbly);
    background: linear-gradient(135deg, rgba(10, 5, 24, 0.85) 0%, rgba(23, 15, 48, 0.94) 100%), 
                url('../img/hero.jpg') no-repeat center / cover;
    border: 2px solid var(--border-color);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), var(--glow-purple);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #00f0ff 50%, #39ff14 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 760px;
    margin: 0 auto 36px auto;
    line-height: 1.65;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    width: 100%;
    margin-top: 60px;
}

.feature-card {
    text-align: left;
    border-radius: 24px 10px 24px 10px;
    background: rgba(10, 5, 24, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    background: rgba(23, 15, 48, 0.92);
}

.feature-tag {
    font-family: var(--font-pixel);
    font-size: 0.7rem;
    color: var(--neon-green);
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.featured-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

/* Responsive Mobile Layout Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 45px 20px 35px 20px;
        text-align: left;
        align-items: flex-start;
        /* Offset background image horizontally by phone screen width to center subjects */
        background-position: calc(50% + 180px) center;
    }

    .hero-title {
        font-size: 2.2rem;
        text-align: left;
    }

    .hero-subtitle {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }
}