/* ======================================
   en.Made-in-China.com Landing Page
   ====================================== */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #e8edf2;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =================== HEADER =================== */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(12px);
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.h-container {
    max-width: 1520px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 60px;
}
.h-left {
    display: flex;
    align-items: center;
    gap: 30px;
}
.logo-m {
    background: #D0021B;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 900;
    font-style: italic;
}
.h-nav {
    display: flex;
    gap: 20px;
}
.h-nav a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
    transition: opacity 0.2s;
}
.h-nav a:hover { opacity: 0.8; }
.h-nav i { font-size: 18px; }

.h-center {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 40px;
}
.search-bar {
    display: flex;
    width: 100%;
    max-width: 550px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
}
.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 18px;
    font-size: 14px;
    background: #D0021B;
    color: #fff;
}
.search-bar input::placeholder { color: rgba(255,255,255,0.6); }
.search-btn {
    background: #fff;
    border: none;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.search-btn i { font-size: 22px; color: #333; }

.h-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.h-icon {
    color: rgba(255,255,255,0.8);
    font-size: 22px;
    cursor: pointer;
    transition: color 0.2s;
}
.h-icon:hover { color: #fff; }
.btn-signin {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 8px 22px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-signin:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}
.btn-signin i { font-size: 18px; }

/* =================== HERO =================== */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 60px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1a2a4a 0%, #2a3a5a 30%, #3a4a6a 60%, #4a5a7a 100%);
}
.hero-gradient {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(208, 2, 27, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(0, 100, 200, 0.1) 0%, transparent 50%);
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 80px 30px;
}
.hero-content h1 {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 12px;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-sub {
    font-size: 28px;
    font-weight: 500;
    opacity: 0.85;
    margin-bottom: 45px;
}
.hero-search {
    display: flex;
    max-width: 620px;
    margin: 0 auto;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 30px;
    font-size: 16px;
    height: 56px;
    background: #fff;
    color: #333;
}
.hero-search-btn {
    background: #D0021B;
    color: #fff;
    border: none;
    padding: 0 35px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    transition: background 0.2s;
}
.hero-search-btn:hover { background: #b0011a; }
.hero-join {
    margin-top: 25px;
}
.hero-join a {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.75;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}
.hero-join a:hover { opacity: 1; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}
.stat {
    text-align: center;
}
.stat strong {
    display: block;
    font-size: 28px;
    font-weight: 900;
}
.stat span {
    font-size: 14px;
    opacity: 0.7;
}

/* =================== PRODUCTS SECTION =================== */
.products-section {
    max-width: 1520px;
    margin: -30px auto 30px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}
.ps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Top Rankings */
.top-rankings {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.tr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.tr-header h2 {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tr-header h2 i { color: #faad14; font-size: 24px; }
.tr-header a {
    color: #888;
    font-size: 13px;
    display: flex;
    align-items: center;
}
.tr-tag {
    display: inline-block;
    border: 1px solid #eee;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
}
.tr-grid {
    display: flex;
    gap: 15px;
}
.tr-main {
    flex: 2;
    display: flex;
    gap: 15px;
}
.tr-card {
    flex: 1;
    background: #f7f7f7;
    border-radius: 10px;
    padding: 20px 15px;
    position: relative;
    text-align: center;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.tr-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.rank-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    background: #ccc;
}
.rank-badge.gold { background: linear-gradient(135deg, #ffd700, #ffb300); }
.rank-badge.silver { background: linear-gradient(135deg, #b0c4de, #8faabe); }
.rank-badge.bronze { background: linear-gradient(135deg, #cd7f32, #b87333); }
.tr-img {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.tr-img i { font-size: 60px; color: #bbb; }
.tr-card p { font-size: 12px; color: #666; }
.tr-others {
    flex: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.tr-card-sm {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 12px;
    position: relative;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.tr-card-sm:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.tr-card-sm .rank-badge {
    top: 6px; right: 6px;
    width: 24px; height: 24px;
    font-size: 11px;
}
.tr-img-sm {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tr-img-sm i { font-size: 36px; color: #ccc; }

/* Samples Block */
.samples-block {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.samples-block h2 {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.samples-block h2 i { color: #D0021B; font-size: 24px; }
.samples-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.sample-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.sample-card:hover { transform: translateY(-3px); }
.sample-img {
    width: 100%;
    height: 120px;
    background: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.sample-img i { font-size: 42px; color: #999; }
.sample-price {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}
.samples-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}
.s-dot {
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: #ddd;
}
.s-dot.active { background: #333; }

/* Dual Block */
.dual-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}
.new-arrivals, .retail-block {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.new-arrivals h3, .retail-block h3 {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}
.new-badge {
    background: #D0021B;
    color: #fff;
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}
.arrival-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.arrival-item {
    height: 100px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.arrival-item:hover { background: #eee; }
.arrival-item i { font-size: 36px; color: #bbb; }

/* =================== HOW IT WORKS =================== */
.how-it-works {
    max-width: 1520px;
    margin: 30px auto;
    padding: 0 20px;
}
.hiw-container {
    background: #fff;
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
}
.hiw-container h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
}
.hiw-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}
.hiw-step {
    text-align: center;
    max-width: 200px;
}
.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #fef0e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-icon i { font-size: 36px; color: #D0021B; }
.hiw-step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}
.hiw-step p { font-size: 13px; color: #888; }
.hiw-connector i {
    font-size: 28px;
    color: #ddd;
}
.faq-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #333;
    padding-bottom: 2px;
}

/* =================== TRADING PROTECTION =================== */
.trading-protect {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 30%, #333 60%, #2d2d2d 100%);
    padding: 80px 0;
    color: #fff;
}
.tp-container {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
}
.tp-container h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 50px;
}
.tp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.tp-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 40px 25px;
    text-align: left;
}
.tp-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.tp-icon i { font-size: 32px; color: #D0021B; }
.tp-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
}
.tp-card ul { margin: 0; }
.tp-card li {
    font-size: 14px;
    opacity: 0.8;
    padding: 4px 0;
    list-style: disc;
    margin-left: 16px;
}

/* =================== CTA =================== */
.cta-section {
    background: linear-gradient(90deg, #2a2a2a, #1a1a1a);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}
.cta-container h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.cta-btn {
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s;
    cursor: pointer;
}
.cta-outline {
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
}
.cta-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}
.cta-fill {
    background: #D0021B;
    color: #fff;
    border: 2px solid #D0021B;
}
.cta-fill:hover { background: #b0011a; }

/* =================== FOOTER =================== */
.landing-footer {
    background: #f0f2f5;
    padding-top: 50px;
}
.f-container {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 30px;
}
.f-links {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.5fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ddd;
}
.f-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}
.f-sub-title {
    margin-top: 20px;
}
.f-col a {
    display: block;
    font-size: 13px;
    color: #666;
    padding: 3px 0;
    transition: color 0.2s;
}
.f-col a:hover { color: #D0021B; }
.lang-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 20px;
}
.f-brands { text-align: center; }
.f-brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
}
.f-brand-item i { font-size: 32px; color: #888; }
.f-brand-item span { font-size: 12px; font-weight: 600; }
.f-brands h5 {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}
.co-brands {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.brand-logo {
    background: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #777;
}

.f-app-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}
.f-app-left, .f-app-center, .f-app-right {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #666;
}
.app-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #333;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}
.app-badge i { font-size: 18px; }
.tm-toggle {
    width: 40px;
    height: 22px;
    background: #ccc;
    border-radius: 11px;
    position: relative;
    cursor: pointer;
}
.tm-toggle::after {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.2s;
}
.social-icons {
    display: flex;
    gap: 10px;
}
.social-icons i {
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}
.social-icons i:hover { color: #333; }
.x-icon {
    font-size: 20px;
    font-weight: 900;
    color: #666;
    cursor: pointer;
}

.f-bottom-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    flex-wrap: wrap;
}
.f-bottom-links a {
    font-size: 12px;
    color: #888;
    position: relative;
}
.f-bottom-links a:not(:last-child)::after {
    content: '|';
    margin-left: 20px;
    color: #ddd;
}
.f-focus {
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    color: #999;
}
.f-focus a {
    margin: 0 8px;
    color: #888;
}
.f-focus a:hover { color: #D0021B; }
.f-copyright {
    text-align: center;
    padding: 15px 0 25px;
    font-size: 12px;
    color: #999;
}
.f-legal {
    margin-top: 5px;
}
.f-legal a {
    color: #888;
    margin: 0 10px;
}
.f-legal a:hover { color: #D0021B; }

/* =================== SIDE WIDGETS =================== */
.side-widgets {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 300;
}
.sw-item {
    background: #fff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #eee;
    transition: background 0.2s;
}
.sw-item:first-child { border-radius: 8px 8px 0 0; }
.sw-item:last-child { border-radius: 0 0 8px 8px; }
.sw-item:hover { background: #f5f5f5; }
.sw-item i { font-size: 22px; color: #666; }
.sw-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Chat Bubble */
.chat-bubble {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #D0021B;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(208, 2, 27, 0.4);
    cursor: pointer;
    z-index: 300;
    transition: transform 0.2s;
}
.chat-bubble:hover { transform: scale(1.1); }
.chat-bubble i { font-size: 28px; }
