@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Noto+Serif+SC:wght@400;600;700&display=swap');

/* DESIGN TOKENS */
:root {
    --bg-primary: #050507;
    --bg-secondary: #0b0b0e;
    --bg-card: rgba(15, 15, 20, 0.7);
    --bg-glass: rgba(10, 10, 12, 0.45);
    
    --gold-primary: #d4af37;
    --gold-bright: #f3e5ab;
    --gold-muted: #aa8c2c;
    --gold-dark: #6e551c;
    --gold-glow: rgba(212, 175, 55, 0.15);
    
    --text-primary: #f8f9fa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --border-gold: rgba(212, 175, 55, 0.2);
    --border-gold-hover: rgba(212, 175, 55, 0.6);
    --border-dark: rgba(255, 255, 255, 0.05);
    
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px var(--gold-glow);
    
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --font-serif: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* AMBIENT LIGHTING BACKGROUND */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-glow) 0%, rgba(5,5,7,0) 70%);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
    mix-blend-mode: screen;
}

.glow-top-right {
    top: -200px;
    right: -200px;
}

.glow-bottom-left {
    bottom: -200px;
    left: -200px;
}

/* TYPOGRAPHY & UTILITIES */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.gold-gradient-text {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 50%, var(--gold-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    padding-left: 2rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 1px;
    background-color: var(--gold-primary);
}

.section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.section-subtitle {
    max-width: 700px;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: var(--text-secondary);
}

/* BUTTONS */
.btn-primary {
    position: relative;
    display: inline-block;
    padding: 1.1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 100%);
    border: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-medium);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 1.1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-gold);
    cursor: pointer;
    transition: var(--transition-medium);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
    color: var(--gold-bright);
    transform: translateY(-3px);
}

/* HEADER & NAV */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-medium);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-dark);
    padding: 0.8rem 0;
}

header:not(.scrolled) {
    padding: 1.8rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo span {
    font-weight: 400;
    color: var(--gold-primary);
}

.logo-icon {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold-primary);
    transition: var(--transition-medium);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    border: 1px solid var(--border-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
}

.lang-btn {
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
    font-weight: 500;
}

.lang-btn.active {
    color: var(--gold-primary);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: linear-gradient(rgba(5, 5, 7, 0.7), rgba(5, 5, 7, 0.95)), url('assets/shanghai_night.png');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: zoomBackground 20s infinite alternate ease-in-out;
}

@keyframes zoomBackground {
    from { transform: scale(1.02); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.04) 0%, rgba(5,5,7,0) 60%),
                linear-gradient(180deg, rgba(5,5,7,0) 60%, var(--bg-primary) 100%);
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 4.8rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

.hero p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 3.5rem;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* SERVICES SECTION */
.services {
    padding: 8rem 0;
    background-color: var(--bg-primary);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    padding: 3rem;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 400px;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-muted), var(--gold-bright));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-medium);
}

.service-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.service-link span {
    transition: var(--transition-fast);
}

.service-card:hover .service-link span {
    transform: translateX(5px);
}

/* ABOUT SECTION */
.about {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
    position: relative;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.about-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

.about-content {
    max-width: 650px;
}

.about-philosophy {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 1.5;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    border-left: 2px solid var(--gold-primary);
    padding-left: 2rem;
}

.about-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border: 1px solid var(--border-gold);
    padding: 1rem;
    background: rgba(212, 175, 55, 0.02);
}

.about-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    filter: brightness(0.7) contrast(1.1);
}

.about-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border: 1px solid var(--border-gold);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(10px);
}

.about-badge-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
}

.about-badge-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .about-badge {
        bottom: 1rem;
        right: 1rem;
        padding: 1rem;
    }
    .about-badge-num {
        font-size: 2rem;
    }
}

/* WHY US & METRICS */
.why-us {
    padding: 8rem 0;
    background-color: var(--bg-primary);
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

@media (max-width: 1024px) {
    .metrics-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .metrics-row {
        grid-template-columns: 1fr;
    }
}

.metric-item {
    text-align: center;
    border: 1px solid var(--border-dark);
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    transition: var(--transition-medium);
}

.metric-item:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-glow);
}

.metric-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

/* PROCESS SECTION */
.process {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    position: relative;
}

