/**
 * TURMERIC EXPORT PLATFORM — Luxury Heritage Design System
 * Premium, Classy, Gold & Forest Green Aesthetic
 */

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

/* CSS Variables — Luxury Color System */
:root {
    /* Gold Palette */
    --primary: #C8960C;
    --primary-dark: #9E7508;
    --primary-light: #F0C040;
    --primary-gradient: linear-gradient(135deg, #C8960C 0%, #F0C040 100%);
    --primary-gradient-reverse: linear-gradient(135deg, #F0C040 0%, #C8960C 100%);
    --gold-shine: linear-gradient(90deg, transparent, rgba(240,192,64,0.4), transparent);

    /* Green Palette */
    --secondary: #1E3D0E;
    --secondary-mid: #2D5016;
    --secondary-light: #4A7C23;
    --secondary-gradient: linear-gradient(135deg, #162E08 0%, #2D5016 55%, #3A6419 100%);

    /* Neutral Palette */
    --white: #FFFFFF;
    --off-white: #FDFAF4;
    --cream: #F6EFE0;
    --warm-beige: #EDE4CC;
    --light-beige: #E5D9BE;
    --medium-gray: #8C8476;
    --dark-gray: #4A4438;
    --charcoal: #2C2820;
    --black: #15120B;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-primary: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-xxl: 72px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --radius-xl: 30px;

    /* Shadows */
    --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 24px 72px rgba(0, 0, 0, 0.20);
    --shadow-gold: 0 8px 32px rgba(200, 150, 12, 0.40);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--charcoal);
    background-color: var(--off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--black);
    letter-spacing: -0.01em;
}

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

a:hover {
    color: var(--primary-dark);
}

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

/* Demo Badge */
.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #FFFBEF 0%, #FFF3C4 100%);
    border: 1px solid rgba(200, 150, 12, 0.35);
    border-radius: var(--radius-xl);
    font-size: 0.82rem;
    font-weight: 600;
    color: #7A600A;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
}

.demo-badge::before {
    content: 'ℹ️';
    font-size: 1rem;
}

.demo-badge-small {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(135deg, #FFFBEF 0%, #FFF3C4 100%);
    border: 1px solid rgba(200, 150, 12, 0.28);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #7A600A;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Mobile-specific fixes for all mobile screens (up to 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    html {
        font-size: 15px;
    }

    body {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .hero {
        padding: 48px 0;
    }

    .hero-content {
        padding: 0 8px;
    }

    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.9rem;
    }

    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.05rem; }
    h4 { font-size: 0.95rem; }

    .card,
    .batch-card,
    .product-card,
    .feature-card {
        padding: 14px;
    }

    .btn {
        padding: 9px 14px;
        font-size: 0.76rem;
    }

    .btn-large {
        padding: 11px 18px;
        font-size: 0.84rem;
    }

    .btn-small {
        padding: 7px 12px;
        font-size: 0.72rem;
    }

    .demo-badge {
        padding: 9px 16px;
        font-size: 0.76rem;
    }

    .section {
        padding: 40px 0;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-col h4 {
        font-size: 0.9rem;
    }

    .footer p,
    .footer a {
        font-size: 0.8rem;
    }

    .batch-metrics {
        padding: 8px;
        gap: 8px;
    }

    .metric .label { font-size: 0.62rem; }
    .metric .value { font-size: 0.88rem; }
    .batch-origin { font-size: 0.75rem; }
    .batch-card h3 { font-size: 0.95rem; }

    .product-specs {
        padding: 8px;
        gap: 8px;
    }

    .spec .label { font-size: 0.62rem; }
    .spec .value { font-size: 0.8rem; }
    .product-description { font-size: 0.84rem; }
    .section-title p { font-size: 0.85rem; }
}

/* ===== HEADER & NAVBAR ===== */
.header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08), var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(229, 217, 190, 0.6);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px var(--space-md);
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    text-decoration: none;
}

.logo-image {
    height: 56px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 2px 4px rgba(200, 150, 12, 0.15));
    transition: filter var(--transition-fast);
}

.logo:hover .logo-image {
    filter: drop-shadow(0 4px 12px rgba(200, 150, 12, 0.35));
}

/* Mobile styles for logo */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
        max-width: 150px;
    }
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
}

