/* styles.css */
:root {
   --bg-dark: #070b19;
   --bg-card: #111827;
   --bg-light: #ffffff;
   --bg-section: #f4f7f9;
   --primary: #00e5ff;
   --primary-dark: #00b3cc;
   --secondary: #3b82f6;
   --text-main: #e2e8f0;
   --text-muted: #94a3b8;
   --text-dark: #0f172a;
   --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
   --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.3);
   --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
   --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   font-size: 16px;
}

body {
   font-family: var(--font-main);
   background-color: var(--bg-dark);
   color: var(--text-main);
   overflow-x: hidden;
   line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
   width: 10px;
}

::-webkit-scrollbar-track {
   background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
   background: var(--secondary);
   border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
   background: var(--primary);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
   font-weight: 700;
   line-height: 1.2;
   margin-bottom: 1rem;
   color: #fff;
}

p {
   margin-bottom: 1rem;
   color: var(--text-muted);
}

a {
   text-decoration: none;
   color: inherit;
   transition: var(--transition);
}

ul {
   list-style: none;
}

/* =========================================
   STRICT HEADER / FOOTER
========================================= */
header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   background: rgba(7, 11, 25, 0.95);
   backdrop-filter: blur(10px);
   z-index: 1000;
   border-bottom: 1px solid rgba(255, 255, 255, 0.05);
   transition: var(--transition);
}

.header-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   max-width: 1400px;
   margin: 0 auto;
   padding: 1rem 2rem;
}

.logo img {
   height: 50px;
   filter: invert(1);
}

.nav-links {
   display: flex;
   gap: 2rem;
}

.nav-links a {
   font-size: 1rem;
   font-weight: 500;
   color: #e2e8f0;
   position: relative;
   padding: 0.5rem 0;
}

.nav-links a::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 0;
   height: 2px;
   background: var(--primary);
   transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
   width: 100%;
}

.nav-links a:hover {
   color: var(--primary);
}

.btn-cta {
   background: linear-gradient(45deg, var(--secondary), var(--primary));
   color: #fff;
   padding: 0.7rem 1.8rem;
   border-radius: 50px;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 1px;
   box-shadow: var(--shadow-glow);
   border: none;
   cursor: pointer;
   transition: var(--transition);
}

.btn-cta:hover {
   transform: translateY(-3px);
   box-shadow: 0 10px 25px rgba(0, 229, 255, 0.5);
}

.mobile-toggle {
   display: none;
   font-size: 2rem;
   color: #fff;
   cursor: pointer;
}

footer {
   background: #040710;
   border-top: 1px solid rgba(255, 255, 255, 0.05);
   padding: 5rem 2rem 2rem;
   position: relative;
   overflow: hidden;
}

.footer-container {
   max-width: 1400px;
   margin: 0 auto;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 3rem;
   position: relative;
   z-index: 2;
}

.footer-col h3 {
   font-size: 1.3rem;
   margin-bottom: 1.5rem;
   color: var(--primary);
   position: relative;
   display: inline-block;
}

.footer-col h3::after {
   content: '';
   position: absolute;
   left: 0;
   bottom: -5px;
   width: 50%;
   height: 2px;
   background: var(--secondary);
}

.footer-col p {
   font-size: 0.95rem;
}

.footer-links li {
   margin-bottom: 0.8rem;
}

.footer-links a:hover {
   color: var(--primary);
   padding-left: 5px;
}

.footer-bottom {
   text-align: center;
   margin-top: 4rem;
   padding-top: 2rem;
   border-top: 1px solid rgba(255, 255, 255, 0.05);
   font-size: 0.9rem;
   color: var(--text-muted);
}

/* =========================================
   SECTION LAYOUTS & CONTAINERS
========================================= */
section {
   padding: 6rem 2rem;
   position: relative;
   z-index: 1;
}

.container {
   max-width: 1400px;
   margin: 0 auto;
}

.section-header {
   text-align: center;
   margin-bottom: 4rem;
}

.section-header h2 {
   font-size: 2.8rem;
   background: linear-gradient(to right, #fff, var(--primary));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.section-header p {
   max-width: 600px;
   margin: 0 auto;
   font-size: 1.1rem;
}

/* =========================================
   INDEX: HERO & 3D ANIMATIONS
========================================= */
.hero {
   min-height: 100vh;
   display: flex;
   align-items: center;
   padding-top: 80px;
   overflow: hidden;
   background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%);
}

