@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600&display=swap');

:root {
   --bg-base: #030712;
   --aurora-1: #10b981;
   /* Emerald */
   --aurora-2: #8b5cf6;
   /* Violet */
   --aurora-3: #3b82f6;
   /* Blue */
   --glass-bg: rgba(255, 255, 255, 0.03);
   --glass-border: rgba(255, 255, 255, 0.08);
   --text-primary: #f8fafc;
   --text-muted: #94a3b8;
   --nav-height: 90px;
   --curve: cubic-bezier(0.76, 0, 0.24, 1);
}

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
}

body {
   font-family: 'Outfit', sans-serif;
   background-color: var(--bg-base);
   color: var(--text-primary);
   overflow-x: hidden;
   cursor: none;
}

h1,
h2,
h3,
h4,
.syne {
   font-family: 'Syne', sans-serif;
}

a {
   text-decoration: none;
   color: inherit;
   outline: none;
}

ul {
   list-style: none;
}

/* Custom Glowing Cursor */
.cursor-dot {
   position: fixed;
   top: 0;
   left: 0;
   width: 8px;
   height: 8px;
   background: #fff;
   border-radius: 50%;
   pointer-events: none;
   transform: translate(-50%, -50%);
   z-index: 10000;
   box-shadow: 0 0 20px 4px var(--aurora-1);
}

.cursor-halo {
   position: fixed;
   top: 0;
   left: 0;
   width: 40px;
   height: 40px;
   border: 1px solid rgba(255, 255, 255, 0.2);
   border-radius: 50%;
   transform: translate(-50%, -50%);
   pointer-events: none;
   z-index: 9999;
   transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
}

body.cursor-hover .cursor-halo {
   width: 70px;
   height: 70px;
   background: rgba(16, 185, 129, 0.1);
   border-color: transparent;
}

/* Fluid Aurora Background */
.aurora-bg {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   z-index: -1;
   overflow: hidden;
   pointer-events: none;
   filter: blur(120px);
   opacity: 0.4;
}

.aurora-blob {
   position: absolute;
   border-radius: 50%;
   animation: floatBlob 20s infinite alternate ease-in-out;
}

.blob-1 {
   top: -10%;
   left: -10%;
   width: 50vw;
   height: 50vw;
   background: var(--aurora-1);
   animation-delay: 0s;
}

.blob-2 {
   bottom: -20%;
   right: -10%;
   width: 60vw;
   height: 60vw;
   background: var(--aurora-2);
   animation-delay: -5s;
}

.blob-3 {
   top: 40%;
   left: 40%;
   width: 40vw;
   height: 40vw;
   background: var(--aurora-3);
   animation-delay: -10s;
}

@keyframes floatBlob {
   0% {
      transform: translate(0, 0) scale(1);
   }

   100% {
      transform: translate(10%, 15%) scale(1.2);
   }
}

/* ================= STRICT HEADER ================= */
.site-header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: var(--nav-height);
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 0 5vw;
   z-index: 2000;
   background: transparent;
   border-bottom: 1px solid transparent;
   transition: 0.5s var(--curve);
}

.site-header.scrolled {
   height: 75px;
   background: rgba(3, 7, 18, 0.7);
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   border-bottom: 1px solid var(--glass-border);
}

.site-header.hidden {
   transform: translateY(-100%);
}

.logo img {
   height: 55px;
   filter: invert(1);
}

.nav-desktop {
   display: flex;
   gap: 40px;
   align-items: center;
}

.nav-desktop a {
   font-size: 15px;
   font-weight: 500;
   text-transform: uppercase;
   letter-spacing: 1px;
   color: var(--text-primary);
   position: relative;
   padding: 10px 0;
}

.nav-desktop a::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 2px;
   background: linear-gradient(90deg, var(--aurora-1), var(--aurora-2));
   transform: scaleX(0);
   transform-origin: right;
   transition: transform 0.4s var(--curve);
}

.nav-desktop a:hover::after {
   transform: scaleX(1);
   transform-origin: left;
}

.btn-glass {
   padding: 14px 32px;
   background: var(--glass-bg);
   border: 1px solid var(--glass-border);
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
   color: var(--text-primary);
   font-family: 'Syne', sans-serif;
   font-weight: 600;
   text-transform: uppercase;
   border-radius: 50px;
   cursor: pointer;
   transition: 0.4s;
   position: relative;
   overflow: hidden;
}

.btn-glass::before {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(45deg, var(--aurora-1), var(--aurora-2));
   opacity: 0;
   transition: 0.4s;
   z-index: -1;
   border-radius: 50px;
}

