/* ==========================================================================
   Bunnyville B2B Portal - Modern Dark Gold Speakeasy Theme
   "台灣最專業的基酒生產供應廠商"
   ========================================================================== */

:root {
    --bg-main: #0a0d14;
    --bg-surface: #111622;
    --bg-card: rgba(19, 25, 38, 0.85);
    --bg-card-hover: rgba(28, 36, 54, 0.95);
    --bg-glass: rgba(14, 18, 28, 0.75);
    
    --gold: #d4af37;
    --gold-light: #f5e298;
    --gold-dark: #997a15;
    --gold-glow: rgba(212, 175, 55, 0.25);
    
    --silver: #d1d5db;
    --bronze: #d97706;
    --double-gold: #fbbf24;
    
    --accent-green: #06c755;
    --accent-red: #ef4444;
    --accent-blue: #3b82f6;
    
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
    --text-muted: #64748b;
    
    --border-light: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.35);
    --border-gold-strong: rgba(212, 175, 55, 0.7);
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.2);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    --font-display: 'Outfit', 'Montserrat', -apple-system, sans-serif;
}

/* Global Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, #0a0d14 0%, #07090e 100%);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

/* Typography Utilities */
.text-gold { color: var(--gold); }
.text-gold-light { color: var(--gold-light); }
.text-muted { color: var(--text-muted); }
.text-sub { color: var(--text-sub); }
.text-center { text-align: center; }

/* Container */
.b2b-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Nav */
.b2b-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 13, 20, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-gold);
    transition: all 0.3s ease;
}

.b2b-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.b2b-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.b2b-brand-logo .emblem {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2b220b 0%, #151206 100%);
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    overflow: hidden;
    flex-shrink: 0;
}

.b2b-brand-logo .emblem-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.b2b-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.b2b-brand-text .brand-en {
    font-family: 'Outfit', 'Montserrat', sans-serif;
    font-size: 0.72rem;
    color: var(--gold);
    display: block;
    letter-spacing: 1.2px;
    font-weight: 700;
    text-transform: uppercase;
}

.b2b-brand-text .brand-zh {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    display: block;
}

.b2b-brand-text h1 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin: 0;
}

.b2b-brand-text span:not(.brand-zh):not(.brand-en) {
    font-size: 0.72rem;
    color: var(--gold);
    display: block;
    letter-spacing: 1px;
    font-weight: 600;
}