.hero-content {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 4rem;
   align-items: center;
}

.hero-text h1 {
   font-size: 4rem;
   line-height: 1.1;
   margin-bottom: 1.5rem;
}

.hero-text h1 span {
   color: var(--primary);
   display: block;
}

.hero-text p {
   font-size: 1.2rem;
   margin-bottom: 2.5rem;
   max-width: 90%;
}

.hero-btns {
   display: flex;
   gap: 1rem;
}

.btn-outline {
   background: transparent;
   border: 2px solid var(--primary);
   color: var(--primary);
   padding: 0.7rem 1.8rem;
   border-radius: 50px;
   font-weight: 600;
   text-transform: uppercase;
   cursor: pointer;
   transition: var(--transition);
}

.btn-outline:hover {
   background: var(--primary);
   color: var(--bg-dark);
}

/* 3D Hero Graphic */
.hero-3d-wrapper {
   perspective: 1200px;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 500px;
}

.cube-container {
   width: 200px;
   height: 200px;
   position: relative;
   transform-style: preserve-3d;
   animation: rotateCube 15s infinite linear;
}

.cube-face {
   position: absolute;
   width: 200px;
   height: 200px;
   background: rgba(0, 229, 255, 0.1);
   border: 2px solid var(--primary);
   display: flex;
   justify-content: center;
   align-items: center;
   font-size: 1.5rem;
   font-weight: bold;
   color: #fff;
   box-shadow: inset 0 0 30px rgba(0, 229, 255, 0.2);
   backdrop-filter: blur(5px);
}

.face-front {
   transform: translateZ(100px);
}

.face-back {
   transform: rotateY(180deg) translateZ(100px);
}

.face-right {
   transform: rotateY(90deg) translateZ(100px);
}

.face-left {
   transform: rotateY(-90deg) translateZ(100px);
}

.face-top {
   transform: rotateX(90deg) translateZ(100px);
}

.face-bottom {
   transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotateCube {
   0% {
      transform: rotateX(0deg) rotateY(0deg);
   }

   100% {
      transform: rotateX(360deg) rotateY(360deg);
   }
}

/* Floating Elements */
.float-el {
   position: absolute;
   border-radius: 50%;
   background: var(--secondary);
   filter: blur(60px);
   opacity: 0.3;
   z-index: -1;
   animation: float 10s infinite ease-in-out alternate;
}

.el-1 {
   width: 300px;
   height: 300px;
   top: 10%;
   left: -100px;
}

.el-2 {
   width: 400px;
   height: 400px;
   bottom: -100px;
   right: -50px;
   background: var(--primary);
   animation-delay: -5s;
}

@keyframes float {
   0% {
      transform: translate(0, 0) scale(1);
   }

   100% {
      transform: translate(50px, 50px) scale(1.1);
   }
}

/* =========================================
   INDEX: SERVICES (HOVER 3D CARDS)
========================================= */
.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 2rem;
}

.service-card {
   background: var(--bg-card);
   padding: 3rem 2rem;
   border-radius: 20px;
   text-align: center;
   border: 1px solid rgba(255, 255, 255, 0.05);
   transition: var(--transition);
   position: relative;
   overflow: hidden;
   z-index: 1;
   cursor: pointer;
   transform-style: preserve-3d;
}

.service-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, transparent 100%);
   opacity: 0;
   transition: var(--transition);
   z-index: -1;
}

.service-card:hover {
   transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
   box-shadow: -10px 15px 30px rgba(0, 0, 0, 0.6);
   border-color: rgba(0, 229, 255, 0.3);
}

.service-card:hover::before {
   opacity: 1;
}

.service-icon {
   width: 80px;
   height: 80px;
   margin: 0 auto 1.5rem;
   background: rgba(59, 130, 246, 0.1);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   color: var(--primary);
   transition: var(--transition);
}

.service-card:hover .service-icon {
   transform: scale(1.1) translateZ(20px);
   background: var(--primary);
   color: var(--bg-dark);
}

.service-card h3 {
   font-size: 1.5rem;
   margin-bottom: 1rem;
   transition: transform 0.3s;
}

.service-card:hover h3 {
   transform: translateZ(30px);
   color: var(--primary);
}

