/* UrbanX Homepage Redesign — v1.0 */
/* Color palette: Navy #1a1a2e, Red #e94560, White #fff */

/* ── Reset & Shared ─────────────────────────────────── */
.ux-section__title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}
.ux-section__subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin: 0 0 40px;
    font-weight: 400;
}

/* ── Buttons ─────────────────────────────────────────── */
.ux-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    cursor: pointer;
    text-align: center;
}
.ux-btn--primary {
    background: #e94560;
    color: #fff !important;
    border: 2px solid #e94560;
}
.ux-btn--primary:hover {
    background: #d13350;
    border-color: #d13350;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233,69,96,0.3);
}
.ux-btn--secondary {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.6);
}
.ux-btn--secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}
.ux-btn--outline {
    background: transparent;
    color: #1a1a2e !important;
    border: 2px solid #1a1a2e;
}
.ux-btn--outline:hover {
    background: #1a1a2e;
    color: #fff !important;
}

/* ── Hero Section ────────────────────────────────────── */
.ux-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0;
}
.ux-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.ux-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ux-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26,26,46,0.92) 0%,
        rgba(26,26,46,0.75) 50%,
        rgba(26,26,46,0.5) 100%
    );
}
.ux-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 60px 40px 60px 60px;
}
.ux-hero__title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.1;
    letter-spacing: -1px;
}
.ux-hero__subtitle {
    font-size: 22px;
    color: #e94560;
    font-weight: 600;
    margin: 0 0 30px;
}
.ux-hero__stats {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}
.ux-hero__stat {
    display: flex;
    flex-direction: column;
}
.ux-hero__stat-num {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}
.ux-hero__stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ux-hero__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Trust Bar ───────────────────────────────────────── */
.ux-trust {
    background: #f8f9fa;
    border-top: 3px solid #e94560;
    padding: 24px 0;
}
.ux-trust__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
}
.ux-trust__item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ux-trust__icon {
    width: 36px;
    height: 36px;
    color: #1a1a2e;
    flex-shrink: 0;
}
.ux-trust__text {
    display: flex;
    flex-direction: column;
}
.ux-trust__text strong {
    font-size: 15px;
    color: #1a1a2e;
    font-weight: 700;
}
.ux-trust__text span {
    font-size: 13px;
    color: #666;
}

/* ── How It Works ────────────────────────────────────── */
.ux-hiw {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.ux-hiw__steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.ux-hiw__step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 0 20px;
    position: relative;
}
.ux-hiw__num {
    width: 48px;
    height: 48px;
    background: #e94560;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.ux-hiw__icon {
    width: 48px;
    height: 48px;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.ux-hiw__step h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.ux-hiw__step p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}
.ux-hiw__connector {
    width: 60px;
    height: 2px;
    background: #ddd;
    margin-top: 72px;
    flex-shrink: 0;
}

/* ── Shop By Make ────────────────────────────────────── */
.ux-makes {
    padding: 60px 20px;
    background: #1a1a2e;
}
.ux-makes .ux-section__title {
    color: #fff;
}
.ux-makes .ux-section__subtitle {
    color: rgba(255,255,255,0.5);
}
.ux-makes__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.ux-makes__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.08);
}
.ux-makes__card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border-color: var(--make-color, #e94560);
}
.ux-makes__initial {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--make-color, #e94560);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.ux-makes__name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.ux-makes__cta {
    text-align: center;
    margin-top: 32px;
}
.ux-makes .ux-btn--outline {
    color: #fff !important;
    border-color: rgba(255,255,255,0.4);
}
.ux-makes .ux-btn--outline:hover {
    background: #e94560;
    border-color: #e94560;
    color: #fff !important;
}

/* ── Best Sellers ────────────────────────────────────── */
.ux-bestsellers {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.ux-bestsellers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ux-bestsellers__card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.25s ease;
}
.ux-bestsellers__card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: #ddd;
}
.ux-bestsellers__link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.ux-bestsellers__img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ux-bestsellers__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.ux-bestsellers__card:hover .ux-bestsellers__img img {
    transform: scale(1.05);
}
.ux-bestsellers__placeholder {
    width: 60px;
    height: 60px;
    color: #ccc;
}
.ux-bestsellers__info {
    padding: 14px 16px;
}
.ux-bestsellers__name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 6px;
    line-height: 1.4;
}
.ux-bestsellers__price {
    font-size: 16px;
    font-weight: 700;
    color: #e94560;
}
.ux-bestsellers__price del {
    color: #999;
    font-weight: 400;
    font-size: 13px;
}
.ux-bestsellers__price ins {
    text-decoration: none;
}
.ux-bestsellers__cta {
    text-align: center;
    margin-top: 32px;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
    .ux-makes__grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .ux-bestsellers__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ux-hero {
        min-height: 420px;
    }
    .ux-hero__content {
        padding: 40px 24px;
    }
    .ux-hero__title {
        font-size: 32px;
    }
    .ux-hero__subtitle {
        font-size: 18px;
    }
    .ux-hero__stats {
        gap: 24px;
    }
    .ux-hero__stat-num {
        font-size: 20px;
    }

    .ux-trust__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 0 24px;
    }

    .ux-hiw__steps {
        flex-direction: column;
        align-items: center;
    }
    .ux-hiw__connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    .ux-hiw__step {
        max-width: 400px;
    }

    .ux-makes__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .ux-makes__card {
        padding: 16px 8px;
    }
    .ux-makes__initial {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .ux-bestsellers__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .ux-hero__title {
        font-size: 26px;
    }
    .ux-hero__stats {
        flex-direction: column;
        gap: 12px;
    }
    .ux-hero__ctas {
        flex-direction: column;
    }
    .ux-btn {
        width: 100%;
        text-align: center;
    }

    .ux-makes__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ux-section__title {
        font-size: 26px;
    }
}
