/* ===== HOMEPAGE STYLES ===== */

/* ===== HERO SECTION ===== */
.hero {
    background: var(--gradient-dark);
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-md);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1.5" fill="%23F5C842" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
}

.hero-logo {
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite; 
    position: relative;
}

.hero-logo::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.804) 0%, transparent 70%);
    border-radius: 80%;
    z-index: -1;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.hero h1 {
    font-size: 4rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-light-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--color-white);
    padding: var(--spacing-lg) var(--spacing-md);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: var(--color-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-top: 4px solid var(--color-primary);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--color-gray);
    line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    background: var(--color-white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-dark);
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.step h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.step p {
    color: var(--color-gray);
}

/* ===== FEATURED MODELS ===== */
.featured-models {
    background: var(--color-light);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.model-card {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.model-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== MODEL BADGES SYSTEM ===== */
.model-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

/* Badge Types */
.badge-functional {
    background: var(--color-primary);
    color: var(--color-dark);
}

.badge-modified {
    background: #06D6A0;
    color: var(--color-white);
}

.badge-original {
    background: var(--color-gold);
    color: var(--color-white);
}

.badge-external {
    background: var(--color-gray);
    color: var(--color-white);
}

.model-info {
    padding: var(--spacing-md);
}

.model-category {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.model-info h3 {
    color: var(--color-secondary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.model-description {
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.model-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-light-gray);
}

.model-license {
    font-size: 0.8rem;
    color: var(--color-gray);
}

.model-source {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-dark);
    color: var(--color-white);
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--color-light-gray);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CTA LOGOS ===== */
.cta-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.cta-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    background: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.cta-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cta-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(245, 200, 66, 0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-logo {
        width: 300px;
        height: 300px;
        margin: 0 auto 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: float 3s ease-in-out infinite;
        position: relative;
    }

    .hero-logo::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
        border-radius: 50%;
        z-index: -1;
    }

    .hero-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }
}