/* ============================================================
   style.css — GFLAI LED Bracelet Landing Page
   Tailwind CSS static extraction + custom inline styles merge
   ============================================================ */

/* ======= TAILWIND PREFLIGHT (关键重置) ======= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    line-height: inherit;
}
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}
a {
    color: inherit;
    text-decoration: inherit;
}
b, strong {
    font-weight: 700;
}
img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
}
img, video {
    max-width: 100%;
    height: auto;
}
button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}
table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}

/* ======= BODY ======= */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #0B0F19;
    color: #E2E8F0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ======= CUSTOM COMPONENTS ======= */
.tech-heading {
    font-family: 'Space Grotesk', sans-serif;
}

/* 动态彩色光点背景动画 */
.ambient-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2,132,199,0.15) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px);
    animation: pulseGlow 8s infinite alternate ease-in-out;
    pointer-events: none;
}
.glow-purple {
    background: radial-gradient(circle, rgba(147,51,234,0.12) 0%, rgba(0,0,0,0) 70%);
    animation-delay: -3s;
}
.glow-amber {
    background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, rgba(0,0,0,0) 70%);
    animation-delay: -5s;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0px, 0px); opacity: 0.6; }
    100% { transform: scale(1.2) translate(30px, -20px); opacity: 0.9; }
}

