/* ═══════════════════════════════════════════════════════════
   智邦科技 - 云上数码电脑超市 - 共享样式表
   ═══════════════════════════════════════════════════════════ */

:root {
  --primary: #00c6ff;
  --primary-dark: #0072ff;
  --accent: #ff6b35;
  --accent2: #f7b731;
  --dark: #04060f;
  --dark2: #080d1a;
  --card-bg: rgba(8, 16, 38, 0.85);
  --glass: rgba(0, 194, 255, 0.06);
  --text: #e8f0fe;
  --text-dim: #7a8ba8;
  --border: rgba(0, 194, 255, 0.18);
  --glow: rgba(0, 198, 255, 0.35);
  --success: #00ff9d;
  --orange: #ff8c42;
  --purple: #9d4edd;
}

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

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Noto Sans SC', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(4, 6, 15, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(4, 6, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 198, 255, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.4);
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
}

.logo-icon i {
  font-size: 22px;
  color: #fff;
}

.logo-text h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
}

.logo-text span {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: var(--glass);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-search {
  position: relative;
}

.nav-search input {
  background: rgba(0, 194, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: 25px;
  padding: 9px 38px 9px 16px;
  color: var(--text);
  font-size: 13px;
  width: 200px;
  transition: all 0.3s;
  font-family: 'Noto Sans SC', sans-serif;
}

.nav-search input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 194, 255, 0.12);
  width: 260px;
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.15);
}

.nav-search i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 12px;
}

.nav-cart {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text-dim);
}

.nav-cart:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.2);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-phone-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.3);
  white-space: nowrap;
}

.nav-phone-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 0 25px rgba(0, 198, 255, 0.5);
  transform: translateY(-1px);
}

.nav-phone-btn i {
  font-size: 14px;
}

/* ═══════════════════════════════════════
   DELIVERY BANNER
═══════════════════════════════════════ */
.delivery-banner {
  background: linear-gradient(90deg, #ff8c00, #ff5722, #ff8c00);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  top: 72px;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.delivery-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.delivery-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.delivery-item i {
  font-size: 18px;
}

.delivery-item.highlight {
  background: rgba(255,255,255,0.2);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 15px;
}

.delivery-item.highlight i {
  color: #ffe066;
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ═══════════════════════════════════════
   PAGE HEADER
═══════════════════════════════════════ */
.page-header {
  position: relative;
  top: 72px;
  padding: 100px 40px 60px;
  background: var(--dark2);
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 114, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.page-header h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary), #9d4edd, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
  position: relative;
}

.breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

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

.breadcrumb span {
  color: var(--text-dim);
}

.breadcrumb .current {
  color: var(--primary);
}

/* ═══════════════════════════════════════
   SECTION STYLES
═══════════════════════════════════════ */
.section-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}

.section-title .highlight {
  color: var(--primary);
}

.section-desc {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
  max-width: 600px;
}

/* ═══════════════════════════════════════
   CARDS
═══════════════════════════════════════ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.4s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 198, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 198, 255, 0.08);
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  font-family: 'Noto Sans SC', sans-serif;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 198, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 198, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  font-family: 'Noto Sans SC', sans-serif;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--glass);
  color: var(--primary);
}

.btn-secondary {
  background: rgba(0, 194, 255, 0.1);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  font-family: 'Noto Sans SC', sans-serif;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(0, 194, 255, 0.18);
  border-color: var(--primary);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  position: relative;
  top: 72px;
  background: #020509;
  border-top: 1px solid var(--border);
  padding: 60px 40px 30px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 194, 255, 0.08);
}

.footer-brand .logo-text h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.footer-brand .logo-text span {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 3px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-size: 15px;
}

.social-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--glass);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
}

.payment-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.payment-icon {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 11px;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .navbar { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-search { display: none; }
  .page-header { padding: 80px 16px 40px; }
  .page-header h1 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