.b2b-nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.b2b-nav-links a {
    color: var(--text-sub);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.b2b-nav-links a:hover,
.b2b-nav-links a.active {
    color: var(--gold);
}

.b2b-nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.btn-text-mobile {
    display: none;
}

.b2b-header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.b2b-header-actions .btn-gold,
.b2b-header-actions .btn-line {
    white-space: nowrap !important;
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #b89218 100%);
    color: #0b0e14;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.92rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    transition: all 0.25s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #f5e298 0%, #d4af37 100%);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-gold);
    padding: 0.6rem 1.3rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.btn-line {
    background: #06c755;
    color: #ffffff;
    font-weight: 700;
    padding: 0.65rem 1.3rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-line:hover {
    background: #05b34c;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
}

/* Hero Section */
.b2b-hero {
    padding: 5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.b2b-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.b2b-hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.b2b-hero-title span {
    background: linear-gradient(135deg, #ffffff 0%, #f5e298 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.b2b-hero-subtitle {
    font-size: 1.18rem;
    color: var(--text-sub);
    max-width: 860px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.b2b-hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Trust Stats Bar */
.b2b-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-top: 1rem;
}

.b2b-stat-item {
    text-align: center;
    border-right: 1px solid var(--border-light);
}

.b2b-stat-item:last-child {
    border-right: none;
}

.b2b-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold);
    font-family: var(--font-display);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.b2b-stat-label {
    font-size: 0.85rem;
    color: var(--text-sub);
    font-weight: 500;
}

/* Section Header */
.section-header {
    text-align: center;
    margin: 4.5rem 0 3rem;
}

.section-tag {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.section-desc {
    color: var(--text-sub);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
}

/* Feature Pain-Point Cards */
.b2b-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.b2b-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.b2b-feature-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.b2b-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.b2b-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.b2b-feature-desc {
    font-size: 0.92rem;
    color: var(--text-sub);
    line-height: 1.65;
}

/* Product Catalog Showcase */
.catalog-filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-sub);
    border: 1px solid var(--border-light);
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: #0b0e14;
    border-color: var(--gold);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-bottom: 4rem;
}

.b2b-prod-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.b2b-prod-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.b2b-prod-img {
    height: 230px;
    background: #0f131c;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.b2b-prod-img img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.b2b-prod-card:hover .b2b-prod-img img {
    transform: scale(1.05);
}

.b2b-badge-corner {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(10, 13, 20, 0.85);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

.b2b-prod-info {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.b2b-prod-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.b2b-prod-spec {
    font-size: 0.82rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.b2b-prod-desc {
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.55;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.b2b-prod-pricing {
    border-top: 1px solid var(--border-light);
    padding-top: 0.85rem;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.b2b-price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.2rem;
}

.b2b-price-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gold);
    font-family: var(--font-display);
}

.b2b-price-unlock-hint {
    font-size: 0.78rem;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.b2b-price-msrp {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.b2b-header-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.b2b-header-user-badge .company-tag {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 700;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--border-gold);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-logout-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0.2rem 0.4rem;
}

.btn-logout-link:hover {
    color: #ef4444;
}

.b2b-card-btns {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.b2b-card-btns .btn {
    flex: 1;
    font-size: 0.82rem;
    padding: 0.55rem 0.5rem;
    text-align: center;
    justify-content: center;
}

/* Sample Request CTA Box */
.sample-cta-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(17, 22, 34, 0.95) 100%);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    margin: 4rem 0 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-gold);
}

.sample-cta-content h3 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.sample-cta-content p {
    color: var(--text-sub);
    font-size: 1.02rem;
    max-width: 600px;
}

/* Awards Section Elements */
.awards-hero-banner {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.12) 0%, rgba(10, 13, 20, 0) 100%);
    padding: 4rem 0 2rem;
    text-align: center;
}

.award-trophy-badge {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.awards-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.award-badge-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.4rem;
    text-align: center;
    transition: all 0.3s ease;
}

.award-badge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.award-badge-card.double-gold {
    border-color: #fbbf24;
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.12) 0%, var(--bg-card) 100%);
}

.award-badge-card.gold {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.12) 0%, var(--bg-card) 100%);
}

.award-badge-card.silver {
    border-color: #9ca3af;
    background: linear-gradient(180deg, rgba(156, 163, 175, 0.12) 0%, var(--bg-card) 100%);
}

.award-badge-card.bronze {
    border-color: #d97706;
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.12) 0%, var(--bg-card) 100%);
}

.award-year-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.award-medal-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.award-wine-title {
    font-size: 0.95rem;
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.award-competition {
    font-size: 0.82rem;
    color: var(--text-sub);
}

/* ==========================================================================
   Chronological Awards Timeline (Brochure Style)
   ========================================================================== */
.timeline-controls-bar {
    position: sticky;
    top: 76px;
    z-index: 900;
    background: rgba(10, 13, 20, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    padding: 0.85rem 0;
    margin-bottom: 2.5rem;
}

.timeline-controls-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.year-nav-pills {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    overflow-x: auto;
    padding: 0.2rem 0;
    scrollbar-width: none;
}
.year-nav-pills::-webkit-scrollbar {
    display: none;
}

.year-pill-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-sub);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-decoration: none;
}

.year-pill-btn:hover, .year-pill-btn.active {
    background: var(--gold);
    color: #0b0e14;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.timeline-sort-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 0.2rem 0.4rem;
}

.sort-btn {
    background: transparent;
    border: none;
    color: var(--text-sub);
    padding: 0.25rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.sort-btn.active {
    background: var(--gold);
    color: #0b0e14;
}

/* Timeline Year Section */
.timeline-year-section {
    margin-bottom: 3.5rem;
    scroll-margin-top: 150px;
}

.timeline-year-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-year-badge {
    font-family: 'Outfit', 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid var(--gold);
    padding: 0.3rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
    flex-shrink: 0;
}

.timeline-year-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--gold) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.timeline-year-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Milestone Card */
.timeline-milestone-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(17, 24, 39, 0.95) 100%);
    border: 1px dashed var(--gold);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.milestone-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.milestone-content h4 {
    color: var(--gold-light);
    font-size: 1.05rem;
    margin: 0 0 0.35rem 0;
    font-weight: 700;
}

