/* ============================================================
   style.css — Light Stick Supplier
   Tailwind CDN → 本地静态化 + 正文字号放大
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  font-size: 1.0625rem; /* 17px base (was 16px) */
}
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== 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; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-6 { top: 1.5rem; }
.left-6 { left: 1.5rem; }
.right-6 { right: 1.5rem; }
.bottom-8 { bottom: 2rem; }
.right-8 { right: 2rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-\[100\] { z-index: 100; }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }
.group {  }
.object-contain { object-fit: contain; }

/* ===== TYPOGRAPHY ===== */
.text-xs { font-size: 0.875rem; }     /* 14px (was 12px) */
.text-sm { font-size: 1rem; }         /* 16px (was 14px) */
.text-base { font-size: 1.0625rem; }  /* 17px (was 16px) */
.text-lg { font-size: 1.1875rem; }    /* 19px (was 18px) */
.text-xl { font-size: 1.25rem; }      /* 20px */
.text-3xl { font-size: 1.875rem; }    /* 30px */
.text-4xl { font-size: 2.25rem; }     /* 36px */
.text-5xl { font-size: 3rem; }        /* 48px */
.text-6xl { font-size: 3.75rem; }     /* 60px */

.text-\[8px\] { font-size: 8px; }
.text-\[9px\] { font-size: 9px; }

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

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

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

.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-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-800 { color: #1e293b; }
.text-indigo-400 { color: #818cf8; }
.text-blue-300 { color: #93c5fd; }
.text-blue-400 { color: #60a5fa; }

.hover\:text-indigo-400:hover { color: #818cf8; }
.hover\:text-indigo-300:hover { color: #a5b4fc; }

/* ===== BACKGROUND ===== */
.bg-black { background: #000; }
.bg-gray-900 { background: #111827; }
.bg-blue-600 { background: #2563eb; }
.bg-indigo-600 { background: #6366f1; }
.bg-white\/5 { background: rgba(255,255,255,0.05); }
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }

.hover\:bg-blue-700:hover { background: #1d4ed8; }
.hover\:bg-gray-700:hover { background: #374151; }
.hover\:scale-110:hover { transform: scale(1.1); }

/* ===== GRADIENTS ===== */
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-indigo-950\/10 { --tw-gradient-from: rgba(30,27,75,0.1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(30,27,75,0)); }
.to-transparent { --tw-gradient-to: transparent; }

/* ===== WIDTH / HEIGHT ===== */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-8 { width: 2rem; }
.w-14 { width: 3.5rem; }
.w-72 { width: 18rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-14 { height: 3.5rem; }
.h-64 { height: 16rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

/* ===== 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; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.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; }
.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-24 { margin-top: 6rem; }
.mt-32 { margin-top: 8rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.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-7 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.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-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.pt-28 { padding-top: 7rem; }
.pb-6 { padding-bottom: 1.5rem; }

.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* ===== BORDERS ===== */
.border { border: 1px solid; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-white\/5 { border-color: rgba(255,255,255,0.05); }
.border-gray-400 { border-color: #9ca3af; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

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

/* ===== OPACITY ===== */
.opacity-20 { opacity: 0.2; }

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

/* ===== LIST ===== */
.list-none { list-style: none; }

/* ===== GRID ===== */
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ===== COLOR SWATCHES ===== */
.bg-\[#25D366\] { background: #25D366; }

/* ===== RESPONSIVE: sm (640px+) ===== */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:justify-center { justify-content: center; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-5xl { font-size: 3rem; }
}

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

/* ===== RESPONSIVE: lg (1024px+) ===== */
@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* ============================================================
   CUSTOM STYLES (来自原内联 <style>)
   ============================================================ */

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

/* ---- Stat Card ---- */
.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-glow {
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: border-color 0.4s ease;
}
.border-glow:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

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

/* ---- Card Hover ---- */
.card-hover { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.4); }

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

/* ---- 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: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
#hubspot-form-container .hs-form .hs-button {
  background: #6366f1;
  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 {
  background: #4f46e5;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.25);
  transform: scale(1.02);
}
#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 .hs-error-msgs li { padding-left: 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: #818cf8;
  text-decoration: underline;
}

/* ---- Native <details>/<summary> FAQ ---- */
details summary::-webkit-details-marker { display: none; }
details summary {
  list-style: none;
  cursor: pointer;
  background: transparent;
  border: none;
}
details summary:focus { outline: none; }
details[open] summary { border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 1rem; margin-bottom: 1rem; }
details[open] .faq-answer { display: block; }

/* ---- Hero 渐变叠加（背景图 + 渐变） ---- */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-size: cover;
  background-position: center;
}