.tagline {
    font-size: 0.62rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 500;
    margin-top: 1px;
}

/* Desktop Navigation */
.nav-menu {
    display: none;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.82rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    letter-spacing: 0.01em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 18px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
    background: rgba(200, 150, 12, 0.06);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 210px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-normal);
    list-style: none;
    z-index: 100;
    border: 1px solid var(--warm-beige);
    overflow: hidden;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: var(--charcoal);
    font-size: 0.84rem;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
    font-family: var(--font-primary);
}

.dropdown-link:hover {
    background: var(--cream);
    color: var(--primary-dark);
    border-left-color: var(--primary);
}

.nav-cta {
    margin-left: var(--space-sm);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    font-family: var(--font-primary);
    white-space: nowrap;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--gold-shine);
    transition: left 0.5s ease;
    pointer-events: none;
}

.btn:hover::after {
    left: 100%;
}

/* Mobile button fixes */
@media (max-width: 480px) {
    .btn {
        white-space: normal;
        text-align: center;
        word-wrap: break-word;
        padding: 9px 14px;
        font-size: 0.76rem;
        border-radius: 10px;
        min-height: 38px;
    }
    
    .btn-large {
        padding: 11px 18px;
        font-size: 0.82rem;
        min-height: 44px;
    }
    
    .btn-small {
        padding: 7px 11px;
        font-size: 0.72rem;
        min-height: 34px;
    }
    
    div[style*="display: flex"] {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-gold);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(200, 150, 12, 0.55);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-dark);
    border: 1.5px solid var(--primary);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-large {
    padding: 15px 32px;
    font-size: 0.95rem;
    border-radius: var(--radius-xl);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.76rem;
}

/* Hamburger Menu Button */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(253, 250, 244, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 999;
    padding: 75px var(--space-lg) var(--space-lg);
    overflow-y: auto;
}

.mobile-nav.active {
    display: block;
    animation: slideInDown 0.3s ease forwards;
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--warm-beige);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: var(--charcoal);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-dark);
}

.mobile-dropdown {
    padding-left: var(--space-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.mobile-dropdown.open {
    max-height: 300px;
}

.mobile-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: var(--space-sm) 0;
    color: var(--dark-gray);
    font-size: 1rem;
    transition: color var(--transition-fast);
}

.mobile-dropdown-link:hover {
    color: var(--primary-dark);
}

.mobile-nav-cta {
    margin-top: var(--space-lg);
    width: 100%;
    justify-content: center;
}
    object-position: left center;
    border-radius: 4px;
    margin-bottom: 2px;
}

/* Mobile styles for logo */
@media (max-width: 768px) {
    .logo-image {
        height: 36px;
        max-width: 140px;
    }
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 0.65rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-top: 2px;
}

/* Desktop Navigation */
.nav-menu {
    display: none;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: var(--space-xs) var(--space-sm);
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.8rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(212, 160, 23, 0.08);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    list-style: none;
    z-index: 100;
    border: 1px solid var(--light-beige);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: var(--space-sm) var(--space-md);
    color: var(--charcoal);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background: var(--cream);
    color: var(--primary);
    border-left-color: var(--primary);
}

.nav-cta {
    margin-left: var(--space-sm);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    font-family: inherit;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile button fixes - Compact sizes */
@media (max-width: 480px) {
    .btn {
        white-space: normal;
        text-align: center;
        word-wrap: break-word;
        padding: 8px 12px;
        font-size: 0.75rem;
        border-radius: 8px;
        min-height: 36px;
    }
    
    .btn-large {
        padding: 10px 16px;
        font-size: 0.8rem;
        min-height: 40px;
    }
    
    .btn-small {
        padding: 6px 10px;
        font-size: 0.7rem;
        min-height: 32px;
    }
    
    /* Button containers should wrap */
    div[style*="display: flex"] {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.45);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 14px 28px;
    font-size: 0.95rem;
}

.btn-small {
    padding: 8px 14px;
    font-size: 0.75rem;
}

/* Hamburger Menu Button */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--charcoal);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 70px var(--space-md) var(--space-md);
    overflow-y: auto;
}

.mobile-nav.active {
    display: block;
    animation: slideIn 0.3s ease forwards;
}

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

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--light-beige);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    color: var(--charcoal);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
}

