/* ==========================================================================
   AWWWARDS-LEVEL DIGITAL MARKETING AGENCY STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
   /* Color Palette */
   --bg-dark: #050507;
   --bg-surface: #121216;
   --bg-surface-light: #1c1c21;
   --primary: #4A00E0;
   --secondary: #8E2DE2;
   --accent-cyan: #00E5FF;
   --text-main: #FFFFFF;
   --text-muted: #A0A0B0;
   --border-color: rgba(255, 255, 255, 0.08);

   /* Typography */
   --font-heading: 'Syne', sans-serif;
   --font-body: 'Inter', sans-serif;

   /* Spacing & Sizes */
   --section-pad: 120px 5%;
   --header-height: 90px;
   --radius-sm: 8px;
   --radius-md: 16px;
   --radius-lg: 32px;

   /* Animations */
   --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
   --transition-med: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
   --transition-fast: 0.3s ease;
}

/* ==========================================================================
   RESET & GLOBAL
   ========================================================================== */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   font-size: 16px;
}

body {
   background-color: var(--bg-dark);
   color: var(--text-main);
   font-family: var(--font-body);
   line-height: 1.6;
   overflow-x: hidden;
}

::selection {
   background: var(--primary);
   color: var(--text-main);
}

/* Background Grain Effect */
body::before {
   content: "";
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   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.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
   opacity: 0.03;
   pointer-events: none;
   z-index: 9999;
}

h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: var(--font-heading);
   font-weight: 700;
   line-height: 1.1;
   letter-spacing: -0.02em;
}

a {
   text-decoration: none;
   color: inherit;
}

ul {
   list-style: none;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
   position: fixed;
   top: 0;
   left: 0;
   transform: translate(-50%, -50%);
   border-radius: 50%;
   z-index: 10000;
   pointer-events: none;
}

.cursor-dot {
   width: 8px;
   height: 8px;
   background-color: var(--accent-cyan);
}

.cursor-outline {
   width: 40px;
   height: 40px;
   border: 1px solid rgba(0, 229, 255, 0.5);
   transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-hover .cursor-outline {
   width: 80px;
   height: 80px;
   background-color: rgba(0, 229, 255, 0.1);
   border-color: transparent;
}

/* ==========================================================================
   HEADER (STRICTLY CONSISTENT)
   ========================================================================== */
.site-header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: var(--header-height);
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 0 5%;
   z-index: 1000;
   transition: var(--transition-med);
   background: rgba(5, 5, 7, 0.0);
   backdrop-filter: blur(0px);
   border-bottom: 1px solid transparent;
}

.site-header.scrolled {
   background: rgba(5, 5, 7, 0.8);
   backdrop-filter: blur(12px);
   border-bottom: 1px solid var(--border-color);
   height: 70px;
}

.header__logo img {
   height: 100px;
   object-fit: contain;
   filter: brightness(0) invert(1);
}

.header__nav ul {
   display: flex;
   gap: 40px;
}

.header__nav a {
   font-size: 0.9rem;
   font-weight: 500;
   text-transform: uppercase;
   letter-spacing: 0.05em;
   position: relative;
   padding: 10px 0;
}

.header__nav a::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 0%;
   height: 2px;
   background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
   transition: var(--transition-fast);
}

.header__nav a:hover::after {
   width: 100%;
}

.header__cta .btn {
   background: linear-gradient(45deg, var(--primary), var(--secondary));
   color: #fff;
   padding: 14px 28px;
   border-radius: 30px;
   font-weight: 600;
   font-size: 0.9rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   position: relative;
   overflow: hidden;
   display: inline-block;
   border: none;
}

.header__cta .btn::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
   transition: 0.5s;
}

.header__cta .btn:hover::before {
   left: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
   height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   padding: 0 5%;
   overflow: hidden;
}

