/* ============================================
   Roadwinner - Dark Theme (v6)
   ============================================ */

:root {
    --primary: #0071e3;
    --primary-light: #0077ed;
    --primary-dark: #005bb5;
    --black: #ffffff;
    --white: #1d1d1f;
    --g900: #f5f5f7;
    --g800: #fafafa;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter Tight", sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--g900);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::selection {
    background: rgba(0, 113, 227, 0.15);
    color: var(--white);
}

*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 48px;
}

.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   NAV
   ============================================ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.5s;
    background: transparent;
    overflow: visible;
}

.site-nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
}

.logo-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.1;
}

.logo-text p {
    font-size: 9px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.65);
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--white);
}

.nav-actions {
    display: flex;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 0.95rem;
}

.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.7, 0, 0.3, 1);
}

.ml-2 {
    margin-left: 8px;
}

.group:hover .group-hover\:translate-x-1 {
    transform: translateX(4px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: absolute;
    top: 90px;
    left: 16px;
    right: 16px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 24px;
    transform: translateY(-16px);
    opacity: 0;
    transition: all 0.5s;
}

.mobile-menu-overlay.active .mobile-menu-panel {
    transform: translateY(0);
    opacity: 1;
}

.mobile-link {
    display: block;
    font-size: 1.05rem;
    color: rgba(29, 29, 31, 0.7);
    padding: 12px 0;
    transition: color 0.3s;
}

.mobile-link:hover {
    color: var(--white);
}

/* ============================================
   PRODUCT DROPDOWN
   ============================================ */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex !important;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 0.55rem;
    transition: transform 0.3s;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.dropdown-open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 260px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    z-index: 100;
    pointer-events: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.dropdown-panel::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 2px;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown.dropdown-open .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-brands {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 8px;
    border-radius: 16px 16px 0 0;
}

.dropdown-brand {
    position: relative;
}

.brand-main {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.brand-main:hover {
    background: rgba(0, 0, 0, 0.06);
}

.brand-logo-placeholder {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 800;
    color: rgba(29, 29, 31, 0.6);
    flex-shrink: 0;
    letter-spacing: 0.5px;
    overflow: hidden;
}

.brand-logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
}

.brand-count {
    font-size: 0.7rem;
    color: rgba(29, 29, 31, 0.35);
    margin-top: 2px;
}

.brand-arrow {
    font-size: 0.6rem;
    color: rgba(29, 29, 31, 0.25);
    transition: all 0.2s;
}

.dropdown-brand:hover .brand-arrow {
    color: var(--primary);
    transform: translateX(2px);
}

.dropdown-models {
    position: absolute;
    left: calc(100% + 6px);
    top: 0;
    width: 220px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    transition: all 0.2s;
    z-index: 101;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.dropdown-models::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 18px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transform: rotate(45deg);
}

.dropdown-brand:hover .dropdown-models {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.models-header {
    padding: 6px 12px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 6px;
}

.models-header h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.model-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: rgba(29, 29, 31, 0.6);
    font-size: 0.82rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.model-link:hover {
    background: rgba(0, 113, 227, 0.08);
    color: var(--primary);
}

.model-link i {
    font-size: 0.7rem;
    color: rgba(29, 29, 31, 0.2);
    width: 16px;
    text-align: center;
}

.model-link:hover i {
    color: var(--primary);
}

.model-price {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.no-models {
    padding: 10px 12px;
    font-size: 0.78rem;
    color: rgba(29, 29, 31, 0.35);
}

.dropdown-footer {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 0;
    padding: 4px 8px 8px;
    border-radius: 0 0 16px 16px;
}

.dropdown-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s;
}

.dropdown-all-link:hover {
    background: rgba(0, 113, 227, 0.08);
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, #e8f0fe 0%, var(--black) 60%);
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: brightness(0.5) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.75) 100%
    );
}

.hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--black), transparent);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 113, 227, 0.08);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    border: 1px solid rgba(0, 113, 227, 0.2);
    margin-bottom: 28px;
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.8);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s infinite;
}

.pulse-dot-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white-90 {
    color: rgba(29, 29, 31, 0.9);
}

.hero-desc {
    font-size: 0.95rem;
    color: rgba(29, 29, 31, 0.55);
    margin-bottom: 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
}