.milestone-content p {
    color: var(--text-sub);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.6;
}

/* Timeline Award Row */
.timeline-awards-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.timeline-award-row {
    background: rgba(18, 24, 38, 0.85);
    border: 1px solid var(--border-light);
    border-left: 3px solid transparent;
    border-radius: 8px;
    padding: 0.85rem 1.3rem;
    display: grid;
    grid-template-columns: 68px 2.2fr 1.8fr auto;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.25s ease;
}

.award-original-medal {
    width: 68px;
    height: 68px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(212, 175, 55, 0.35);
    overflow: hidden;
}

.award-original-medal.square-medal {
    border-radius: 12px;
}

.original-medal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: inherit;
    transition: transform 0.25s ease;
}

.timeline-award-row:hover .original-medal-img {
    transform: scale(1.08);
}

.milestone-media {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.3);
    overflow: hidden;
}

.milestone-media.milestone-bottles {
    width: 88px;
    height: 76px;
    padding: 4px;
    background: #ffffff;
}

.milestone-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.milestone-bottle-pair-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.timeline-award-row:hover {
    border-color: var(--border-gold);
    background: rgba(26, 34, 52, 0.95);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.timeline-award-row.double-gold {
    border-left-color: #fbbf24;
}

.timeline-award-row.gold {
    border-left-color: var(--gold);
}

.timeline-award-row.silver {
    border-left-color: #cbd5e1;
}

.timeline-award-row.bronze {
    border-left-color: #d97706;
}

.timeline-prod-col .prod-zh {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.timeline-prod-col .prod-en {
    font-size: 0.82rem;
    color: var(--text-sub);
    font-family: 'Outfit', 'Montserrat', sans-serif;
    line-height: 1.3;
}

.timeline-comp-col .comp-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 0.25rem;
}

.timeline-comp-col .comp-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.timeline-medal-col {
    display: flex;
    justify-content: flex-end;
}

.medal-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.medal-badge-pill.double-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #0b0e14;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.45);
}

.medal-badge-pill.gold {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
}

.medal-badge-pill.silver {
    background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
    color: #0f172a;
    box-shadow: 0 0 8px rgba(226, 232, 240, 0.25);
}

.medal-badge-pill.bronze {
    background: linear-gradient(135deg, #b45309 0%, #78350f 100%);
    color: #fde68a;
    box-shadow: 0 0 8px rgba(180, 83, 9, 0.25);
}

.medal-badge-pill.wwa-silver {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    border: 1px solid #cbd5e1;
    color: #f8fafc;
}

.medal-badge-pill.wwa-bronze {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    border: 1px solid #d97706;
    color: #fed7aa;
}

/* Brochure Gallery Grid */
.brochure-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.brochure-page-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.brochure-page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    border-color: #fbbf24;
}

.brochure-thumb-wrap {
    width: 100%;
    aspect-ratio: 1 / 1.414; /* A4 standard */
    background: #000;
    overflow: hidden;
}

.brochure-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.brochure-page-card:hover .brochure-thumb-wrap img {
    transform: scale(1.05);
}

.brochure-page-info {
    padding: 1rem 0.8rem;
}

