/* ===== 1. Global Reset & Base ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
a{color:inherit;text-decoration:inherit}
img,svg,video,canvas,audio,iframe,embed,object{display:block;max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
body{font-family:'Inter',sans-serif;background:#000;color:#fff;scroll-behavior:smooth;overflow-x:hidden;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
h1,h2,h3,h4{font-family:'Space Grotesk',sans-serif;text-transform:uppercase}

/* ===== 2. Custom Component Classes ===== */
.nav-bg{background:rgba(10,10,10,0.85);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,0.06);border-radius:60px;padding:0.75rem 2.5rem}
.stat-card{background:rgba(255,255,255,0.02);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,0.04)}
.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{background:linear-gradient(135deg,#a5b4fc,#06b6d4);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.indigo-glow-overlay{position:absolute;width:600px;height:600px;background:radial-gradient(circle,rgba(99,102,241,0.07) 0%,transparent 70%);pointer-events:none}
.cyan-glow-overlay{position:absolute;width:500px;height:500px;background:radial-gradient(circle,rgba(6,182,212,0.06) 0%,transparent 70%);pointer-events:none}

/* ===== 3. HubSpot Form Styles ===== */
#hubspot-form-container .hs-form{display:flex;flex-direction:column;gap:1.5rem}
#hubspot-form-container .hs-form label{color:#cbd5e1;font-size:0.95rem;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.04);border:1px solid rgba(255,255,255,0.1);border-radius:12px;padding:1.1rem 1.4rem;color:#ffffff;font-size:1.05rem;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:#06b6d4;box-shadow:0 0 0 3px rgba(6,182,212,0.2)}
#hubspot-form-container .hs-form .hs-button{background:linear-gradient(135deg,#6366f1,#06b6d4);border:none;border-radius:40px;padding:1.2rem 3rem;font-weight:700;color:white;font-size:1.1rem;cursor:pointer;transition:all 0.3s ease;width:auto;align-self:flex-start;text-transform:uppercase;letter-spacing:0.05em}
#hubspot-form-container .hs-form .hs-button:hover{box-shadow:0 0 40px rgba(6,182,212,0.35);transform:scale(1.02)}
#hubspot-form-container .hs-form .hs-error-msgs{color:#f87171;font-size:0.85rem;list-style:none;padding:0;margin:0.35rem 0 0 0}
#hubspot-form-container .hs-form .legal-consent-container{font-size:0.85rem;color:#94a3b8;line-height:1.6}
#hubspot-form-container .hs-form .legal-consent-container a{color:#22d3ee;text-decoration:underline}

/* ===== 4. Keyframes ===== */
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes ping{75%,100%{transform:scale(2);opacity:0}}
@keyframes bounce{0%,100%{transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)}50%{transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}

/* ===== 5. Position ===== */
.static{position:static}
.fixed{position:fixed}
.absolute{position:absolute}
.relative{position:relative}
.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}
.top-20{top:5rem}
.left-10{left:2.5rem}
.bottom-20{bottom:5rem}
.right-10{right:2.5rem}
.top-1\/3{top:33.333333%}
.left-1\/4{left:25%}
.right-1\/4{right:25%}
.bottom-10{bottom:2.5rem}
.left-1\/3{left:33.333333%}
.bottom-0{bottom:0}
.z-10{z-index:10}
.z-50{z-index:50}
.z-\[100\]{z-index:100}

/* ===== 6. Display ===== */
.block{display:block}
.inline-block{display:inline-block}
.inline{display:inline}
.flex{display:flex}
.grid{display:grid}
.hidden{display:none}

/* ===== 7. Flexbox ===== */
.flex-col{flex-direction:column}
.items-center{align-items:center}
.items-start{align-items:flex-start}
.justify-between{justify-content:space-between}
.justify-center{justify-content:center}
.gap-2{gap:0.5rem}
.gap-3{gap:0.75rem}
.gap-5{gap:1.25rem}
.gap-6{gap:1.5rem}
.gap-8{gap:2rem}
.gap-12{gap:3rem}
.gap-16{gap:4rem}
.space-y-4>*+*{margin-top:1rem}
.space-y-6>*+*{margin-top:1.5rem}
.space-y-8>*+*{margin-top:2rem}

/* ===== 8. Grid ===== */
.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}