.dot-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(29, 29, 31, 0.3);
    display: inline-block;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-image {
    flex: 0 0 56%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transform: translateY(20px);
    animation: heroImageReveal 0.9s ease-out 0.2s forwards, heroImageFloat 5s ease-in-out 1.2s infinite;
}

.hero-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
}

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

@keyframes heroImageFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-alt {
    background: var(--g900);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-top: 14px;
    margin-bottom: 14px;
}

.section-sub {
    color: rgba(29, 29, 31, 0.55);
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.dot-grid {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(
        circle at 1px 1px,
        rgb(0, 113, 227) 1px,
        transparent 0
    );
    background-size: 40px 40px;
}

/* ============================================
   4 PILLARS
   ============================================ */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pillar-card {
    position: relative;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.04), transparent);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    opacity: 0;
    transform: perspective(1200px) rotateY(90deg);
    transform-origin: center;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.pillar-card.flip-in {
    opacity: 1;
    transform: perspective(1200px) rotateY(0);
}

.pillar-card:hover {
    box-shadow: 0 30px 60px rgba(0, 113, 227, 0.15);
    border-color: rgba(0, 113, 227, 0.25);
}

.card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
}

.pillar-card:hover .card-img {
    transform: scale(1.06);
}

.card-img-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--black) 10%, transparent 60%);
}

.card-icon-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    background: rgba(0, 113, 227, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
    z-index: 2;
}

.card-arrow {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.pillar-card:hover .card-arrow {
    opacity: 1;
}

.card-body {
    padding: 22px;
}

.card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.pillar-card:hover .card-body h3 {
    color: var(--primary);
}

.card-body p {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.55);
    margin-bottom: 14px;
    line-height: 1.6;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.card-tag {
    font-size: 0.68rem;
    padding: 4px 10px;
    background: rgba(0, 113, 227, 0.08);
    color: var(--primary);
    border-radius: 9999px;
    border: 1px solid rgba(0, 113, 227, 0.15);
}

.card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 113, 227, 0.08), transparent);
}

.pillar-card:hover .card-glow {
    opacity: 1;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    padding: 60px 0;
    background: var(--black);
    position: relative;
}

.stats-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 113, 227, 0.25),
        transparent
    );
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 6px;
}

.stat-label {
    color: rgba(29, 29, 31, 0.5);
    font-size: 0.85rem;
}

.counter {
    font-variant-numeric: tabular-nums;
}

/* ============================================
   SOURCING ADVANTAGE
   ============================================ */
.sourcing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.col-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-dot {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(29, 29, 31, 0.5);
}

/* Inventory */
.inv-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inv-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
    transform: translateX(-80px);
}

.inv-item.fly-in {
    opacity: 1;
    transform: translateX(0);
}

.inv-item:hover {
    border-color: rgba(0, 113, 227, 0.25);
}

.inv-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e8f0fe, #dce8fb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(29, 29, 31, 0.25);
    font-size: 1.3rem;
    transition: transform 0.4s;
}

.inv-item:hover .inv-thumb {
    transform: scale(1.05);
}

.inv-info {
    flex: 1;
}

.inv-badge {
    display: inline-block;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 9999px;
    margin-bottom: 3px;
}

.inv-badge.new {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.inv-badge.used {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.inv-badge.hot {
    background: rgba(0, 113, 227, 0.15);
    color: var(--primary);
}

.inv-info h4 {
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.inv-item:hover .inv-info h4 {
    color: var(--primary);
}

.inv-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 3px;
}

.inv-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.inv-stock {
    color: rgba(29, 29, 31, 0.35);
    font-size: 0.8rem;
}

.inv-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(29, 29, 31, 0.5);
    font-size: 0.8rem;
    transition: all 0.3s;
}

.inv-item:hover .inv-action {
    background: rgba(0, 113, 227, 0.15);
    color: var(--primary);
}

.btn-view-all {
    width: 100%;
    margin-top: 16px;
    padding: 11px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    background: transparent;
    color: rgba(29, 29, 31, 0.5);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

.btn-view-all:hover {
    color: var(--white);
    border-color: var(--primary);
}

/* Supply Chain */
.supply-card {
    background: linear-gradient(
        to bottom right,
        rgba(0, 0, 0, 0.04),
        transparent
    );
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px;
    overflow: hidden;
}

.supply-map {
    position: relative;
    height: 220px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #e8edf5;
}

.supply-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: hue-rotate(-10deg) saturate(0.4);
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 30%,
        rgba(255, 255, 255, 0.8)
    );
}

