* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    /* Clean white background as requested */
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header Styles */
.header {
    /* Extra space below logo so it feels like a distinct icon/brand area */
    margin-bottom: 120px;
}

.logo {
    /* Slightly smaller so it feels more like an app icon/logo than a big heading */
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-name {
    color: #000;
}

.logo-separator {
    color: #999;
    margin: 0 8px;
}

.logo-project {
    color: #28BF85;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
}

.main-message {
    /* Sized to help the sentence sit on a single line on desktop */
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    /* Large block of space below "Today is..." before the cards */
    margin-bottom: 140px;
    color: #000;
}

.main-message .highlight {
    color: #28BF85;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    /* Less top margin so stats are pulled up closer to the main message */
    margin-top: 20px;
}

.stat-card {
    background-color: #fff;
    border: 3px solid #28BF85;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(40, 191, 133, 0.2);
    background-color: #28BF85;
    border-color: #28BF85;
}

/* Ensure text flips to white on hover */
.stat-card:hover .stat-label,
.stat-card:hover .stat-value,
.stat-card:hover .stat-value .stat-int,
.stat-card:hover .stat-value .stat-decimal,
.stat-card:hover .months-message {
    color: #ffffff;
}

.stat-label {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

.stat-value {
    font-size: 72px;
    font-weight: 700;
    color: #28BF85;
    line-height: 1;
}

/* Make the decimal part visually smaller than the integer part */
.stat-value .stat-int {
    display: inline-block;
}

.stat-value .stat-decimal {
    display: inline-block;
    font-size: 0.5em; /* ~50% of the main number size */
    /* Align with the bottom of the main number so it doesn't look like a superscript */
    vertical-align: baseline;
    margin-left: 2px;
}

/* Supporting message shown under the Months card */
.months-message {
    margin-top: 24px;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.months-message.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-message {
        /* Slightly reduced on tablet to help keep it to one or two lines */
        font-size: 26px;
        margin-bottom: 32px;
    }

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

    .stat-card {
        padding: 30px 20px;
    }

    .stat-label {
        font-size: 18px;
    }

    .stat-value {
        font-size: 56px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 16px;
    }

    .main-message {
        font-size: 22px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 48px;
    }
}