.mobile-dropdown {
    padding-left: var(--space-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.mobile-dropdown.open {
    max-height: 300px;
}

.mobile-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: var(--space-sm) 0;
    color: var(--dark-gray);
    font-size: 1rem;
    transition: color var(--transition-fast);
}

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

.mobile-nav-cta {
    margin-top: var(--space-lg);
    width: 100%;
    justify-content: center;
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--secondary-gradient);
    color: var(--white);
    padding: 80px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle grain texture overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.55;
    pointer-events: none;
}

/* Gold decorative orb - top right */
.hero::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(240, 192, 64, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 var(--space-md);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: var(--space-md);
    line-height: 1.15;
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0,0,0,0.25);
    letter-spacing: -0.01em;
}

/* Gold accent word */
.hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #F0C040, #FADA7A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Thin gold ornamental divider */
.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px auto;
}

.hero-divider::before,
.hero-divider::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 192, 64, 0.7));
}

.hero-divider::after {
    background: linear-gradient(90deg, rgba(240, 192, 64, 0.7), transparent);
}

.hero-divider-gem {
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    transform: rotate(45deg);
    opacity: 0.8;
}

.hero p {
    font-size: 1.05rem;
    opacity: 0.88;
    margin-bottom: var(--space-lg);
    font-weight: 400;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    margin: 5px;
}

/* Stats in Hero */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.hero-stat {
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(240, 192, 64, 0.25);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    text-align: center;
    min-width: 90px;
    transition: all var(--transition-normal);
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(240, 192, 64, 0.5);
    transform: translateY(-3px);
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #F0C040, #FADA7A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-stat-label {
    font-size: 0.72rem;
    opacity: 0.75;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 500;
}

/* ===== SECTIONS ===== */
.section {
    padding: 64px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    margin-bottom: var(--space-sm);
    color: var(--black);
    letter-spacing: -0.02em;
}

/* Gold underline accent for section titles */
.section-title h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    margin: 10px auto 0;
}

.section-title p {
    font-size: 0.97rem;
    color: var(--medium-gray);
    max-width: 560px;
    margin: 14px auto 0;
    padding: 0 var(--space-sm);
    line-height: 1.7;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(229, 217, 190, 0.6);
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(200, 150, 12, 0.2);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    color: var(--black);
}

.card p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    line-height: 1.65;
}

/* ===== BATCH CARDS ===== */
.batch-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(229, 217, 190, 0.6);
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.batch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.batch-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(200, 150, 12, 0.25);
}

.batch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.batch-id {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: linear-gradient(135deg, #FFFBEF 0%, #FFF3C4 100%);
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(200, 150, 12, 0.2);
    letter-spacing: 0.06em;
}

.batch-card h3 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.batch-origin {
    color: var(--medium-gray);
    font-size: 0.8rem;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 4px;
}

.batch-metrics {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
    background: var(--cream);
    border-radius: var(--radius-md);
}

.metric {
    flex: 1;
    text-align: center;
}

.metric .label {
    display: block;
    font-size: 0.6rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-available {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    color: #2E7D32;
}

.status-in-transit {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    color: #ED6C02;
}

.status-sold {
    background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
    color: #C62828;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    text-align: center;
    padding: 36px var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(229, 217, 190, 0.5);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    transform-origin: left;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(200, 150, 12, 0.2);
}

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #FFFBEF, #FFF3C4);
    border-radius: 50%;
    margin: 0 auto 18px;
    box-shadow: 0 4px 16px rgba(200, 150, 12, 0.15);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    color: var(--secondary);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--medium-gray);
    line-height: 1.65;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all var(--transition-normal);
    border: 1px solid rgba(229, 217, 190, 0.6);
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
    transform-origin: bottom;
}

.product-card:hover::before {
    transform: scaleY(1);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(200, 150, 12, 0.25);
}

.product-card.coming-soon {
    opacity: 0.75;
}

.coming-soon-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: var(--secondary-gradient);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.product-description {
    color: var(--medium-gray);
    margin-bottom: var(--space-md);
    font-size: 0.85rem;
    line-height: 1.5;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
    background: var(--cream);
    border-radius: var(--radius-md);
}

.spec .label {
    display: block;
    font-size: 0.6rem;
    color: var(--medium-gray);
    text-transform: uppercase;
}

.spec .value {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--charcoal);
}