.map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    z-index: 3;
}

.map-dot::before {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    display: block;
    animation: glow 2s infinite;
}

.ping-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 50%;
    animation: ping 1.5s infinite;
}

@keyframes glow {
    0%,
    100% {
        box-shadow: 0 0 12px rgba(0, 113, 227, 0.4);
    }
    50% {
        box-shadow: 0 0 24px rgba(0, 113, 227, 0.7);
    }
}

@keyframes ping {
    75%,
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.map-routes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.route-line {
    stroke: var(--primary);
    stroke-width: 0.3;
    stroke-dasharray: 2 2;
    opacity: 0.5;
    animation: dash 3s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -20;
    }
}

.region-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.region-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
}

.region-name {
    color: rgba(29, 29, 31, 0.55);
    flex: 1;
}

.region-count {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.supply-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.metric-item {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}

.metric-item i {
    font-size: 1.1rem;
    margin-bottom: 6px;
    display: block;
    color: var(--primary);
}

.metric-value {
    font-size: 1.3rem;
    font-weight: 700;
}

.metric-label {
    font-size: 0.68rem;
    color: rgba(29, 29, 31, 0.5);
}

/* ============================================
   PROCESS
   ============================================ */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    padding-top: 40px;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: calc(40px + 30px);
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--primary) 0,
        var(--primary) 8px,
        transparent 8px,
        transparent 16px
    );
    opacity: 0.35;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 140px;
    opacity: 0;
    transform: translateY(40px) scale(0.5);
}

.process-step.pop-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e8f0fe, #dce8fb);
    border: 2px solid rgba(0, 113, 227, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.process-step:hover .step-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.3);
}

.process-step h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.process-step p {
    font-size: 0.75rem;
    color: rgba(29, 29, 31, 0.4);
}

.step-num {
    position: absolute;
    top: -2px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
}

/* ============================================
   PARTNERS
   ============================================ */
.partners-marquee {
    overflow: hidden;
    margin: 40px 0 28px;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 20px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(29, 29, 31, 0.75);
    white-space: nowrap;
    transition: all 0.3s;
}

.partner-logo:hover {
    background: rgba(0, 113, 227, 0.1);
    border-color: rgba(0, 113, 227, 0.3);
    color: var(--primary);
}

.global-stats-bar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 9999px;
    padding: 20px 28px;
}

.gs-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(29, 29, 31, 0.75);
}

/* ============================================
   CASE STUDIES
   ============================================ */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.story-card {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s;
    opacity: 0;
    transform: translateY(40px);
}

.story-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-card:hover {
    transform: translateY(-8px) !important;
}

.story-bg {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s;
}

.story-card:hover .story-bg {
    transform: scale(1.06);
}

.story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
}

.story-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
}

.story-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(0, 113, 227, 0.15);
    color: var(--primary);
    border-radius: 9999px;
    margin-bottom: 10px;
}

.story-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.story-content p {
    font-size: 0.82rem;
    color: rgba(29, 29, 31, 0.6);
    line-height: 1.5;
}

/* ============================================
   COMPLIANCE
   ============================================ */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.compliance-card {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 14px;
    padding: 28px 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(30px) rotateX(12deg);
}

.compliance-card.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.compliance-card:hover {
    background: rgba(0, 0, 0, 0.07);
    border-color: rgba(0, 113, 227, 0.25);
}

.compliance-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 14px;
    display: block;
}

.compliance-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.compliance-card p {
    font-size: 0.82rem;
    color: rgba(29, 29, 31, 0.5);
    line-height: 1.5;
}

.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.comp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.04);
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 0.82rem;
    color: rgba(29, 29, 31, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.comp-badge i {
    color: var(--primary);
}

/* ============================================
   QUOTE FORM
   ============================================ */
.quote-section {
    position: relative;
}

.quote-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 113, 227, 0.05),
        transparent 70%
    );
    pointer-events: none;
}