.btn-glass:hover {
   border-color: transparent;
   box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.btn-glass:hover::before {
   opacity: 1;
}

/* Circular Reveal Mobile Menu */
.menu-toggle {
   display: none;
   flex-direction: column;
   justify-content: center;
   gap: 6px;
   width: 45px;
   height: 45px;
   background: var(--glass-bg);
   border: 1px solid var(--glass-border);
   border-radius: 50%;
   cursor: pointer;
   z-index: 2002;
   align-items: center;
   backdrop-filter: blur(10px);
}

.menu-toggle span {
   display: block;
   width: 20px;
   height: 2px;
   background: #fff;
   transition: 0.4s var(--curve);
}

.menu-toggle.active span:nth-child(1) {
   transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
   opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
   transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-canvas {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   background: rgba(3, 7, 18, 0.95);
   backdrop-filter: blur(30px);
   -webkit-backdrop-filter: blur(30px);
   z-index: 2001;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   clip-path: circle(0px at calc(100% - 5vw - 22px) 45px);
   transition: clip-path 0.8s var(--curve);
}

.mobile-nav-canvas.active {
   clip-path: circle(150% at calc(100% - 5vw - 22px) 45px);
}

.mobile-nav-links {
   display: flex;
   flex-direction: column;
   gap: 40px;
   text-align: center;
}

.mobile-nav-links a {
   font-family: 'Syne', sans-serif;
   font-size: 3rem;
   font-weight: 700;
   color: #fff;
   text-transform: uppercase;
   opacity: 0;
   transform: translateY(30px);
   transition: 0.4s var(--curve);
}

.mobile-nav-canvas.active .mobile-nav-links a {
   opacity: 1;
   transform: translateY(0);
}

.mobile-nav-canvas.active .mobile-nav-links a:nth-child(1) {
   transition-delay: 0.2s;
}

.mobile-nav-canvas.active .mobile-nav-links a:nth-child(2) {
   transition-delay: 0.3s;
}

.mobile-nav-canvas.active .mobile-nav-links a:nth-child(3) {
   transition-delay: 0.4s;
}

.mobile-nav-canvas.active .mobile-nav-links a:nth-child(4) {
   transition-delay: 0.5s;
}

@media (max-width: 1024px) {

   .nav-desktop,
   .btn-glass.header-btn {
      display: none;
   }

   .menu-toggle {
      display: flex;
   }
}

/* ================= GLOBALS & ANIMATIONS ================= */
section {
   padding: 150px 5vw;
   position: relative;
   z-index: 2;
}

.section-title {
   font-size: clamp(3rem, 6vw, 6rem);
   font-weight: 800;
   line-height: 1;
   margin-bottom: 25px;
}

.text-gradient {
   background: linear-gradient(90deg, var(--aurora-1), var(--aurora-3));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.reveal {
   opacity: 0;
   transform: translateY(40px);
   transition: 1s var(--curve);
}

.reveal.active {
   opacity: 1;
   transform: translateY(0);
}

/* ================= INDEX SECTIONS ================= */
/* Hero */
.hero {
   height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
   padding-top: var(--nav-height);
}

.hero-content {
   max-width: 1000px;
}

.hero h1 {
   margin-bottom: 30px;
   letter-spacing: -2px;
}

.hero p {
   font-size: 1.25rem;
   color: var(--text-muted);
   max-width: 650px;
   margin: 0 auto 40px;
   line-height: 1.6;
}

/* Marquee */
.marquee-container {
   background: var(--glass-bg);
   border-block: 1px solid var(--glass-border);
   padding: 30px 0;
   overflow: hidden;
   display: flex;
   backdrop-filter: blur(10px);
}

.marquee {
   display: flex;
   white-space: nowrap;
   animation: scrollMarquee 20s linear infinite;
}

.marquee span {
   font-family: 'Syne';
   font-size: 2rem;
   font-weight: 700;
   padding: 0 40px;
   color: transparent;
   -webkit-text-stroke: 1px var(--text-muted);
   transition: 0.3s;
   text-transform: uppercase;
}

.marquee span:hover {
   color: var(--aurora-1);
   -webkit-text-stroke: 0;
}

@keyframes scrollMarquee {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

/* Services Glass Cards */
.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   gap: 30px;
   margin-top: 60px;
   perspective: 1000px;
}

.glass-card {
   background: var(--glass-bg);
   border: 1px solid var(--glass-border);
   border-radius: 24px;
   padding: 50px 40px;
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   transition: 0.5s var(--curve);
   position: relative;
   overflow: hidden;
}

.glass-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1), transparent 50%);
   opacity: 0;
   transition: 0.5s;
   pointer-events: none;
}

