/* ==============================================
   HUB GATEWAY PAGE - Clean Light Theme
   ============================================== */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* --- Hub Container --- */
.hub-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header --- */
.hub-header {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out;
}

.hub-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.hub-logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.hub-logo-img:hover {
    transform: scale(1.05);
}

.hub-logo-text h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.hub-tagline {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* --- Welcome Section --- */
.hub-welcome {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.hub-welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.hub-welcome-text {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 400;
}

/* --- Cards Grid --- */
.hub-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    width: 100%;
    max-width: 900px;
    margin-bottom: 60px;
}

/* --- Card Base --- */
.hub-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: #0f172a;
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 40px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation: cardEntrance 0.6s ease-out both;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.hub-card:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: #0f172a;
}

/* Card glow effect removed, cleanly keeping just base hover effects */

/* Cars card styling */
.hub-card-cars {
    border-top: 4px solid #3b82f6;
}

.hub-card-cars:hover {
    border-top-color: #2563eb;
}

.hub-card-cars .hub-card-icon {
    color: #2563eb;
    background: #eff6ff;
}

.hub-card-cars .hub-card-cta {
    color: #2563eb;
}

/* Shop card styling */
.hub-card-shop {
    border-top: 4px solid #10b981;
}

.hub-card-shop:hover {
    border-top-color: #059669;
}

.hub-card-shop .hub-card-icon {
    color: #059669;
    background: #ecfdf5;
}

.hub-card-shop .hub-card-cta {
    color: #059669;
}

/* Card content */
.hub-card-content {
    position: relative;
    z-index: 1;
}

.hub-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hub-card:hover .hub-card-icon {
    transform: scale(1.05);
}

.hub-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    color: #0f172a;
}

.hub-card-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 28px;
    font-weight: 400;
}

.hub-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: gap 0.3s ease;
}

.hub-card:hover .hub-card-cta {
    gap: 14px;
}

.hub-card-cta i {
    transition: transform 0.3s ease;
}

.hub-card:hover .hub-card-cta i {
    transform: translateX(4px);
}

/* Badge */
.hub-card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #eff6ff;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hub-card-badge-new {
    background: #ecfdf5;
    color: #059669;
}

/* --- Footer --- */
.hub-footer {
    text-align: center;
    animation: fadeIn 1s ease-out 0.6s both;
}

.hub-footer p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 12px;
}

.hub-footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.hub-footer-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.hub-footer-links a:hover {
    color: #0f172a;
}

/* --- Animations --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .hub-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hub-card {
        padding: 36px 28px;
    }

    .hub-logo-text h1 {
        font-size: 1.5rem;
    }

    .hub-welcome-title {
        font-size: 1.8rem;
    }

    .hub-card-title {
        font-size: 1.4rem;
    }

    .hub-card-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .hub-container {
        padding: 30px 16px;
    }
}

@media (max-width: 480px) {
    .hub-logo {
        flex-direction: column;
        gap: 8px;
    }

    .hub-logo-text {
        text-align: center;
    }

    .hub-welcome-title {
        font-size: 1.5rem;
    }

    .hub-footer-links {
        flex-direction: column;
        gap: 8px;
    }
}