.brochure-page-info .page-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.brochure-page-info .page-desc {
    font-size: 0.8rem;
    color: var(--text-sub);
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-controls-bar {
        top: 56px;
        padding: 0.6rem 0;
    }
    .timeline-award-row {
        grid-template-columns: 56px 1fr;
        grid-template-areas:
            "medal prod"
            "medal comp"
            "badge badge";
        gap: 0.45rem 0.8rem;
        padding: 0.85rem 1rem;
    }
    .award-original-medal {
        grid-area: medal;
        width: 54px;
        height: 54px;
        padding: 2px;
    }
    .timeline-prod-col {
        grid-area: prod;
    }
    .timeline-comp-col {
        grid-area: comp;
    }
    .timeline-medal-col {
        grid-area: badge;
        justify-content: flex-start;
        margin-top: 0.2rem;
    }
    .brochure-pages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Process Flow Diagram */
.process-flow-container {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin: 3.5rem 0;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.process-step-item {
    background: rgba(10, 13, 20, 0.6);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.2rem;
    position: relative;
    border-top: 3px solid var(--gold);
}

.step-num {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.step-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.82rem;
    color: var(--text-sub);
    line-height: 1.55;
}

/* Articles Layout */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.article-header-tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem 0.5rem;
}

.article-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.article-read-time {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.article-body {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    margin-top: auto;
}

.read-more-link {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.read-more-link:hover {
    color: var(--gold-light);
    gap: 0.6rem;
}

/* Modal Popup */
.b2b-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.b2b-modal-overlay.active {
    display: flex;
}

.b2b-modal-box {
    background: #111622;
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.b2b-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
}

.b2b-modal-close:hover {
    color: #ffffff;
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.45rem;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

/* Legal Footer */
.legal-warning-bar {
    background: #000000;
    border-top: 2px solid #ef4444;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.25rem;
    text-align: center;
    padding: 1.1rem 0;
    letter-spacing: 3px;
}

.b2b-footer {
    background: #07090e;
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem;
    color: var(--text-sub);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-col h5 {
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

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

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

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .b2b-stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .b2b-stat-item:nth-child(2) {
        border-right: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .btn-text-full {
        display: none !important;
    }
    .btn-text-mobile {
        display: inline !important;
    }
    .b2b-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(11, 14, 20, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-gold);
    }
    .b2b-nav-wrapper {
        height: 56px;
    }
    .b2b-brand-logo {
        gap: 0.45rem;
        flex-shrink: 0;
        min-width: max-content;
        text-decoration: none;
    }
    .b2b-brand-logo .emblem {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        border: 1.5px solid var(--gold);
        overflow: hidden;
    }
    .b2b-brand-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1.1;
    }
    .b2b-brand-text .brand-en {
        display: block !important;
        font-size: 0.62rem !important;
        letter-spacing: 0.5px !important;
        color: var(--gold) !important;
        font-weight: 700 !important;
    }
    .b2b-brand-text .brand-zh {
        display: block !important;
        font-size: 0.95rem !important;
        letter-spacing: 0.5px !important;
        color: #ffffff !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }
    .b2b-brand-text h1 {
        font-size: 0.88rem;
        white-space: nowrap;
        margin: 0;
    }
    .b2b-brand-text span:not(.brand-en):not(.brand-zh) {
        display: none !important; /* Hide old subtitle on mobile */
    }
    .b2b-nav-links {
        display: none;
    }
    .b2b-header-actions {
        gap: 0.35rem;
        flex-shrink: 0;
    }
    .b2b-header-actions .btn-gold,
    .b2b-header-actions .btn-line {
        padding: 0.35rem 0.55rem !important;
        font-size: 0.78rem !important;
        white-space: nowrap !important;
        gap: 0.2rem;
        border-radius: 6px;
        line-height: 1.2;
        box-shadow: none;
    }
    .b2b-header-user-badge {
        gap: 0.3rem;
    }
    .b2b-header-user-badge .company-tag {
        max-width: 80px;
        font-size: 0.72rem;
        padding: 0.2rem 0.35rem;
    }
    .btn-logout-link {
        font-size: 0.75rem;
        padding: 0.1rem 0.2rem;
    }
    .b2b-hero-title {
        font-size: 2rem;
    }
    .b2b-hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    .b2b-hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        max-width: 320px;
        margin: 0 auto 2.5rem;
        width: 100%;
    }
    .b2b-hero-cta .btn-gold,
    .b2b-hero-cta .btn-outline,
    .b2b-hero-cta .btn-line {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
        white-space: nowrap !important;
    }
    .b2b-stats-bar {
        grid-template-columns: 1fr;
    }
    .b2b-stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 1rem;
    }
    .b2b-stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .b2b-brand-logo .emblem {
        width: 32px;
        height: 32px;
    }
    .b2b-brand-text .brand-en {
        font-size: 0.58rem !important;
    }
    .b2b-brand-text .brand-zh {
        font-size: 0.88rem !important;
    }
    .b2b-brand-text h1 {
        font-size: 0.82rem;
    }
    .b2b-header-actions .btn-gold,
    .b2b-header-actions .btn-line {
        padding: 0.3rem 0.42rem !important;
        font-size: 0.74rem !important;
    }
}
