/* ==========================================================================
   VERSION 4: NEO-MORPHIC & GEOMETRIC TECH AGENCY
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Syne:wght@400;600;700;800&display=swap');

:root {
   --bg-deep: #05050A;
   --bg-card: #0D0D1A;
   --bg-glass: rgba(13, 13, 26, 0.6);

   --brand-orange: #FF5E00;
   --brand-orange-glow: rgba(255, 94, 0, 0.5);
   --brand-indigo: #6D28D9;
   --brand-indigo-glow: rgba(109, 40, 217, 0.5);
   --brand-pink: #FF007F;

   --text-main: #FFFFFF;
   --text-muted: #94A3B8;

   --font-display: 'Syne', sans-serif;
   --font-body: 'Outfit', sans-serif;

   --transition-snappy: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   --transition-smooth: 0.6s cubic-bezier(0.25, 1, 0.5, 1);

   --nav-height: 80px;
   --radius-xl: 32px;
   --radius-lg: 20px;
   --radius-md: 12px;
}

*,
*::before,
*::after {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   font-size: 16px;
}

body {
   background-color: var(--bg-deep);
   color: var(--text-main);
   font-family: var(--font-body);
   line-height: 1.6;
   overflow-x: hidden;
   -webkit-font-smoothing: antialiased;
}

::selection {
   background: var(--brand-orange);
   color: #fff;
}

::-webkit-scrollbar {
   width: 10px;
}

::-webkit-scrollbar-track {
   background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
   background: var(--brand-indigo);
   border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
   background: var(--brand-orange);
}

/* ==========================================================================
      TYPOGRAPHY & UTILITIES
      ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: var(--font-display);
   font-weight: 700;
   line-height: 1.1;
}

h1 {
   font-size: clamp(3.5rem, 8vw, 6.5rem);
   letter-spacing: -0.03em;
}

h2 {
   font-size: clamp(2.5rem, 5vw, 4rem);
   letter-spacing: -0.02em;
}

h3 {
   font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.text-gradient {
   background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink), var(--brand-indigo));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
   display: inline-block;
}

.text-muted {
   color: var(--text-muted);
}

.container {
   width: 100%;
   max-width: 1400px;
   margin: 0 auto;
   padding: 0 5%;
   position: relative;
   z-index: 2;
}

.section-padding {
   padding: 10rem 0;
}

.text-center {
   text-align: center;
}

.tagline {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0.5rem 1.25rem;
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 100px;
   font-family: var(--font-body);
   font-weight: 600;
   font-size: 0.85rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   margin-bottom: 2rem;
   backdrop-filter: blur(10px);
}

.tagline-dot {
   width: 8px;
   height: 8px;
   background: var(--brand-orange);
   border-radius: 50%;
   box-shadow: 0 0 10px var(--brand-orange-glow);
}

/* ==========================================================================
      BUTTONS
      ========================================================================== */
.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 1.25rem 2.5rem;
   font-family: var(--font-body);
   font-weight: 600;
   font-size: 1rem;
   text-decoration: none;
   border-radius: 100px;
   transition: var(--transition-snappy);
   cursor: pointer;
   border: none;
   position: relative;
   overflow: hidden;
   z-index: 1;
}

.btn-primary {
   background: linear-gradient(90deg, var(--brand-orange), var(--brand-pink));
   color: #fff;
   box-shadow: 0 10px 30px var(--brand-orange-glow);
}

.btn-primary::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, var(--brand-pink), var(--brand-indigo));
   z-index: -1;
   transition: opacity var(--transition-snappy);
   opacity: 0;
}

.btn-primary:hover {
   transform: translateY(-3px) scale(1.02);
}

.btn-primary:hover::before {
   opacity: 1;
}

.btn-outline {
   background: rgba(255, 255, 255, 0.05);
   border: 1px solid rgba(255, 255, 255, 0.1);
   color: #fff;
   backdrop-filter: blur(10px);
}

.btn-outline:hover {
   background: #fff;
   color: var(--bg-deep);
   transform: translateY(-3px);
}