.product-grades,
.product-packaging {
    margin-bottom: var(--space-sm);
}

.grades-label,
.packaging-label {
    display: block;
    font-size: 0.75rem;
    color: var(--medium-gray);
    margin-bottom: 4px;
    font-weight: 500;
}

.grade-badge {
    display: inline-block;
    padding: 3px 8px;
    background: var(--cream);
    border-radius: 50px;
    font-size: 0.7rem;
    margin-right: 4px;
    margin-bottom: 4px;
    font-weight: 500;
}

/* ===== LAB REPORT CARDS ===== */
.lab-report-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-md);
    border: 1px solid var(--light-beige);
}

.report-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--cream);
    gap: var(--space-sm);
}

.report-header h3 {
    font-size: 1.1rem;
    color: var(--secondary);
}

.report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    color: var(--medium-gray);
    font-size: 0.8rem;
    margin-bottom: var(--space-md);
}

.report-section {
    margin-bottom: var(--space-md);
}

.report-section h4 {
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.report-section h4::before {
    content: '';
    width: 3px;
    height: 16px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.report-item {
    padding: var(--space-sm);
    background: var(--cream);
    border-radius: var(--radius-md);
}

.report-item .label {
    display: block;
    font-size: 0.65rem;
    color: var(--medium-gray);
    text-transform: uppercase;
}

.report-item .value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--charcoal);
}

.report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--light-beige);
}

.report-actions .btn {
    flex: 1;
    min-width: 140px;
}

/* ===== KNOWLEDGE CARDS ===== */
.knowledge-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid var(--light-beige);
}

.knowledge-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.article-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--secondary-gradient);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.knowledge-card h3 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    transition: color var(--transition-fast);
}

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

.article-preview {
    color: var(--medium-gray);
    font-size: 0.8rem;
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.7rem;
    color: var(--medium-gray);
}

/* ===== DOCUMENT CARDS ===== */
.document-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid var(--light-beige);
    transition: all var(--transition-normal);
}

.document-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.document-header {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.document-icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: var(--radius-md);
}

.document-info h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.document-number {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.document-details {
    padding: var(--space-sm);
    background: var(--cream);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    font-size: 0.8rem;
}

.document-details p {
    margin-bottom: 4px;
}

.document-actions {
    display: flex;
    gap: var(--space-sm);
}

.demo-badge-small {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    font-size: 0.65rem;
    padding: 4px 8px;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--charcoal);
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--light-beige);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.quote-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
}

.quote-form h2 {
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.form-actions .btn {
    flex: 1;
    min-width: 140px;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
}

.contact-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--light-beige);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: var(--radius-md);
}

.contact-item strong {
    display: block;
    margin-bottom: 2px;
    color: var(--charcoal);
    font-size: 0.9rem;
}

.contact-item p {
    color: var(--medium-gray);
    font-size: 0.85rem;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal h3 {
    margin-bottom: var(--space-md);
}

.close-modal {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--medium-gray);
    transition: color var(--transition-fast);
}

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

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(160deg, #16140F 0%, #2A2418 45%, #1E1A10 100%);
    color: var(--white);
    padding: 64px 0 var(--space-lg);
    position: relative;
    overflow: hidden;
}

/* Decorative gold orb in footer */
.footer::before {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 150, 12, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: 1rem;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
    transition: color var(--transition-fast);
    line-height: 1.6;
}

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

.footer-logo-image {
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 2px 8px rgba(200, 150, 12, 0.3));
    margin-bottom: var(--space-md);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    position: relative;
}

/* ===== GRID LAYOUTS ===== */
/* Mobile First - All grids stack vertically by default */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

/* Responsive grids for larger screens */
@media (min-width: 481px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== BATCH DETAIL ===== */
.batch-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.detail-section {
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-beige);
}

.detail-section h3 {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 3px solid var(--primary);
    display: inline-block;
    font-size: 1rem;
}

.detail-table {
    width: 100%;
}

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

.detail-table tr:last-child {
    border-bottom: none;
}

.detail-table td {
    padding: var(--space-sm) 0;
}

.detail-table .label {
    color: var(--medium-gray);
    font-size: 0.8rem;
}

.detail-table .value {
    font-weight: 600;
    text-align: right;
    color: var(--charcoal);
    font-size: 0.85rem;
}