.process-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: linear-gradient(rgba(11, 11, 14, 0.92), rgba(11, 11, 14, 0.95)), url('assets/logistics_port.png');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}

.process-container {
    position: relative;
    z-index: 1;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
}

@media (max-width: 1024px) {
    .process-flow {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .process-flow {
        grid-template-columns: 1fr;
    }
}

.process-step {
    position: relative;
    background: rgba(15, 15, 20, 0.5);
    border: 1px solid var(--border-dark);
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -2.5rem;
    width: 2rem;
    height: 1px;
    background-color: var(--border-gold);
    z-index: 2;
}

@media (max-width: 1024px) {
    .process-step::after {
        display: none;
    }
}

.process-flow .process-step:last-child::after {
    display: none;
}

.process-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(212, 175, 55, 0.1);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.process-step:hover .process-number {
    color: rgba(212, 175, 55, 0.25);
    transition: var(--transition-fast);
}

.process-step-title {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.process-step-desc {
    font-size: 0.95rem;
}

/* INSIGHTS / BLOG */
.insights {
    padding: 8rem 0;
    background-color: var(--bg-primary);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

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

@media (max-width: 640px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

.insight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
    overflow: hidden;
}

.insight-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px);
}

.insight-image-container {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.insight-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: brightness(0.65);
}

.insight-card:hover .insight-image {
    transform: scale(1.08);
    filter: brightness(0.85);
}

.insight-meta {
    padding: 2rem 2rem 0.5rem 2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-primary);
    display: flex;
    justify-content: space-between;
}

.insight-info {
    padding: 0 2rem 2.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.insight-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.insight-card:hover .insight-title {
    color: var(--gold-bright);
}

.insight-excerpt {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.insight-read-more {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-gold);
    width: fit-content;
    padding-bottom: 0.2rem;
}

/* CONTACT SECTION & FORM */
.contact {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
    position: relative;
    border-top: 1px solid var(--border-dark);
}

.contact-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
}

@media (max-width: 1024px) {
    .contact-split {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

.contact-details {
    max-width: 500px;
}

.contact-info-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-top: 0.2rem;
}

.contact-info-text h4 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-info-text p {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    padding: 4rem;
    backdrop-filter: blur(15px);
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 30px;
    height: 30px;
    border-top: 2px solid var(--gold-primary);
    border-left: 2px solid var(--gold-primary);
}

.contact-form-container::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 30px;
    height: 30px;
    border-bottom: 2px solid var(--gold-primary);
    border-right: 2px solid var(--gold-primary);
}

@media (max-width: 640px) {
    .contact-form-container {
        padding: 2.5rem 1.5rem;
    }
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 640px) {
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-input {
    width: 100%;
    padding: 0.8rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-medium);
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--gold-primary);
}

.form-label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
    pointer-events: none;
    transition: var(--transition-medium);
}

/* Floating label effect */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -1.2rem;
    font-size: 0.75rem;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-select {
    width: 100%;
    padding: 0.8rem 0;
    background: var(--bg-primary);
    border: none;
    border-bottom: 1px solid var(--border-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    cursor: pointer;
    outline: none;
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 1rem;
}

.form-select:focus {
    border-bottom-color: var(--gold-primary);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.checkbox-input {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-gold);
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.checkbox-input:checked {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
}

.checkbox-input:checked::after {
    content: '✓';
    color: #000;
    font-size: 0.75rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

.checkbox-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

/* FOOTER */
footer {
    background-color: var(--bg-primary);
    padding: 6rem 0 3rem 0;
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

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

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-brand p {
    margin-top: 1.5rem;
    max-width: 280px;
    font-size: 0.9rem;
}

.footer-col h5 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    margin-bottom: 2rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid var(--border-gold);
}

.newsletter-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 0;
    color: var(--text-primary);
    font-family: var(--font-sans);
}

.newsletter-input:focus {
    outline: none;
}

.newsletter-btn {
    background: transparent;
    border: none;
    color: var(--gold-primary);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

/* PREMIUM LIGHTBOX/MODAL */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-medium);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-gold);
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 4rem;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-slow);
    box-shadow: var(--shadow-premium), 0 0 50px rgba(212, 175, 55, 0.1);
}

