/* =========================================
   HERO BANNERS - Digital Noir × Data Network
   Premium animated banners for Power Club
   ========================================= */

/* === FONTS === */
/* MOVED TO base.html.twig with async loading - DO NOT use @import here */

/* === VARIABLES === */
:root {
    --hero-accent: #00D4FF;
    --hero-accent-light: #5DE5FF;
    --hero-accent-dark: #00A3CC;
    --hero-dark: #0A0A0F;
    --hero-dark-soft: #12121A;
    --hero-primary: #4564ff;
    --hero-primary-light: #638fff;
}

/* =========================================
   1. HERO BANNER - PACK 1M FOURNISSEURS
   ========================================= */

.hero-suppliers {
    position: relative;
    min-height: 380px;
    background: linear-gradient(135deg, var(--hero-dark) 0%, var(--hero-dark-soft) 50%, #0D0D15 100%);
    border-radius: 1.5rem;
    overflow: hidden;
    isolation: isolate;
}

/* Animated Grid Background - Delayed for better LCP */
.hero-suppliers::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    animation-delay: 1s;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Radial Glow */
.hero-suppliers::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(99, 143, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Network Canvas */
.network-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Globe Silhouette - Optimized: removed expensive drop-shadow filter */
.globe-silhouette {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    height: 100%;
    opacity: 0.4;
    z-index: 2;
    /* filter: drop-shadow removed for performance */
    animation: globeRotate 30s linear infinite;
    animation-delay: 1.5s;
    will-change: transform;
}

@keyframes globeRotate {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.globe-silhouette svg {
    width: 100%;
    height: 100%;
}

/* Content Container */
.hero-suppliers-content {
    position: relative;
    z-index: 10;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
}

/* Top Badge */
.supplier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    padding: 0.5rem 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    width: fit-content;
    backdrop-filter: blur(6px);
}

.supplier-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px #22c55e;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* Main Counter Section */
.supplier-counter-section {
    margin: 1.5rem 0;
}

.counter-label {
    font-family: var(--font-display, 'Sora', sans-serif);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.supplier-counter {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: white;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.counter-number {
    position: relative;
}

.counter-suffix {
    font-size: 0.4em;
    opacity: 0.8;
}

/* Stats Row */
.supplier-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Title */
.hero-suppliers-title {
    font-family: var(--font-display, 'Sora', sans-serif);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: white;
    margin: 1rem 0;
    max-width: 450px;
    line-height: 1.3;
}

.hero-suppliers-title span {
    color: #638fff;
    text-shadow: 0 0 30px rgba(99, 143, 255, 0.5);
}

/* CTA Button - Glass Style */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 1.75rem;
    border-radius: 100px;
    font-family: var(--font-display, 'Sora', sans-serif);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.hero-cta-btn i {
    transition: transform 0.3s ease;
}

.hero-cta-btn:hover i {
    transform: translateX(4px);
}

/* Floating Particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 4s ease-in-out infinite;
}

@keyframes floatParticle {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    20% { opacity: 1; transform: translateY(-20px) scale(1); }
    80% { opacity: 1; transform: translateY(-80px) scale(1); }
    100% { opacity: 0; transform: translateY(-100px) scale(0); }
}

/* =========================================
   2. WORLD MAP CARD - SVG Stylized
   ========================================= */

.world-map-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 300px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.world-map-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(69, 100, 255, 0.3);
}

/* SVG Map Container */
.world-map-svg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.world-map-svg svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* City pulse animation */
.city-pulse {
    animation: cityPulse 2s ease-in-out infinite;
}

@keyframes cityPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Connection line animation */
.connection-anim {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 3s ease-in-out infinite;
}

@keyframes drawLine {
    0% { stroke-dashoffset: 200; opacity: 0; }
    50% { stroke-dashoffset: 0; opacity: 0.6; }
    100% { stroke-dashoffset: -200; opacity: 0; }
}

/* Content Overlay */
.world-map-content {
    position: absolute;
    inset: 0;
    z-index: 10;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

/* Map Badge */
.world-map-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 0.5rem 1rem;
    font-family: var(--font-display, 'Sora', sans-serif);
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    width: fit-content;
}

.world-map-badge i {
    color: #638fff;
}

/* Footer */
.world-map-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* Stats */
.world-map-stats {
    display: flex;
    gap: 0.75rem;
}

.world-stat {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

.world-stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    display: block;
}

.world-stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Floating country pills */
.wm-country-pills {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}
.wm-pill {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    padding: 5px 10px 5px 7px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    animation: wmPillFloat 4s ease-in-out infinite;
    letter-spacing: 0.02em;
}
.wm-pill span { font-size: 0.9rem; }
.wm-pill-china {
    top: 22%;
    right: 12%;
    background: rgba(239, 68, 68, 0.25);
    border: 1px solid rgba(239, 68, 68, 0.4);
    animation-delay: 0s;
}
.wm-pill-india {
    top: 52%;
    right: 28%;
    background: rgba(245, 158, 11, 0.25);
    border: 1px solid rgba(245, 158, 11, 0.4);
    animation-delay: 1.3s;
}
.wm-pill-thai {
    top: 62%;
    right: 10%;
    background: rgba(6, 182, 212, 0.25);
    border: 1px solid rgba(6, 182, 212, 0.4);
    animation-delay: 2.6s;
}
@keyframes wmPillFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Stat icons */
.wms-suppliers, .wms-ai {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.wms-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    flex-shrink: 0;
}
.wms-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}
.wms-icon-purple {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}

/* CTA Button - Glass */
.world-map-cta {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.world-map-card:hover .world-map-cta {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

/* =========================================
   2b. THEME KIT CARD — 3-phase animation
   ========================================= */

.themekit-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 340px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #070c07;
    border: 1px solid rgba(149,191,71,0.12);
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.4rem;
}

.themekit-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(149,191,71,0.2);
    border-color: rgba(149,191,71,0.3);
}

.tk-grid-bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(149,191,71,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(149,191,71,0.025) 1px, transparent 1px);
    background-size: 22px 22px;
}

/* Badge */
.themekit-badge {
    position: relative; z-index: 2;
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: rgba(149,191,71,0.1); border: 1px solid rgba(149,191,71,0.18);
    border-radius: 100px; padding: 0.25rem 0.65rem;
    font-family: var(--font-display, 'Sora', sans-serif); font-size: 0.6rem; font-weight: 600;
    color: #95bf47; width: fit-content;
}
.themekit-badge i { font-size: 0.75rem; }

/* ---- Browser ---- */
.tk-browser {
    position: relative; z-index: 2; flex: 1;
    display: flex; flex-direction: column;
    background: #0c110c; border-radius: 8px;
    border: 1px solid rgba(149,191,71,0.08);
    overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.tk-chrome {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 8px; background: #101510;
    border-bottom: 1px solid rgba(149,191,71,0.06); flex-shrink: 0;
}
.tk-dots { display: flex; gap: 3px; }
.tk-dots i { width: 5px; height: 5px; border-radius: 50%; display: block; }

.tk-url-bar {
    flex: 1; display: flex; align-items: center; gap: 4px;
    background: rgba(149,191,71,0.04); border-radius: 3px;
    padding: 2px 6px; font-size: 0.5rem;
    color: rgba(255,255,255,0.4); font-family: 'JetBrains Mono', monospace;
    overflow: hidden;
}
.tk-url-bar .fas { font-size: 0.4rem; color: #28c840; flex-shrink: 0; }
.tk-url-bar span {
    white-space: nowrap; overflow: hidden;
    border-right: 1px solid rgba(149,191,71,0.5);
    animation: tkType 18s steps(28) infinite;
}
@keyframes tkType {
    0% { width: 0; } 14%, 90% { width: 100%; } 96%, 100% { width: 0; }
}

/* Loader */
.tk-loader { height: 2px; background: rgba(149,191,71,0.05); flex-shrink: 0; }
.tk-loader-fill {
    height: 100%; background: linear-gradient(90deg, #95bf47, #7da53d);
    border-radius: 2px; animation: tkLoad 18s ease-in-out infinite;
}
@keyframes tkLoad {
    0%, 20% { width: 0; opacity: 1; }
    30% { width: 100%; opacity: 1; }
    35%, 90% { width: 100%; opacity: 0; }
    100% { width: 0; opacity: 0; }
}

/* Browser body */
.tk-browser-body { flex: 1; position: relative; overflow: hidden; }

/* ---- Shared phase base ---- */
.tk-phase { position: absolute; inset: 0; }

/* ======= PHASE 1 : FORM ======= */
.tk-phase-form {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px; padding: 12px;
    animation: tkP1 18s ease infinite;
}
@keyframes tkP1 {
    0%, 20% { opacity: 1; } 27%, 100% { opacity: 0; }
}

.tk-form-icon { font-size: 1.2rem; color: rgba(149,191,71,0.25); margin-bottom: 2px; }

.tk-form-label {
    font-size: 0.55rem; color: rgba(255,255,255,0.4);
    font-family: var(--font-display, 'Sora', sans-serif);
}

.tk-form-input {
    display: flex; align-items: center; gap: 5px;
    background: rgba(149,191,71,0.05); border: 1px solid rgba(149,191,71,0.12);
    border-radius: 5px; padding: 6px 10px; width: 85%;
    font-size: 0.5rem; color: rgba(255,255,255,0.35);
    font-family: 'JetBrains Mono', monospace; overflow: hidden;
}
.tk-form-input .fas { font-size: 0.4rem; color: rgba(149,191,71,0.4); flex-shrink: 0; }
.tk-form-input span {
    white-space: nowrap; overflow: hidden;
    border-right: 1px solid rgba(149,191,71,0.5);
    animation: tkTypeIn 18s steps(38) infinite;
}
@keyframes tkTypeIn {
    0% { width: 0; } 16% { width: 100%; }
    20%, 100% { width: 100%; border-color: transparent; }
}

.tk-form-cta {
    display: inline-flex; align-items: center; gap: 4px;
    background: #95bf47; color: #070c07;
    font-size: 0.5rem; font-weight: 700; padding: 5px 14px;
    border-radius: 5px; font-family: var(--font-display, 'Sora', sans-serif);
    animation: tkGlow 18s ease infinite;
}
.tk-form-cta .fas { font-size: 0.4rem; }
@keyframes tkGlow {
    0%, 17% { transform: scale(1); box-shadow: none; }
    20% { transform: scale(1.08); box-shadow: 0 0 16px rgba(149,191,71,0.5); }
    24%, 100% { transform: scale(1); box-shadow: none; }
}

/* ======= PHASE 2 : STORE ======= */
.tk-phase-store {
    display: flex; flex-direction: column;
    animation: tkP2 18s ease infinite;
}
@keyframes tkP2 {
    0%, 25% { opacity: 0; } 33%, 55% { opacity: 1; } 61%, 100% { opacity: 0; }
}

.tk-s-scroll {
    display: flex; flex-direction: column; height: 100%;
    animation: tkScroll 18s ease infinite;
}
@keyframes tkScroll {
    0%, 33% { transform: translateY(0); }
    50%, 55% { transform: translateY(-18px); }
    61%, 100% { transform: translateY(-18px); }
}

/* Store nav */
.tk-s-nav {
    display: flex; align-items: center; gap: 6px;
    padding: 5px 8px; border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.4rem; color: rgba(255,255,255,0.25);
}
.tk-s-logo {
    width: 16px; height: 16px; border-radius: 3px;
    background: rgba(149,191,71,0.15); display: flex;
    align-items: center; justify-content: center;
    font-size: 0.4rem; color: #95bf47;
}
.tk-s-nav span { font-family: var(--font-display, 'Sora', sans-serif); }
.tk-s-cart-icon {
    margin-left: auto; font-size: 0.4rem; color: rgba(255,255,255,0.2);
}
.tk-s-cart-icon b { color: #95bf47; font-size: 0.35rem; }

/* Store hero */
.tk-s-hero {
    display: flex; gap: 8px; padding: 8px;
    background: linear-gradient(135deg, rgba(149,191,71,0.06), rgba(149,191,71,0.02));
    margin: 4px; border-radius: 5px; flex: 1; min-height: 0;
}
.tk-s-hero-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }

.tk-s-tag {
    font-size: 0.38rem; color: #95bf47; font-weight: 700;
    font-family: var(--font-display, 'Sora', sans-serif);
    text-transform: uppercase; letter-spacing: 0.06em;
}
.tk-s-h1 { width: 80%; height: 5px; background: rgba(255,255,255,0.15); border-radius: 2px; }
.tk-s-h2 { width: 55%; height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; }

.tk-s-btn {
    margin-top: auto;
    background: #95bf47; color: #070c07;
    font-size: 0.38rem; font-weight: 700; padding: 3px 8px;
    border-radius: 3px; width: fit-content;
    font-family: var(--font-display, 'Sora', sans-serif);
}

.tk-s-hero-img {
    width: 35%; display: flex; align-items: center; justify-content: center;
    background: rgba(149,191,71,0.06); border-radius: 4px;
    font-size: 1.3rem; color: rgba(149,191,71,0.2);
}

/* Product grid */
.tk-s-grid { display: flex; gap: 4px; padding: 4px 4px 2px; }

.tk-s-card {
    flex: 1; border-radius: 4px; overflow: hidden;
    border: 1px solid rgba(149,191,71,0.08);
    background: rgba(255,255,255,0.015);
}
.tk-s-card-img {
    height: 28px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(149,191,71,0.06), rgba(149,191,71,0.02));
    font-size: 0.7rem; color: rgba(149,191,71,0.2);
}
.tk-s-card-bot {
    display: flex; justify-content: space-between; align-items: center;
    padding: 3px 5px;
}
.tk-s-card-bot span {
    width: 50%; height: 3px; background: rgba(255,255,255,0.07); border-radius: 2px;
}
.tk-s-card-bot b {
    font-size: 0.42rem; color: #95bf47;
    font-family: 'JetBrains Mono', monospace;
}

/* Reviews */
.tk-s-reviews {
    display: flex; align-items: center; gap: 5px; padding: 3px 8px;
}
.tk-s-stars { font-size: 0.45rem; color: #f5a623; letter-spacing: 1px; }
.tk-s-review-count { font-size: 0.38rem; color: rgba(255,255,255,0.2); }

/* Trust bar */
.tk-s-trust {
    display: flex; gap: 8px; padding: 4px 8px;
    border-top: 1px solid rgba(255,255,255,0.03);
    font-size: 0.35rem; color: rgba(255,255,255,0.2);
}
.tk-s-trust i { color: rgba(149,191,71,0.3); margin-right: 2px; }

/* ======= PHASE 3 : DASHBOARD ======= */
.tk-phase-dash {
    display: flex; flex-direction: column;
    animation: tkP3 18s ease infinite;
}
@keyframes tkP3 {
    0%, 57% { opacity: 0; } 64%, 88% { opacity: 1; } 94%, 100% { opacity: 0; }
}

.tk-d-nav {
    display: flex; align-items: center; gap: 5px;
    padding: 5px 8px; border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.5rem; color: rgba(255,255,255,0.4);
    font-family: var(--font-display, 'Sora', sans-serif);
}
.tk-d-nav .fa-shopify { color: #95bf47; font-size: 0.65rem; }

/* Stats row */
.tk-d-stats {
    display: flex; gap: 8px; padding: 6px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.tk-d-kpi { flex: 1; }
.tk-d-kpi-label { font-size: 0.38rem; color: rgba(255,255,255,0.25); font-family: var(--font-display, 'Sora', sans-serif); }
.tk-d-kpi-val {
    font-size: 0.85rem; font-weight: 700; color: white;
    font-family: 'JetBrains Mono', monospace;
    animation: tkCountUp 18s ease infinite;
}
@keyframes tkCountUp {
    0%, 60% { opacity: 0; } 66% { opacity: 1; }
    88% { opacity: 1; } 94%, 100% { opacity: 0; }
}
.tk-d-kpi-trend {
    font-size: 0.4rem; color: #95bf47; font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

/* Mini chart */
.tk-d-chart {
    display: flex; align-items: flex-end; gap: 3px;
    width: 50%; padding: 4px 0;
}
.tk-d-bar {
    flex: 1; background: rgba(149,191,71,0.15); border-radius: 2px;
    transform-origin: bottom; animation: tkBarGrow 18s ease infinite;
}
.tk-d-bar-now { background: #95bf47; }

@keyframes tkBarGrow {
    0%, 62% { transform: scaleY(0); }
    70%, 88% { transform: scaleY(1); }
    94%, 100% { transform: scaleY(0); }
}

/* Orders */
.tk-d-orders { flex: 1; display: flex; flex-direction: column; padding: 2px 0; overflow: hidden; }

.tk-d-order {
    display: flex; align-items: center; gap: 4px;
    padding: 4px 8px; font-size: 0.42rem;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    transform: translateX(100%); opacity: 0;
}
.tk-d-o1 { animation: tkOrd 18s ease infinite; }
.tk-d-o2 { animation: tkOrd 18s ease infinite 0.7s; }
.tk-d-o3 { animation: tkOrd 18s ease infinite 1.4s; }
.tk-d-o4 { animation: tkOrd 18s ease infinite 2.1s; }

@keyframes tkOrd {
    0%, 64% { transform: translateX(100%); opacity: 0; }
    70%, 86% { transform: translateX(0); opacity: 1; }
    92%, 100% { transform: translateX(0); opacity: 0; }
}

.tk-d-oid { color: rgba(255,255,255,0.2); font-family: 'JetBrains Mono', monospace; width: 22%; }
.tk-d-oname { color: rgba(255,255,255,0.5); flex: 1; font-family: var(--font-display, 'Sora', sans-serif); }
.tk-d-oamt { color: white; font-weight: 600; font-family: 'JetBrains Mono', monospace; width: 20%; text-align: right; }

.tk-d-obadge {
    font-size: 0.35rem; padding: 1px 5px; border-radius: 3px;
    background: rgba(149,191,71,0.15); color: #95bf47;
    font-weight: 600; font-family: var(--font-display, 'Sora', sans-serif);
}
.tk-d-onew { background: rgba(59,130,246,0.15); color: #60a5fa; }

/* ---- Bottom Content ---- */
.themekit-bottom {
    position: relative; z-index: 2;
    display: flex; align-items: center;
    justify-content: space-between; gap: 0.5rem;
}
.themekit-title {
    font-family: var(--font-display, 'Sora', sans-serif);
    font-size: 0.9rem; font-weight: 700; color: white;
    margin: 0; line-height: 1.25; flex: 1;
}
.themekit-title span { color: #95bf47; }

.themekit-cta {
    width: 34px; height: 34px;
    background: rgba(149,191,71,0.15); border: 1px solid rgba(149,191,71,0.25);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #95bf47; font-size: 0.8rem;
    transition: all 0.3s ease; pointer-events: auto; flex-shrink: 0;
}
.themekit-card:hover .themekit-cta {
    transform: scale(1.1); background: rgba(149,191,71,0.25);
}

/* =========================================
   3. RESPONSIVE ADJUSTMENTS
   ========================================= */

@media (max-width: 991.98px) {
    .themekit-card { min-height: 320px; }
    .tk-s-hero-img { display: none; }
    .tk-d-chart { display: none; }

    .hero-suppliers {
        min-height: 450px;
    }

    .hero-suppliers-content {
        padding: 1.5rem;
    }

    .supplier-counter {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .supplier-stats {
        gap: 1rem;
    }

    .china-silhouette {
        width: 80%;
        right: -20%;
        opacity: 0.1;
    }

    .map-stats {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .map-stat {
        min-width: 80px;
        padding: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .hero-suppliers-content {
        padding: 1.25rem;
    }

    .supplier-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stat-item {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
}

/* =========================================
   4. ANIMATIONS ON SCROLL (Optional)
   ========================================= */

.hero-suppliers[data-animate] .supplier-badge,
.hero-suppliers[data-animate] .supplier-counter-section,
.hero-suppliers[data-animate] .hero-suppliers-title,
.hero-suppliers[data-animate] .hero-cta-btn {
    opacity: 0;
    transform: translateY(20px);
}

.hero-suppliers.animate-in .supplier-badge {
    animation: slideUp 0.6s ease forwards;
    animation-delay: 0.1s;
}

.hero-suppliers.animate-in .supplier-counter-section {
    animation: slideUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.hero-suppliers.animate-in .hero-suppliers-title {
    animation: slideUp 0.6s ease forwards;
    animation-delay: 0.3s;
}

.hero-suppliers.animate-in .hero-cta-btn {
    animation: slideUp 0.6s ease forwards;
    animation-delay: 0.4s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
