/* ===== Reset & Base ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;color:#222;background:#fff;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ===== Header / Nav ===== */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);backdrop-filter:blur(8px);border-bottom:1px solid #eee;transition:box-shadow .3s}
.site-header.scrolled{box-shadow:0 2px 12px rgba(0,0,0,.08)}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo img{height:36px;width:auto}
.nav-links{display:flex;gap:28px;align-items:center}
.nav-links a{font-size:.9rem;font-weight:500;color:#444;transition:color .2s}
.nav-links a:hover{color:#111}
.lang-switch{padding:4px 12px;border:1px solid #ddd;border-radius:4px;font-size:.8rem;cursor:pointer;background:transparent;color:#555;transition:all .2s}
.lang-switch:hover{border-color:#111;color:#111}
.mobile-toggle{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer;color:#333}

/* ===== Hero ===== */
.hero{position:relative;background:linear-gradient(135deg,#0a0a0a 0%,#1a1a2e 50%,#16213e 100%);color:#fff;padding:100px 0 80px;overflow:hidden;min-height:70vh;display:flex;align-items:center}
.hero::before{content:'';position:absolute;top:-50%;right:-20%;width:80%;height:200%;background:radial-gradient(ellipse,rgba(37,99,235,.12) 0%,transparent 70%);pointer-events:none}
.hero .container{display:flex;align-items:center;gap:60px;position:relative;z-index:1}
.hero-text{flex:1;max-width:540px}
.hero-text h1{font-size:3rem;font-weight:800;line-height:1.15;margin-bottom:16px}
.hero-text h1 span{color:#fff}
.hero-text .subtitle{font-size:1.15rem;color:rgba(255,255,255,.75);margin-bottom:32px;line-height:1.7}
.hero-buttons{display:flex;gap:14px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 28px;border-radius:8px;font-size:.95rem;font-weight:600;transition:all .25s;cursor:pointer;border:none}
.btn-primary{background:#fff;color:#111}
.btn-primary:hover{background:#f0f0f0;transform:translateY(-2px);box-shadow:0 4px 20px rgba(0,0,0,.2)}
.btn-outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.3)}
.btn-outline:hover{border-color:#fff;background:rgba(255,255,255,.1)}
.hero-image{flex:1;text-align:center}
.hero-image img{max-height:420px;margin:0 auto;filter:drop-shadow(0 20px 40px rgba(0,0,0,.3))}

/* ===== Section Titles ===== */
.section-title{text-align:center;margin-bottom:48px}
.section-title h2{font-size:2rem;font-weight:700;margin-bottom:8px}
.section-title p{color:#666;font-size:1.05rem}
.section-title .line{width:60px;height:3px;background:#333;margin:12px auto 0;border-radius:2px}

/* ===== Channels ===== */
.channels{padding:60px 0;background:#f8f9fa}
.channel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;max-width:900px;margin:0 auto}
.channel-card{display:flex;flex-direction:column;align-items:center;padding:28px 20px;background:#fff;border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,.06);transition:all .3s;text-align:center}
.channel-card:hover{transform:translateY(-4px);box-shadow:0 8px 28px rgba(0,0,0,.1)}
.channel-card .icon{font-size:2.2rem;margin-bottom:12px}
.channel-card h3{font-size:1rem;font-weight:600;margin-bottom:4px}
.channel-card p{font-size:.8rem;color:#888}

/* ===== Products ===== */
.products{padding:80px 0}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px}
.product-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 16px rgba(0,0,0,.07);transition:all .35s}
.product-card:hover{transform:translateY(-6px);box-shadow:0 12px 36px rgba(0,0,0,.12)}
.product-card .img-wrap{position:relative;padding-top:75%;background:#f5f5f5;overflow:hidden}
.product-card .img-wrap img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.product-card:hover .img-wrap img{transform:scale(1.05)}
.product-card .badge{position:absolute;top:12px;left:12px;background:#111;color:#fff;padding:4px 10px;border-radius:4px;font-size:.75rem;font-weight:600}
.product-card .info{padding:20px}
.product-card h3{font-size:1.1rem;font-weight:600;margin-bottom:8px;line-height:1.4}
.product-card .desc{font-size:.85rem;color:#666;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-card .price{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.product-card .price .current{font-size:1.2rem;font-weight:700;color:#222}
.product-card .price .original{font-size:.9rem;color:#999;text-decoration:line-through}
.product-card .specs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.product-card .specs span{font-size:.75rem;padding:3px 8px;background:#f0f0f0;border-radius:4px;color:#555}
.product-card .actions{display:flex;gap:8px}
.product-card .actions a{flex:1;text-align:center;padding:10px;border-radius:8px;font-size:.85rem;font-weight:600;transition:all .2s}
.product-card .actions .btn-buy{background:#222;color:#fff}
.product-card .actions .btn-buy:hover{background:#000}
.product-card .actions .btn-detail{background:#f0f0f0;color:#333}
.product-card .actions .btn-detail:hover{background:#e0e0e0}

/* ===== Product Detail Modal ===== */
.modal-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6);z-index:200;align-items:center;justify-content:center;padding:20px}
.modal-overlay.active{display:flex}
.modal{background:#fff;border-radius:16px;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;position:relative}
.modal-close{position:absolute;top:16px;right:16px;background:rgba(0,0,0,.1);border:none;width:36px;height:36px;border-radius:50%;font-size:1.2rem;cursor:pointer;z-index:5;display:flex;align-items:center;justify-content:center;transition:background .2s}
.modal-close:hover{background:rgba(0,0,0,.2)}
.modal-body{padding:32px}
.modal-gallery{display:flex;gap:12px;margin-bottom:24px;overflow-x:auto;padding-bottom:8px}
.modal-gallery img{height:200px;width:auto;border-radius:8px;cursor:pointer;flex-shrink:0;border:2px solid transparent;transition:border-color .2s}
.modal-gallery img:hover,.modal-gallery img.active{border-color:#111}
.modal-main-img{width:100%;max-height:400px;object-fit:contain;border-radius:12px;margin-bottom:24px;background:#f5f5f5}
.modal h2{font-size:1.6rem;font-weight:700;margin-bottom:12px}
.modal .modal-price{font-size:1.4rem;color:#111;font-weight:700;margin-bottom:16px}
.modal .modal-price .orig{font-size:1rem;color:#999;text-decoration:line-through;margin-left:10px;font-weight:400}
.modal .modal-desc{color:#555;margin-bottom:20px;line-height:1.8}
.spec-table{width:100%;border-collapse:collapse;margin-bottom:24px}
.spec-table td{padding:10px 14px;border-bottom:1px solid #eee;font-size:.9rem}
.spec-table td:first-child{font-weight:600;color:#333;width:35%;background:#fafafa}
.modal .buy-links{display:flex;gap:10px;flex-wrap:wrap}
.modal .buy-links a{padding:10px 24px;border-radius:8px;font-size:.9rem;font-weight:600;transition:all .2s}

/* ===== About ===== */
.about{padding:80px 0;background:#f8f9fa}
.about-content{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.about-text h2{font-size:1.8rem;font-weight:700;margin-bottom:16px}
.about-text p{color:#555;margin-bottom:14px;line-height:1.8}
.about-text .partners{margin-top:20px}
.about-text .partners h3{font-size:1rem;font-weight:600;margin-bottom:10px;color:#333}
.partner-logos{display:flex;flex-wrap:wrap;gap:10px}
.partner-logos span{padding:6px 14px;background:#fff;border:1px solid #ddd;border-radius:6px;font-size:.8rem;color:#555}
.about-img img{border-radius:14px;box-shadow:0 8px 30px rgba(0,0,0,.1)}

/* ===== Contact ===== */
.contact{padding:80px 0}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.contact-info h3{font-size:1.2rem;margin-bottom:20px}
.contact-item{display:flex;gap:14px;margin-bottom:20px;align-items:flex-start}
.contact-item .ci-icon{font-size:1.3rem;flex-shrink:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#f0f0f0;border-radius:8px}
.contact-item .ci-text strong{display:block;font-size:.9rem;margin-bottom:2px}
.contact-item .ci-text span,.contact-item .ci-text a{font-size:.85rem;color:#666}
.contact-item .ci-text a:hover{color:#111}
.social-links{display:flex;gap:12px;margin-top:24px}
.social-links a{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#f0f0f0;border-radius:8px;font-size:1.1rem;transition:all .2s}
.social-links a:hover{background:#111;color:#fff}
.contact-form{background:#f8f9fa;padding:32px;border-radius:14px}
.contact-form h3{font-size:1.2rem;margin-bottom:20px}
.form-group{margin-bottom:16px}
.form-group label{display:block;font-size:.85rem;font-weight:500;margin-bottom:6px;color:#444}
.form-group input,.form-group textarea{width:100%;padding:10px 14px;border:1px solid #ddd;border-radius:8px;font-size:.9rem;transition:border-color .2s;font-family:inherit}
.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#111}
.form-group textarea{height:100px;resize:vertical}
.form-submit{width:100%;padding:12px;background:#111;color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .2s}
.form-submit:hover{background:#333}

/* ===== Footer ===== */
.site-footer{background:#111;color:#aaa;padding:48px 0 24px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;margin-bottom:32px}
.footer-col h4{color:#fff;font-size:.95rem;margin-bottom:14px}
.footer-col p,.footer-col a{font-size:.85rem;line-height:1.8;color:#888}
.footer-col a:hover{color:#111}
.footer-col .brand-desc{margin-top:8px;font-size:.85rem;line-height:1.7}
.footer-bottom{border-top:1px solid #333;padding-top:20px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.footer-bottom p{font-size:.8rem}
.footer-bottom a{color:#888;font-size:.8rem}
.footer-bottom a:hover{color:#111}

/* ===== Responsive ===== */
@media(max-width:768px){
  .nav-links{display:none;position:absolute;top:64px;left:0;right:0;background:#fff;flex-direction:column;padding:20px;gap:16px;box-shadow:0 8px 20px rgba(0,0,0,.1)}
  .nav-links.open{display:flex}
  .mobile-toggle{display:block}
  .hero .container{flex-direction:column;text-align:center}
  .hero-text h1{font-size:2rem}
  .hero-text{max-width:100%}
  .hero-buttons{justify-content:center}
  .hero-image img{max-height:280px}
  .about-content,.contact-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .product-grid{grid-template-columns:1fr}
  .modal-body{padding:20px}
  .modal-gallery img{height:120px}
}
@media(max-width:480px){
  .hero-text h1{font-size:1.6rem}
  .channel-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr}
}

/* ===== Animations ===== */
.fade-in{opacity:0;transform:translateY(20px);transition:opacity .6s,transform .6s}
.fade-in.visible{opacity:1;transform:translateY(0)}

/* ===== Back to top ===== */
.back-to-top{position:fixed;bottom:24px;right:24px;width:44px;height:44px;background:#333;color:#fff;border:none;border-radius:50%;font-size:1.2rem;cursor:pointer;opacity:0;visibility:hidden;transition:all .3s;z-index:50;display:flex;align-items:center;justify-content:center}
.back-to-top.show{opacity:1;visibility:visible}
.back-to-top:hover{background:#111;transform:translateY(-3px)}
