/* Assets/css/home.css */

.home-page {
    padding-top: 0; /* Hero takes over */
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(209, 34, 57, 0.4) 0%, rgba(209, 34, 57, 0) 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(50px);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 4, 6, 0.4), var(--dark));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 25px rgba(0,0,0,0.9), 0 0 30px rgba(209, 34, 57, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 900px;
    margin: -3rem auto 4rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.stat-box {
    background: rgba(22, 11, 14, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    flex: 1;
    max-width: 250px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(192, 24, 46, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff; /* Lighter color as requested */
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8); /* Lighter color */
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bots Section */
.bots-section {
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    /* Deep Faded left and right corners for mobile and pc */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.bots-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scroll-left-to-right 30s linear infinite;
}

@keyframes scroll-left-to-right {
    0% { transform: translateX(calc(-50% - 0.75rem)); }
    100% { transform: translateX(0); }
}

.bot-card {
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    width: 90px; /* Small small */
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(209, 34, 57, 0.2);
    border-color: rgba(209, 34, 57, 0.4);
}

.bot-img {
    width: 45px; /* Small small */
    height: 45px; /* Small small */
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--dark);
    box-shadow: 0 0 10px var(--shadow-glow);
    transition: transform 0.3s ease;
}

.bot-card:hover .bot-img {
    transform: scale(1.1);
}

.bot-name {
    font-size: 0.85rem; /* Smaller font */
    font-family: var(--font-body);
    font-weight: 600;
}

/* Features Section */
.features-section {
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding: 0 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(209, 34, 57, 0.4);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-soon {
    background: rgba(255, 222, 33, 0.15);
    color: var(--crimson-soft);
    border: 1px solid rgba(255, 222, 33, 0.3);
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.ripple:active::after {
    transform: scale(0, 0);
    opacity: .2;
    transition: 0s;
}

/* Responsive */
@media (max-width: 900px) {
    .stats-section {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-ctas {
        flex-direction: column;
    }
    .stats-section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 2rem;
    }
    .stat-box {
        padding: 1.5rem 1rem;
        width: 100%;
    }
    .stat-number {
        font-size: 1.8rem;
    }
}
