@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
   --bg-color: #030305;
   --text-primary: #FAFAFA;
   --text-secondary: #A1A1AA;
   --accent-color: #4F46E5;
   --accent-hover: #6366F1;
   --secondary-color: #10B981;
   --card-bg: rgba(25, 25, 30, 0.4);
   --border-color: rgba(255, 255, 255, 0.08);
   --font-heading: 'Syne', sans-serif;
   --font-body: 'Inter', sans-serif;
   --cursor-size: 20px;
   --header-height: 90px;
   --section-padding: 120px 0;
   --container-width: 1400px;
}

/* ================= 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;
   /* Custom cursor */
}

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: 700;
   line-height: 1.1;
}

.container {
   max-width: var(--container-width);
   margin: 0 auto;
   padding: 0 40px;
}

/* ================= 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), background 0.3s;
}

.custom-cursor.hover {
   width: 60px;
   height: 60px;
   background: #fff;
}

/* ================= STRICT HEADER ================= */
.site-header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: var(--header-height);
   background: rgba(3, 3, 5, 0.85);
   backdrop-filter: blur(12px);
   border-bottom: 1px solid var(--border-color);
   z-index: 1000;
   display: flex;
   align-items: center;
   transition: transform 0.4s ease;
}

.site-header .container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   width: 100%;
}

.header-logo img {
   height: 110px;
   filter: brightness(0) invert(1);
}

.nav-links {
   display: flex;
   gap: 40px;
}

.nav-links a {
   font-size: 0.95rem;
   font-weight: 500;
   text-transform: uppercase;
   letter-spacing: 1px;
   position: relative;
   padding: 10px 0;
}

.nav-links a::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 0;
   height: 2px;
   background: var(--accent-color);
   transition: width 0.3s ease;
}

.nav-links a:hover::after {
   width: 100%;
}

.header-cta {
   padding: 12px 28px;
   background: transparent;
   border: 1px solid var(--accent-color);
   color: var(--text-primary);
   font-family: var(--font-heading);
   text-transform: uppercase;
   border-radius: 30px;
   position: relative;
   overflow: hidden;
   transition: all 0.3s;
}

.header-cta::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: var(--accent-color);
   transform: scaleX(0);
   transform-origin: right;
   transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
   z-index: -1;
}

.header-cta:hover::before {
   transform: scaleX(1);
   transform-origin: left;
}

/* ================= HERO SECTION (3D Parallax) ================= */
.hero {
   height: 100vh;
   display: flex;
   align-items: center;
   position: relative;
   overflow: hidden;
}

.hero-bg {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.15), transparent 60%);
   z-index: 0;
}

.hero-content {
   position: relative;
   z-index: 1;
   max-width: 900px;
}

.hero-title {
   font-size: clamp(4rem, 8vw, 7rem);
   text-transform: uppercase;
   letter-spacing: -0.02em;
   margin-bottom: 20px;
}

.text-stroke {
   color: transparent;
   -webkit-text-stroke: 1px var(--text-primary);
}

.hero-desc {
   font-size: 1.25rem;
   color: var(--text-secondary);
   max-width: 600px;
   margin-bottom: 40px;
}

/* ================= MARQUEE / ABOUT SECTION ================= */
.marquee-section {
   padding: 60px 0;
   border-top: 1px solid var(--border-color);
   border-bottom: 1px solid var(--border-color);
   overflow: hidden;
   background: #000;
}

.marquee-container {
   display: flex;
   white-space: nowrap;
   animation: marquee 20s linear infinite;
}

.marquee-text {
   font-family: var(--font-heading);
   font-size: 4rem;
   text-transform: uppercase;
   padding: 0 40px;
   color: var(--accent-color);
}

@keyframes marquee {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

/* ================= SERVICES (3D Tilt Cards) ================= */
.services {
   padding: var(--section-padding);
}

.section-header {
   margin-bottom: 80px;
   text-align: center;
}

.section-title {
   font-size: 3.5rem;
   text-transform: uppercase;
}

.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 30px;
   perspective: 1000px;
}

.service-card {
   background: var(--card-bg);
   padding: 50px 40px;
   border: 1px solid var(--border-color);
   border-radius: 20px;
   transition: transform 0.1s ease, background 0.4s ease;
   transform-style: preserve-3d;
   position: relative;
}