/* ===== 9. Dimensions ===== */
.w-full{width:100%}
.w-auto{width:auto}
.w-8{width:2rem}
.h-8{height:2rem}
.h-10{height:2.5rem}
.h-56{height:14rem}
.h-64{height:16rem}
.h-\[580px\]{height:580px}
.min-h-screen{min-height:100vh}
.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-3xl{max-width:48rem}
.max-w-2xl{max-width:42rem}
.mx-auto{margin-left:auto;margin-right:auto}

/* ===== 10. Spacing - Margin ===== */
.mt-2{margin-top:0.5rem}
.mt-4{margin-top:1rem}
.mt-8{margin-top:2rem}
.mt-12{margin-top:3rem}
.mt-32{margin-top:8rem}
.mb-2{margin-bottom:0.5rem}
.mb-3{margin-bottom:0.75rem}
.mb-4{margin-bottom:1rem}
.mb-6{margin-bottom:1.5rem}
.mb-8{margin-bottom:2rem}
.mb-12{margin-bottom:3rem}
.mb-16{margin-bottom:4rem}
.mb-20{margin-bottom:5rem}
.mr-2{margin-right:0.5rem}

/* ===== 11. Spacing - Padding ===== */
.p-4{padding:1rem}
.p-5{padding:1.25rem}
.p-6{padding:1.5rem}
.p-8{padding:2rem}
.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}
.px-10{padding-left:2.5rem;padding-right:2.5rem}
.py-1\.5{padding-top:0.375rem;padding-bottom:0.375rem}
.py-2\.5{padding-top:0.625rem;padding-bottom:0.625rem}
.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-28{padding-top:7rem;padding-bottom:7rem}
.py-32{padding-top:8rem;padding-bottom:8rem}
.pt-12{padding-top:3rem}
.pt-32{padding-top:8rem}
.pb-5{padding-bottom:1.25rem}
.pb-28{padding-bottom:7rem}

/* ===== 12. Typography - Font Size (Tailwind defaults, NOT upgraded) ===== */
.text-\[9px\]{font-size:9px}
.text-\[10px\]{font-size:10px}
.text-\[11px\]{font-size:11px}
.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-lg{font-size:1.125rem;line-height:1.75rem}
.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}
.text-5xl{font-size:3rem;line-height:1}
.text-6xl{font-size:3.75rem;line-height:1}
.text-7xl{font-size:4.5rem;line-height:1}

/* ===== 13. Typography - 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}

/* ===== 14. Typography - Transform & Align ===== */
.uppercase{text-transform:uppercase}
.normal-case{text-transform:none}
.text-center{text-align:center}
.text-left{text-align:left}

/* ===== 15. Typography - Line Height & Letter Spacing ===== */
.leading-none{line-height:1}
.leading-relaxed{line-height:1.625}
.tracking-tight{letter-spacing:-0.025em}
.tracking-wide{letter-spacing:0.025em}
.tracking-wider{letter-spacing:0.05em}
.tracking-widest{letter-spacing:0.1em}
.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}