/* 硬件卡片暗黑高阶交互效果 */
.dark-hardware-card {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.dark-hardware-card:hover {
    border-color: rgba(2, 132, 199, 0.5);
    box-shadow: 0 0 30px rgba(2, 132, 199, 0.2);
    transform: translateY(-6px);
}

/* 图片缩放微互动 */
.img-zoom-container img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.dark-hardware-card:hover .img-zoom-container img {
    transform: scale(1.05);
}

/* 全局排版覆盖 */
p, li, td {
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
    color: #94A3B8 !important;
    letter-spacing: 0.01em !important;
}
h3, h4 {
    color: #F8FAFC !important;
}

/* ======= TAILWIND UTILITY CLASSES ======= */

/* --- Display --- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }

/* --- Position --- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

/* --- Top / Right / Bottom / Left / Inset --- */
.top-0 { top: 0; }
.top-20 { top: 5rem; }
.top-40 { top: 10rem; }
.bottom-10 { bottom: 2.5rem; }
.bottom-8 { bottom: 2rem; }
.bottom-20 { bottom: 5rem; }
.left-10 { left: 2.5rem; }
.left-1\/3 { left: 33.333333%; }
.right-20 { right: 5rem; }
.right-8 { right: 2rem; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* --- Z-Index --- */
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* --- Flexbox --- */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }

/* --- Grid --- */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* --- Width --- */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-2 { width: 0.5rem; }
.w-6 { width: 1.5rem; }

/* --- Height --- */
.h-2 { height: 0.5rem; }
.h-6 { height: 1.5rem; }
.h-24 { height: 6rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-full { height: 100%; }
.h-\[400px\] { height: 400px; }
.h-\[440px\] { height: 440px; }

/* --- Max-Width --- */
.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-7xl { max-width: 80rem; }

/* --- Margin --- */
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-24 { margin-bottom: 6rem; }

/* --- Padding --- */
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.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-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-0 { padding-top: 0; }
.pt-2 { padding-top: 0.5rem; }
.pt-56 { padding-top: 14rem; }
.pb-32 { padding-bottom: 8rem; }
.pl-4 { padding-left: 1rem; }

/* --- Gap --- */
.gap-2 { gap: 0.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 Between --- */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-12 > * + * { margin-top: 3rem; }

/* --- Opacity --- */
.opacity-0 { opacity: 0; }
.opacity-60 { opacity: 0.6; }

/* --- Typography: Font Size --- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

/* --- Typography: Font Weight --- */
.font-light { font-weight: 300; }
.font-bold { font-weight: 700; }

/* --- Typography: Font Family --- */
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

/* --- Typography: Text Transform --- */
.uppercase { text-transform: uppercase; }

/* --- Typography: Letter Spacing --- */
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }

/* --- Typography: Line Height --- */
.leading-\[1\.12\] { line-height: 1.12; }
.leading-relaxed { line-height: 1.625; }

/* --- Typography: Text Align --- */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* --- Color: Text --- */
.text-white { color: #ffffff; }
.text-transparent { color: transparent; }
.text-sky-400 { color: #38bdf8; }
.text-sky-500 { color: #0ea5e9; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-purple-400 { color: #c084fc; }
.text-emerald-400 { color: #34d399; }
.text-amber-400 { color: #fbbf24; }

/* --- Color: Background --- */
.bg-sky-400 { background-color: #38bdf8; }
.bg-sky-500 { background-color: #0ea5e9; }
.bg-sky-600 { background-color: #0284c7; }
.bg-sky-500\/10 { background-color: rgba(14, 165, 233, 0.1); }
.bg-purple-600 { background-color: #9333ea; }
.bg-emerald-600 { background-color: #059669; }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-950 { background-color: #020617; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/\[0\.01\] { background-color: rgba(255, 255, 255, 0.01); }
.bg-\[\#0B0F19\] { background-color: #0B0F19; }
.bg-\[\#0B0F19\]\/70 { background-color: rgba(11, 15, 25, 0.7); }
.bg-\[\#25D366\] { background-color: #25D366; }
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4); }

/* --- Gradient Background --- */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}
.from-sky-400 {
    --tw-gradient-from: #38bdf8 var(--tw-gradient-from-position);
    --tw-gradient-to: rgba(56, 189, 248, 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-sky-600 {
    --tw-gradient-from: #0284c7 var(--tw-gradient-from-position);
    --tw-gradient-to: rgba(2, 132, 199, 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-black\/60 {
    --tw-gradient-from: rgba(0, 0, 0, 0.6) var(--tw-gradient-from-position);
    --tw-gradient-to: rgba(0, 0, 0, 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-\[\#0B0F19\] {
    --tw-gradient-from: #0B0F19 var(--tw-gradient-from-position);
    --tw-gradient-to: rgba(11, 15, 25, 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-transparent {
    --tw-gradient-to: transparent var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to);
}
.to-purple-400 {
    --tw-gradient-to: #c084fc var(--tw-gradient-to-position);
}
.to-blue-600 {
    --tw-gradient-to: #2563eb var(--tw-gradient-to-position);
}
.to-transparent {
    --tw-gradient-to: transparent var(--tw-gradient-to-position);
}
.to-\[\#0B0F19\] {
    --tw-gradient-to: #0B0F19 var(--tw-gradient-to-position);
}
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* --- Border Width --- */
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-bottom-style: solid; }

/* --- Border Color --- */
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-sky-500\/20 { border-color: rgba(14, 165, 233, 0.2); }

/* --- Border Radius --- */
.rounded { border-radius: 0.25rem; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

/* --- Box Shadow --- */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-sky-600\/20 { box-shadow: 0 10px 15px -3px rgba(2,132,199,0.2), 0 4px 6px -4px rgba(2,132,199,0.2); }
.shadow-sky-600\/10 { box-shadow: 0 10px 15px -3px rgba(2,132,199,0.1), 0 4px 6px -4px rgba(2,132,199,0.1); }

/* --- Backdrop Filter --- */
.backdrop-blur-md {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.backdrop-blur-xs {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* --- Object Fit --- */
.object-cover { object-fit: cover; }

/* --- Overflow --- */
.overflow-hidden { overflow: hidden; }

/* --- Group (marker class for group-hover) --- */
.group {
    position: relative;
}

/* --- Group Hover --- */
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

/* --- Animation --- */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* --- Transition --- */
.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* --- Hover: Text Color --- */
.hover\:text-sky-300:hover { color: #7dd3fc; }
.hover\:text-sky-400:hover { color: #38bdf8; }
.hover\:text-purple-300:hover { color: #d8b4fe; }
.hover\:text-emerald-300:hover { color: #6ee7b7; }

/* --- Hover: Background Color --- */
.hover\:bg-sky-500:hover { background-color: #0ea5e9; }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }

/* --- Hover: Border Color --- */
.hover\:border-white\/10:hover { border-color: rgba(255, 255, 255, 0.1); }

/* --- Hover: Gradient --- */
.hover\:from-sky-500:hover {
    --tw-gradient-from: #0ea5e9 var(--tw-gradient-from-position);
    --tw-gradient-to: rgba(14, 165, 233, 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:to-blue-500:hover {
    --tw-gradient-to: #3b82f6 var(--tw-gradient-to-position);
}

/* --- Hover: Opacity --- */
.hover\:opacity-100:hover { opacity: 1; }

/* --- Hover: Scale --- */
.hover\:scale-105:hover { transform: scale(1.05); }

/* ======= RESPONSIVE: sm (min-width: 640px) ======= */
@media (min-width: 640px) {
    .sm\:text-5xl { font-size: 3rem; line-height: 1; }
}

/* ======= RESPONSIVE: md (min-width: 768px) ======= */
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:p-12 { padding: 3rem; }
    .md\:text-right { text-align: right; }
}

/* ======= RESPONSIVE: lg (min-width: 1024px) ======= */
@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg\:col-span-4 { grid-column: span 4 / span 4; }
    .lg\:col-span-5 { grid-column: span 5 / span 5; }
    .lg\:col-span-7 { grid-column: span 7 / span 7; }
    .lg\:col-span-8 { grid-column: span 8 / span 8; }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}