.quote-form {
    max-width: 860px;
    margin: 0 auto;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.035),
        rgba(0, 0, 0, 0.008)
    );
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 44px;
    position: relative;
    overflow: hidden;
}

.quote-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--primary-light),
        var(--primary)
    );
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(29, 29, 31, 0.65);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--primary);
    font-size: 0.75rem;
}

.form-group input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    color: var(--white);
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
}

.form-group input::placeholder {
    color: rgba(29, 29, 31, 0.25);
}

.form-group input:focus {
    border-color: var(--primary);
    background: rgba(0, 113, 227, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.08);
}

.form-submit {
    text-align: center;
}

.form-submit .btn-primary {
    padding: 14px 44px;
    font-size: 0.95rem;
}

.form-note {
    margin-top: 14px;
    font-size: 0.78rem;
    color: rgba(29, 29, 31, 0.35);
}

.form-note i {
    color: var(--primary);
    margin-right: 4px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #f5f5f7;
    padding: 56px 0 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 280px;
}

.footer-desc {
    color: rgba(29, 29, 31, 0.45);
    font-size: 0.85rem;
    margin-top: 14px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 56px;
}

.footer-col h5 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    color: rgba(29, 29, 31, 0.45);
    font-size: 0.85rem;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(29, 29, 31, 0.35);
}

/* ============================================
   WHATSAPP FAB
   ============================================ */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
    width: 54px;
    height: 54px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: transform 0.3s;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
}

.whatsapp-fab i {
    font-size: 1.5rem;
    color: #ffffff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 1024px) {
    .hero-grid {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-image {
        flex: none;
        width: 100%;
    }

    .hero-image img {
        height: 320px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-desc {
        justify-content: center;
    }

    .sourcing-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

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

    .dropdown-models {
        left: auto;
        right: 0;
        top: calc(100% + 8px);
    }

    .dropdown-models::before {
        left: auto;
        right: 18px;
        top: -6px;
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        border-bottom: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .container {
        padding: 0 32px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .compliance-grid {
        grid-template-columns: 1fr;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .process-steps::before {
        display: none;
    }

    .process-steps {
        gap: 14px;
    }

    .process-step {
        width: 130px;
    }

    .global-stats-bar {
        border-radius: 14px;
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        gap: 28px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .quote-form {
        padding: 28px 20px;
    }

    .hero-image img {
        height: 260px;
    }

    .compliance-badges {
        gap: 10px;
    }

    .comp-badge {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn-lg {
        width: 100%;
    }

    .supply-metrics {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    position: relative;
    height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
}

.page-hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--black));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 64px;
}

.page-hero-text {
    max-width: 760px;
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(29, 29, 31, 0.65);
    font-weight: 400;
    line-height: 1.6;
}

/* ============================================
   PAGE CONTENT SECTION
   ============================================ */
.page-content-section {
    background: var(--black);
    padding: 80px 0 120px;
}

.page-content-wrap {
    max-width: 820px;
}

/* ============================================
   MARKDOWN CONTENT STYLES
   ============================================ */
.md-content {
    color: rgba(29, 29, 31, 0.82);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 400;
}

.md-content h1,
.md-content h2,
.md-content h3,
.md-content h4 {
    color: var(--white);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-top: 2.5em;
    margin-bottom: 0.75em;
}

.md-content h1 {
    font-size: 2rem;
}
.md-content h2 {
    font-size: 1.5rem;
    padding-bottom: 0.5em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.md-content h3 {
    font-size: 1.2rem;
    color: var(--primary-light);
}
.md-content h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(29, 29, 31, 0.5);
}

.md-content p {
    margin-bottom: 1.25em;
}

.md-content strong {
    color: var(--white);
    font-weight: 600;
}

.md-content em {
    color: rgba(29, 29, 31, 0.65);
    font-style: italic;
}

.md-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.md-content a:hover {
    color: var(--primary-light);
}

.md-content ul,
.md-content ol {
    margin: 0 0 1.25em 0;
    padding-left: 1.5em;
}

.md-content ul {
    list-style: none;
    padding-left: 0;
}

.md-content ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.md-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.md-content ol {
    list-style: decimal;
}

.md-content ol li {
    margin-bottom: 0.5em;
    padding-left: 0.25em;
}

.md-content ol li::marker {
    color: var(--primary);
    font-weight: 600;
}

.md-content blockquote {
    margin: 2em 0;
    padding: 1.25em 1.5em;
    border-left: 3px solid var(--primary);
    background: rgba(0, 113, 227, 0.06);
    border-radius: 0 8px 8px 0;
    color: rgba(29, 29, 31, 0.75);
    font-style: italic;
    font-size: 1.05rem;
}

.md-content code {
    font-family: "Courier New", monospace;
    font-size: 0.875em;
    background: rgba(0, 0, 0, 0.08);
    color: var(--primary-light);
    padding: 0.15em 0.45em;
    border-radius: 4px;
}

.md-content hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin: 2.5em 0;
}

/* 简单表格支�?*/
.md-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.9rem;
}

.md-content th {
    text-align: left;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--white);
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.md-content td {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: rgba(29, 29, 31, 0.7);
}

.md-content tr:last-child td {
    border-bottom: none;
}

/* ============================================
   PRODUCTS PAGE �?Brand Aggregation
   ============================================ */
.products-hero .page-hero-title span {
    color: var(--primary);
}

.products-hero .page-hero-bg {
    background-image:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.45) 0%,
            rgba(255, 255, 255, 0.7) 60%,
            rgba(255, 255, 255, 1) 100%
        ),
        url("https://images.unsplash.com/photo-1565043589221-1a6fd9ae45c7?w=1920&q=80&fit=crop&crop=center");
    background-size: cover;
    background-position: center;
}
.products-hero .page-hero-content {
    position: relative;
    z-index: 2;
}

/* ---- Hot Brands ---- */
.hot-brands-section {
    padding: 64px 0 0;
}

.hot-brands-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.hot-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 113, 227, 0.12);
    color: var(--primary);
    border: 1px solid rgba(0, 113, 227, 0.25);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hot-brands-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
}