/* =========================================
   INDEX: INTERACTIVE CAMPAIGN REPORTS
========================================= */
.reports-section {
   background: #0b1120;
   border-top: 1px solid rgba(255, 255, 255, 0.05);
   border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.reports-container {
   display: flex;
   gap: 3rem;
   background: var(--bg-card);
   border-radius: 20px;
   overflow: hidden;
   box-shadow: var(--shadow-card);
}

.reports-tabs {
   width: 300px;
   background: rgba(0, 0, 0, 0.2);
   display: flex;
   flex-direction: column;
}

.tab-btn {
   padding: 1.5rem;
   text-align: left;
   background: transparent;
   border: none;
   border-left: 4px solid transparent;
   color: var(--text-muted);
   font-size: 1.1rem;
   font-weight: 600;
   cursor: pointer;
   transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
   background: rgba(255, 255, 255, 0.05);
   border-left-color: var(--primary);
   color: #fff;
}

.reports-content {
   flex: 1;
   padding: 3rem;
   position: relative;
}

.report-panel {
   display: none;
   animation: fadeIn 0.5s ease;
}

.report-panel.active {
   display: block;
}

/* Pure CSS Bar Chart */
.chart-container {
   height: 250px;
   display: flex;
   align-items: flex-end;
   gap: 20px;
   margin-top: 2rem;
   border-bottom: 2px solid rgba(255, 255, 255, 0.1);
   padding-bottom: 10px;
}

.chart-bar {
   flex: 1;
   background: linear-gradient(to top, var(--secondary), var(--primary));
   border-radius: 5px 5px 0 0;
   position: relative;
   transition: height 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   opacity: 0;
   animation: growBar 1s forwards;
}

.chart-bar:nth-child(1) {
   animation-delay: 0.1s;
}

.chart-bar:nth-child(2) {
   animation-delay: 0.2s;
}

.chart-bar:nth-child(3) {
   animation-delay: 0.3s;
}

.chart-bar:nth-child(4) {
   animation-delay: 0.4s;
}

.chart-bar:nth-child(5) {
   animation-delay: 0.5s;
}

.chart-bar::after {
   content: attr(data-val);
   position: absolute;
   top: -25px;
   left: 50%;
   transform: translateX(-50%);
   color: #fff;
   font-size: 0.85rem;
   font-weight: bold;
}

@keyframes growBar {
   from {
      height: 0;
      opacity: 0;
   }

   to {
      opacity: 1;
   }
}

/* =========================================
   INDEX: INDUSTRIES (GRID & HOVER)
========================================= */
.industry-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 1.5rem;
}

.industry-item {
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid rgba(255, 255, 255, 0.05);
   padding: 2rem 1rem;
   text-align: center;
   border-radius: 15px;
   transition: var(--transition);
   cursor: crosshair;
}

.industry-item:hover {
   background: rgba(0, 229, 255, 0.05);
   border-color: var(--primary);
   transform: scale(1.05);
}

.industry-item svg {
   width: 50px;
   height: 50px;
   fill: var(--text-muted);
   margin-bottom: 1rem;
   transition: var(--transition);
}

.industry-item:hover svg {
   fill: var(--primary);
}

.industry-item h4 {
   margin: 0;
   font-size: 1.1rem;
}

/* =========================================
   INDEX: TESTIMONIALS
========================================= */
.testimonials {
   background: var(--bg-dark);
}

.test-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   gap: 2rem;
}

.test-card {
   background: var(--bg-card);
   padding: 2.5rem;
   border-radius: 15px;
   position: relative;
   border-top: 4px solid var(--secondary);
}

.test-card::before {
   content: '"';
   position: absolute;
   top: 10px;
   right: 20px;
   font-size: 5rem;
   color: rgba(255, 255, 255, 0.05);
   font-family: serif;
   line-height: 1;
}

.test-text {
   font-style: italic;
   margin-bottom: 2rem;
   font-size: 1.05rem;
}

.test-author {
   display: flex;
   align-items: center;
   gap: 1rem;
}

.test-avatar {
   width: 50px;
   height: 50px;
   background: #fff;
   border-radius: 50%;
   background-image: linear-gradient(45deg, var(--primary), var(--secondary));
   display: flex;
   justify-content: center;
   align-items: center;
   color: #fff;
   font-weight: bold;
   font-size: 1.2rem;
}

