/* home/style.css – Home page specific styles (typing animation & stats) */

/* ===== TYPING ANIMATION ===== */
.hero-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.typing-container {
    position: relative;
    z-index: 10;
    opacity: 0;
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 700;
    color: #000000;
    white-space: nowrap;
    text-align: center;
    line-height: 1.15;
}

body.home-page.content-visible .typing-container {
    opacity: 1;
}

#typing-text {
    display: inline-block;
    caret-color: transparent;
    user-select: none;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1.1em;
    background-color: #000;
    margin-left: 5px;
    vertical-align: middle;
    animation: blink 1.1s step-end infinite;
}

@keyframes blink {
    from, to { opacity: 1; }
    50%      { opacity: 0; }
}

.dot-color {
    color: #EFBF04 !important;
}

/* ===== STATISTICS SECTION ===== */
.stats-section {
    padding: 80px 30px 140px;
    background: #ffffff;
    width: 100%;
    display: flex;
    justify-content: center;
}

.stats-container {
    max-width: 80vw;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 30px;
}

.stat {
    text-align: center;
    overflow: hidden;
}

.stat-number {
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    font-feature-settings: "tnum";
    white-space: nowrap;
    font-size: clamp(24px, 4vw, 40px);
}

.stat-label {
    margin-top: 12px;
    font-size: clamp(13px, 1.8vw, 15px);
    font-weight: 500;
    color: #666666;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 40px;
    }
    .stat-number {
        font-size: clamp(30px, 6vw, 60px);
    }
}

@media (max-width: 600px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 70px;
    }
    .stats-section {
        padding: 60px 20px 100px;
    }
    .stat-number {
        font-size: clamp(36px, 8vw, 70px);
    }
    .typing-container {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }
}