/* ============================================================
   style.css — Rechargeable LED Lightstick
   Tailwind CDN → 本地静态化 + 内联 <style> 合并 + 正文字体放大
   ============================================================ */

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; letter-spacing: 0.02em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== DISPLAY ===== */
.hidden { display: none; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.gap-3 { gap: 0.75rem; }
.gap-5 { gap: 1.25rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-6 { top: 1.5rem; }
.top-10 { top: 2.5rem; }
.top-20 { top: 5rem; }
.left-6 { left: 1.5rem; }
.left-10 { left: 2.5rem; }
.left-1\/3 { left: 33.333%; }
.left-1\/4 { left: 25%; }
.right-6 { right: 1.5rem; }
.right-20 { right: 5rem; }
.right-0 { right: 0; }
.right-1\/4 { right: 25%; }
.bottom-8 { bottom: 2rem; }
.bottom-10 { bottom: 2.5rem; }
.bottom-20 { bottom: 5rem; }
.bottom-40 { bottom: 10rem; }
.right-8 { right: 2rem; }
.top-1\/2 { top: 50%; }
.z-[100] { z-index: 100; }
.z-50 { z-index: 50; }
.z-10 { z-index: 10; }
.z-0 { z-index: 0; }
.pointer-events-none { pointer-events: none; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.object-contain { object-fit: contain; }
.h-full { height: 100%; }
.w-full { width: 100%; }

/* ===== TYPOGRAPHY ===== */
.text-xs { font-size: 0.875rem; }
.text-sm { font-size: 1rem; }
.text-base { font-size: 1.0625rem; }
.text-lg { font-size: 1.1875rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-light { font-weight: 300; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.tracking-\[0\.4em\] { letter-spacing: 0.4em; }
.tracking-\[0\.5em\] { letter-spacing: 0.5em; }
.tracking-\[0\.8em\] { letter-spacing: 0.8em; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.uppercase { text-transform: uppercase; }

/* ===== TEXT COLORS ===== */
.text-white { color: #fff; }
.text-white\/70 { color: rgba(255,255,255,0.7); }
.text-white\/80 { color: rgba(255,255,255,0.8); }
.text-white\/90 { color: rgba(255,255,255,0.9); }
.text-gray-100 { color: #f3f4f6; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-800 { color: #1e293b; }
.text-pink-400 { color: #f472b6; }
.text-pink-300 { color: #f9a8d4; }
.text-cyan-400 { color: #22d3ee; }

.hover\:text-pink-400:hover { color: #f472b6; }
.hover\:text-pink-300:hover { color: #f9a8d4; }

/* ===== BACKGROUND ===== */
.bg-black { background: #000; }
.bg-\[\#050505\] { background: #050505; }
.bg-white\/5 { background: rgba(255,255,255,0.05); }
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }

.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-pink-500 { --tw-gradient-from: #ec4899; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(236,72,153,0)); }
.to-cyan-400 { --tw-gradient-to: #22d3ee; }
.from-pink-950\/10 { --tw-gradient-from: rgba(131,24,67,0.1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(131,24,67,0)); }
.to-transparent { --tw-gradient-to: transparent; }

.hover\:from-pink-600:hover { --tw-gradient-from: #db2777; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(219,39,119,0)); }
.hover\:to-cyan-500:hover { --tw-gradient-to: #06b6d4; }
.hover\:scale-110:hover { transform: scale(1.1); }

/* ===== WIDTH / HEIGHT ===== */
.w-8 { width: 2rem; }
.w-16 { width: 4rem; }
.w-72 { width: 18rem; }
.h-8 { height: 2rem; }
.h-16 { height: 4rem; }
.h-64 { height: 16rem; }
.w-\[600px\] { width: 600px; }
.h-\[600px\] { height: 600px; }
.w-\[500px\] { width: 500px; }
.h-\[500px\] { height: 500px; }
.w-\[400px\] { width: 400px; }
.h-\[400px\] { height: 400px; }

.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }

/* ===== SPACING ===== */
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }
.mt-32 { margin-top: 8rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.pt-28 { padding-top: 7rem; }
.pt-12 { padding-top: 3rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pl-4 { padding-left: 1rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }

/* ===== BORDERS ===== */
.border { border: 1px solid; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-l-2 { border-left-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-white\/5 { border-color: rgba(255,255,255,0.05); }
.border-gray-600 { border-color: #4b5563; }
.border-pink-500\/30 { border-color: rgba(236,72,153,0.3); }
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.rounded-xl { border-radius: 0.75rem; }
.hover\:border-pink-400:hover { border-color: #f472b6; }

/* ===== SHADOWS ===== */
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0,0,0,0.1); }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

/* ===== OPACITY ===== */
.opacity-10 { opacity: 0.1; }

/* ===== TRANSITIONS ===== */
.transition { transition: all 0.2s ease; }
.duration-300 { transition-duration: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:text-5xl { font-size: 3rem; }
  .sm\:text-6xl { font-size: 3.75rem; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:inline { display: inline; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:justify-start { justify-content: flex-start; }
  .md\:text-right { text-align: right; }
  .md\:mx-0 { margin-left: 0; margin-right: 0; }
  .md\:h-10 { height: 2.5rem; }
  .md\:w-80 { width: 20rem; }
  .md\:pt-40 { padding-top: 10rem; }
  .md\:py-44 { padding-top: 11rem; padding-bottom: 11rem; }
  .md\:p-12 { padding: 3rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-7xl { font-size: 4.5rem; }
}
@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* ============================================================
   CUSTOM STYLES（来自内联 <style>）
   ============================================================ */

/* ---- Navigation ---- */
.nav-bg {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 60px;
  padding: 0.6rem 2rem;
}
@media (max-width: 768px) {
  .nav-bg { border-radius: 40px; padding: 0.5rem 1.2rem; }
}

/* ---- Stat Card / Border Glow ---- */
.stat-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.border-glow {
  border: 1px solid rgba(168, 85, 247, 0.15);
  transition: border-color 0.4s ease;
}
.border-glow:hover { border-color: rgba(236, 72, 153, 0.5); }

/* ---- Text Neon ---- */
.text-neon {
  background: linear-gradient(135deg, #d946ef, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Neon Glow ---- */
.neon-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236,72,153,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.neon-glow-cyan {
  background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%);
}

/* ---- Neon Border Card ---- */
.neon-border-card {
  position: relative;
  background: #0a0a0a;
  border-radius: 1.5rem;
  overflow: hidden;
}
.neon-border-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 1.5rem;
  background: conic-gradient(#d946ef, #06b6d4, #d946ef);
  opacity: 0.2;
  z-index: -1;
  animation: rotateBorder 6s linear infinite;
}
@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---- Card Hover ---- */
.card-hover { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.6); }

/* ---- Fade In ---- */
.fade-in { animation: fadeIn 0.6s ease-in-out; }
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---- Spec Table ---- */
.spec-table td { border: 1px solid rgba(255,255,255,0.05); padding: 0.75rem 1rem; }
.spec-table th { border: 1px solid rgba(255,255,255,0.05); padding: 0.75rem 1rem; background: rgba(217,70,239,0.05); }

/* ---- HubSpot Form ---- */
#hubspot-form-container .hs-form { display: flex; flex-direction: column; gap: 1.2rem; }
#hubspot-form-container .hs-form label { color: #94a3b8; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em; }
#hubspot-form-container .hs-form input,
#hubspot-form-container .hs-form textarea,
#hubspot-form-container .hs-form select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: #f1f5f9;
  font-size: 0.95rem;
  width: 100% !important;
  outline: none;
  transition: border 0.25s ease;
}
#hubspot-form-container .hs-form input:focus,
#hubspot-form-container .hs-form textarea:focus,
#hubspot-form-container .hs-form select:focus {
  border-color: #d946ef;
  box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.15);
}
#hubspot-form-container .hs-form .hs-button {
  background: linear-gradient(135deg, #d946ef, #06b6d4);
  border: none;
  border-radius: 40px;
  padding: 1rem 2.4rem;
  font-weight: 600;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  align-self: flex-start;
}
#hubspot-form-container .hs-form .hs-button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 50px rgba(217, 70, 239, 0.25);
}
#hubspot-form-container .hs-form .hs-error-msgs { color: #f87171; font-size: 0.75rem; list-style: none; padding: 0; margin: 0.25rem 0 0 0; }
#hubspot-form-container .hs-form .legal-consent-container { font-size: 0.75rem; color: #64748b; line-height: 1.5; }
#hubspot-form-container .hs-form .legal-consent-container a { color: #c084fc; text-decoration: underline; }