.modal-content::-webkit-scrollbar {
    width: 5px;
}
.modal-content::-webkit-scrollbar-track {
    background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

.modal.active .modal-content {
    transform: scale(1);
}

@media (max-width: 640px) {
    .modal-content {
        padding: 2.5rem 1.5rem;
        max-height: 90vh;
    }
    .modal-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    .modal-body {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .modal-icon {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
}

@media (max-height: 700px) {
    .modal-content {
        padding: 2rem;
        max-height: 90vh;
    }
    .modal-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    .modal-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .modal-body {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--gold-primary);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--gold-primary);
}

.modal-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.modal-body {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-body ul {
    margin-top: 1.5rem;
    margin-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    color: var(--text-primary);
}

.modal-body ul li span {
    color: var(--gold-primary);
    margin-right: 0.5rem;
}

/* ANIMATIONS AND ON-SCROLL EFFECT CLASSES */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* B2B MACHINERY CATALOG BANNER */
.machinery-banner {
    padding: 6rem 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-dark);
}

.machinery-banner-box {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    padding: 4rem;
    align-items: center;
    gap: 4rem;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(10px);
}

.machinery-banner-content {
    flex: 1.1;
}

.machinery-banner-content .banner-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.machinery-banner-content .banner-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.machinery-banner-image-wrapper {
    flex: 0.9;
    border: 1px solid var(--border-dark);
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 2px;
}

.machinery-banner-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    display: block;
}

@media (max-width: 992px) {
    .machinery-banner-box {
        flex-direction: column;
        padding: 3rem;
        gap: 3rem;
    }
    .machinery-banner-image-wrapper {
        width: 100%;
    }
    .machinery-banner-image {
        height: 250px;
    }
}

/* CATALOG INTERACTIVE COMPONENTS */
.filter-btn {
    padding: 0.8rem 1.8rem;
    background: rgba(11, 11, 14, 0.6);
    border: 1px solid var(--border-dark);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-medium);
    border-radius: 2px;
}

.filter-btn:hover {
    border-color: var(--border-gold);
    color: var(--gold-bright);
}

.filter-btn.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-bright);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

/* SOURCING INQUIRY CART TRIGGER */
.cart-btn-wrapper {
    position: relative;
    cursor: pointer;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.cart-btn-wrapper:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.cart-icon {
    font-size: 1.2rem;
    color: var(--gold-primary);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: var(--gold-primary);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-badge.active {
    opacity: 1;
    transform: scale(1);
}

/* SOURCING INQUIRY CART SIDEBAR */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 440px;
    height: 100%;
    background: rgba(11, 11, 14, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-gold);
    z-index: 2000;
    transform: translateX(100%);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-dark);
}

.cart-sidebar-header h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-primary);
}

.cart-sidebar-close {
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-sidebar-close:hover {
    color: var(--gold-primary);
}

.cart-sidebar-body {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
}

.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
    }
}

/* BUTTON ACTION STATES */
.btn-sourcing-action {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-gold);
    transition: var(--transition-medium);
}

.btn-sourcing-action:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
    color: var(--gold-bright);
}

.btn-sourcing-action.added-to-cart {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-bright);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

/* MACHINERY DETAILS MODAL */
.machinery-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 1rem;
}

.detail-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.detail-specs-table td {
    padding: 0.6rem 0;
}

.detail-specs-table tr {
    border-bottom: 1px solid var(--border-dark);
}

@media (max-width: 768px) {
    .machinery-detail-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .detail-img-wrapper {
        height: 240px !important;
    }
}

/* SOURCING TRACKER STYLE ENGINE */
#tracker-input:focus {
    border-color: var(--border-gold) !important;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

.tracking-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: nowrap;
}

.timeline-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.timeline-step::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border-dark);
    z-index: 1;
}

.timeline-step:last-child::after {
    display: none;
}

.step-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step.completed .step-marker {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--bg-primary);
}

.timeline-step.active .step-marker {
    background: var(--bg-primary);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
    box-shadow: 0 0 12px var(--gold-primary);
}

.timeline-step.completed::after {
    background: var(--gold-primary);
}

.step-content {
    margin-top: 1rem;
    font-size: 0.8rem;
    padding: 0 0.5rem;
}

.step-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.step-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .tracking-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding-left: 2rem;
    }
    .timeline-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1.5rem;
    }
    .timeline-step::after {
        top: 32px;
        left: 15px;
        width: 2px;
        height: calc(100% + 2rem);
    }
    .step-content {
        margin-top: 0;
    }
}

