/* eBusiness Widget Suite Styles */

:root {
    --ttm-primary: #333;
    --ttm-accent: #0066FF;
    --ttm-text: #555;
    --ttm-glass: rgba(255, 255, 255, 0.7);
    --ttm-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Glassmorphism Card */
.ttm-glass-card {
    background: var(--ttm-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--ttm-shadow);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.ttm-glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Feature Grid Widget */
.ttm-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ttm-feature-item {
    opacity: 0;
    transform: translateY(30px);
}

.ttm-feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--ttm-accent);
}

.ttm-feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--ttm-primary);
}

.ttm-feature-desc {
    color: var(--ttm-text);
    line-height: 1.6;
}

/* Stat Counter Widget */
.ttm-stat-counter {
    display: flex;
    justify-content: space-around;
    padding: 60px 0;
}

.ttm-stat-item {
    text-align: center;
}

.ttm-stat-number {
    font-size: 60px;
    font-weight: 800;
    color: var(--ttm-primary);
    margin-bottom: 10px;
}

.ttm-stat-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--ttm-text);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Horizontal Showcase */
.ttm-scroll-section {
    position: relative;
    overflow: hidden;
}

.ttm-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    width: 300%; /* Dynamic - will be adjusted by JS */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ttm-scroll-panel {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
}