.detail-table .value.highlight {
    color: var(--primary);
    font-size: 1rem;
}

.batch-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.qr-section {
    text-align: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    border: 1px solid var(--light-beige);
    border-radius: var(--radius-md);
    padding: var(--space-xs);
    background: var(--white);
}

.qr-section p {
    margin-top: var(--space-sm);
    font-size: 0.75rem;
    color: var(--medium-gray);
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.action-buttons .btn {
    flex: 1;
    min-width: 120px;
}

/* ===== BATCH LIST SIDEBAR ===== */
.batch-traceability-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 769px) {
    .batch-traceability-grid {
        grid-template-columns: 280px 1fr;
    }
}

@media (min-width: 1024px) {
    .batch-traceability-grid {
        grid-template-columns: 320px 1fr;
    }
}

.batch-list-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-beige);
}

.batch-list-sidebar h3 {
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}

.batch-list-sidebar > p {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-bottom: var(--space-md);
}

.batch-item {
    padding: var(--space-sm);
    border: 2px solid var(--light-beige);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--white);
}

.batch-item:hover,
.batch-item.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, #FFF8E7 0%, #FFEFC4 100%);
}

.batch-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.batch-item h4 {
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.batch-location {
    font-size: 0.7rem;
    color: var(--medium-gray);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: var(--space-xl);
    color: var(--medium-gray);
}

.empty-state h3 {
    margin-bottom: var(--space-sm);
    color: var(--charcoal);
    font-size: 1.1rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.fade-in-up {
    animation: fadeInUp 0.55s ease forwards;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Small phones (up to 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.82rem;
    }

    .btn-large {
        padding: 12px 20px;
        font-size: 0.88rem;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .hero-stats {
        gap: 8px;
    }

    .hero-stat {
        padding: 12px 16px;
        min-width: 80px;
    }

    .hero-stat-value {
        font-size: 1.4rem;
    }
}

/* Large phones and small tablets (481px - 768px) */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .tagline {
        display: none;
    }

    .hero {
        padding: 56px 0 48px;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .hero p {
        font-size: 0.97rem;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    .section {
        padding: 48px 0;
    }
    
    .section-title {
        margin-bottom: var(--space-lg);
    }

    .section-title h2 {
        font-size: 1.55rem;
    }
    
    .card,
    .batch-card {
        padding: var(--space-md);
    }
    
    .batch-metrics {
        flex-wrap: wrap;
    }
    
    .metric {
        min-width: 30%;
    }
    
    .quote-form {
        padding: var(--space-md);
    }
    
    .form-actions .btn,
    .report-actions .btn,
    .action-buttons .btn {
        min-width: 100%;
    }
}

/* Tablets (769px - 1024px) */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .section-title h2 {
        font-size: 1.65rem;
    }

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

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

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

/* Desktop (1025px and up) */
@media (min-width: 769px) {
    .nav-menu {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    .tagline {
        display: block;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

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

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

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

    .batch-actions {
        flex-direction: row;
        align-items: center;
    }

    .qr-section {
        text-align: left;
    }

    .action-buttons {
        flex-direction: row;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large desktop (1200px and up) */
@media (min-width: 1200px) {
    .hero {
        padding: 96px 0 88px;
    }

    .hero h1 {
        font-size: 3.25rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 2.1rem;
    }

    .container {
        padding: 0 var(--space-xl);
    }
}

/* UTILITY CLASSES */
.text-center {
    text-align: center;
}

.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-xl { margin-bottom: var(--space-xl); }

.bg-light { background: var(--cream); }
.bg-white { background: var(--white); }

/* Premium section background override */
.section.bg-light {
    background: linear-gradient(180deg, var(--cream) 0%, var(--off-white) 100%);
}

/* Luxury report item */
.report-item {
    padding: var(--space-sm) var(--space-md);
    background: var(--cream);
    border-radius: var(--radius-md);
    border-left: 3px solid transparent;
    transition: border-color var(--transition-fast);
}

.report-item:hover {
    border-left-color: var(--primary);
}

/* Premium batch metrics */
.batch-metrics {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, var(--cream), var(--warm-beige));
    border-radius: var(--radius-md);
    border: 1px solid rgba(229, 217, 190, 0.8);
}

/* Premium grade badge */
.grade-badge {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--cream), var(--warm-beige));
    border-radius: 50px;
    font-size: 0.7rem;
    margin-right: 4px;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--dark-gray);
    border: 1px solid var(--light-beige);
}

/* Premium article category badge */
.article-category {
    display: inline-block;
    padding: 4px 14px;
    background: var(--secondary-gradient);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.04em;
}

/* Knowledge card hover */
.knowledge-card:hover h3 {
    color: var(--primary-dark);
}

/* Premium form focus */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(200, 150, 12, 0.12);
}

/* CTA section */
.cta-section {
    background: var(--secondary-gradient);
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(240,192,64,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Premium status badges */
.status-available {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    color: #1B5E20;
    font-weight: 600;
}

.status-in-transit {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    color: #BF360C;
    font-weight: 600;
}

.status-sold {
    background: linear-gradient(135deg, #FFEBEE, #FFCDD2);
    color: #B71C1C;
    font-weight: 600;
}

/* Admin Panel Responsive */
.admin-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.admin-sidebar {
    width: 100%;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--black) 100%);
    color: var(--white);
    padding: var(--space-md);
    position: relative;
}

.admin-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    list-style: none;
}

.admin-nav-item {
    flex: 0 0 auto;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-sm) var(--space-md);
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: var(--primary);
    color: var(--white);
}

.admin-content {
    flex: 1;
    padding: var(--space-md);
    background: var(--cream);
}

.admin-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.admin-header h1 {
    font-size: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.stat-card {
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 3px solid var(--primary);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    color: var(--medium-gray);
    font-size: 0.8rem;
    font-weight: 500;
}

.dashboard-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-md);
}

.dashboard-section h3 {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    font-size: 1rem;
}

.admin-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: var(--space-sm);
    text-align: left;
    border-bottom: 1px solid var(--light-beige);
    font-size: 0.85rem;
}