/* INTERACTIVE FACTORY AUDIT REPORT STYLES */
.audit-scorebar {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.audit-scorebar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.audit-scorebar-label {
    color: var(--text-secondary);
}

.audit-scorebar-value {
    color: var(--gold-bright);
    font-weight: 600;
}

.audit-scorebar-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.audit-scorebar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-muted) 0%, var(--gold-bright) 100%);
    border-radius: 3px;
    width: 0;
    transition: width 1s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.audit-check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.3;
}

.audit-check-icon {
    color: #4caf50;
    font-size: 0.75rem;
}

/* INTERACTIVE B2B CHATBOT STYLES */
#chatbot-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    border-color: var(--border-gold);
}

.chatbot-open #chatbot-trigger {
    transform: rotate(90deg);
}

.chat-bubble {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    line-height: 1.4;
    position: relative;
    animation: bubble-fade-up 0.3s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes bubble-fade-up {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-bubble.agent {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.chat-bubble.client {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--gold-bright);
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.chat-suggestion-chip {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-suggestion-chip:hover {
    border-color: var(--border-gold);
    color: var(--gold-bright);
    background: rgba(212, 175, 55, 0.04);
}

/* Chat Search Match Mini Card */
.chat-mini-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(5,5,7,0.8);
    border: 1px solid var(--border-dark);
    padding: 0.6rem;
    border-radius: 2px;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-mini-card:hover {
    border-color: var(--border-gold);
    background: rgba(212, 175, 55, 0.05);
}

.chat-mini-card img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.05);
}

.chat-mini-card-info {
    flex: 1;
    overflow: hidden;
}

.chat-mini-card-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.chat-mini-card-cat {
    font-size: 0.65rem;
    color: var(--gold-muted);
    text-transform: uppercase;
}

/* Typing Dots Animation */
.chat-typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    border-bottom-left-radius: 0;
    align-self: flex-start;
    animation: bubble-fade-up 0.3s ease;
}

.chat-typing-dots {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typing-dots-bounce 1s infinite ease-in-out;
}

.chat-typing-dots:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing-dots:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-dots-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* ==========================================================================
   B2B UPGRADES STYLING
   ========================================================================== */

/* 1. Comparison Matrix & Bar */
.compare-checkbox-container {
    transition: var(--transition-fast);
}
.compare-checkbox-container:hover {
    border-color: var(--gold-primary) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}
.compare-mini-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    padding: 0.3rem 0.6rem;
    border-radius: 2px;
}
.compare-mini-card img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 1px solid var(--border-dark);
}
.compare-mini-card span {
    font-size: 0.75rem;
    color: var(--text-primary);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 120px;
}
.compare-remove-btn {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0 0.2rem;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.compare-table th, .compare-table td {
    padding: 1rem;
    border: 1px solid var(--border-dark);
    text-align: left;
}
.compare-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    font-weight: 600;
}
.compare-table tr:hover {
    background: rgba(255, 255, 255, 0.01);
}
.compare-table td.compare-feature {
    color: var(--text-primary);
    font-weight: 500;
    width: 200px;
}

