@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=Syne:wght@400;600;700;800&display=swap');

:root {
   --bg-main: #050507;
   --bg-surface: #0e1015;
   --bg-surface-light: #161922;
   --neon-green: #66fcf1;
   --neon-teal: #45a29e;
   --text-primary: #ffffff;
   --text-secondary: #8a939f;
   --nav-height: 100px;
   --border-color: rgba(102, 252, 241, 0.1);
   --transition-snappy: cubic-bezier(0.85, 0, 0.15, 1);
   --transition-smooth: cubic-bezier(0.4, 0, 0, 1);
}

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   font-size: 16px;
}

body {
   font-family: 'Outfit', sans-serif;
   background-color: var(--bg-main);
   color: var(--text-primary);
   overflow-x: hidden;
   cursor: none;
   /* Custom Cursor */
}

h1,
h2,
h3,
h4,
.brand-font {
   font-family: 'Syne', sans-serif;
   font-weight: 800;
}

a {
   text-decoration: none;
   color: inherit;
}

ul {
   list-style: none;
}

/* Custom Cursor */
.cursor-dot {
   position: fixed;
   top: 0;
   left: 0;
   width: 6px;
   height: 6px;
   background: var(--neon-green);
   border-radius: 50%;
   transform: translate(-50%, -50%);
   z-index: 10000;
   pointer-events: none;
   box-shadow: 0 0 10px var(--neon-green);
}