/* =========================================
   FORMS & CONTACT PAGES
========================================= */
.contact-wrapper {
   display: grid;
   grid-template-columns: 1fr 1.5fr;
   gap: 4rem;
   background: var(--bg-card);
   padding: 4rem;
   border-radius: 20px;
   border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-list {
   margin-top: 2rem;
}

.contact-info-list li {
   display: flex;
   align-items: center;
   gap: 1rem;
   margin-bottom: 1.5rem;
   font-size: 1.1rem;
}

.contact-info-list i {
   background: rgba(0, 229, 255, 0.1);
   padding: 15px;
   border-radius: 50%;
   color: var(--primary);
}

.form-group {
   margin-bottom: 1.5rem;
   position: relative;
}

.form-group input,
.form-group textarea {
   width: 100%;
   background: rgba(0, 0, 0, 0.3);
   border: 1px solid rgba(255, 255, 255, 0.1);
   color: #fff;
   padding: 1rem 1.5rem;
   border-radius: 8px;
   font-family: inherit;
   font-size: 1rem;
   transition: var(--transition);
}

.form-group textarea {
   resize: vertical;
   min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
   outline: none;
   border-color: var(--primary);
   box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.form-group label {
   position: absolute;
   left: 1.5rem;
   top: 1rem;
   color: var(--text-muted);
   transition: var(--transition);
   pointer-events: none;
}

.form-group input:focus~label,
.form-group input:valid~label,
.form-group textarea:focus~label,
.form-group textarea:valid~label {
   top: -10px;
   left: 1rem;
   font-size: 0.8rem;
   background: var(--bg-card);
   padding: 0 5px;
   color: var(--primary);
}

/* =========================================
   LEGAL PAGES (Privacy, Terms, Disclaimer)
========================================= */
.legal-hero {
   padding-top: 150px;
   padding-bottom: 3rem;
   background: linear-gradient(to bottom, #0b1120, var(--bg-dark));
   text-align: center;
   border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-hero h1 {
   font-size: 3.5rem;
   color: var(--primary);
}

.legal-content-section {
   padding: 4rem 2rem;
   max-width: 1000px;
   margin: 0 auto;
   background: var(--bg-card);
   border-radius: 15px;
   margin-bottom: 5rem;
   border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content-section h2 {
   margin-top: 2.5rem;
   margin-bottom: 1rem;
   color: var(--secondary);
   font-size: 1.8rem;
   border-bottom: 1px solid rgba(255, 255, 255, 0.05);
   padding-bottom: 0.5rem;
}

.legal-content-section p {
   margin-bottom: 1.2rem;
   font-size: 1.05rem;
   color: #cbd5e1;
}

.legal-content-section ul {
   margin-left: 1.5rem;
   margin-bottom: 1.5rem;
}

.legal-content-section ul li {
   margin-bottom: 0.5rem;
   list-style-type: disc;
   color: #cbd5e1;
}

/* =========================================
   ANIMATIONS & UTILITIES
========================================= */
.fade-up {
   opacity: 0;
   transform: translateY(40px);
   transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
   opacity: 1;
   transform: translateY(0);
}

@keyframes fadeIn {
   from {
      opacity: 0;
   }

   to {
      opacity: 1;
   }
}

/* =========================================
   RESPONSIVE QUERIES
========================================= */
@media (max-width: 1024px) {
   .hero-content {
      grid-template-columns: 1fr;
      text-align: center;
   }

   .hero-text p {
      margin: 0 auto 2.5rem;
   }

   .hero-btns {
      justify-content: center;
   }

   .hero-3d-wrapper {
      height: 400px;
      margin-top: 3rem;
   }

   .reports-container {
      flex-direction: column;
   }

   .reports-tabs {
      width: 100%;
      flex-direction: row;
      overflow-x: auto;
   }

   .tab-btn {
      border-left: none;
      border-bottom: 4px solid transparent;
      flex: 1;
      text-align: center;
   }

   .tab-btn.active,
   .tab-btn:hover {
      border-bottom-color: var(--primary);
   }

   .contact-wrapper {
      grid-template-columns: 1fr;
      padding: 2rem;
   }
}

@media (max-width: 768px) {
   .nav-links {
      position: fixed;
      top: 70px;
      right: -100%;
      flex-direction: column;
      background: var(--bg-card);
      width: 100%;
      text-align: center;
      padding: 2rem 0;
      gap: 1.5rem;
      transition: var(--transition);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
   }

   .nav-links.active {
      right: 0;
   }

   .mobile-toggle {
      display: block;
   }

   .btn-cta {
      display: none;
   }

   .section-header h2 {
      font-size: 2.2rem;
   }

   .hero-text h1 {
      font-size: 2.8rem;
   }
}