/* 2. Interactive SVG Map */
.china-map-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
    margin-top: 3rem;
}
@media (max-width: 992px) {
    .china-map-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
.map-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
}
.china-svg {
    width: 100%;
    height: auto;
    max-height: 480px;
}
.province-path {
    fill: rgba(255, 255, 255, 0.02);
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.province-path.active-sourcing {
    fill: rgba(212, 175, 55, 0.05);
    stroke: var(--border-gold);
    stroke-width: 1.2;
}
.province-path.active-sourcing:hover, .province-path.active-sourcing.selected {
    fill: rgba(212, 175, 55, 0.18);
    stroke: var(--gold-primary);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}
.china-map-bg-path {
    fill: rgba(255, 255, 255, 0.01);
    stroke: rgba(255, 255, 255, 0.05);
    stroke-dasharray: 2, 2;
    pointer-events: none;
}
.hub-pin {
    fill: var(--gold-primary);
    stroke: var(--bg-primary);
    stroke-width: 1.5;
    cursor: pointer;
    transition: all 0.3s ease;
}
.hub-pin:hover {
    fill: var(--gold-bright);
    filter: drop-shadow(0 0 8px var(--gold-primary));
}
.hub-pulse {
    fill: transparent;
    stroke: var(--gold-primary);
    stroke-width: 1;
    pointer-events: none;
    transform-origin: center;
    animation: radar-pulse 2s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
}
@keyframes radar-pulse {
    0% {
        r: 4px;
        opacity: 0.8;
    }
    100% {
        r: 20px;
        opacity: 0;
    }
}
.map-tooltip {
    position: absolute;
    background: rgba(11, 11, 14, 0.95);
    border: 1px solid var(--border-gold);
    border-radius: 2px;
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    color: var(--text-primary);
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    display: none;
}
.map-dashboard {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 3. Factory Tour 360° Simulator */
.modal-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border-dark);
    margin-bottom: 1.5rem;
}
.modal-tab-btn {
    background: none;
    border: none;
    padding: 0.8rem 1.5rem;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    outline: none;
}
.modal-tab-btn.active {
    color: var(--gold-primary);
    font-weight: 600;
}
.modal-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold-primary);
}
.modal-tab-btn:hover:not(.active) {
    color: var(--text-primary);
}
.tour-hotspot {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
}
.hotspot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gold-glow);
    border: 1.5px solid var(--gold-primary);
    animation: hotspot-pulse-anim 2s infinite ease-out;
}
@keyframes hotspot-pulse-anim {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}
.hotspot-icon {
    font-size: 1rem;
    color: var(--gold-bright);
    transition: var(--transition-fast);
}
.tour-hotspot:hover .hotspot-icon {
    transform: scale(1.2);
    color: #fff;
    filter: drop-shadow(0 0 5px var(--gold-primary));
}
.hotspot-tooltip {
    position: absolute;
    bottom: 35px;
    background: rgba(11, 11, 14, 0.9);
    border: 1px solid var(--border-gold);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 2px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.3s ease;
}
.tour-hotspot:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.btn-tour-scene {
    background: none;
    border: none;
    padding: 0.4rem 1rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.btn-tour-scene.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-bright);
    font-weight: 600;
}
#tour-logs-console::-webkit-scrollbar {
    width: 4px;
}
#tour-logs-console::-webkit-scrollbar-track {
    background: transparent;
}
#tour-logs-console::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.05);
}

/* ==========================================================================
   B2B LOGISTICS ROUTE & CONFIGURATOR STYLES
   ========================================================================== */
.route-path {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 5px var(--glow-color, rgba(212, 175, 55, 0.5)));
    stroke-dasharray: 8 8;
    animation: cargo-flow 25s linear infinite;
}

.route-path.mode-air {
    animation-duration: 8s;
}

.route-path.mode-rail {
    animation-duration: 15s;
}

.route-path.mode-sea {
    animation-duration: 30s;
}

@keyframes cargo-flow {
    to {
        stroke-dashoffset: -500;
    }
}

.dest-pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: dest-radar-pulse 2s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
}

@keyframes dest-radar-pulse {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.dest-pin {
    stroke: var(--bg-primary);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 5px var(--glow-color));
}

.configurator-container select {
    border: 1px solid var(--border-dark);
    transition: var(--transition-fast);
}

.configurator-container select:focus {
    border-color: var(--border-gold);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   ADVANCED B2B USER INTERACTIONS
   ========================================================================== */
.tour-viewport-container.grabbing {
    cursor: grabbing !important;
}

.route-checkpoint {
    cursor: pointer;
    transition: all 0.3s ease;
}

.route-checkpoint:hover {
    r: 7px !important;
    filter: drop-shadow(0 0 8px var(--glow-color)) !important;
}

/* 4. Live Video Feed & CRT glitch effects */
.live-feed-overlay {
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    animation: crt-flicker 0.15s infinite;
}

@keyframes crt-flicker {
    0% { opacity: 0.82; }
    50% { opacity: 0.88; }
    100% { opacity: 0.84; }
}

.live-feed-hud div {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
}

/* 5. Canvas Radar Chart tooltip container styling if custom overlays used */
#audit-radar-canvas {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.15));
    transition: all 0.4s ease;
}

/* 6. Green CO2 footprint progress bar indicators */
.co2-bar-track {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.02);
}
#co2-bar-fill {
    box-shadow: 0 0 6px currentColor;
}


