﻿
body.initial-class {
    background: url('/img/bg_showcase.jpg') no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}

    body.initial-class::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: black;
        opacity: 0.3;
        z-index: -1;
    }
.hero2 {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, #1f1f29, #2a2a3c);
    color: #f3f3f3;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

    .hero2 h1 {
        font-size: 2.8rem;
        margin: 0;
        font-weight: 600;
    }

    .hero2 .sub-title {
        font-size: 1.2rem;
        opacity: 0.8;
        font-weight: 300;
    }

/* Cards layout */
.tool-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Darker cards */
.tool-card {
    background: #2a2a38;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .tool-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 22px rgba(0,0,0,0.5);
    }

    .tool-card h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
        color: #e5e5e5;
    }

    .tool-card p {
        flex-grow: 1;
        color: #b3b3b3;
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

/* Purple buttons */
.card-button {
    align-self: flex-start;
    padding: 10px 16px;
    border-radius: 10px;
    background: #6d28d9; 
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}

    .card-button:hover {
        background: #4c1d95; 
    }

/* Mobile tweaks */
@media (max-width: 500px) {
    .hero2 h1 {
        font-size: 1.8rem;
    }

    .hero2 .sub-title {
        font-size: 1rem;
    }

    .tool-card {
        padding: 15px;
    }

    .card-button {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
}