.glass-card:hover {
   transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
   border-color: rgba(16, 185, 129, 0.4);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.glass-card:hover::before {
   opacity: 1;
}

.glass-card h3 {
   font-size: 2.2rem;
   margin-bottom: 20px;
   color: #fff;
}

.glass-card p {
   color: var(--text-muted);
   font-size: 1.1rem;
   line-height: 1.6;
}

/* ROI Engine */
.roi-container {
   background: rgba(3, 7, 18, 0.6);
   border: 1px solid var(--glass-border);
   border-radius: 30px;
   padding: 60px;
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 80px;
   align-items: center;
   backdrop-filter: blur(20px);
   margin-top: 50px;
}

.slider-wrap {
   margin-bottom: 35px;
}

.slider-wrap label {
   display: flex;
   justify-content: space-between;
   font-weight: 500;
   font-size: 1.1rem;
   margin-bottom: 15px;
}

.slider-wrap label span {
   color: var(--aurora-1);
   font-family: 'Syne';
   font-weight: 700;
}

input[type="range"] {
   width: 100%;
   -webkit-appearance: none;
   height: 6px;
   background: rgba(255, 255, 255, 0.1);
   border-radius: 3px;
   outline: none;
}

input[type="range"]::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 24px;
   height: 24px;
   background: #fff;
   border-radius: 50%;
   border: 4px solid var(--aurora-1);
   cursor: pointer;
   transition: transform 0.2s;
   box-shadow: 0 0 15px var(--aurora-1);
}

input[type="range"]::-webkit-slider-thumb:hover {
   transform: scale(1.2);
}

.roi-result {
   text-align: center;
   padding: 60px;
   background: var(--glass-bg);
   border-radius: 20px;
   border: 1px solid var(--glass-border);
   position: relative;
}

.roi-result h4 {
   color: var(--text-muted);
   text-transform: uppercase;
   letter-spacing: 2px;
   margin-bottom: 20px;
   font-size: 0.9rem;
}

.roi-result .total {
   font-family: 'Syne';
   font-size: 5rem;
   font-weight: 800;
   background: linear-gradient(90deg, var(--aurora-1), var(--aurora-3));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   line-height: 1;
}

/* Circular Progress Analytics */
.analytics-dashboard {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 40px;
   margin-top: 60px;
   text-align: center;
}

.circle-card {
   background: var(--glass-bg);
   border: 1px solid var(--glass-border);
   border-radius: 24px;
   padding: 50px 30px;
   backdrop-filter: blur(10px);
}

.svg-circle {
   position: relative;
   width: 160px;
   height: 160px;
   margin: 0 auto 30px;
}

.svg-circle svg {
   transform: rotate(-90deg);
   width: 100%;
   height: 100%;
}

.circle-bg {
   fill: none;
   stroke: rgba(255, 255, 255, 0.05);
   stroke-width: 8;
}

