/* ===== 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:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;background:#050507;color:#f8fafc;overflow-x:hidden;scroll-behavior:smooth;font-size:1.1rem}

/* ===== 2. Custom Component Classes ===== */
.nav-background{background:rgba(5,5,7,0.9);backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,0.04)}
.visual-card{border:1px solid rgba(255,255,255,0.04);background:rgba(255,255,255,0.01);transition:all 0.4s ease}
.visual-card:hover{border-color:rgba(99,102,241,0.3);background:rgba(99,102,241,0.02);transform:translateY(-2px)}
.heading-gradient{background:linear-gradient(135deg,#ffffff 40%,#e2e8f0 80%,#818cf8 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}

/* ===== 3. Slider Display Framework ===== */
.slider-viewport{position:relative;overflow:hidden;width:100%;height:480px;background:#090a0f;border:1px solid rgba(255,255,255,0.05)}
.slider-track{display:flex;width:300%;height:100%;transition:transform 0.6s cubic-bezier(0.16,1,0.3,1)}
.slider-slide{width:33.333%;height:100%;flex-shrink:0;position:relative}
#slide-1:checked~.slider-viewport .slider-track{transform:translateX(0%)}
#slide-2:checked~.slider-viewport .slider-track{transform:translateX(-33.333%)}
#slide-3:checked~.slider-viewport .slider-track{transform:translateX(-66.666%)}
#slide-1:checked~.slider-controls label[for="slide-1"],
#slide-2:checked~.slider-controls label[for="slide-2"],
#slide-3:checked~.slider-controls label[for="slide-3"]{background:#6366f1;width:2rem}

/* ===== 4. HubSpot Form Styles (Grid Layout) ===== */
#hubspot-form-container .hs-form{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
#hubspot-form-container .hs-form .hs-form-field{grid-column:span 1}
#hubspot-form-container .hs-form .hs-form-field.hs-fieldtype-textarea{grid-column:span 2}
#hubspot-form-container .hs-form label{color:#94a3b8;font-size:0.85rem;text-transform:uppercase;letter-spacing:0.1em;margin-bottom:0.6rem;display:block;font-weight:600}
#hubspot-form-container .hs-form input,
#hubspot-form-container .hs-form textarea,
#hubspot-form-container .hs-form select{background:#0f1115;border:1px solid rgba(255,255,255,0.08);padding:1.1rem 1.3rem;color:#fff;font-size:1rem;width:100%!important;outline:none;border-radius:4px;transition:all 0.3s ease}
#hubspot-form-container .hs-form input:focus,
#hubspot-form-container .hs-form textarea:focus{border-color:#6366f1;background:#14171c}
#hubspot-form-container .hs-form .hs-submit{grid-column:span 2;margin-top:1rem}
#hubspot-form-container .hs-form .hs-button{background:#6366f1;color:#fff;border:none;padding:1.3rem;font-weight:600;font-size:0.95rem;text-transform:uppercase;letter-spacing:0.15em;cursor:pointer;border-radius:4px;transition:all 0.3s ease;width:100%}
#hubspot-form-container .hs-form .hs-button:hover{background:#4f46e5}
#hubspot-form-container .hs-form .hs-error-msgs{color:#f87171;font-size:0.85rem;list-style:none;margin-top:0.5rem}

/* ===== 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-0{top:0}
.left-0{left:0}
.right-0{right:0}
.bottom-0{bottom:0}
.bottom-4{bottom:1rem}
.left-4{left:1rem}
.bottom-8{bottom:2rem}
.right-8{right:2rem}
.z-50{z-index:50}
.z-\[100\]{z-index:100}

/* ===== 6. Display ===== */
.block{display:block}
.inline-block{display:inline-block}
.inline{display:inline}
.inline-flex{display:inline-flex}
.flex{display:flex}
.grid{display:grid}
.hidden{display:none}

/* ===== 7. Flexbox ===== */
.flex-col{flex-direction:column}
.flex-wrap{flex-wrap:wrap}
.items-center{align-items:center}
.justify-between{justify-content:space-between}
.justify-center{justify-content:center}
.gap-2\.5{gap:0.625rem}
.gap-3{gap:0.75rem}
.gap-4{gap:1rem}
.gap-6{gap:1.5rem}
.gap-8{gap:2rem}
.gap-12{gap:3rem}
.gap-20{gap:5rem}
.space-y-1\.5>*+*{margin-top:0.375rem}
.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-10>*+*{margin-top:2.5rem}
.space-y-12>*+*{margin-top:3rem}
.space-y-16>*+*{margin-top:4rem}

/* ===== 8. Grid ===== */
.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}

/* ===== 9. Dimensions ===== */
.w-2{width:0.5rem}
.h-2{height:0.5rem}
.w-3{width:0.75rem}
.h-3{height:0.75rem}
.w-6{width:1.5rem}
.h-6{height:1.5rem}
.w-auto{width:auto}
.w-full{width:100%}
.h-full{height:100%}
.h-7{height:1.75rem}
.h-24{height:6rem}
.h-64{height:16rem}
.h-\[550px\]{height:550px}
.max-w-2xl{max-width:42rem}
.max-w-3xl{max-width:48rem}
.max-w-7xl{max-width:80rem}
.max-w-\[1000px\]{max-width:1000px}
.max-w-\[1100px\]{max-width:1100px}
.max-w-\[1400px\]{max-width:1400px}
.max-w-\[1440px\]{max-width:1440px}
.max-w-\[1500px\]{max-width:1500px}
.mx-auto{margin-left:auto;margin-right:auto}

/* ===== 10. Spacing - Margin ===== */
.mt-1{margin-top:0.25rem}
.mt-3{margin-top:0.75rem}
.mt-4{margin-top:1rem}
.mt-6{margin-top:1.5rem}
.mt-8{margin-top:2rem}
.mr-2{margin-right:0.5rem}
.mb-1{margin-bottom:0.25rem}
.mb-2{margin-bottom:0.5rem}
.mb-4{margin-bottom:1rem}
.mb-16{margin-bottom:4rem}
.mx-2{margin-left:0.5rem;margin-right:0.5rem}

/* ===== 11. Spacing - Padding ===== */
.p-0{padding:0}
.p-2{padding:0.5rem}
.p-4{padding:1rem}
.p-6{padding:1.5rem}
.p-8{padding:2rem}
.px-3{padding-left:0.75rem;padding-right:0.75rem}
.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}
.py-1\.5{padding-top:0.375rem;padding-bottom:0.375rem}
.py-2{padding-top:0.5rem;padding-bottom:0.5rem}
.py-3{padding-top:0.75rem;padding-bottom:0.75rem}
.py-4{padding-top:1rem;padding-bottom:1rem}
.py-6{padding-top:1.5rem;padding-bottom:1.5rem}
.py-20{padding-top:5rem;padding-bottom:5rem}
.pt-2{padding-top:0.5rem}
.pt-3{padding-top:0.75rem}
.pt-4{padding-top:1rem}
.pt-8{padding-top:2rem}
.pt-10{padding-top:2.5rem}
.pt-12{padding-top:3rem}
.pt-24{padding-top:6rem}
.pl-6{padding-left:1.5rem}

/* ===== 12. Typography - Font Weight ===== */
.font-normal{font-weight:400}
.font-medium{font-weight:500}
.font-semibold{font-weight:600}
.font-bold{font-weight:700}

/* ===== 13. 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-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-\[10px\]{font-size:10px}

/* ===== 14. Typography - Letter Spacing ===== */
.tracking-tight{letter-spacing:-0.025em}
.tracking-wide{letter-spacing:0.025em}
.tracking-wider{letter-spacing:0.05em}
.tracking-widest{letter-spacing:0.1em}

/* ===== 15. Typography - Line Height ===== */
.leading-tight{line-height:1.25}
.leading-relaxed{line-height:1.625}

/* ===== 16. Typography - Text Transform & Align ===== */
.uppercase{text-transform:uppercase}
.text-left{text-align:left}
.text-center{text-align:center}

/* ===== 17. Text Color ===== */
.text-white{color:#fff}
.text-black{color:#000}
.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-300{color:#a5b4fc}
.text-indigo-400{color:#818cf8}

/* ===== 18. Background Color ===== */
.bg-black{background:#000}
.bg-white{background:#fff}
.bg-\[\#090a0f\]{background:#090a0f}
.bg-\[\#0b0c10\]{background:#0b0c10}
.bg-\[\#0c0d12\]{background:#0c0d12}
.bg-indigo-600{background:#4f46e5}
.bg-indigo-500\/10{background:rgba(99,102,241,0.1)}
.bg-black\/40{background:rgba(0,0,0,0.4)}
.bg-black\/60{background:rgba(0,0,0,0.6)}
.bg-white\/20{background:rgba(255,255,255,0.2)}
.bg-\[\#25D366\]{background:#25D366}

/* ===== 19. Gradient Backgrounds ===== */
.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}
.from-black{--tw-gradient-from:#000;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,transparent)}
.via-black\/70{--tw-gradient-stops:var(--tw-gradient-from),rgba(0,0,0,0.7),var(--tw-gradient-to,transparent)}
.to-transparent{--tw-gradient-to:transparent}

/* ===== 20. 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-l-2{border-left-width:2px}
.border-white\/5{border-color:rgba(255,255,255,0.05)}
.border-white\/10{border-color:rgba(255,255,255,0.1)}
.border-indigo-500\/20{border-color:rgba(99,102,241,0.2)}
.rounded-sm{border-radius:0.125rem}
.rounded-full{border-radius:9999px}
.divide-y>*+*{border-top-width:1px}
.divide-white\/5>*+*{border-color:rgba(255,255,255,0.05)}

/* ===== 21. Effects ===== */
.shadow-xl{box-shadow:0 20px 25px -5px rgba(0,0,0,0.1),0 8px 10px -6px rgba(0,0,0,0.1)}
.shadow-2xl{box-shadow:0 25px 50px -12px rgba(0,0,0,0.25)}
.opacity-80{opacity:0.8}
.opacity-90{opacity:0.9}
.backdrop-blur-md{backdrop-filter:blur(12px)}

/* ===== 22. 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}
.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-transform{transition-property:transform;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}
.duration-200{transition-duration:200ms}
.duration-300{transition-duration:300ms}

/* ===== 23. Hover States ===== */
.hover\:scale-105:hover{transform:scale(1.05)}
.hover\:bg-indigo-600:hover{background:#4f46e5}
.hover\:bg-indigo-700:hover{background:#4338ca}
.hover\:bg-white\/40:hover{background:rgba(255,255,255,0.4)}
.hover\:text-white:hover{color:#fff}
.hover\:text-indigo-400:hover{color:#818cf8}
.hover\:text-slate-300:hover{color:#cbd5e1}
.hover\:border-white:hover{border-color:#fff}

/* ===== 24. Overflow ===== */
.overflow-hidden{overflow:hidden}
.overflow-x-hidden{overflow-x:hidden}

/* ===== 25. Miscellaneous ===== */
.object-cover{object-fit:cover}
.cursor-pointer{cursor:pointer}
.self-start{align-self:flex-start}
.flex-shrink-0{flex-shrink:0}
.first\:pt-0:first-child{padding-top:0}

/* ===== 26. Grid Column Spans ===== */
.col-span-1{grid-column:span 1/span 1}
.col-span-2{grid-column:span 2/span 2}

/* ===== 27. Responsive - sm (640px+) ===== */
@media(min-width:640px){
  .sm\:inline{display:inline}
  .sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}
  .sm\:text-5xl{font-size:3rem;line-height:1}
}

/* ===== 28. Responsive - md (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\:text-right{text-align:right}
  .md\:mt-0{margin-top:0}
}

/* ===== 29. Responsive - lg (1024px+) ===== */
@media(min-width:1024px){
  .lg\:col-span-5{grid-column:span 5/span 5}
  .lg\:col-span-7{grid-column:span 7/span 7}
  .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\:px-12{padding-left:3rem;padding-right:3rem}
  .lg\:py-32{padding-top:8rem;padding-bottom:8rem}
  .lg\:py-36{padding-top:9rem;padding-bottom:9rem}
  .lg\:p-12{padding:3rem}
  .lg\:text-4xl{font-size:2.25rem;line-height:2.5rem}
  .lg\:text-left{text-align:left}
  .lg\:gap-20{gap:5rem}
  #hubspot-form-container .hs-form{grid-template-columns:repeat(2,1fr);gap:2rem}
  #hubspot-form-container .hs-form .hs-form-field.hs-fieldtype-textarea{grid-column:span 2}
  #hubspot-form-container .hs-form .hs-submit{grid-column:span 2}
}

/* ===== 30. Responsive - xl (1280px+) ===== */
@media(min-width:1280px){
  .xl\:flex{display:flex}
  .xl\:text-6xl{font-size:3.75rem;line-height:1}
}

/* ===== 31. HubSpot Form Mobile (max-width: 1024px) ===== */
@media(max-width:1024px){
  #hubspot-form-container .hs-form{grid-template-columns:1fr;gap:1.5rem}
  #hubspot-form-container .hs-form .hs-form-field.hs-fieldtype-textarea{grid-column:span 1}
  #hubspot-form-container .hs-form .hs-submit{grid-column:span 1}
}