.service-card:hover {
   background: rgba(79, 70, 229, 0.1);
   border-color: var(--accent-color);
}

.service-icon {
   font-size: 3rem;
   margin-bottom: 20px;
   color: var(--secondary-color);
   transform: translateZ(30px);
}

.service-card h3 {
   font-size: 1.8rem;
   margin-bottom: 15px;
   transform: translateZ(40px);
}

.service-card p {
   color: var(--text-secondary);
   transform: translateZ(20px);
}

/* ================= INDUSTRIES (Horizontal Scroll Simulation) ================= */
.industries {
   padding: var(--section-padding);
   background: #050508;
   position: relative;
}

.industry-grid {
   display: flex;
   gap: 40px;
   overflow-x: auto;
   padding-bottom: 40px;
   scrollbar-width: none;
}

.industry-grid::-webkit-scrollbar {
   display: none;
}

.industry-item {
   min-width: 400px;
   height: 300px;
   border-radius: 20px;
   background: #111;
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   padding: 40px;
   position: relative;
   overflow: hidden;
   border: 1px solid var(--border-color);
}

.industry-item h3 {
   position: relative;
   z-index: 2;
   font-size: 2rem;
}

.industry-item::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
   z-index: 1;
}

/* ================= CALCULATOR (Interactive) ================= */
.calculator-section {
   padding: var(--section-padding);
}

.calc-wrapper {
   background: var(--card-bg);
   border: 1px solid var(--border-color);
   border-radius: 30px;
   padding: 60px;
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 60px;
}

.calc-input-group {
   margin-bottom: 30px;
}

.calc-input-group label {
   display: block;
   margin-bottom: 10px;
   font-family: var(--font-heading);
   font-size: 1.2rem;
}

.calc-input-group input[type="range"] {
   width: 100%;
   accent-color: var(--accent-color);
}

.calc-result {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   background: #000;
   border-radius: 20px;
   padding: 40px;
   border: 1px solid var(--accent-color);
}

.result-value {
   font-size: 5rem;
   font-family: var(--font-heading);
   color: var(--secondary-color);
   font-weight: 800;
}

/* ================= REPORTS (Mock UI) ================= */
.reports-section {
   padding: var(--section-padding);
   background: #030305;
}

.report-mockup {
   width: 100%;
   height: 500px;
   background: var(--card-bg);
   border-radius: 20px;
   border: 1px solid var(--border-color);
   position: relative;
   overflow: hidden;
   display: flex;
   align-items: flex-end;
   padding: 40px;
   gap: 20px;
}

.bar {
   width: 100%;
   background: var(--accent-color);
   border-radius: 10px 10px 0 0;
   animation: growUp 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
   transform-origin: bottom;
   opacity: 0;
}

@keyframes growUp {
   from {
      transform: scaleY(0);
      opacity: 0;
   }

   to {
      transform: scaleY(1);
      opacity: 1;
   }
}

.bar:nth-child(1) {
   height: 40%;
   animation-delay: 0.2s;
}

.bar:nth-child(2) {
   height: 60%;
   background: var(--secondary-color);
   animation-delay: 0.4s;
}

.bar:nth-child(3) {
   height: 80%;
   animation-delay: 0.6s;
}

.bar:nth-child(4) {
   height: 100%;
   background: var(--text-primary);
   animation-delay: 0.8s;
}

/* ================= TESTIMONIALS ================= */
.testimonials {
   padding: var(--section-padding);
}

.testi-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 40px;
}

.testi-card {
   padding: 50px;
   border: 1px solid var(--border-color);
   border-radius: 20px;
   position: relative;
}

.testi-card::before {
   content: '"';
   font-family: var(--font-heading);
   font-size: 8rem;
   color: rgba(255, 255, 255, 0.05);
   position: absolute;
   top: -10px;
   left: 30px;
}

.testi-text {
   font-size: 1.4rem;
   font-style: italic;
   margin-bottom: 30px;
}

.testi-author {
   display: flex;
   align-items: center;
   gap: 20px;
}

.testi-avatar {
   width: 60px;
   height: 60px;
   border-radius: 50%;
   background: var(--accent-color);
}

/* ================= LIVE CHAT WIDGET ================= */
.chat-widget {
   position: fixed;
   bottom: 40px;
   right: 40px;
   z-index: 1000;
}

.chat-toggle {
   width: 70px;
   height: 70px;
   background: var(--accent-color);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
   transition: transform 0.3s;
}

