/* ========================================
   UKIK · 黑色高端电子产品官网
   配色：深邃黑 + 金属金点缀
   ======================================== */

:root {
  --bg:        #0a0a0a;
  --bg-2:      #121212;
  --surface:   #1a1a1a;
  --border:    #2a2a2a;
  --text:      #f2f2f2;
  --muted:     #8a8a8a;
  --gold:      #d4af37;   /* 金属金，呼应 LOGO */
  --gold-l:    #f0d66b;
  --gold-grad: linear-gradient(135deg, #f0d66b 0%, #c49a2e 50%, #8a6a14 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
.container {max-width: 1024px;margin: 0 auto; padding:0 18px; }

/* ========== LOGO（金色渐变，呼应金属质感） ========== */
.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 4px;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(212,175,55,.35));
}
.logo img{height:30px;display:block;}

/* ========== 导航栏 ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 1px;
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 12px; }
.icon-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: all .25s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ========== 首屏 Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #151515 0%, #050505 70%);
}
/* 氛围光晕 */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  animation: float 8s ease-in-out infinite;
}
.glow-1 { width: 480px; height: 480px; top: 10%; left: 15%; background: var(--gold); }
.glow-2 { width: 400px; height: 400px; bottom: 10%; right: 12%; background: #4a5fd0; animation-delay: -4s; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(30px,-40px) scale(1.15); }
}

.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  font-size: 13px;
  letter-spacing: 8px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 2px;
  margin-bottom: 28px;
  background: linear-gradient(180deg, #fff 30%, #aaa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 44px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 38px;
  font-size: 15px;
  letter-spacing: 1px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: all .3s ease;
  font-weight: 600;
}
.btn-primary {
  background: var(--gold-grad);
  color: #1a1300;
  box-shadow: 0 8px 30px rgba(212,175,55,.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(212,175,55,.45); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--muted);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translate(-50%, 0); opacity: .6; }
  50%     { transform: translate(-50%, 10px); opacity: 1; }
}

.products { scroll-margin-top: 70px; }

.footer-brand .logo { font-size: 30px; }

/* ========== 通用区块 ========== */
.section { padding: 120px 0; position: relative; }
.section-head { margin-bottom: 70px; }
.section-head.center { text-align: center; }
.section-tag {
  font-size: 13px;
  letter-spacing: 0px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(20px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 1px;
}

/* ========== 产品卡片 ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all .4s ease;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 24px 60px rgba(212,175,55,.12);
}
.card-media {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1c1c1c, #0e0e0e);
  position: relative;
}
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(212,175,55,.08), transparent 60%);
}
.card-media img{display:block;max-width:100%;}
/* 用 CSS 绘制的设备示意（金属质感占位） */
.device { position: relative; z-index: 2; }
.device-phone {
  width: 130px; height: 210px;
  border-radius: 26px;
  background: linear-gradient(145deg, #2a2a2a, #0c0c0c);
  border: 2px solid #333;
  box-shadow: 0 20px 50px rgba(0,0,0,.6), inset 0 0 0 6px #111;
}
.device-watch {
  width: 150px; height: 150px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2a2a2a, #0c0c0c);
  border: 6px solid #333;
  box-shadow: 0 16px 40px rgba(0,0,0,.6), inset 0 0 0 8px #111;
}
.device-earbuds {
  width: 160px; height: 90px;
  border-radius: 50px;
  background: linear-gradient(145deg, #2a2a2a, #0c0c0c);
  border: 2px solid #333;
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
  position: relative;
}
.device-earbuds::before, .device-earbuds::after {
  content: "";
  position: absolute;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #444, #111);
  top: 50%; transform: translateY(-50%);
}
.device-earbuds::before { left: 20px; }
.device-earbuds::after  { right: 20px; }

.card-body { padding:15px; }
.card-cat {
  font-size: 12px;
  letter-spacing: 0px;
  color: var(--gold);
  text-transform: uppercase;
}
.card-title {
  font-size: 22px;
  margin: 10px 0 8px;
  font-weight: 700;
}
.card-desc { font-size:12px; color: var(--muted); margin-bottom:5px; }
.card-price {font-size:10px;font-weight:100;color:#d1af76;}

/* ========== 创新科技 ========== */
.innovation { background: var(--bg-2); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: all .35s;
}
.feature:hover { border-color: var(--gold); transform: translateY(-6px); }
.feature-num {
  font-size: 40px;
  font-weight: 800;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  line-height: 1;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ========== CTA ========== */
.cta {
  padding: 110px 0;
  text-align: center;
  background: radial-gradient(ellipse at center, #1a1505 0%, var(--bg) 70%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.cta-inner p { color: var(--muted); margin-bottom: 36px; }
.subscribe {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}
.subscribe input {
  flex: 1;
  min-width: 240px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color .3s;
}
.subscribe input:focus { border-color: var(--gold); }

/* ========== 页脚 ========== */
.footer { padding: 50px 0 0; background: #060606; }
.footer-inner {
  max-width:1024px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--muted); margin-top: 14px; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-cols h4 {
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--gold);
  letter-spacing: 2px;
}
.footer-cols a {
  display: block;
  font-size: 12px;line-height:120%;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color .25s;
}
.footer-cols a:hover { color: var(--text); }
.footer-bottom {
  text-align: center;
  padding: 28px 0;
  font-size: 13px;
  color: #555;
}

/* ========== 滚动浮现动画 ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s cubic-bezier(.16,1,.3,1);
}
.reveal.show { opacity: 1; transform: none; }

/* ========== 响应式 ========== */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .footer-img{display:none;}
}

.footer-img{background:#060606;}
.footer-img img{display:block;margin:auto;}