.algomind-hero {
    position: relative;
    background: linear-gradient(rgba(30, 144, 255, 0.95), rgba(30, 144, 255, 0.85)), url('../assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0 80px;
}

.algomind-hero .hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
}

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

.algomind-hero .hero-content h1 {
    font-size: 3.6rem;
    margin-bottom: 1.25rem;
}

.algomind-hero .hero-content p {
    font-size: 1.1rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.algomind-hero .cta-buttons {
    margin-top: 1.5rem;
    gap: 1rem;
    justify-content: center;
}

.algomind-hero .hero-stats {
    margin-top: 1.25rem;
    text-align: center;
}

.algomind-hero .hero-checklist {
    justify-items: center;
}

.algomind-hero .hero-checklist li {
    justify-content: center;
}

.placeholder-card {
    background: linear-gradient(180deg, rgba(30, 144, 255, 0.08), rgba(30, 144, 255, 0.02));
    border: 1px dashed rgba(30, 144, 255, 0.3);
    border-radius: var(--border-radius-lg);
    min-height: 260px;
    display: grid;
    place-items: center;
    color: #1d3557;
    font-weight: 600;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.placeholder-card.large {
    min-height: 360px;
}

.hero-mockup {
    min-height: 320px;
    border-width: 2px;
    border-style: dashed;
}

.placeholder-badges {
    position: absolute;
    bottom: -20px;
    right: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.placeholder-badges .badge {
    background: var(--white);
    padding: 10px 14px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
    font-weight: 600;
    color: #1d3557;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(29, 53, 87, 0.06);
    color: #1d3557;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid rgba(29, 53, 87, 0.08);
}

.algomind-pillars {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
}

.section-header p {
    color: var(--light-text);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.pillar-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(30, 144, 255, 0.12);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.algomind-steps {
    background: var(--light-gray);
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.step-card {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    padding-top: 48px;
}

.step-number {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-color);
    color: var(--white);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: var(--shadow-blue);
}

.algomind-showcase {
    padding: 80px 0;
    background: var(--white);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: center;
}

.showcase-image {
    width: 100%;
    display: block;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.04);
}

.showcase-text ul {
    padding-left: 20px;
    color: var(--light-text);
    margin-bottom: 16px;
}

.badges-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badges-row .badge {
    background: rgba(30, 144, 255, 0.08);
    color: #1d3557;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(30, 144, 255, 0.14);
    font-weight: 600;
}

.algomind-metrics {
    background: var(--light-gray);
    padding: 70px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.metric-card {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
}

.metric-card h3 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.algomind-games {
    background: var(--white);
    padding: 80px 0;
}

.algomind-games .games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.algomind-games .game-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.game-image {
    min-height: 180px;
    border-bottom: 1px dashed rgba(30, 144, 255, 0.2);
}

.game-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-content {
    padding: 18px 20px 22px;
}

.game-content h3 {
    margin-bottom: 8px;
}

.game-content p {
    color: var(--light-text);
}

.algomind-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(255, 107, 107, 0.1));
}

.cta-card {
    background: white;
    padding: 28px 32px;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.04);
}

.cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.1rem;
    }

    .algomind-hero {
        padding: 80px 0 70px;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .placeholder-badges {
        position: static;
        margin-top: 12px;
    }
}
