@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Manrope:wght@300;400;500;600&display=swap');

:root {
   --bg-color: #050505;
   --surface-color: #0f0f0f;
   --text-primary: #ffffff;
   --text-secondary: #888888;
   --accent-color: #CCFF00;
   --accent-hover: #b3e600;
   --border-color: rgba(255, 255, 255, 0.1);
   --font-heading: 'Oswald', sans-serif;
   --font-body: 'Manrope', sans-serif;
   --cursor-size: 12px;
   --header-height: 100px;
   --section-padding: 150px 0;
   --container-width: 1500px;
}

/* ================= RESET & BASE ================= */
*,
*::before,
*::after {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: auto;
   font-size: 16px;
   overflow-x: hidden;
   background: var(--bg-color);
}

body {
   font-family: var(--font-body);
   color: var(--text-primary);
   background-color: var(--bg-color);
   overflow-x: hidden;
   line-height: 1.6;
   cursor: none;
   -webkit-font-smoothing: antialiased;
}

a {
   text-decoration: none;
   color: inherit;
   cursor: none;
}

ul {
   list-style: none;
}

img {
   max-width: 100%;
   display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: var(--font-heading);
   font-weight: 600;
   text-transform: uppercase;
   line-height: 1;
}

.container {
   max-width: var(--container-width);
   margin: 0 auto;
   padding: 0 5vw;
}

/* ================= CUSTOM CURSOR ================= */
.custom-cursor {
   position: fixed;
   top: 0;
   left: 0;
   width: var(--cursor-size);
   height: var(--cursor-size);
   background: var(--accent-color);
   border-radius: 50%;
   pointer-events: none;
   transform: translate(-50%, -50%);
   z-index: 9999;
   mix-blend-mode: difference;
   transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.custom-cursor.hover {
   width: 80px;
   height: 80px;
   background: var(--text-primary);
   mix-blend-mode: exclusion;
}

/* ================= STRICT HEADER ================= */
.site-header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: var(--header-height);
   background: rgba(5, 5, 5, 0.8);
   backdrop-filter: blur(20px);
   border-bottom: 1px solid var(--border-color);
   z-index: 2000;
   display: flex;
   align-items: center;
   transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.site-header .container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   width: 100%;
}

.header-logo img {
   height: 95px;
   filter: invert(1);
   object-fit: contain;
   position: relative;
   z-index: 2001;
}

.nav-links {
   display: flex;
   gap: 50px;
}

.nav-links a {
   font-size: 1rem;
   font-family: var(--font-heading);
   letter-spacing: 2px;
   position: relative;
   padding: 10px 0;
}

.nav-links a::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 2px;
   background: var(--accent-color);
   transform: scaleX(0);
   transform-origin: right;
   transition: transform 0.4s ease;
}

.nav-links a:hover::after {
   transform: scaleX(1);
   transform-origin: left;
}

/* Magnetic Button (CTA) */
.magnetic-btn {
   display: inline-flex;
   justify-content: center;
   align-items: center;
   padding: 15px 35px;
   background: var(--accent-color);
   color: var(--bg-color);
   font-family: var(--font-heading);
   font-size: 1.1rem;
   letter-spacing: 1px;
   border-radius: 50px;
   position: relative;
   z-index: 1;
   overflow: hidden;
   transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s;
   border: none;
}

.magnetic-btn::before {
   content: '';
   position: absolute;
   top: 100%;
   left: 0;
   width: 100%;
   height: 100%;
   background: var(--text-primary);
   transition: top 0.4s cubic-bezier(0.77, 0, 0.175, 1);
   z-index: -1;
}

.magnetic-btn:hover {
   color: var(--bg-color);
}

.magnetic-btn:hover::before {
   top: 0;
}

.desktop-cta {
   display: flex;
}

/* ================= HAMBURGER & MOBILE MENU ================= */
.hamburger {
   display: none;
   flex-direction: column;
   justify-content: space-between;
   width: 50px;
   height: 20px;
   background: transparent;
   border: none;
   z-index: 2001;
   position: relative;
}

.hamburger span {
   display: block;
   width: 100%;
   height: 2px;
   background: var(--text-primary);
   transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), width 0.3s;
}

.hamburger:hover span:nth-child(2) {
   width: 70%;
}

.hamburger.active span:nth-child(1) {
   transform: translateY(9px) rotate(45deg);
   width: 100%;
}

.hamburger.active span:nth-child(2) {
   transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
   transform: translateY(-9px) rotate(-45deg);
   width: 100%;
}

.mobile-menu {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   background: var(--bg-color);
   z-index: 2000;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   clip-path: circle(0% at 100% 0);
   transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
   clip-path: circle(150% at 100% 0);
}