.circle-progress {
   fill: none;
   stroke: url(#grad);
   stroke-width: 8;
   stroke-linecap: round;
   stroke-dasharray: 440;
   stroke-dashoffset: 440;
   transition: stroke-dashoffset 2s var(--curve);
}

.circle-val {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   font-family: 'Syne';
   font-size: 2.5rem;
   font-weight: 800;
   color: #fff;
}

.circle-card h5 {
   color: var(--text-muted);
   font-size: 1.1rem;
   font-weight: 400;
}

/* Testimonials (Infinite Scroll) */
.testi-track {
   display: flex;
   gap: 30px;
   overflow-x: auto;
   padding-bottom: 20px;
   scrollbar-width: none;
   margin-top: 50px;
}

.testi-track::-webkit-scrollbar {
   display: none;
}

.testi-card {
   min-width: 450px;
   background: rgba(3, 7, 18, 0.5);
   border: 1px solid var(--glass-border);
   padding: 50px;
   border-radius: 20px;
   backdrop-filter: blur(10px);
   flex-shrink: 0;
}

.testi-card p {
   font-size: 1.25rem;
   font-style: italic;
   margin-bottom: 30px;
   line-height: 1.6;
   color: #fff;
}

.t-author {
   display: flex;
   align-items: center;
   gap: 20px;
}

.t-author h4 {
   color: var(--aurora-1);
   font-size: 1.1rem;
   margin-bottom: 5px;
}

.t-author span {
   color: var(--text-muted);
   font-size: 0.9rem;
}

/* Forms & Legal Pages */
.page-top {
   padding: 220px 5vw 100px;
   text-align: center;
   border-bottom: 1px solid var(--glass-border);
   position: relative;
   z-index: 2;
}

.contact-layout {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 80px;
   max-width: 1200px;
   margin: 0 auto;
}

.form-wrap {
   background: var(--glass-bg);
   padding: 50px;
   border-radius: 24px;
   border: 1px solid var(--glass-border);
   backdrop-filter: blur(20px);
}

.form-input {
   width: 100%;
   padding: 20px;
   background: rgba(0, 0, 0, 0.2);
   border: 1px solid var(--glass-border);
   border-radius: 12px;
   color: #fff;
   font-family: 'Outfit';
   font-size: 1.1rem;
   margin-bottom: 25px;
   outline: none;
   transition: 0.3s;
}

.form-input:focus {
   border-color: var(--aurora-1);
   background: rgba(0, 0, 0, 0.4);
}

.hq-wrap {
   display: flex;
   flex-direction: column;
   justify-content: center;
}

.hq-wrap h3 {
   font-size: 3rem;
   color: var(--aurora-2);
   margin-bottom: 40px;
}

.hq-info {
   margin-bottom: 30px;
}

.hq-info h5 {
   color: var(--text-muted);
   text-transform: uppercase;
   letter-spacing: 1px;
   margin-bottom: 10px;
   font-size: 0.9rem;
}

.hq-info p {
   font-size: 1.2rem;
   color: #fff;
}

.legal-content {
   max-width: 900px;
   margin: 0 auto;
   line-height: 1.8;
   color: var(--text-muted);
   font-size: 1.15rem;
}

.legal-content h2 {
   font-size: 2.2rem;
   color: #fff;
   margin: 60px 0 25px;
   font-family: 'Syne';
}

.legal-content p {
   margin-bottom: 20px;
}

/* Live Chat */
.chat-float {
   position: fixed;
   bottom: 40px;
   right: 40px;
   z-index: 1999;
}

.chat-trigger {
   width: 65px;
   height: 65px;
   background: linear-gradient(45deg, var(--aurora-1), var(--aurora-3));
   border-radius: 50%;
   border: none;
   cursor: pointer;
   box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
   display: flex;
   align-items: center;
   justify-content: center;
   transition: 0.3s;
}

.chat-trigger:hover {
   transform: scale(1.1);
}

.chat-box {
   position: absolute;
   bottom: 85px;
   right: 0;
   width: 340px;
   background: rgba(3, 7, 18, 0.95);
   border: 1px solid var(--glass-border);
   border-radius: 20px;
   padding: 30px;
   backdrop-filter: blur(20px);
   display: none;
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.chat-box.open {
   display: block;
   animation: fadeUp 0.4s var(--curve);
}

@keyframes fadeUp {
   from {
      opacity: 0;
      transform: translateY(20px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

/* ================= STRICT FOOTER ================= */
.site-footer {
   background: rgba(3, 7, 18, 0.5);
   border-top: 1px solid var(--glass-border);
   padding: 120px 5vw 40px;
   margin-top: 100px;
   backdrop-filter: blur(10px);
   position: relative;
   z-index: 2;
}

.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1fr;
   gap: 60px;
   margin-bottom: 80px;
   max-width: 1400px;
   margin-inline: auto;
}

.footer-brand img {
   height: 55px;
   filter: invert(1);
   margin-bottom: 25px;
}

.footer-brand p {
   color: var(--text-muted);
   line-height: 1.6;
   max-width: 380px;
}

.footer-nav h4 {
   font-size: 1.2rem;
   font-family: 'Syne';
   margin-bottom: 25px;
   color: #fff;
}

.footer-nav ul li {
   margin-bottom: 15px;
}

.footer-nav ul li a {
   color: var(--text-muted);
   transition: 0.3s;
   font-size: 1rem;
}

.footer-nav ul li a:hover {
   color: var(--aurora-1);
   padding-left: 5px;
}

.footer-btm {
   border-top: 1px solid var(--glass-border);
   padding-top: 30px;
   display: flex;
   justify-content: space-between;
   color: var(--text-muted);
   font-size: 0.9rem;
   max-width: 1400px;
   margin-inline: auto;
}

/* Responsive */
@media (max-width: 1200px) {
   .analytics-dashboard {
      grid-template-columns: 1fr;
   }

   .circle-card {
      display: flex;
      align-items: center;
      gap: 40px;
      text-align: left;
      padding: 40px;
   }

   .svg-circle {
      margin: 0;
   }
}

@media (max-width: 991px) {

   .roi-container,
   .contact-layout {
      grid-template-columns: 1fr;
      gap: 50px;
   }

   .footer-grid {
      grid-template-columns: 1fr 1fr;
   }
}

@media (max-width: 768px) {
   .section-title {
      font-size: 3rem;
   }

   .testi-card {
      min-width: 320px;
      padding: 30px;
   }

   .footer-grid {
      grid-template-columns: 1fr;
   }

   .footer-btm {
      flex-direction: column;
      gap: 15px;
      text-align: center;
   }

   .circle-card {
      flex-direction: column;
      text-align: center;
   }
}