.chat-toggle:hover {
   transform: scale(1.1);
}

.chat-box {
   position: absolute;
   bottom: 90px;
   right: 0;
   width: 350px;
   background: #111;
   border: 1px solid var(--border-color);
   border-radius: 20px;
   overflow: hidden;
   transform: scale(0);
   transform-origin: bottom right;
   transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-box.active {
   transform: scale(1);
}

.chat-header {
   background: var(--accent-color);
   padding: 20px;
   font-family: var(--font-heading);
   font-weight: 700;
}

.chat-body {
   padding: 20px;
   height: 250px;
   overflow-y: auto;
   display: flex;
   flex-direction: column;
   gap: 15px;
}

.chat-msg {
   background: var(--card-bg);
   padding: 10px 15px;
   border-radius: 10px;
   font-size: 0.9rem;
   max-width: 80%;
}

.chat-msg.bot {
   align-self: flex-start;
   background: rgba(255, 255, 255, 0.1);
}

.chat-input {
   display: flex;
   padding: 15px;
   border-top: 1px solid var(--border-color);
}

.chat-input input {
   flex: 1;
   background: transparent;
   border: none;
   color: white;
   outline: none;
}

/* ================= STRICT FOOTER ================= */
.site-footer {
   background: #020202;
   padding: 100px 0 40px;
   border-top: 1px solid var(--border-color);
}

.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1fr;
   gap: 60px;
   margin-bottom: 80px;
}

.footer-logo {
   height: 110px;
   filter: brightness(0) invert(1);
   margin-bottom: 30px;
}

.footer-desc {
   color: var(--text-secondary);
   max-width: 300px;
}

.footer-col h3 {
   font-size: 1.5rem;
   margin-bottom: 30px;
   color: var(--text-primary);
}

.footer-links li {
   margin-bottom: 15px;
   color: var(--text-secondary);
   transition: color 0.3s;
}

.footer-links a:hover {
   color: var(--accent-color);
}

.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.9rem;
}

.footer-legal-links {
   display: flex;
   gap: 20px;
}

/* ================= LEGAL PAGES CONTENT ================= */
.legal-wrapper {
   padding: 180px 0 100px;
   min-height: 80vh;
}

.legal-title {
   font-size: 4rem;
   margin-bottom: 40px;
   color: var(--accent-color);
}

.legal-content h2 {
   margin: 40px 0 20px;
   font-size: 2rem;
}

.legal-content p {
   margin-bottom: 20px;
   color: var(--text-secondary);
   font-size: 1.1rem;
   line-height: 1.8;
}

/* ================= CONTACT PAGE ================= */
.contact-wrapper {
   padding: 180px 0 100px;
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 80px;
}

.contact-info-card {
   background: var(--card-bg);
   padding: 50px;
   border-radius: 20px;
   border: 1px solid var(--border-color);
}

.contact-info-card h3 {
   font-size: 2rem;
   margin-bottom: 20px;
}

.form-group {
   margin-bottom: 30px;
   position: relative;
}

.form-group input,
.form-group textarea {
   width: 100%;
   background: transparent;
   border: none;
   border-bottom: 1px solid var(--border-color);
   padding: 15px 0;
   color: white;
   font-size: 1.1rem;
   outline: none;
   transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
   border-bottom-color: var(--accent-color);
}

.submit-btn {
   background: var(--accent-color);
   color: white;
   border: none;
   padding: 20px 40px;
   border-radius: 30px;
   font-size: 1.1rem;
   font-weight: 700;
   cursor: none;
   width: 100%;
   transition: background 0.3s;
}

.submit-btn:hover {
   background: var(--accent-hover);
}

/* ================= ANIMATIONS & UTILS ================= */
.reveal {
   opacity: 0;
   transform: translateY(50px);
   transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
   opacity: 1;
   transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
   .footer-grid {
      grid-template-columns: 1fr 1fr;
   }

   .hero-title {
      font-size: 4rem;
   }

   .contact-wrapper {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 768px) {
   .nav-links {
      display: none;
   }

   .calc-wrapper {
      grid-template-columns: 1fr;
   }

   .testi-grid {
      grid-template-columns: 1fr;
   }

   .footer-grid {
      grid-template-columns: 1fr;
   }

   .hero-title {
      font-size: 3rem;
   }
}