.hot-brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hot-brand-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--g900);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    padding: 18px 20px;
    transition:
        border-color 0.25s,
        transform 0.25s,
        box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.hot-brand-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.hot-brand-card:hover {
    border-color: rgba(0, 113, 227, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.hot-brand-card:hover::before {
    transform: scaleX(1);
}

.hot-brand-logo {
    width: 52px;
    height: 52px;
    background: var(--g800);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
}

.hot-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hot-brand-info {
    flex: 1;
    min-width: 0;
}

.hot-brand-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-brand-info span {
    font-size: 0.75rem;
    color: rgba(29, 29, 31, 0.35);
}

.hot-brand-arrow {
    color: rgba(29, 29, 31, 0.2);
    font-size: 0.75rem;
    transition:
        color 0.2s,
        transform 0.2s;
    flex-shrink: 0;
}

.hot-brand-card:hover .hot-brand-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

/* ---- Filter row ---- */
.brands-section {
    padding: 48px 0 100px;
}

.brands-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
}

.brands-section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
}

.brands-section-title span {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(29, 29, 31, 0.3);
    margin-left: 8px;
}

.brands-search-wrap {
    position: relative;
    width: 260px;
}

.brands-search-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(29, 29, 31, 0.3);
    font-size: 0.8rem;
    pointer-events: none;
}

.brands-search-wrap input {
    width: 100%;
    background: var(--g900);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 10px 14px 10px 38px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}

.brands-search-wrap input::placeholder {
    color: rgba(29, 29, 31, 0.25);
}
.brands-search-wrap input:focus {
    border-color: rgba(0, 113, 227, 0.4);
}

.brands-no-result {
    text-align: center;
    padding: 60px 0;
    color: rgba(29, 29, 31, 0.25);
}