/* ==========================================================================
      HEADER & NAVIGATION (STRICT CONSISTENCY)
      ========================================================================== */
.site-header {
   position: fixed;
   top: 1.5rem;
   left: 50%;
   transform: translateX(-50%);
   width: 90%;
   max-width: 1200px;
   height: var(--nav-height);
   background: var(--bg-glass);
   border: 1px solid rgba(255, 255, 255, 0.05);
   border-radius: 100px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 0 2rem;
   z-index: 1000;
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   transition: var(--transition-smooth);
}

.site-header.scrolled {
   width: 100%;
   top: 0;
   border-radius: 0;
   max-width: 100%;
   border-left: none;
   border-right: none;
   border-top: none;
   background: rgba(5, 5, 10, 0.9);
}

.logo-link {
   display: flex;
   align-items: center;
}

.site-logo {
   height: 90px;
   filter: brightness(0) invert(1);
}

.main-nav ul {
   display: flex;
   list-style: none;
   gap: 2.5rem;
}

.main-nav a {
   color: var(--text-main);
   text-decoration: none;
   font-weight: 500;
   font-size: 0.95rem;
   transition: color 0.3s;
   position: relative;
}

.main-nav a:hover {
   color: var(--brand-orange);
}

.nav-btn {
   padding: 0.75rem 1.5rem;
   background: #fff;
   color: var(--bg-deep);
   border-radius: 50px;
   font-weight: 600;
   text-decoration: none;
   transition: var(--transition-snappy);
}

.nav-btn:hover {
   background: var(--brand-orange);
   color: #fff;
}

.mobile-toggle {
   display: none;
   width: 30px;
   height: 20px;
   flex-direction: column;
   justify-content: space-between;
   cursor: pointer;
}

.mobile-toggle span {
   width: 100%;
   height: 2px;
   background: #fff;
   transition: 0.3s;
}

/* ==========================================================================
      HERO SECTION (Floating Geometrics & Meshes)
      ========================================================================== */
.hero {
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   padding-top: 5rem;
   overflow: hidden;
   text-align: center;
}

/* Gradient Mesh Background */
.mesh-bg {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: 0;
   pointer-events: none;
}

.mesh-blob {
   position: absolute;
   border-radius: 50%;
   filter: blur(120px);
   opacity: 0.4;
   animation: blobDash 20s infinite alternate;
}

.blob-1 {
   width: 600px;
   height: 600px;
   background: var(--brand-indigo);
   top: -20%;
   left: -10%;
}

.blob-2 {
   width: 500px;
   height: 500px;
   background: var(--brand-orange);
   bottom: -10%;
   right: -10%;
   animation-delay: -5s;
}

.blob-3 {
   width: 400px;
   height: 400px;
   background: var(--brand-pink);
   top: 40%;
   left: 40%;
   animation-delay: -10s;
}

@keyframes blobDash {
   0% {
      transform: translate(0, 0) scale(1);
   }

   100% {
      transform: translate(100px, -50px) scale(1.2);
   }
}

.hero-content {
   max-width: 900px;
   margin: 0 auto;
   position: relative;
   z-index: 2;
}

.hero-content h1 {
   margin-bottom: 1.5rem;
}

.hero-content p {
   font-size: 1.25rem;
   color: var(--text-muted);
   margin-bottom: 3rem;
}

.hero-actions {
   display: flex;
   justify-content: center;
   gap: 1.5rem;
}

/* Floating UI Elements */
.float-ui {
   position: absolute;
   background: var(--bg-glass);
   backdrop-filter: blur(15px);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: var(--radius-lg);
   padding: 1.5rem;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
   z-index: 1;
   animation: floatObj 6s infinite ease-in-out alternate;
}

.float-1 {
   top: 20%;
   left: 5%;
   transform: rotate(-5deg);
}

.float-2 {
   bottom: 15%;
   right: 5%;
   animation-delay: -3s;
}