.mobile-nav-links {
   display: flex;
   flex-direction: column;
   gap: 20px;
   text-align: center;
   margin-bottom: 60px;
}

.mobile-nav-links li {
   overflow: hidden;
}

.mobile-nav-links a {
   display: block;
   font-size: 4rem;
   font-family: var(--font-heading);
   color: var(--text-primary);
   transform: translateY(100%);
   transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active .mobile-nav-links a {
   transform: translateY(0);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) a {
   transition-delay: 0.2s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(2) a {
   transition-delay: 0.3s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(3) a {
   transition-delay: 0.4s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(4) a {
   transition-delay: 0.5s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(5) a {
   transition-delay: 0.6s;
}

/* Responsive Header Toggle */
@media (max-width: 1024px) {

   .nav-links,
   .desktop-cta {
      display: none;
   }

   .hamburger {
      display: flex;
   }
}

/* ================= HERO SECTION ================= */
.hero {
   height: 100vh;
   display: flex;
   align-items: center;
   border-bottom: 1px solid var(--border-color);
   position: relative;
}

.hero-grid {
   display: grid;
   grid-template-columns: 1.5fr 1fr;
   gap: 50px;
   align-items: center;
   height: 100%;
   width: 100%;
   padding-top: var(--header-height);
}

.hero-title-wrapper {
   overflow: hidden;
}

.hero-title {
   font-size: clamp(4rem, 10vw, 9rem);
   line-height: 0.9;
   transform: translateY(100%);
   animation: textReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards 0.2s;
}

.hero-title span {
   color: var(--accent-color);
}

.hero-desc {
   font-size: 1.2rem;
   color: var(--text-secondary);
   max-width: 500px;
   margin: 40px 0;
   opacity: 0;
   animation: fadeUp 1s ease forwards 1s;
}

.hero-visual {
   height: 100%;
   border-left: 1px solid var(--border-color);
   position: relative;
   overflow: hidden;
   opacity: 0;
   animation: fadeUp 1.5s ease forwards 0.5s;
}

.hero-visual::after {
   content: '';
   position: absolute;
   inset: 0;
   background: radial-gradient(circle at center, transparent 30%, var(--bg-color) 100%);
}

@keyframes textReveal {
   to {
      transform: translateY(0);
   }
}

@keyframes fadeUp {
   from {
      opacity: 0;
      transform: translateY(30px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

/* ================= MARQUEE ================= */
.marquee-section {
   padding: 40px 0;
   border-bottom: 1px solid var(--border-color);
   background: var(--surface-color);
   overflow: hidden;
}

.marquee-container {
   display: flex;
   white-space: nowrap;
   animation: marquee 15s linear infinite;
}

.marquee-text {
   font-family: var(--font-heading);
   font-size: 3rem;
   padding: 0 40px;
   color: var(--bg-color);
   -webkit-text-stroke: 1px var(--text-secondary);
}

.marquee-text.filled {
   color: var(--text-primary);
   -webkit-text-stroke: 0;
}

@keyframes marquee {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

/* ================= SERVICES (Accordion/List Style) ================= */
.services {
   padding: var(--section-padding);
}

.section-header {
   margin-bottom: 100px;
   display: flex;
   justify-content: space-between;
   align-items: flex-end;
   border-bottom: 1px solid var(--border-color);
   padding-bottom: 30px;
}

.section-title {
   font-size: 5rem;
}

.section-subtitle {
   font-family: var(--font-body);
   font-size: 1.2rem;
   color: var(--text-secondary);
   max-width: 300px;
   text-align: right;
}

.service-list {
   display: flex;
   flex-direction: column;
}

.service-item {
   display: grid;
   grid-template-columns: 1fr 3fr 1fr;
   align-items: center;
   padding: 60px 0;
   border-bottom: 1px solid var(--border-color);
   transition: padding 0.4s ease;
   position: relative;
}

.service-item::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 0;
   background: var(--surface-color);
   z-index: -1;
   transition: height 0.4s ease;
}

.service-item:hover {
   padding: 80px 0;
}

.service-item:hover::before {
   height: 100%;
}

.service-num {
   font-family: var(--font-heading);
   font-size: 2rem;
   color: var(--accent-color);
}

.service-item h3 {
   font-size: 4rem;
   color: var(--text-primary);
   transition: color 0.3s;
}

.service-item:hover h3 {
   color: var(--accent-color);
   transform: translateX(20px);
}

.service-item p {
   color: var(--text-secondary);
   font-size: 1.1rem;
   opacity: 0;
   transform: translateX(-20px);
   transition: all 0.4s ease;
}

.service-item:hover p {
   opacity: 1;
   transform: translateX(0);
}

/* ================= INDUSTRIES (Sticky Horizontal Scroll) ================= */
.industries {
   background: var(--surface-color);
   border-top: 1px solid var(--border-color);
   border-bottom: 1px solid var(--border-color);
   height: 300vh;
   position: relative;
}

.sticky-wrapper {
   position: sticky;
   top: 0;
   height: 100vh;
   overflow: hidden;
   display: flex;
   align-items: center;
}

.horizontal-scroll {
   display: flex;
   gap: 50px;
   padding: 0 5vw;
   width: max-content;
}

.ind-card {
   width: 500px;
   height: 60vh;
   background: var(--bg-color);
   border: 1px solid var(--border-color);
   padding: 50px;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
}

.ind-card h3 {
   font-size: 3.5rem;
   color: var(--accent-color);
}

.ind-card p {
   font-size: 1.2rem;
   color: var(--text-secondary);
}

/* ================= CALCULATOR (Wireframe UI) ================= */
.calculator-section {
   padding: var(--section-padding);
}

.calc-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 80px;
   border: 1px solid var(--border-color);
   padding: 80px;
   background: var(--surface-color);
}

.calc-left h2 {
   font-size: 4rem;
   margin-bottom: 20px;
}

.calc-group {
   margin-bottom: 50px;
}

.calc-group label {
   font-family: var(--font-heading);
   font-size: 1.5rem;
   letter-spacing: 1px;
   margin-bottom: 15px;
   display: block;
}

input[type="range"] {
   -webkit-appearance: none;
   width: 100%;
   height: 2px;
   background: var(--border-color);
   outline: none;
   margin: 20px 0;
}

input[type="range"]::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 25px;
   height: 25px;
   background: var(--accent-color);
   border-radius: 50%;
   cursor: none;
   transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
   transform: scale(1.3);
}

.calc-right {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   border-left: 1px solid var(--border-color);
}

.result-label {
   font-size: 1.2rem;
   color: var(--text-secondary);
   text-transform: uppercase;
   letter-spacing: 2px;
}

.result-val {
   font-family: var(--font-heading);
   font-size: 6rem;
   color: var(--accent-color);
}

/* ================= REPORTS (Animated Data Bars) ================= */
.reports-section {
   padding: var(--section-padding);
   border-top: 1px solid var(--border-color);
}

.report-chart {
   display: flex;
   align-items: flex-end;
   gap: 20px;
   height: 400px;
   border-bottom: 1px solid var(--border-color);
   border-left: 1px solid var(--border-color);
   padding: 20px;
   margin-top: 60px;
}

.chart-bar {
   flex: 1;
   background: var(--surface-color);
   border-top: 2px solid var(--accent-color);
   transition: height 1s cubic-bezier(0.77, 0, 0.175, 1);
   position: relative;
}

.chart-bar::before {
   content: attr(data-val);
   position: absolute;
   top: -30px;
   left: 50%;
   transform: translateX(-50%);
   font-family: var(--font-heading);
   color: var(--text-primary);
}

/* ================= TESTIMONIALS ================= */
.testimonials {
   padding: var(--section-padding);
   background: var(--surface-color);
   border-top: 1px solid var(--border-color);
}

.testi-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 50px;
   margin-top: 60px;
}

.testi-card {
   border: 1px solid var(--border-color);
   padding: 60px;
   position: relative;
}

.testi-card h4 {
   font-size: 2rem;
   color: var(--accent-color);
   margin-bottom: 10px;
}

.testi-card p {
   font-size: 1.5rem;
   line-height: 1.4;
   color: var(--text-primary);
   margin-bottom: 40px;
}

.testi-card span {
   color: var(--text-secondary);
   text-transform: uppercase;
   letter-spacing: 1px;
}

/* ================= LIVE CHAT ================= */
.chat-widget {
   position: fixed;
   bottom: 50px;
   right: 50px;
   z-index: 1000;
}

.chat-btn {
   width: 80px;
   height: 80px;
   background: var(--accent-color);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   color: var(--bg-color);
   font-family: var(--font-heading);
   font-size: 1.2rem;
   cursor: none;
   transition: transform 0.3s;
   border: none;
}

.chat-btn:hover {
   transform: scale(1.1);
}

.chat-window {
   position: absolute;
   bottom: 100px;
   right: 0;
   width: 380px;
   background: var(--surface-color);
   border: 1px solid var(--border-color);
   border-radius: 10px;
   clip-path: circle(0% at 100% 100%);
   transition: clip-path 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.chat-window.active {
   clip-path: circle(150% at 100% 100%);
}

.chat-head {
   padding: 20px;
   background: var(--bg-color);
   border-bottom: 1px solid var(--border-color);
   font-family: var(--font-heading);
   font-size: 1.2rem;
}

.chat-msgs {
   padding: 20px;
   height: 300px;
   overflow-y: auto;
   color: var(--text-secondary);
}

.chat-input-area {
   display: flex;
   border-top: 1px solid var(--border-color);
}

.chat-input-area input {
   flex: 1;
   background: transparent;
   border: none;
   padding: 20px;
   color: white;
   outline: none;
}

.chat-input-area button {
   background: var(--accent-color);
   border: none;
   padding: 0 20px;
   font-family: var(--font-heading);
   cursor: none;
}

/* ================= STRICT FOOTER ================= */
.site-footer {
   padding: 150px 0 50px;
   background: var(--bg-color);
   border-top: 1px solid var(--border-color);
   position: relative;
   overflow: hidden;
}

.footer-big-text {
   font-size: clamp(5rem, 15vw, 15rem);
   font-family: var(--font-heading);
   text-align: center;
   color: var(--surface-color);
   line-height: 0.8;
   margin-bottom: 100px;
   user-select: none;
}

.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1fr;
   gap: 50px;
   margin-bottom: 80px;
}

.footer-logo {
    height: 95px;
   filter: invert(1);
   margin-bottom: 30px;
}

.footer-col h3 {
   font-size: 1.2rem;
   color: var(--text-secondary);
   margin-bottom: 30px;
}

.footer-links li {
   margin-bottom: 15px;
   font-size: 1.1rem;
}

.footer-links a {
   transition: color 0.3s;
}

.footer-links a:hover {
   color: var(--accent-color);
}

.footer-bottom {
   border-top: 1px solid var(--border-color);
   padding-top: 40px;
   display: flex;
   justify-content: space-between;
   color: var(--text-secondary);
}

.footer-legal-links {
   display: flex;
   gap: 30px;
}

/* ================= LEGAL & CONTACT PAGES ================= */
.page-header {
   padding: 250px 0 100px;
   border-bottom: 1px solid var(--border-color);
}

.page-title {
   font-size: clamp(4rem, 8vw, 7rem);
   color: var(--accent-color);
}

.legal-content {
   padding: 100px 0;
   max-width: 900px;
   margin: 0 auto;
}

.legal-content h2 {
   font-size: 2.5rem;
   margin: 60px 0 20px;
}

.legal-content p {
   font-size: 1.2rem;
   color: var(--text-secondary);
   margin-bottom: 25px;
   line-height: 1.8;
}

.contact-layout {
   padding: var(--section-padding);
   display: grid;
   grid-template-columns: 1fr 1.5fr;
   gap: 100px;
}

.contact-info {
   border: 1px solid var(--border-color);
   padding: 60px;
   background: var(--surface-color);
}

.contact-info h3 {
   font-size: 3rem;
   margin-bottom: 40px;
   color: var(--text-primary);
}

.contact-info p {
   font-size: 1.2rem;
   color: var(--text-secondary);
   margin-bottom: 20px;
}

.form-line {
   position: relative;
   margin-bottom: 40px;
}

.form-line input,
.form-line textarea {
   width: 100%;
   background: transparent;
   border: none;
   border-bottom: 1px solid var(--border-color);
   padding: 20px 0;
   color: white;
   font-size: 1.2rem;
   outline: none;
   transition: border-color 0.3s;
   resize: none;
   cursor: none;
}

.form-line input:focus,
.form-line textarea:focus {
   border-bottom-color: var(--accent-color);
}

.form-submit {
   width: 100%;
   border-radius: 0;
   padding: 25px;
   font-size: 1.5rem;
}

/* ================= ANIMATIONS & UTILS ================= */
.clip-reveal {
   clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
   transform: translateY(30px);
   transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1), transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.clip-reveal.active {
   clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
   transform: translateY(0);
}

/* Mobile Adaptations */
@media (max-width: 1024px) {
   .hero-grid {
      grid-template-columns: 1fr;
      text-align: center;
   }

   .hero-visual {
      display: none;
   }

   .calc-grid {
      grid-template-columns: 1fr;
      padding: 40px;
   }

   .calc-right {
      border-left: none;
      border-top: 1px solid var(--border-color);
      padding-top: 40px;
   }

   .testi-grid,
   .footer-grid,
   .contact-layout {
      grid-template-columns: 1fr;
   }

   .service-item {
      grid-template-columns: 1fr;
      text-align: left;
      gap: 20px;
      padding: 40px 0;
   }

   .service-item:hover {
      padding: 40px 0;
   }

   .service-item h3 {
      font-size: 2.5rem;
   }

   .service-item p {
      transform: none;
      opacity: 1;
   }

   .ind-card {
      width: 80vw;
   }
}