/* Stats Section Styles for Darner.ai */

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

.stats-item {
    background-color: white;
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition-all);
}

.stats-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stats-item .number {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-full);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-item .label {
    color: var(--neutral-600);
    font-size: var(--font-size-lg);
}

/* Alternative Stats Layout */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: -1rem;
}

.stats-col {
    flex: 1 1 250px;
    padding: 1rem;
}

.stats-card {
    background-color: white;
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stats-card .icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.stats-card .number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.stats-card .label {
    color: var(--neutral-600);
    font-size: var(--font-size-lg);
    text-align: center;
}

/* Inline Stats */
.inline-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.inline-stats-item {
    display: flex;
    align-items: center;
}

.inline-stats-item .icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
    color: var(--primary);
}

.inline-stats-item .content .number {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.2;
}

.inline-stats-item .content .label {
    color: var(--neutral-600);
    font-size: var(--font-size-sm);
}

/* Stats with Progress */
.stats-progress {
    background-color: white;
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.stats-progress .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stats-progress .header .title {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

.stats-progress .header .value {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary);
}

.stats-progress .progress-bar {
    height: 1rem;
    background-color: var(--neutral-200);
    border-radius: var(--border-radius-full);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.stats-progress .progress-bar .progress {
    height: 100%;
    border-radius: var(--border-radius-full);
    background: var(--gradient-primary);
}

.stats-progress .footer {
    display: flex;
    justify-content: space-between;
    color: var(--neutral-600);
    font-size: var(--font-size-sm);
}

/* Counter Stats with Animation */
.counter-stats {
    text-align: center;
}

.counter-stats .counter {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.counter-stats .label {
    color: var(--neutral-600);
    font-size: var(--font-size-lg);
}

/* Stats Grid with Icons */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stats-grid-item {
    background-color: white;
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition-all);
}

.stats-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stats-grid-item .icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.stats-grid-item .number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--neutral-900);
}

.stats-grid-item .label {
    color: var(--neutral-600);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
    
    .inline-stats {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
}