@keyframes floatObj {
   0% {
      transform: translateY(0px) rotate(0deg);
   }

   100% {
      transform: translateY(-20px) rotate(5deg);
   }
}

/* ==========================================================================
      TICKER SECTION
      ========================================================================== */
.ticker-sec {
   padding: 2rem 0;
   border-top: 1px solid rgba(255, 255, 255, 0.05);
   border-bottom: 1px solid rgba(255, 255, 255, 0.05);
   overflow: hidden;
   background: rgba(0, 0, 0, 0.2);
}

.ticker-track {
   display: flex;
   width: max-content;
   animation: tickScroll 30s linear infinite;
}

.ticker-item {
   font-family: var(--font-display);
   font-size: 2rem;
   font-weight: 700;
   color: transparent;
   -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
   padding: 0 3rem;
   text-transform: uppercase;
}

.ticker-item span {
   -webkit-text-stroke: 0;
   color: var(--brand-orange);
}

@keyframes tickScroll {
   to {
      transform: translateX(-50%);
   }
}

/* ==========================================================================
      ABOUT SECTION
      ========================================================================== */
.about-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 4rem;
   align-items: center;
}

.about-visual {
   position: relative;
   height: 500px;
   border-radius: var(--radius-xl);
   overflow: hidden;
   background: var(--bg-card);
   border: 1px solid rgba(255, 255, 255, 0.05);
   display: flex;
   align-items: center;
   justify-content: center;
}

/* ==========================================================================
      SERVICES (SPOTLIGHT CARDS)
      ========================================================================== */
.service-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
   margin-top: 4rem;
}

#cards-container:hover .spotlight-card::after {
   opacity: 1;
}

.spotlight-card {
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid rgba(255, 255, 255, 0.05);
   border-radius: var(--radius-lg);
   padding: 3rem 2rem;
   position: relative;
   overflow: hidden;
   display: flex;
   flex-direction: column;
   cursor: pointer;
}

.spotlight-card::before,
.spotlight-card::after {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   height: 100%;
   width: 100%;
   border-radius: inherit;
   opacity: 0;
   transition: opacity 500ms;
   pointer-events: none;
}

/* The glow behind the content */
.spotlight-card::before {
   background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 94, 0, 0.06), transparent 40%);
   z-index: 1;
   opacity: 1;
}

/* The glow border */
.spotlight-card::after {
   background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.4), transparent 40%);
   z-index: 0;
}

.card-content {
   background: var(--bg-card);
   border-radius: inherit;
   inset: 1px;
   position: absolute;
   z-index: 2;
   padding: 3rem 2rem;
   display: flex;
   flex-direction: column;
}

.card-icon {
   width: 60px;
   height: 60px;
   background: rgba(109, 40, 217, 0.1);
   border-radius: var(--radius-md);
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 2rem;
   font-size: 2rem;
   color: var(--brand-orange);
}

.card-title {
   font-size: 1.5rem;
   margin-bottom: 1rem;
   color: #fff;
}

.card-desc {
   color: var(--text-muted);
   line-height: 1.6;
}

/* ==========================================================================
      ROI CALCULATOR (NEO-MORPHIC)
      ========================================================================== */
.roi-sec {
   position: relative;
   overflow: hidden;
}

.roi-box {
   background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
   border: 1px solid rgba(255, 255, 255, 0.05);
   border-radius: var(--radius-xl);
   padding: 4rem;
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 4rem;
   box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
   backdrop-filter: blur(20px);
}

.slider-group {
   margin-bottom: 3rem;
}

.slider-header {
   display: flex;
   justify-content: space-between;
   margin-bottom: 1rem;
   font-family: var(--font-display);
   font-size: 1.25rem;
}

.neo-slider {
   -webkit-appearance: none;
   width: 100%;
   height: 8px;
   background: rgba(255, 255, 255, 0.1);
   border-radius: 10px;
   outline: none;
}