.brands-no-result i {
    font-size: 2.5rem;
    margin-bottom: 14px;
    display: block;
}
.brands-no-result span {
    color: var(--primary);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.brand-card {
    display: flex;
    flex-direction: column;
    background: var(--g900);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
}

.brand-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 113, 227, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.brand-card-logo {
    height: 160px;
    background: var(--g800);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.brand-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: filter 0.3s;
}

.brand-card:hover .brand-card-logo img {
    filter: brightness(1);
}

.brand-card-initial {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.6;
}

.brand-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.brand-card-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.brand-card-desc {
    font-size: 0.82rem;
    color: rgba(29, 29, 31, 0.45);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 16px;
}

.brand-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-model-count {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(29, 29, 31, 0.35);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-model-count i {
    color: var(--primary);
    font-size: 0.7rem;
}

.brand-card-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 113, 227, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.75rem;
    transition:
        background 0.25s,
        transform 0.25s;
}

.brand-card:hover .brand-card-arrow {
    background: var(--primary);
    color: #ffffff;
    transform: translateX(3px);
}

.brands-empty {
    text-align: center;
    padding: 80px 0;
    color: rgba(29, 29, 31, 0.25);
}

.brands-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

/* Products CTA */
.products-cta {
    padding: 0 0 100px;
}

.products-cta-inner {
    background: linear-gradient(
        135deg,
        var(--g900) 0%,
        rgba(0, 113, 227, 0.06) 100%
    );
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 20px;
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.products-cta-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.products-cta-text p {
    color: rgba(29, 29, 31, 0.45);
    font-size: 0.95rem;
}

/* ============================================
   BRAND DETAIL PAGE
   ============================================ */
.brand-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(29, 29, 31, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
    transition: color 0.2s;
}

.brand-back-link:hover {
    color: var(--primary);
}

/* Brand hero background image */
.brand-hero-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f5f5f7;
    background-image:
        url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1600&q=80"),
        linear-gradient(135deg, #e8f0fe 0%, #dce8fb 50%, #c8d8f8 100%);
}

/* 品牌页面：面包屑�?hero 上方，hero 不需要额�?margin-top */
.brand-hero {
    margin-top: 0;
}

.brand-hero-inner {
    display: flex;
    align-items: flex-end;
    gap: 28px;
}

.brand-hero-logo {
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.brand-hero-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Brand intro */

.brand-intro-body {
    max-width: 860px;
    font-size: 1rem;
    color: rgba(29, 29, 31, 0.65);
    line-height: 1.8;
    margin-bottom: 48px;
}

/* Markdown 渲染样式 */
.markdown-body h1, .markdown-body h2, .markdown-body h3,
.markdown-body h4, .markdown-body h5, .markdown-body h6 {
    color: #1d1d1f;
    font-weight: 700;
    margin: 1.4em 0 0.5em;
    line-height: 1.3;
}
.markdown-body h2 { font-size: 1.35rem; }
.markdown-body h3 { font-size: 1.1rem; }
.markdown-body p  { margin: 0 0 1em; }
.markdown-body ul, .markdown-body ol {
    margin: 0 0 1em 1.4em;
    padding: 0;
}
.markdown-body li { margin-bottom: 0.3em; }
.markdown-body strong { color: #1d1d1f; font-weight: 600; }
.markdown-body em { font-style: italic; }
.markdown-body hr {
    border: none; border-top: 1px solid rgba(0,0,0,.1);
    margin: 1.5em 0;
}
.markdown-body blockquote {
    border-left: 3px solid #0071e3;
    margin: 1em 0; padding: 0.5em 1em;
    color: rgba(29,29,31,.5);
    font-style: italic;
}

/* Models grid */
.brand-models-section {
    padding: 60px 0 100px;
}

.section-header-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 36px;
}

.section-title-sm {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.section-title-sm span {
    color: var(--primary);
}

.models-count {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(29, 29, 31, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.model-card {
    background: var(--g900);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.model-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 113, 227, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.model-card-img {
    height: 200px;
    background: var(--g800);
    overflow: hidden;
}

.model-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.model-card:hover .model-card-img img {
    transform: scale(1.04);
}

.model-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.1);
    font-size: 3rem;
}

.model-card-body {
    padding: 20px 22px 24px;
}

.model-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.model-card-price {
    font-size: 0.82rem;
    color: rgba(29, 29, 31, 0.4);
    margin-bottom: 10px;
}

.model-card-price strong {
    color: var(--primary);
    font-weight: 700;
}

.model-card-desc {
    font-size: 0.82rem;
    color: rgba(29, 29, 31, 0.4);
    line-height: 1.55;
    margin-bottom: 18px;
}

.model-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.2s;
}

.model-card-btn:hover {
    gap: 12px;
}

/* ============================================
   PAGE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .products-cta-inner {
        flex-direction: column;
        padding: 36px 28px;
        text-align: center;
    }

    .hot-brands-grid {
        grid-template-columns: 1fr 1fr;
    }
    .brands-filter-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .brands-search-wrap {
        width: 100%;
    }

    .brand-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .brand-hero-logo {
        width: 72px;
        height: 72px;
    }

    .models-grid {
        grid-template-columns: 1fr 1fr;
    }
    .brands-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .page-hero {
        height: 360px;
    }

    .page-hero-content {
        padding-bottom: 40px;
    }

    .page-content-section {
        padding: 48px 0 80px;
    }

    .md-content h1 {
        font-size: 1.6rem;
    }
    .md-content h2 {
        font-size: 1.3rem;
    }
}

/* ============================================================
   Model Detail Page
   ============================================================ */

/* 面包�?*/
.model-breadcrumb {
    position: sticky;
    top: 72px;
    z-index: 40;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px 0;
    margin-top: 72px;
    font-size: 0.8rem;
    color: rgba(29, 29, 31, 0.45);
}
.model-breadcrumb a {
    color: rgba(29, 29, 31, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}
.model-breadcrumb a:hover {
    color: var(--accent);
}
.model-breadcrumb i {
    margin: 0 8px;
    font-size: 0.65rem;
}
.model-breadcrumb span {
    color: rgba(29, 29, 31, 0.85);
}

/* 主区�?*/
.model-main-section {
    padding: 60px 0 80px;
    background: var(--black);
}

.model-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

/* 相册 */
.model-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 113, 227, 0.08);
    border: 2px solid rgba(0, 113, 227, 0.35);
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s ease;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.gallery-thumb {
    width: 80px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(0, 113, 227, 0.15);
    opacity: 0.65;
    transition:
        opacity 0.2s,
        border-color 0.2s;
    flex-shrink: 0;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-thumb:hover {
    opacity: 0.85;
}
.gallery-thumb.active {
    border-color: #0071e3;
    opacity: 1;
}

.gallery-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(29, 29, 31, 0.15);
    font-size: 4rem;
}

/* 右侧信息 */
.model-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.model-info-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(29, 29, 31, 0.5);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.model-brand-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.model-info-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin: 0;
}

.model-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.model-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.08);
    color: rgba(29, 29, 31, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.model-tag--fuel {
    background: rgba(0, 113, 227, 0.12);
    color: var(--primary);
    border-color: rgba(0, 113, 227, 0.25);
}
.model-tag--year {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(29, 29, 31, 0.5);
}

.model-info-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}
.price-label {
    font-size: 0.8rem;
    color: rgba(29, 29, 31, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}
.price-note {
    font-size: 0.75rem;
    color: rgba(29, 29, 31, 0.3);
}

/* Specs 表格 */
.model-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.spec-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    background: #ffffff;
}
.spec-key {
    font-size: 0.72rem;
    color: rgba(29, 29, 31, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.spec-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(29, 29, 31, 0.9);
}

/* 操作按钮 */
.model-info-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.btn-outline-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 6px;
    border: 1px solid rgba(29, 29, 31, 0.15);
    color: rgba(29, 29, 31, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition:
        border-color 0.2s,
        color 0.2s;
    width: fit-content;
}
.btn-outline-sm:hover {
    border-color: rgba(29, 29, 31, 0.35);
    color: var(--white);
}

/* 内容区（markdown / description�?*/
.model-content-section {
    padding: 64px 0 80px;
    background: #f5f5f7;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.model-content-body {
    color: rgba(29, 29, 31, 0.75);
    font-size: 1rem;
    line-height: 1.8;
}
.model-content-body h2 {
    font-size: 1.5rem;
    color: var(--white);
    margin: 2em 0 0.6em;
}
.model-content-body h3 {
    font-size: 1.2rem;
    color: rgba(29, 29, 31, 0.9);
    margin: 1.6em 0 0.5em;
}
.model-content-body p {
    margin: 0 0 1em;
}
.model-content-body ul,
.model-content-body ol {
    padding-left: 1.4em;
    margin: 0 0 1em;
}
.model-content-body li {
    margin-bottom: 0.4em;
}
.model-content-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5em 0;
}
.model-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.9rem;
}
.model-content-body th,
.model-content-body td {
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
}
.model-content-body th {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(29, 29, 31, 0.9);
    font-weight: 600;
}

/* 响应�?*/
@media (max-width: 1024px) {
    .model-main-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .model-info-title {
        font-size: 2rem;
    }
}
@media (max-width: 640px) {
    .model-main-section {
        padding: 36px 0 56px;
    }
    .model-info-title {
        font-size: 1.6rem;
    }
    .model-specs-grid {
        grid-template-columns: 1fr;
    }
    .gallery-thumb {
        width: 64px;
        height: 46px;
    }
    .price-value {
        font-size: 1.6rem;
    }
}

/* ============================================================
   News Pages
   ============================================================ */

/* Short hero variant (no full-height) */
.page-hero--short {
    min-height: 320px;
    padding: 120px 0 60px;
}

/* News list hero default background */
.news-list-hero .page-hero-bg {
    background:
        url("https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=1600&q=80")
            center/cover no-repeat,
        linear-gradient(135deg, #f5f5f7 0%, #e8f0fe 50%, #f5f5f7 100%);
}

/* ---- News List ---- */
.news-section {
    padding: 64px 0 96px;
}
.news-empty {
    text-align: center;
    color: rgba(29, 29, 31, 0.4);
    padding: 80px 0;
    font-size: 1.1rem;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.news-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}
.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 113, 227, 0.25);
}
.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.news-card-cover {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.06);
}
.news-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-card:hover .news-card-cover img {
    transform: scale(1.04);
}
.news-card-cover--placeholder {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.04),
        rgba(0, 0, 0, 0.08)
    );
}
.news-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.news-card-category {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(29, 29, 31, 0.45);
    background: rgba(0, 0, 0, 0.07);
    padding: 3px 10px;
    border-radius: 20px;
    align-self: flex-start;
}
.news-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-subtitle {
    font-size: 0.88rem;
    color: rgba(29, 29, 31, 0.5);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-date {
    font-size: 0.78rem;
    color: rgba(29, 29, 31, 0.3);
    margin-top: 4px;
}

/* Pagination */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 56px;
}
.news-pagination-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(29, 29, 31, 0.15);
    border-radius: 6px;
    color: rgba(29, 29, 31, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition:
        border-color 0.2s,
        color 0.2s,
        background 0.2s;
}
.news-pagination-btn:hover {
    border-color: rgba(29, 29, 31, 0.4);
    color: var(--white);
}
.news-pagination-btn.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(29, 29, 31, 0.5);
    color: var(--white);
    font-weight: 600;
    pointer-events: none;
}
.news-pagination-info {
    font-size: 0.88rem;
    color: rgba(29, 29, 31, 0.4);
}