/* ===== 16. Text Color ===== */
.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-slate-300{color:#cbd5e1}
.text-slate-400{color:#94a3b8}
.text-slate-500{color:#64748b}
.text-slate-600{color:#475569}
.text-slate-700{color:#334155}
.text-indigo-400{color:#818cf8}
.text-cyan-400{color:#22d3ee}

/* ===== 17. Background Color ===== */
.bg-black{background:#000}
.bg-zinc-950{background:#09090b}
.bg-zinc-950\/20{background:rgba(9,9,11,0.2)}
.bg-zinc-950\/40{background:rgba(9,9,11,0.4)}
.bg-cyan-950{background:#083344}
.bg-\[\#25D366\]{background:#25D366}
.bg-white\/5{background:rgba(255,255,255,0.05)}
.bg-white\/10{background:rgba(255,255,255,0.1)}

/* ===== 18. Gradient Backgrounds ===== */
.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-indigo-500{--tw-gradient-from:#6366f1;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(99,102,241,0))}
.from-indigo-600{--tw-gradient-from:#4f46e5;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(79,70,229,0))}
.from-indigo-700{--tw-gradient-from:#4338ca;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(67,56,202,0))}
.from-indigo-950\/20{--tw-gradient-from:rgba(30,27,75,0.2);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,transparent)}
.to-cyan-500{--tw-gradient-to:#06b6d4}
.to-cyan-600{--tw-gradient-to:#0891b2}
.to-transparent{--tw-gradient-to:transparent}
.to-indigo-800{--tw-gradient-to:#3730a3}

/* ===== 19. Borders ===== */
.border{border-width:1px}
.border-t{border-top-width:1px}
.border-b{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)}
.rounded-full{border-radius:9999px}
.rounded-xl{border-radius:0.75rem}
.rounded-2xl{border-radius:1rem}
.border-collapse{border-collapse:collapse}
.divide-y>*+*{border-top-width:1px}
.divide-white\/5>*+*{border-color:rgba(255,255,255,0.05)}

/* ===== 20. Shadows ===== */
.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)}

/* ===== 21. Transitions ===== */
.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}
.duration-300{transition-duration:300ms}

/* ===== 22. Hover States ===== */
.hover\:text-white:hover{color:#fff}
.hover\:text-cyan-300:hover{color:#67e8f9}
.hover\:text-cyan-400:hover{color:#22d3ee}
.hover\:bg-white\/10:hover{background:rgba(255,255,255,0.1)}
.hover\:from-indigo-600:hover{--tw-gradient-from:#4f46e5;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(79,70,229,0))}
.hover\:from-indigo-700:hover{--tw-gradient-from:#4338ca;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(67,56,202,0))}
.hover\:to-cyan-600:hover{--tw-gradient-to:#0891b2}
.hover\:to-indigo-800:hover{--tw-gradient-to:#3730a3}
.hover\:scale-105:hover{transform:scale(1.05)}
.hover\:scale-110:hover{transform:scale(1.1)}

/* ===== 23. Overflow ===== */
.overflow-hidden{overflow:hidden}
.overflow-x-auto{overflow-x:auto}

/* ===== 24. Miscellaneous ===== */
.pointer-events-none{pointer-events:none}
.object-cover{object-fit:cover}
.bg-cover{background-size:cover}
.bg-center{background-position:center}

/* ===== 25. Responsive - sm (640px+) ===== */
@media(min-width:640px){
  .sm\:text-6xl{font-size:3.75rem;line-height:1}
  .sm\:flex-row{flex-direction:row}
  .sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sm\:w-auto{width:auto}
}

/* ===== 26. Responsive - md (768px+) ===== */
@media(min-width:768px){
  .md\:flex{display:flex}
  .md\:text-right{text-align:right}
  .md\:h-10{height:2.5rem}
  .md\:text-xl{font-size:1.25rem;line-height:1.75rem}
  .md\:text-3xl{font-size:1.875rem;line-height:2.25rem}
  .md\:text-4xl{font-size:2.25rem;line-height:2.5rem}
  .md\:text-5xl{font-size:3rem;line-height:1}
  .md\:text-7xl{font-size:4.5rem;line-height:1}
  .md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .md\:p-14{padding:3.5rem}
}

/* ===== 27. Responsive - lg (1024px+) ===== */
@media(min-width:1024px){
  .lg\:inline{display:inline}
  .lg\:flex-row{flex-direction:row}
  .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lg\:col-span-2{grid-column:span 2/span 2}
  .lg\:col-span-3{grid-column:span 3/span 3}
  .lg\:w-2\/5{width:40%}
  .lg\:w-3\/5{width:60%}
  .lg\:text-xl{font-size:1.25rem;line-height:1.75rem}
}

/* ===== 28. Mobile nav-bg override ===== */
@media(max-width:768px){
  .nav-bg{border-radius:40px;padding:0.5rem 1.2rem}
}