.neo-slider::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 24px;
   height: 24px;
   background: #fff;
   border: 4px solid var(--brand-orange);
   border-radius: 50%;
   cursor: pointer;
   box-shadow: 0 0 20px var(--brand-orange-glow);
}

.roi-results {
   display: flex;
   flex-direction: column;
   gap: 1.5rem;
   justify-content: center;
}

.res-card {
   background: rgba(0, 0, 0, 0.3);
   border: 1px solid rgba(255, 255, 255, 0.05);
   border-radius: var(--radius-md);
   padding: 2rem;
   text-align: center;
}

.res-label {
   text-transform: uppercase;
   letter-spacing: 1px;
   color: var(--text-muted);
   font-size: 0.85rem;
   margin-bottom: 0.5rem;
}

.res-value {
   font-family: var(--font-display);
   font-size: 3rem;
   font-weight: 700;
   color: #fff;
}

/* ==========================================================================
      ANALYTICS / REPORTS (SVG Morphing)
      ========================================================================== */
.analytics-grid {
   display: grid;
   grid-template-columns: 1fr 2fr;
   gap: 4rem;
   align-items: center;
}

.chart-frame {
   background: var(--bg-card);
   border: 1px solid rgba(255, 255, 255, 0.05);
   border-radius: var(--radius-lg);
   padding: 2rem;
   position: relative;
}

/* Bar Chart Animation via CSS */
.bar-chart {
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   height: 200px;
   margin-top: 2rem;
   gap: 10px;
}

.bar {
   flex: 1;
   background: linear-gradient(180deg, var(--brand-indigo), transparent);
   border-radius: 4px 4px 0 0;
   transform-origin: bottom;
   transform: scaleY(0);
   transition: transform 1.5s var(--transition-snappy);
}

.bar.fill {
   transform: scaleY(var(--h));
}

/* ==========================================================================
      INDUSTRIES (TABS)
      ========================================================================== */
.tab-nav {
   display: flex;
   justify-content: center;
   gap: 1rem;
   margin-bottom: 4rem;
   flex-wrap: wrap;
}

.tab-btn {
   padding: 1rem 2rem;
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 100px;
   color: #fff;
   font-family: var(--font-body);
   cursor: pointer;
   transition: 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
   background: var(--brand-indigo);
   border-color: var(--brand-indigo);
}

.tab-pane {
   display: none;
   animation: fadeSlide 0.5s ease-out forwards;
}

.tab-pane.active {
   display: block;
}