/* ---- News Detail ---- */
.news-detail-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(29, 29, 31, 0.55);
    background: rgba(0, 0, 0, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.news-detail-date {
    display: block;
    font-size: 0.82rem;
    color: rgba(29, 29, 31, 0.4);
    margin-top: 12px;
}
.news-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(29, 29, 31, 0.35);
    margin-bottom: 36px;
}
.news-breadcrumb a {
    color: rgba(29, 29, 31, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}
.news-breadcrumb a:hover {
    color: var(--white);
}
.news-detail-content {
    margin-bottom: 56px;
}

/* Prev / Next nav */
.news-nav {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 36px;
}
.news-nav-prev,
.news-nav-next {
    flex: 1;
    max-width: 45%;
}
.news-nav-next {
    text-align: right;
}
.news-nav a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
}
.news-nav-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(29, 29, 31, 0.35);
}
.news-nav-title {
    font-size: 0.92rem;
    color: rgba(29, 29, 31, 0.75);
    line-height: 1.4;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-nav a:hover .news-nav-title {
    color: var(--white);
}
.news-back {
    margin-top: 8px;
}
.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid rgba(29, 29, 31, 0.2);
    border-radius: 6px;
    color: rgba(29, 29, 31, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
    transition:
        border-color 0.2s,
        color 0.2s;
}
.btn-outline:hover {
    border-color: rgba(29, 29, 31, 0.5);
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-hero--short {
        min-height: 240px;
        padding: 100px 0 48px;
    }
    .news-nav {
        flex-direction: column;
    }
    .news-nav-prev,
    .news-nav-next {
        max-width: 100%;
        text-align: left;
    }
}