.admin-table th {
    background: var(--cream);
    font-weight: 600;
    color: var(--charcoal);
    text-transform: uppercase;
    font-size: 0.75rem;
}

.batch-manage-item,
.product-manage-item,
.document-manage-item,
.quote-manage-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border: 1px solid var(--light-beige);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.batch-manage-actions,
.product-manage-actions,
.document-manage-actions,
.quote-manage-actions {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.batch-manage-actions .btn,
.product-manage-actions .btn,
.document-manage-actions .btn,
.quote-manage-actions .btn {
    flex: 1;
    min-width: 80px;
    font-size: 0.75rem;
    padding: 8px 12px;
}

/* Admin Responsive */
@media (min-width: 769px) {
    .admin-layout {
        flex-direction: row;
    }
    
    .admin-sidebar {
        width: 260px;
        height: 100vh;
        position: fixed;
    }
    
    .admin-content {
        margin-left: 260px;
    }
    
    .admin-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .admin-header h1 {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .batch-manage-item,
    .product-manage-item,
    .document-manage-item,
    .quote-manage-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: var(--space-md);
    }
    
    .batch-manage-actions .btn,
    .product-manage-actions .btn,
    .document-manage-actions .btn,
    .quote-manage-actions .btn {
        flex: 0 0 auto;
        min-width: auto;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav,
    .btn,
    .admin-sidebar,
    .hamburger,
    .mobile-nav {
        display: none !important;
    }
    
    .admin-content {
        margin-left: 0 !important;
    }
}

/* ===== PREMIUM BLACK & GOLD THEME OVERRIDES ===== */
:root {
    --premium-bg: #080706;
    --premium-bg-soft: #100d0a;
    --premium-panel: #15120e;
    --premium-panel-alt: #1c1711;
    --premium-panel-elevated: #241d14;
    --premium-gold: #d4af37;
    --premium-gold-soft: #f0d37a;
    --premium-gold-deep: #94711c;
    --premium-ink: #f6ebc7;
    --premium-ink-soft: rgba(246, 235, 199, 0.82);
    --premium-ink-muted: rgba(246, 235, 199, 0.62);
    --premium-border: rgba(212, 175, 55, 0.22);
    --premium-border-strong: rgba(212, 175, 55, 0.4);
    --premium-shadow: 0 20px 56px rgba(0, 0, 0, 0.42);
    --premium-glow: 0 10px 32px rgba(212, 175, 55, 0.22);
}

body {
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.1) 0%, transparent 28%),
        radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.06) 0%, transparent 30%),
        linear-gradient(180deg, #070605 0%, #0d0a08 45%, #120f0b 100%);
    color: var(--premium-ink-soft);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--premium-ink);
}