.hero__glow {
   position: absolute;
   width: 600px;
   height: 600px;
   background: radial-gradient(circle, rgba(74, 0, 224, 0.3) 0%, rgba(5, 5, 7, 0) 70%);
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   z-index: 0;
   animation: pulseGlow 8s infinite alternate;
}

.hero__content {
   position: relative;
   z-index: 1;
   text-align: center;
   max-width: 1000px;
}

.hero__badge {
   display: inline-block;
   padding: 8px 16px;
   border: 1px solid rgba(0, 229, 255, 0.3);
   border-radius: 20px;
   font-size: 0.8rem;
   color: var(--accent-cyan);
   margin-bottom: 20px;
   text-transform: uppercase;
   letter-spacing: 2px;
   background: rgba(0, 229, 255, 0.05);
}

.hero__title {
   font-size: 5.5rem;
   margin-bottom: 20px;
   background: linear-gradient(to right, #ffffff, #a0a0a0);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.hero__title span {
   background: linear-gradient(to right, var(--primary), var(--accent-cyan));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.hero__desc {
   font-size: 1.2rem;
   color: var(--text-muted);
   max-width: 600px;
   margin: 0 auto 40px auto;
}

/* 3D Floating Elements */
.hero__shapes {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   pointer-events: none;
   z-index: 0;
   perspective: 1000px;
}

.shape {
   position: absolute;
   background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
   backdrop-filter: blur(10px);
   border: 1px solid rgba(255, 255, 255, 0.05);
   border-radius: 20px;
}

.shape-1 {
   width: 100px;
   height: 100px;
   top: 20%;
   left: 15%;
   animation: float3D 6s infinite ease-in-out;
}

.shape-2 {
   width: 150px;
   height: 150px;
   border-radius: 50%;
   top: 60%;
   right: 10%;
   animation: float3D 8s infinite ease-in-out reverse;
}

/* ==========================================================================
   MARQUEE SECTION
   ========================================================================== */
.marquee-sec {
   padding: 30px 0;
   background: var(--bg-surface);
   border-top: 1px solid var(--border-color);
   border-bottom: 1px solid var(--border-color);
   overflow: hidden;
   position: relative;
}

.marquee-content {
   display: flex;
   width: max-content;
   animation: scrollMarquee 20s linear infinite;
}

.marquee-item {
   font-family: var(--font-heading);
   font-size: 2rem;
   font-weight: 800;
   color: transparent;
   -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
   margin: 0 40px;
   text-transform: uppercase;
}

.marquee-item span {
   color: var(--accent-cyan);
   -webkit-text-stroke: 0;
}

/* ==========================================================================
   SERVICES (BENTO GRID)
   ========================================================================== */
.services {
   padding: var(--section-pad);
   position: relative;
}

.section-header {
   text-align: center;
   margin-bottom: 80px;
}

.section-title {
   font-size: 3.5rem;
   margin-bottom: 15px;
}

.bento-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   grid-auto-rows: 350px;
   gap: 24px;
}

.bento-item {
   background: var(--bg-surface);
   border: 1px solid var(--border-color);
   border-radius: var(--radius-md);
   padding: 40px;
   position: relative;
   overflow: hidden;
   transition: var(--transition-med);
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   transform-style: preserve-3d;
}

.bento-item:hover {
   border-color: var(--primary);
   transform: translateY(-10px);
   box-shadow: 0 20px 40px rgba(74, 0, 224, 0.2);
}

.bento-item::before {
   content: '';
   position: absolute;
   top: -50%;
   left: -50%;
   width: 200%;
   height: 200%;
   background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
   opacity: 0;
   transition: opacity 0.5s;
   pointer-events: none;
}

.bento-item:hover::before {
   opacity: 1;
}

.bento-item:nth-child(1) {
   grid-column: span 2;
}

.bento-item:nth-child(4) {
   grid-column: span 2;
}

.bento-icon {
   position: absolute;
   top: 40px;
   right: 40px;
   font-size: 3rem;
   color: var(--accent-cyan);
   opacity: 0.5;
   transition: var(--transition-med);
}

.bento-item:hover .bento-icon {
   opacity: 1;
   transform: scale(1.1) translateZ(20px);
}

.bento-content h3 {
   font-size: 2rem;
   margin-bottom: 10px;
}

.bento-content p {
   color: var(--text-muted);
   font-size: 1rem;
}

/* ==========================================================================
   INTERACTIVE CALCULATOR
   ========================================================================== */
.calculator {
   padding: var(--section-pad);
   background: linear-gradient(180deg, var(--bg-dark), var(--bg-surface));
}

.calc-container {
   max-width: 800px;
   margin: 0 auto;
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid var(--border-color);
   border-radius: var(--radius-lg);
   padding: 60px;
   backdrop-filter: blur(20px);
   box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.calc-row {
   margin-bottom: 40px;
}

.calc-row label {
   display: flex;
   justify-content: space-between;
   font-size: 1.2rem;
   font-weight: 600;
   margin-bottom: 15px;
}

.calc-row input[type="range"] {
   width: 100%;
   -webkit-appearance: none;
   height: 6px;
   background: var(--border-color);
   border-radius: 3px;
   outline: none;
}

.calc-row input[type="range"]::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 24px;
   height: 24px;
   border-radius: 50%;
   background: var(--accent-cyan);
   cursor: pointer;
   box-shadow: 0 0 15px var(--accent-cyan);
}

.calc-result {
   text-align: center;
   padding-top: 30px;
   border-top: 1px solid var(--border-color);
}

.calc-result h4 {
   font-size: 1.2rem;
   color: var(--text-muted);
   margin-bottom: 10px;
}

.calc-result .res-value {
   font-size: 4rem;
   font-family: var(--font-heading);
   background: linear-gradient(to right, var(--primary), var(--secondary));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   SAMPLE CAMPAIGN REPORTS (DATA VISUALIZATION)
   ========================================================================== */
.reports {
   padding: var(--section-pad);
}

.chart-mockup {
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   height: 300px;
   padding: 40px;
   background: var(--bg-surface);
   border-radius: var(--radius-md);
   border: 1px solid var(--border-color);
   margin-top: 50px;
}

.chart-bar {
   width: 12%;
   background: linear-gradient(to top, var(--primary), var(--accent-cyan));
   border-radius: 8px 8px 0 0;
   position: relative;
   transform-origin: bottom;
   transform: scaleY(0);
   transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.chart-bar::after {
   content: attr(data-val);
   position: absolute;
   top: -30px;
   left: 50%;
   transform: translateX(-50%);
   font-size: 0.9rem;
   font-weight: 600;
   opacity: 0;
   transition: opacity 0.5s 1s;
}

.reports.in-view .chart-bar {
   transform: scaleY(1);
}

.reports.in-view .chart-bar::after {
   opacity: 1;
}

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industries {
   padding: var(--section-pad);
   background: var(--bg-surface-light);
}

.industry-list {
   display: flex;
   flex-direction: column;
   gap: 20px;
}

.industry-item {
   padding: 30px 40px;
   background: var(--bg-dark);
   border: 1px solid var(--border-color);
   border-radius: var(--radius-sm);
   display: flex;
   justify-content: space-between;
   align-items: center;
   transition: var(--transition-med);
}

.industry-item:hover {
   background: var(--primary);
   transform: translateX(20px);
}

.industry-item h3 {
   font-size: 1.8rem;
}

.industry-item span {
   font-size: 1.2rem;
   opacity: 0.5;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
   padding: var(--section-pad);
   overflow: hidden;
}

.testi-slider {
   display: flex;
   gap: 30px;
   width: max-content;
   animation: scrollTesti 30s linear infinite;
}

.testi-card {
   width: 400px;
   background: var(--bg-surface);
   padding: 40px;
   border-radius: var(--radius-md);
   border: 1px solid var(--border-color);
}

.testi-text {
   font-size: 1.1rem;
   font-style: italic;
   margin-bottom: 20px;
   color: var(--text-muted);
}

.testi-author {
   display: flex;
   align-items: center;
   gap: 15px;
}

.testi-author .avatar {
   width: 50px;
   height: 50px;
   background: var(--primary);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: bold;
}

/* ==========================================================================
   CONTACT / QUOTE FORM
   ========================================================================== */
.contact-sec {
   padding: var(--section-pad);
   position: relative;
}

.contact-wrapper {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 60px;
   background: var(--bg-surface);
   padding: 60px;
   border-radius: var(--radius-lg);
   border: 1px solid var(--border-color);
}

.contact-info h2 {
   font-size: 3rem;
   margin-bottom: 20px;
}

.contact-info p {
   color: var(--text-muted);
   margin-bottom: 40px;
}

.info-block {
   margin-bottom: 20px;
}

.info-block h4 {
   color: var(--accent-cyan);
   margin-bottom: 5px;
}

.form-group {
   position: relative;
   margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
   width: 100%;
   background: transparent;
   border: none;
   border-bottom: 1px solid var(--border-color);
   padding: 15px 0;
   color: var(--text-main);
   font-family: var(--font-body);
   font-size: 1rem;
   outline: none;
   transition: var(--transition-fast);
}

.form-group label {
   position: absolute;
   top: 15px;
   left: 0;
   color: var(--text-muted);
   pointer-events: none;
   transition: var(--transition-fast);
}

.form-group input:focus~label,
.form-group input:valid~label,
.form-group textarea:focus~label,
.form-group textarea:valid~label {
   top: -10px;
   font-size: 0.8rem;
   color: var(--accent-cyan);
}

.form-group input:focus,
.form-group textarea:focus {
   border-bottom-color: var(--accent-cyan);
}

.submit-btn {
   background: var(--text-main);
   color: var(--bg-dark);
   padding: 15px 40px;
   border: none;
   border-radius: 30px;
   font-weight: 700;
   font-size: 1rem;
   width: 100%;
   margin-top: 20px;
   transition: var(--transition-fast);
}

.submit-btn:hover {
   background: var(--accent-cyan);
   transform: translateY(-3px);
   box-shadow: 0 10px 20px rgba(0, 229, 255, 0.2);
}

/* ==========================================================================
   FOOTER (STRICTLY CONSISTENT)
   ========================================================================== */
.site-footer {
   background: var(--bg-dark);
   padding: 100px 5% 30px 5%;
   border-top: 1px solid var(--border-color);
   position: relative;
   overflow: hidden;
}

.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1fr;
   gap: 40px;
   margin-bottom: 80px;
   position: relative;
   z-index: 1;
}

.footer-brand img {
   height: 100px;
   filter: brightness(0) invert(1);
   margin-bottom: 20px;
}

.footer-brand p {
   color: var(--text-muted);
   max-width: 300px;
}

.footer-col h4 {
   font-size: 1.2rem;
   margin-bottom: 20px;
   color: var(--text-main);
}

.footer-col ul li {
   margin-bottom: 12px;
}

.footer-col ul li a {
   color: var(--text-muted);
   transition: var(--transition-fast);
}

.footer-col ul li a:hover {
   color: var(--accent-cyan);
   padding-left: 5px;
}

.footer-huge-text {
   font-size: 12vw;
   font-family: var(--font-heading);
   font-weight: 800;
   line-height: 1;
   text-align: center;
   color: rgba(255, 255, 255, 0.02);
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   pointer-events: none;
}

.footer-bottom {
   display: flex;
   justify-content: space-between;
   align-items: center;
   border-top: 1px solid var(--border-color);
   padding-top: 30px;
   color: var(--text-muted);
   font-size: 0.9rem;
   position: relative;
   z-index: 1;
}

.footer-legal-links {
   display: flex;
   gap: 20px;
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.live-chat-btn {
   position: fixed;
   bottom: 30px;
   right: 30px;
   width: 60px;
   height: 60px;
   background: var(--primary);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 10px 30px rgba(74, 0, 224, 0.4);
   z-index: 9999;
   transition: var(--transition-med);
}

.live-chat-btn:hover {
   transform: scale(1.1);
   background: var(--secondary);
}

.live-chat-btn svg {
   width: 24px;
   height: 24px;
   fill: #fff;
}

.chat-window {
   position: fixed;
   bottom: 100px;
   right: 30px;
   width: 350px;
   height: 450px;
   background: var(--bg-surface);
   border: 1px solid var(--border-color);
   border-radius: var(--radius-md);
   z-index: 9998;
   transform: translateY(20px);
   opacity: 0;
   pointer-events: none;
   transition: var(--transition-med);
   display: flex;
   flex-direction: column;
}

.chat-window.active {
   transform: translateY(0);
   opacity: 1;
   pointer-events: all;
}

.chat-header {
   padding: 20px;
   background: var(--primary);
   border-radius: var(--radius-md) var(--radius-md) 0 0;
   font-weight: 600;
   text-align: center;
}

.chat-body {
   flex: 1;
   padding: 20px;
   background: rgba(0, 0, 0, 0.2);
   overflow-y: auto;
}

.chat-msg {
   background: var(--bg-dark);
   padding: 10px 15px;
   border-radius: 10px;
   margin-bottom: 10px;
   font-size: 0.9rem;
   width: 80%;
}

.chat-input {
   display: flex;
   padding: 15px;
   border-top: 1px solid var(--border-color);
}

.chat-input input {
   flex: 1;
   background: transparent;
   border: none;
   color: #fff;
   outline: none;
}

/* ==========================================================================
   LEGAL PAGES & INNER PAGES STYLES
   ========================================================================== */
.inner-page-header {
   padding: 180px 5% 80px 5%;
   text-align: center;
   background: linear-gradient(180deg, rgba(74, 0, 224, 0.1), transparent);
   border-bottom: 1px solid var(--border-color);
}

.inner-page-header h1 {
   font-size: 4rem;
   margin-bottom: 20px;
}

.legal-content {
   max-width: 900px;
   margin: 0 auto;
   padding: 80px 5%;
}

.legal-content h2 {
   font-size: 2rem;
   margin-top: 40px;
   margin-bottom: 20px;
   color: var(--accent-cyan);
}

.legal-content p {
   margin-bottom: 20px;
   color: var(--text-muted);
   font-size: 1.1rem;
}

/* ==========================================================================
   ANIMATIONS & UTILITIES
   ========================================================================== */
@keyframes pulseGlow {
   0% {
      transform: translate(-50%, -50%) scale(0.8);
      opacity: 0.5;
   }

   100% {
      transform: translate(-50%, -50%) scale(1.2);
      opacity: 0.8;
   }
}

@keyframes float3D {
   0% {
      transform: translateY(0) rotateX(0) rotateY(0);
   }

   50% {
      transform: translateY(-20px) rotateX(10deg) rotateY(20deg);
   }

   100% {
      transform: translateY(0) rotateX(0) rotateY(0);
   }
}

@keyframes scrollMarquee {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

@keyframes scrollTesti {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

.reveal {
   opacity: 0;
   transform: translateY(50px);
   transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
   opacity: 1;
   transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1024px) {
   .bento-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .bento-item:nth-child(1),
   .bento-item:nth-child(4) {
      grid-column: span 1;
   }

   .hero__title {
      font-size: 4rem;
   }
}

@media (max-width: 768px) {
   .header__nav {
      display: none;
   }

   .hero__title {
      font-size: 3rem;
   }

   .bento-grid {
      grid-template-columns: 1fr;
   }

   .contact-wrapper {
      grid-template-columns: 1fr;
   }

   .footer-grid {
      grid-template-columns: 1fr 1fr;
   }

   .calc-row label {
      flex-direction: column;
      gap: 10px;
   }
}