@keyframes fadeSlide {
   from {
      opacity: 0;
      transform: translateY(20px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

.ind-card {
   background: var(--bg-card);
   border: 1px solid rgba(255, 255, 255, 0.05);
   border-radius: var(--radius-lg);
   padding: 4rem;
   text-align: center;
}

/* ==========================================================================
      TESTIMONIALS (Stack)
      ========================================================================== */
.testi-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 2rem;
}

.testi-card {
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid rgba(255, 255, 255, 0.05);
   border-radius: var(--radius-lg);
   padding: 3rem;
   position: relative;
}

.quote-icon {
   font-family: var(--font-display);
   font-size: 5rem;
   color: rgba(255, 255, 255, 0.05);
   position: absolute;
   top: 1rem;
   left: 1rem;
   line-height: 1;
}

.client-info {
   display: flex;
   align-items: center;
   gap: 1rem;
   margin-top: 2rem;
}

.client-img {
   width: 50px;
   height: 50px;
   border-radius: 50%;
   background: var(--brand-orange);
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: bold;
}

/* ==========================================================================
      CONTACT / CTA
      ========================================================================== */
.cta-wrap {
   background: radial-gradient(circle at right center, rgba(109, 40, 217, 0.2), transparent 50%), var(--bg-card);
   border: 1px solid rgba(255, 255, 255, 0.05);
   border-radius: var(--radius-xl);
   padding: 5rem;
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 4rem;
   align-items: center;
}

.neo-input {
   width: 100%;
   padding: 1.25rem 1.5rem;
   margin-bottom: 1.5rem;
   background: rgba(0, 0, 0, 0.3);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: var(--radius-md);
   color: #fff;
   font-family: var(--font-body);
   outline: none;
   transition: 0.3s;
}

.neo-input:focus {
   border-color: var(--brand-orange);
   box-shadow: 0 0 15px rgba(255, 94, 0, 0.2);
}

textarea.neo-input {
   height: 150px;
   resize: none;
}

/* ==========================================================================
      FOOTER (STRICT CONSISTENCY)
      ========================================================================== */
.site-footer {
   border-top: 1px solid rgba(255, 255, 255, 0.05);
   padding: 6rem 0 2rem;
   background: #020205;
}

.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1.5fr;
   gap: 4rem;
   margin-bottom: 4rem;
}

.footer-brand .site-logo {
   margin-bottom: 1.5rem;
}

.footer-brand p {
   color: var(--text-muted);
   max-width: 300px;
}

.footer-title {
   font-family: var(--font-display);
   font-size: 1.25rem;
   margin-bottom: 1.5rem;
   color: #fff;
}

.footer-links {
   list-style: none;
}

.footer-links li {
   margin-bottom: 0.75rem;
}

.footer-links a,
.footer-links span {
   color: var(--text-muted);
   text-decoration: none;
   transition: 0.3s;
}

.footer-links a:hover {
   color: var(--brand-orange);
   padding-left: 5px;
}

.footer-bottom {
   border-top: 1px solid rgba(255, 255, 255, 0.05);
   padding-top: 2rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
   color: var(--text-muted);
   font-size: 0.9rem;
}

.legal-links {
   display: flex;
   gap: 1.5rem;
}

.legal-links a {
   color: var(--text-muted);
   text-decoration: none;
}

.legal-links a:hover {
   color: var(--brand-orange);
}

/* ==========================================================================
      LIVE CHAT
      ========================================================================== */
.chat-widget {
   position: fixed;
   bottom: 2rem;
   right: 2rem;
   z-index: 9999;
}

.chat-toggle {
   width: 60px;
   height: 60px;
   background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink));
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   box-shadow: 0 10px 20px var(--brand-orange-glow);
   transition: 0.3s;
}

.chat-toggle:hover {
   transform: scale(1.1);
}

.chat-toggle svg {
   width: 30px;
   height: 30px;
   fill: #fff;
}

/* ==========================================================================
      LEGAL PAGES
      ========================================================================== */
.page-hero {
   padding: 12rem 0 6rem;
   text-align: center;
   background: radial-gradient(circle at top center, rgba(109, 40, 217, 0.2), transparent 70%);
   border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content {
   max-width: 800px;
   margin: 0 auto;
   padding: 5rem 0;
}

.legal-content h2 {
   color: var(--brand-orange);
   margin: 3rem 0 1rem;
   font-size: 1.75rem;
}

.legal-content p {
   color: var(--text-muted);
   margin-bottom: 1.5rem;
   font-size: 1.1rem;
}

/* ==========================================================================
      ANIMATION UTILITIES
      ========================================================================== */
.reveal {
   opacity: 0;
   transform: translateY(40px);
   transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal.active {
   opacity: 1;
   transform: translateY(0);
}

.scale-in {
   opacity: 0;
   transform: scale(0.9);
   transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.scale-in.active {
   opacity: 1;
   transform: scale(1);
}

/* ==========================================================================
      MEDIA QUERIES
      ========================================================================== */
@media (max-width: 1024px) {
   .service-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .roi-box,
   .cta-wrap {
      grid-template-columns: 1fr;
      padding: 3rem;
   }

   .analytics-grid,
   .about-grid {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 768px) {
   .main-nav {
      display: none;
   }

   .mobile-toggle {
      display: flex;
   }

   .site-header {
      width: 100%;
      top: 0;
      border-radius: 0;
      padding: 0 1rem;
   }

   .footer-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
   }

   .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
   }

   .service-grid {
      grid-template-columns: 1fr;
   }

   .hero-content h1 {
      font-size: 3rem;
   }
}