.cursor-ring {
   position: fixed;
   top: 0;
   left: 0;
   width: 40px;
   height: 40px;
   border: 1px solid rgba(102, 252, 241, 0.4);
   border-radius: 50%;
   transform: translate(-50%, -50%);
   z-index: 9999;
   pointer-events: none;
   transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-hover .cursor-ring {
   width: 80px;
   height: 80px;
   background: rgba(102, 252, 241, 0.05);
   border-color: transparent;
}

/* Background Noise Overlay */
.noise-bg {
   position: fixed;
   inset: 0;
   z-index: 9998;
   opacity: 0.02;
   pointer-events: none;
   background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* ================= STRICT HEADER & NAVBAR ================= */
.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: rgba(5, 5, 7, 0.7);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   border-bottom: 1px solid var(--border-color);
   transition: transform 0.5s var(--transition-snappy), height 0.5s var(--transition-smooth), background 0.5s;
}

.site-header.scrolled {
   height: 80px;
   background: rgba(5, 5, 7, 0.95);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.site-header.hidden {
   transform: translateY(-100%);
}

.logo img {
   height: 50px;
   filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

/* Desktop Menu */
.nav-desktop {
   display: flex;
   gap: 40px;
   align-items: center;
}

.nav-desktop a {
   font-size: 15px;
   font-weight: 500;
   text-transform: uppercase;
   letter-spacing: 1px;
   position: relative;
   padding: 10px 0;
   color: var(--text-primary);
   transition: color 0.3s;
}

.nav-desktop a::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 0%;
   height: 2px;
   background: var(--neon-green);
   transition: width 0.3s var(--transition-smooth);
}

.nav-desktop a:hover {
   color: var(--neon-green);
}

.nav-desktop a:hover::after {
   width: 100%;
}

/* Magnetic Button */
.btn-magnetic {
   position: relative;
   padding: 16px 36px;
   background: transparent;
   border: 1px solid var(--border-color);
   color: var(--neon-green);
   font-family: 'Syne', sans-serif;
   font-weight: 700;
   text-transform: uppercase;
   border-radius: 50px;
   overflow: hidden;
   display: inline-flex;
   justify-content: center;
   align-items: center;
   cursor: pointer;
   transition: color 0.3s, border-color 0.3s;
   z-index: 1;
}

.btn-magnetic::before {
   content: '';
   position: absolute;
   top: 100%;
   left: 0;
   width: 100%;
   height: 100%;
   background: var(--neon-green);
   border-radius: 50px;
   transition: top 0.4s var(--transition-smooth);
   z-index: -1;
}

.btn-magnetic:hover {
   color: var(--bg-main);
   border-color: var(--neon-green);
}

.btn-magnetic:hover::before {
   top: 0;
}

/* Mobile Hamburger & Overlay */
.hamburger {
   display: none;
   flex-direction: column;
   justify-content: space-between;
   width: 32px;
   height: 20px;
   border: none;
   background: transparent;
   cursor: pointer;
   z-index: 2002;
}

.hamburger span {
   display: block;
   width: 100%;
   height: 2px;
   background: var(--text-primary);
   transition: 0.4s var(--transition-snappy);
   transform-origin: left center;
}

.mobile-overlay {
   position: fixed;
   inset: 0;
   background: var(--bg-main);
   z-index: 2001;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   clip-path: circle(0% at 90% 50px);
   transition: clip-path 0.8s var(--transition-snappy);
}

.mobile-overlay.active {
   clip-path: circle(150% at 90% 50px);
}

/* Hamburger Active States */
.hamburger.active span:nth-child(1) {
   transform: rotate(45deg);
   background: var(--neon-green);
}

.hamburger.active span:nth-child(2) {
   opacity: 0;
   width: 0;
}

.hamburger.active span:nth-child(3) {
   transform: rotate(-45deg);
   background: var(--neon-green);
}

.mobile-nav-list {
   display: flex;
   flex-direction: column;
   gap: 30px;
   text-align: center;
}

.mobile-nav-list a {
   font-family: 'Syne', sans-serif;
   font-size: 3rem;
   font-weight: 800;
   text-transform: uppercase;
   color: transparent;
   -webkit-text-stroke: 1px var(--text-primary);
   opacity: 0;
   transform: translateY(40px);
   transition: 0.5s var(--transition-smooth);
}

.mobile-overlay.active .mobile-nav-list a {
   opacity: 1;
   transform: translateY(0);
}

.mobile-overlay.active .mobile-nav-list a:hover {
   color: var(--neon-green);
   -webkit-text-stroke: 0;
}

.mobile-overlay.active .mobile-nav-list a:nth-child(1) {
   transition-delay: 0.2s;
}

.mobile-overlay.active .mobile-nav-list a:nth-child(2) {
   transition-delay: 0.3s;
}

.mobile-overlay.active .mobile-nav-list a:nth-child(3) {
   transition-delay: 0.4s;
}

.mobile-overlay.active .mobile-nav-list a:nth-child(4) {
   transition-delay: 0.5s;
}

@media (max-width: 1024px) {

   .nav-desktop,
   .btn-magnetic.header-btn {
      display: none;
   }

   .hamburger {
      display: flex;
   }
}

/* ================= GLOBALS & ANIMATIONS ================= */
section {
   padding: 150px 5vw;
   position: relative;
}

.section-title {
   font-size: clamp(3rem, 6vw, 6.5rem);
   line-height: 1;
   margin-bottom: 20px;
   letter-spacing: -2px;
}

.text-neon {
   color: var(--neon-green);
   text-shadow: 0 0 20px rgba(102, 252, 241, 0.4);
}

.reveal {
   opacity: 0;
   transform: translateY(50px);
   transition: 1s var(--transition-smooth);
}

.reveal.active {
   opacity: 1;
   transform: translateY(0);
}

/* ================= INDEX SECTIONS ================= */
/* Hero Section */
.hero {
   height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
   overflow: hidden;
   padding-top: var(--nav-height);
}

.hero-content {
   max-width: 1200px;
   z-index: 2;
   position: relative;
}

.hero h1 {
   text-transform: uppercase;
   margin-bottom: 30px;
}

.hero p {
   font-size: 1.25rem;
   color: var(--text-secondary);
   max-width: 700px;
   margin: 0 auto 50px;
   line-height: 1.6;
}

.hero-bg-glow {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 60vw;
   height: 60vw;
   background: radial-gradient(circle, rgba(69, 162, 158, 0.15) 0%, transparent 60%);
   filter: blur(80px);
   z-index: 1;
   pointer-events: none;
}

/* Marquee */
.marquee-container {
   border-top: 1px solid var(--border-color);
   border-bottom: 1px solid var(--border-color);
   padding: 30px 0;
   overflow: hidden;
   background: var(--bg-surface);
   display: flex;
}

.marquee-track {
   display: flex;
   white-space: nowrap;
   animation: marquee 20s linear infinite;
}

.marquee-track span {
   font-family: 'Syne';
   font-size: 2rem;
   font-weight: 800;
   padding: 0 40px;
   color: var(--bg-main);
   -webkit-text-stroke: 1px var(--text-secondary);
   text-transform: uppercase;
}

@keyframes marquee {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

/* Services Grid */
.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
   gap: 30px;
   margin-top: 60px;
}

.service-card {
   background: var(--bg-surface);
   border: 1px solid var(--border-color);
   padding: 50px;
   border-radius: 12px;
   transition: 0.4s var(--transition-smooth);
   position: relative;
   overflow: hidden;
}

.service-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 4px;
   height: 0;
   background: var(--neon-green);
   transition: 0.4s var(--transition-smooth);
}

.service-card:hover {
   transform: translateY(-10px);
   background: var(--bg-surface-light);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before {
   height: 100%;
}

.service-card h3 {
   font-size: 2.2rem;
   margin-bottom: 20px;
   color: var(--text-primary);
}

.service-card p {
   color: var(--text-secondary);
   font-size: 1.1rem;
   line-height: 1.6;
}

/* ROI Calculator */
.calc-module {
   background: var(--bg-surface);
   border: 1px solid var(--border-color);
   border-radius: 20px;
   padding: 60px;
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 80px;
   align-items: center;
}

.slider-group {
   margin-bottom: 40px;
}

.slider-group label {
   display: flex;
   justify-content: space-between;
   font-size: 1.1rem;
   font-weight: 600;
   margin-bottom: 20px;
}

input[type="range"] {
   width: 100%;
   -webkit-appearance: none;
   height: 6px;
   background: var(--bg-main);
   border-radius: 3px;
   outline: none;
   border: 1px solid var(--border-color);
}

input[type="range"]::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 24px;
   height: 24px;
   background: var(--neon-green);
   border-radius: 50%;
   cursor: pointer;
   box-shadow: 0 0 15px var(--neon-green);
   transition: 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
   transform: scale(1.2);
}

.calc-result-box {
   text-align: center;
   padding: 60px 40px;
   background: var(--bg-main);
   border: 1px solid var(--border-color);
   border-radius: 20px;
   position: relative;
   overflow: hidden;
}

.calc-result-box::after {
   content: '';
   position: absolute;
   inset: 0;
   box-shadow: inset 0 0 50px rgba(102, 252, 241, 0.05);
   pointer-events: none;
}

.calc-result-box h4 {
   font-size: 1.2rem;
   color: var(--text-secondary);
   margin-bottom: 15px;
   text-transform: uppercase;
   letter-spacing: 2px;
}

.calc-result-box .revenue {
   font-family: 'Syne';
   font-size: 5rem;
   font-weight: 800;
   color: var(--neon-green);
   line-height: 1;
}

/* Data Visualization (Charts) */
.data-dashboard {
   display: grid;
   grid-template-columns: 300px 1fr;
   gap: 40px;
   margin-top: 60px;
}

.data-stats {
   display: flex;
   flex-direction: column;
   gap: 20px;
}

.stat-card {
   background: var(--bg-surface);
   border: 1px solid var(--border-color);
   padding: 30px;
   border-radius: 12px;
}

.stat-card .num {
   font-family: 'Syne';
   font-size: 3.5rem;
   font-weight: 800;
   color: var(--text-primary);
   line-height: 1;
}

.stat-card .desc {
   color: var(--neon-teal);
   font-size: 0.9rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   margin-top: 10px;
   font-weight: 600;
}

.chart-box {
   background: var(--bg-surface);
   border: 1px solid var(--border-color);
   border-radius: 12px;
   padding: 40px;
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   height: 100%;
   min-height: 350px;
   position: relative;
}

.chart-box::before {
   content: '';
   position: absolute;
   bottom: 40px;
   left: 40px;
   right: 40px;
   height: 1px;
   background: var(--border-color);
}

.bar {
   width: 10%;
   background: linear-gradient(to top, var(--neon-teal), var(--neon-green));
   border-radius: 4px 4px 0 0;
   transform-origin: bottom;
   transform: scaleY(0);
   transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
   position: relative;
   z-index: 2;
}

/* Industries */
.industry-wrapper {
   display: flex;
   gap: 30px;
   overflow-x: auto;
   padding-bottom: 40px;
   scrollbar-width: none;
}

.industry-wrapper::-webkit-scrollbar {
   display: none;
}

.industry-card {
   min-width: 400px;
   background: var(--bg-surface);
   padding: 50px;
   border-radius: 12px;
   border: 1px solid var(--border-color);
   flex-shrink: 0;
}

.industry-card h3 {
   font-size: 2rem;
   color: var(--neon-green);
   margin-bottom: 15px;
}

/* Pages: Contact & Legal */
.page-header {
   padding: 250px 5vw 100px;
   text-align: center;
   border-bottom: 1px solid var(--border-color);
   background: radial-gradient(circle at top, rgba(69, 162, 158, 0.1) 0%, var(--bg-main) 70%);
}

.contact-layout {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 80px;
   max-width: 1300px;
   margin: 0 auto;
}

.form-input {
   width: 100%;
   background: var(--bg-surface);
   border: 1px solid var(--border-color);
   padding: 20px;
   color: var(--text-primary);
   font-family: 'Outfit';
   font-size: 1.1rem;
   border-radius: 8px;
   margin-bottom: 25px;
   outline: none;
   transition: 0.3s;
}

.form-input:focus {
   border-color: var(--neon-green);
   box-shadow: 0 0 15px rgba(102, 252, 241, 0.1);
}

.hq-panel {
   background: var(--bg-surface);
   padding: 60px;
   border-radius: 12px;
   border: 1px solid var(--border-color);
}

.hq-panel h3 {
   font-size: 3rem;
   color: var(--neon-green);
   margin-bottom: 40px;
}

.hq-block {
   margin-bottom: 30px;
}

.hq-block h5 {
   font-size: 1rem;
   color: var(--text-secondary);
   text-transform: uppercase;
   letter-spacing: 1px;
   margin-bottom: 8px;
}

.hq-block p {
   font-size: 1.2rem;
   color: var(--text-primary);
}

.legal-container {
   max-width: 900px;
   margin: 0 auto;
   line-height: 1.8;
   color: var(--text-secondary);
   font-size: 1.15rem;
}

.legal-container h2 {
   color: var(--text-primary);
   font-size: 2.2rem;
   margin: 60px 0 25px;
}

.legal-container p {
   margin-bottom: 20px;
}

/* Live Chat */
.chat-float {
   position: fixed;
   bottom: 40px;
   right: 40px;
   z-index: 1999;
}

.chat-btn {
   width: 65px;
   height: 65px;
   border-radius: 50%;
   background: var(--neon-green);
   color: var(--bg-main);
   border: none;
   cursor: pointer;
   box-shadow: 0 10px 30px rgba(102, 252, 241, 0.4);
   display: flex;
   justify-content: center;
   align-items: center;
   transition: 0.3s;
}

.chat-btn:hover {
   transform: scale(1.1);
}

.chat-panel {
   position: absolute;
   bottom: 85px;
   right: 0;
   width: 350px;
   background: var(--bg-surface);
   border: 1px solid var(--border-color);
   border-radius: 12px;
   padding: 30px;
   display: none;
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.chat-panel.active {
   display: block;
   animation: slideUp 0.4s var(--transition-snappy);
}

/* ================= STRICT FOOTER ================= */
.site-footer {
   background: var(--bg-surface-light);
   border-top: 1px solid var(--border-color);
   padding: 120px 5vw 40px;
   margin-top: 100px;
}

.footer-wrapper {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1fr;
   gap: 60px;
   margin-bottom: 80px;
   max-width: 1400px;
   margin-inline: auto;
}

.footer-brand img {
   height: 45px;
   margin-bottom: 30px;
}

.footer-brand p {
   color: var(--text-secondary);
   max-width: 400px;
   font-size: 1.1rem;
   line-height: 1.6;
}

.footer-nav h4 {
   font-family: 'Syne';
   font-size: 1.4rem;
   margin-bottom: 30px;
   color: var(--text-primary);
}

.footer-nav ul li {
   margin-bottom: 15px;
}

.footer-nav ul li a {
   color: var(--text-secondary);
   transition: 0.3s;
   font-size: 1.05rem;
}

.footer-nav ul li a:hover {
   color: var(--neon-green);
   padding-left: 8px;
}

.footer-bottom {
   border-top: 1px solid var(--border-color);
   padding-top: 30px;
   display: flex;
   justify-content: space-between;
   color: var(--text-secondary);
   font-size: 0.95rem;
   max-width: 1400px;
   margin-inline: auto;
}

/* Responsive */
@media (max-width: 1200px) {
   .data-dashboard {
      grid-template-columns: 1fr;
   }

   .chart-box {
      min-height: 300px;
   }

   .data-stats {
      flex-direction: row;
      flex-wrap: wrap;
   }

   .stat-card {
      flex: 1;
      min-width: 250px;
   }
}

@media (max-width: 991px) {

   .calc-module,
   .contact-layout {
      grid-template-columns: 1fr;
      gap: 50px;
   }

   .footer-wrapper {
      grid-template-columns: 1fr 1fr;
   }
}

@media (max-width: 768px) {
   .section-title {
      font-size: 3.5rem;
   }

   section {
      padding: 100px 5vw;
   }

   .footer-wrapper {
      grid-template-columns: 1fr;
   }

   .footer-bottom {
      flex-direction: column;
      gap: 20px;
      text-align: center;
   }

   .industry-card {
      min-width: 300px;
   }
}

@keyframes slideUp {
   from {
      opacity: 0;
      transform: translateY(30px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}