/* ===== 1. Global Reset ===== */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: rgba(229, 231, 235, 0.1); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; -moz-tab-size: 4; tab-size: 4; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body { margin: 0; padding: 0; }
hr { height: 0; color: inherit; border-top-width: 1px; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; margin: 0; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; font-size: 100%; line-height: inherit; margin: 0; padding: 0; }
button { cursor: pointer; }

/* ===== 2. Body (System Font Stack replacing Inter) ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #030307;
    color: #f1f5f9;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
/* Headings (System Font replacing Space Grotesk) */
h1, h2, h3, h4 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

/* ===== 3. Custom .nav-blur-container ===== */
.nav-blur-container {
    background: rgba(3, 3, 7, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* ===== 4. Custom .text-neon-glow (保留类名，用于可能的复用) ===== */
.text-neon-glow {
    background: linear-gradient(135deg, #c7d2fe, #22d3ee, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== 5. Custom .b2b-glass-card ===== */
.b2b-glass-card {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.b2b-glass-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
}

/* ===== 6. Inline SVG Icon Styles (replacing Font Awesome) ===== */
.fa-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; fill: currentColor; flex-shrink: 0; }

/* ===== 7. HubSpot Form Reset (container: #hubspot-form-container) ===== */
#hubspot-form-container .hs-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (max-width: 768px) {
    #hubspot-form-container .hs-form { grid-template-columns: 1fr; }
}
#hubspot-form-container .hs-form .hs-form-field { grid-column: span 1; }
#hubspot-form-container .hs-form .hs-field-type-textarea,
#hubspot-form-container .hs-form .hs_submit { grid-column: span 2; }
@media (max-width: 768px) {
    #hubspot-form-container .hs-form .hs_submit { grid-column: span 1; }
}
#hubspot-form-container .hs-form label {
    color: #94a3b8; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; display: block;
}
#hubspot-form-container .hs-form input,
#hubspot-form-container .hs-form textarea,
#hubspot-form-container .hs-form select {
    background: rgba(255, 255, 255, 0.02) !important; border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important; padding: 0.85rem 1.2rem !important; color: #f8fafc !important; font-size: 0.9rem !important;
    width: 100% !important; outline: none; transition: all 0.3s ease;
}
#hubspot-form-container .hs-form input:focus,
#hubspot-form-container .hs-form textarea:focus {
    border-color: #6366f1 !important; background: rgba(99, 102, 241, 0.03) !important; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}
#hubspot-form-container .hs-form .hs-button {
    background: #4f46e5 !important; border: none !important; border-radius: 50px !important; padding: 1rem 3rem !important;
    font-weight: 600 !important; color: #fff !important; text-transform: uppercase !important; font-size: 0.85rem !important;
    letter-spacing: 0.05em !important; cursor: pointer; transition: all 0.3s ease !important;
}
#hubspot-form-container .hs-form .hs-button:hover {
    background: #4338ca !important; box-shadow: 0 0 30px rgba(79, 70, 229, 0.4) !important;
}

/* ===== 8. @keyframes ===== */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8,0,1,1); } 50% { transform: none; animation-timing-function: cubic-bezier(0,0,.2,1); } }

