/* ===================================================
   Y3Data main.css — Legacy Compat Layer
   Core definitions now in design-system.css
   This file retains page-specific homepage utilities
   =================================================== */

/* ==========================================
   HOMEPAGE PREMIUM REDESIGN UTILITIES
   (Kept here — used only on index.php)
   ========================================== */
.hero-stats-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--y3-surface);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--y3-shadow-lg);
    border: 1px solid var(--y3-border);
    margin-top: 30px;
}

.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
    width: 100%;
}

.trust-stat-item {
    text-align: center;
    padding: 20px;
    background: var(--y3-surface);
    border-radius: var(--y3-radius-lg);
    border: 1px solid var(--y3-border);
    box-shadow: var(--y3-shadow-sm);
    transition: var(--y3-transition);
}

.trust-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--y3-shadow-md);
    border-color: var(--y3-primary);
}

.trust-stat-item h2 {
    font-size: 2rem;
    color: var(--y3-primary);
    margin-bottom: 5px;
    font-weight: 800;
}

.trust-stat-item p {
    font-size: var(--y3-text-caption);
    color: var(--y3-text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-container {
    width: 100%;
    max-width: 900px;
    margin: 60px auto 0;
    overflow-x: auto;
    border-radius: var(--y3-radius-lg);
    box-shadow: var(--y3-shadow-xl);
    border: 1px solid var(--y3-border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--y3-surface);
}

.comparison-table th, .comparison-table td {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid var(--y3-border);
}

.comparison-table th {
    background: var(--y3-bg);
    font-weight: 800;
    color: var(--y3-text);
}

.comparison-table td:first-child, .comparison-table th:first-child {
    text-align: left;
    font-weight: 700;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.audience-card {
    background: var(--y3-surface);
    padding: 30px;
    border-radius: var(--y3-radius-lg);
    text-align: center;
    border: 1px solid var(--y3-border);
    transition: var(--y3-transition);
}

.audience-card:hover {
    border-color: var(--y3-primary);
    background: var(--y3-primary-soft);
}

.audience-card i {
    font-size: 30px;
    color: var(--y3-primary);
    margin-bottom: 20px;
}

.audience-card h4 {
    font-size: 16px;
    font-weight: 800;
}

.pricing-grid-dynamic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.pricing-network-card {
    background: var(--y3-surface);
    border-radius: var(--y3-radius-lg);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--y3-border);
    box-shadow: var(--y3-shadow-md);
    transition: var(--y3-transition);
}

.pricing-network-card:hover {
    transform: translateY(-8px);
    border-color: var(--y3-primary);
    box-shadow: var(--y3-shadow-lg);
}

.pricing-network-card img {
    height: 50px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.price-tag-hero {
    font-size: 28px;
    font-weight: 800;
    color: var(--y3-primary);
    margin: 10px 0;
}

.price-sub-hero {
    font-size: var(--y3-text-small);
    color: var(--y3-text-muted);
    font-weight: 600;
}

@media (max-width: 768px) {
    .trust-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Auth Redesign Utilities — used on login/register */
.auth-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.auth-trust-badge {
    background: var(--y3-primary-soft);
    color: var(--y3-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.auth-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--y3-border-light);
}

.proof-item { text-align: center; }
.proof-item h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--y3-text);
    margin: 0;
}
.proof-item span {
    font-size: 11px;
    color: var(--y3-text-muted);
    font-weight: 700;
    text-transform: uppercase;
}