a {
    color: var(--premium-gold);
}

a:hover {
    color: var(--premium-gold-soft);
}

.header {
    background: rgba(8, 7, 6, 0.92);
    box-shadow: 0 1px 0 rgba(212, 175, 55, 0.16), 0 18px 42px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid var(--premium-border);
}

.tagline,
.nav-link,
.dropdown-link,
.mobile-nav-link,
.mobile-dropdown-link,
.section-title p,
.card p,
.feature-card p,
.product-description,
.batch-origin,
.article-preview,
.article-meta,
.report-meta,
.contact-item p,
.stat-label,
.footer-col p,
.footer-col a,
.footer-bottom,
.detail-table .label,
.form-group label,
.batch-list-sidebar > p,
.metric .label,
.spec .label,
.grades-label,
.packaging-label,
.qr-section p {
    color: var(--premium-ink-muted);
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active,
.dropdown-link:hover,
.mobile-dropdown-link:hover {
    color: var(--premium-gold-soft);
    background: rgba(212, 175, 55, 0.08);
}

.hamburger span {
    background: var(--premium-gold-soft);
}

.dropdown-menu,
.mobile-nav {
    background: rgba(12, 10, 8, 0.97);
    border: 1px solid var(--premium-border);
}

.mobile-nav-item {
    border-bottom-color: rgba(212, 175, 55, 0.14);
}

.btn-primary {
    background: linear-gradient(135deg, #b88a17 0%, #d4af37 45%, #f0d37a 100%);
    color: #090806;
    box-shadow: var(--premium-glow);
    text-shadow: none;
}

.btn-primary:hover {
    color: #090806;
    box-shadow: 0 14px 38px rgba(212, 175, 55, 0.34);
}

.btn-secondary {
    background: linear-gradient(180deg, rgba(28, 23, 17, 0.98) 0%, rgba(18, 14, 10, 0.98) 100%);
    color: var(--premium-gold-soft);
    border: 1px solid var(--premium-border-strong);
    box-shadow: inset 0 1px 0 rgba(255, 244, 210, 0.04), var(--premium-shadow);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #a47b18 0%, #d4af37 100%);
    color: #090806;
    border-color: transparent;
}

.hero,
.cta-section,
.footer,
.admin-sidebar {
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.14) 0%, transparent 26%),
        linear-gradient(135deg, #050505 0%, #110d09 50%, #1a140d 100%);
}

.hero p,
.hero-stat-label,
.footer-bottom,
.footer-col p,
.footer-col a {
    color: rgba(246, 235, 199, 0.72);
}

.hero-stat,
.demo-badge,
.demo-badge-small,
.batch-id,
.grade-badge,
.article-category,
.coming-soon-badge,
.document-icon,
.contact-icon,
.feature-icon {
    border: 1px solid var(--premium-border);
}

.hero-stat,
.demo-badge,
.demo-badge-small,
.batch-id,
.grade-badge,
.document-icon,
.contact-icon,
.feature-icon,
.batch-metrics,
.product-specs,
.report-item,
.document-details {
    background: linear-gradient(180deg, rgba(35, 28, 20, 0.94) 0%, rgba(20, 16, 12, 0.94) 100%);
}

.demo-badge,
.demo-badge-small,
.batch-id,
.grade-badge,
.document-number,
.metric .value,
.feature-card h3,
.report-header h3,
.report-section h4,
.report-item .value,
.spec .value,
.detail-table .value.highlight,
.contact-item strong,
.stat-value,
.admin-logo {
    color: var(--premium-gold-soft);
}

.section.bg-light,
.bg-light,
.admin-content {
    background:
        linear-gradient(180deg, rgba(14, 11, 9, 0.98) 0%, rgba(18, 14, 11, 0.98) 100%);
}

.card,
.batch-card,
.feature-card,
.product-card,
.lab-report-card,
.knowledge-card,
.document-card,
.quote-form,
.contact-info,
.detail-section,
.batch-list-sidebar,
.batch-actions,
.modal-content,
.form-modal-content,
.dashboard-section,
.stat-card,
.batch-manage-item,
.product-manage-item,
.document-manage-item,
.quote-manage-item,
.admin-table {
    background: linear-gradient(180deg, rgba(24, 19, 14, 0.98) 0%, rgba(15, 12, 9, 0.98) 100%);
    border: 1px solid var(--premium-border);
    box-shadow: var(--premium-shadow);
}

.card h3,
.batch-card h3,
.product-card h3,
.knowledge-card h3,
.document-info h3,
.section-title h2,
.detail-section h3,
.quote-form h2,
.dashboard-section h3,
.admin-header h1 {
    color: var(--premium-ink);
}

.card:hover,
.batch-card:hover,
.feature-card:hover,
.product-card:hover,
.knowledge-card:hover,
.document-card:hover,
.batch-item:hover,
.batch-item.selected {
    border-color: var(--premium-border-strong);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(212, 175, 55, 0.12);
}

.batch-item {
    background: linear-gradient(180deg, rgba(22, 18, 14, 0.98) 0%, rgba(14, 11, 9, 0.98) 100%);
    border-color: rgba(212, 175, 55, 0.12);
}

.status-available,
.status-in-transit,
.status-sold,
.status-pending,
.status-responded {
    background: linear-gradient(180deg, rgba(36, 29, 20, 0.98) 0%, rgba(19, 15, 11, 0.98) 100%);
    color: var(--premium-gold-soft);
    border: 1px solid var(--premium-border);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: linear-gradient(180deg, rgba(14, 11, 9, 0.98) 0%, rgba(10, 8, 6, 0.98) 100%);
    border-color: rgba(212, 175, 55, 0.18);
    color: var(--premium-ink);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(246, 235, 199, 0.42);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--premium-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.admin-table th {
    background: rgba(212, 175, 55, 0.08);
    color: var(--premium-gold-soft);
}

.admin-table td,
.admin-table th,
.contact-item,
.report-actions,
.detail-table tr,
.footer-bottom {
    border-color: rgba(212, 175, 55, 0.12);
}

.footer-col h4,
.footer-col a:hover,
.knowledge-card:hover h3 {
    color: var(--premium-gold-soft);
}

.footer-logo-image,
.logo-image {
    filter: brightness(0.98) contrast(1.08) drop-shadow(0 4px 14px rgba(212, 175, 55, 0.24));
}

/* Inline style cleanup for page-specific hardcoded colors */
section[style*="background: linear-gradient(135deg, #162E08 0%, #2D5016 55%, #3A6419 100%)"],
section[style*="background: linear-gradient(135deg, #162E08 0%, #2D5016 100%)"],
section[style*="background: linear-gradient(135deg, #2D5016 0%, #4A7C23 100%)"] {
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.12) 0%, transparent 24%),
        linear-gradient(135deg, #050505 0%, #110d09 50%, #1a140d 100%) !important;
}

[style*="background: rgba(255,255,255,0.97)"] {
    background: linear-gradient(180deg, rgba(24, 19, 14, 0.98) 0%, rgba(15, 12, 9, 0.98) 100%) !important;
    border: 1px solid var(--premium-border) !important;
    box-shadow: var(--premium-shadow) !important;
}

[style*="background: #F6EFE0"],
[style*="background: linear-gradient(135deg, #FFFBEF, #FFF3C4)"] {
    background: linear-gradient(180deg, rgba(35, 28, 20, 0.94) 0%, rgba(20, 16, 12, 0.94) 100%) !important;
    border: 1px solid var(--premium-border) !important;
}

[style*="border-top: 4px solid #C8960C"],
[style*="border-top: 4px solid #2D5016"],
[style*="border-top: 4px solid #8B4513"],
[style*="border-top: 4px solid #4CAF50"] {
    border-top: 4px solid var(--premium-gold) !important;
}

[style*="color: #1E3D0E"],
.card h4[style*="color: #2D5016"],
.card strong[style*="color: #2D5016"] {
    color: var(--premium-gold-soft) !important;
}

[style*="color: #666"],
[style*="color: #888"] {
    color: var(--premium-ink-soft) !important;
}

[style*="background: #F4C430; color: #2D5016"] {
    background: linear-gradient(135deg, #b88a17 0%, #d4af37 45%, #f0d37a 100%) !important;
    color: #090806 !important;
    box-shadow: var(--premium-glow) !important;
}