/* ===== 9. Positioning ===== */
.static { position: static; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.top-0 { top: 0px; }
.left-0 { left: 0px; }
.right-0 { right: 0px; }
.bottom-8 { bottom: 2rem; }
.right-8 { right: 2rem; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-\[100\] { z-index: 100; }

/* ===== 10. Display ===== */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* ===== 11. Flexbox ===== */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }

/* ===== 12. Grid ===== */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-7 { grid-column: span 7 / span 7; }
.col-span-8 { grid-column: span 8 / span 8; }
.col-span-12 { grid-column: span 12 / span 12; }

/* ===== 13. Sizing ===== */
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-7 { width: 1.75rem; }
.w-12 { width: 3rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-12 { height: 3rem; }
.h-auto { height: auto; }
.h-\[400px\] { height: 400px; }
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-\[420px\] { max-width: 420px; }
.min-h-screen { min-height: 100vh; }

/* ===== 14. Spacing ===== */
/* Padding */
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.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 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-44 { padding-top: 11rem; }
.pb-32 { padding-bottom: 8rem; }
.pl-4 { padding-left: 1rem; }
.pr-4 { padding-right: 1rem; }

/* Margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-1 { margin-left: 0.25rem; }

/* Gap */
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* Space between children */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-24 > * + * { margin-top: 6rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }

/* ===== 15. Typography ===== */
/* Font Sizes (bumped: 9→11, 10→12, 11→13, xs→0.875, sm→1.0, base→1.125, lg→1.25, xl→1.5, 2xl→1.75, 3xl→2.0) */
.text-\[9px\] { font-size: 11px; }
.text-\[10px\] { font-size: 12px; }
.text-\[11px\] { font-size: 13px; }
.text-xs { font-size: 0.875rem; line-height: 1.25rem; }
.text-sm { font-size: 1rem; line-height: 1.5rem; }
.text-base { font-size: 1.125rem; line-height: 1.75rem; }
.text-lg { font-size: 1.25rem; line-height: 1.75rem; }
.text-xl { font-size: 1.5rem; line-height: 2rem; }
.text-2xl { font-size: 1.75rem; line-height: 2rem; }
.text-3xl { font-size: 2rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

/* Font Weight */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-mono { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace; }

/* Text Transform */
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }

/* Letter Spacing */
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.tracking-\[0\.4em\] { letter-spacing: 0.4em; }
.tracking-\[0\.6em\] { letter-spacing: 0.6em; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

/* Line Height */
.leading-\[1\.2\] { line-height: 1.2; }
.leading-relaxed { line-height: 1.625; }
.leading-normal { line-height: 1.5; }

/* Text Align */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Text Color */
.text-white { color: #ffffff; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-800 { color: #1e293b; }
.text-indigo-300 { color: #a5b4fc; }
.text-indigo-400 { color: #818cf8; }
.text-indigo-500 { color: #6366f1; }
.text-amber-400 { color: #fbbf24; }
.text-cyan-400 { color: #22d3ee; }
.text-emerald-400 { color: #34d399; }

/* ===== 16. Backgrounds ===== */
.bg-transparent { background-color: transparent; }
.bg-black { background-color: #000000; }
.bg-neutral-950 { background-color: #0a0a0a; }
.bg-neutral-900 { background-color: #171717; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-\[\#030307\] { background-color: #030307; }
.bg-\[\#25D366\] { background-color: #25D366; }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-indigo-950 { background-color: #1e1b4b; }
.bg-indigo-950\/40 { background-color: rgba(30, 27, 75, 0.4); }
.bg-indigo-950\/50 { background-color: rgba(30, 27, 75, 0.5); }
.bg-cyan-950\/50 { background-color: rgba(8, 51, 68, 0.5); }
.bg-emerald-950\/50 { background-color: rgba(2, 44, 34, 0.5); }
.bg-amber-950 { background-color: #451a03; }

/* ===== 17. Borders ===== */
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-indigo-900 { border-color: #312e81; }
.border-indigo-900\/30 { border-color: rgba(49, 46, 129, 0.3); }
.border-indigo-900\/40 { border-color: rgba(49, 46, 129, 0.4); }
.border-cyan-900\/30 { border-color: rgba(22, 78, 99, 0.3); }
.border-emerald-900\/30 { border-color: rgba(6, 78, 59, 0.3); }
.border-amber-900 { border-color: #78350f; }

/* ===== 18. Border Radius ===== */
.rounded-sm { border-radius: 0.125rem; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-\[24px\] { border-radius: 24px; }
.rounded-\[32px\] { border-radius: 32px; }

/* ===== 19. Opacity ===== */
.opacity-0 { opacity: 0; }
.opacity-10 { opacity: 0.1; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

/* ===== 20. 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-indigo-600\/20 { box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2), 0 4px 6px -4px rgba(79, 70, 229, 0.2); }

/* ===== 21. Backdrop Filter ===== */
.backdrop-blur-md {
    --tw-backdrop-blur: blur(12px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur);
    backdrop-filter: var(--tw-backdrop-blur);
}

/* ===== 22. Transition ===== */
.transition { 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-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; }
.duration-300 { transition-duration: 300ms; }

/* ===== 23. Transform ===== */
.hover\:scale-110:hover { transform: scale(1.1); }

/* ===== 24. Object Fit ===== */
.object-cover { object-fit: cover; }
.object-center { object-position: center; }

/* ===== 25. Overflow ===== */
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

/* ===== 26. Animation ===== */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }

/* ===== 27. Filter ===== */
.filter { filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); }
.brightness-100 { --tw-brightness: brightness(1); filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); }

/* ===== 28. Hover Variants ===== */
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-indigo-300:hover { color: #a5b4fc; }
.hover\:text-indigo-400:hover { color: #818cf8; }
.hover\:bg-indigo-500:hover { background-color: #6366f1; }
.hover\:bg-indigo-600:hover { background-color: #4f46e5; }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:scale-110:hover { transform: scale(1.1); }

/* ===== 29. Pointer Events ===== */
.pointer-events-none { pointer-events: none; }

/* ===== 30. sm: (min-width: 640px) ===== */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:inline { display: inline; }
    .sm\:text-xl { font-size: 1.5rem; line-height: 2rem; }
    .sm\:text-5xl { font-size: 3rem; line-height: 1; }
}

/* ===== 31. md: (min-width: 768px) ===== */
@media (min-width: 768px) {
    .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\:flex { display: flex; }
    .md\:inline { display: inline; }
    .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
    .md\:p-12 { padding: 3rem; }
    .md\:h-9 { height: 2.25rem; }
    .md\:text-left { text-align: left; }
    .md\:text-right { text-align: right; }
    .md\:items-end { align-items: flex-end; }
}

/* ===== 32. lg: (min-width: 1024px) ===== */
@media (min-width: 1024px) {
    .lg\:col-span-4 { grid-column: span 4 / span 4; }
    .lg\:col-span-5 { grid-column: span 5 / span 5; }
    .lg\:col-span-6 { grid-column: span 6 / span 6; }
    .lg\:col-span-7 { grid-column: span 7 / span 7; }
    .lg\:col-span-8 { grid-column: span 8 / span 8; }
    .lg\:col-span-12 { grid-column: span 12 / span 12; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg\:flex { display: flex; }
    .lg\:justify-end { justify-content: flex-end; }
    .lg\:items-center { align-items: center; }
    .lg\:order-1 { order: 1; }
    .lg\:order-2 { order: 2; }
}

/* ===== 33. Gradient Backgrounds ===== */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.from-neutral-900 { --tw-gradient-from: #171717 var(--tw-gradient-from-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(23, 23, 23, 0)); }
.to-neutral-950 { --tw-gradient-to: #0a0a0a var(--tw-gradient-to-position); }
.from-indigo-950\/10 { --tw-gradient-from: rgba(30, 27, 75, 0.1) var(--tw-gradient-from-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0)); }
.to-transparent { --tw-gradient-to: transparent var(--tw-gradient-to-position); }

/* ===== 34. bg-cover / bg-center (for inline style fallback) ===== */
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
