/* ==========================================================================
   Awwwards-Level Digital Marketing Theme v2 - style.css
   ========================================================================== */

/* --- CSS Variables & Theme --- */
:root {
  --color-bg: #050505;
  --color-bg-alt: #111111;
  --color-bg-light: #ffffff;
  --color-text: #f0f0f0;
  --color-text-muted: #888888;
  --color-text-dark: #050505;
  --color-primary: #4F46E5;
  --color-primary-glow: rgba(79, 70, 229, 0.5);
  --color-secondary: #06b6d4;
  --color-accent: #c026d3;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-glass: rgba(20, 20, 20, 0.6);
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  --cursor-size: 20px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

/* Used when mobile menu is open */
::selection {
  background: var(--color-primary);
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: none;
}

button {
  font-family: inherit;
  cursor: none;
  border: none;
  outline: none;
  background: none;
}

ul {
  list-style: none;
}

/* Custom Cursor (Hidden on Mobile) */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--cursor-size);
  height: var(--cursor-size);
  background: var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: difference;
  transition: width 0.3s, height 0.3s, background 0.3s;
}

.custom-cursor.hover {
  width: 60px;
  height: 60px;
  background: #fff;
  mix-blend-mode: difference;
}

@media (max-width: 992px) {
  .custom-cursor {
    display: none !important;
  }

  a,
  button {
    cursor: pointer !important;
  }
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 8vw, 8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  margin-bottom: 2rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Layout & Utilities --- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: 8rem 0;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  box-shadow: 0 10px 30px var(--color-primary-glow);
  transform: translateY(-3px);
}

/* --- 1. Header & Navigation (Identical across all pages) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition-fast);
  backdrop-filter: blur(10px);
  background: rgba(5, 5, 5, 0.8);
  border-bottom: 1px solid var(--color-border);
}

.site-header.scrolled {
  padding: 1rem 0;
  background: rgba(5, 5, 5, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2000;
}

.logo img {
  height: 60px;
  transition: var(--transition-fast);
  filter: invert(1);
  position: relative;
  z-index: 2001;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger Menu Icon */
.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 2001;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 2001;
}

.hamburger .bar {
  width: 30px;
  height: 2px;
  background: #fff;
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--color-primary);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--color-primary);
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.5s ease-in-out;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 2.5rem;
}

.mobile-nav-inner a {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease, color 0.3s;
}

.mobile-nav-inner a:hover {
  color: var(--color-primary);
}

/* Staggered Animation for Mobile Links */
.mobile-nav-overlay.active .mobile-nav-inner a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-overlay.active .mobile-nav-inner a:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-nav-overlay.active .mobile-nav-inner a:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-nav-overlay.active .mobile-nav-inner a:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-nav-overlay.active .mobile-nav-inner a:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-nav-overlay.active .mobile-nav-inner a:nth-child(5) {
  transition-delay: 0.5s;
}

/* Responsive Header logic */
@media (max-width: 992px) {
  .nav-links {
    display: none !important;
  }

  .desktop-btn {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }
}

/* --- 2. Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at center, #1a1a2e 0%, var(--color-bg) 100%);
}

.hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.5;
  filter: blur(80px);
  background: conic-gradient(from 0deg, var(--color-primary), var(--color-secondary), var(--color-accent), var(--color-primary));
  animation: rotateBg 20s linear infinite;
  pointer-events: none;
}

@keyframes rotateBg {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 span {
  display: block;
  overflow: hidden;
}

.hero h1 span i {
  display: block;
  font-style: normal;
  animation: revealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform: translateY(100%);
}

.hero h1 span:nth-child(2) i {
  animation-delay: 0.2s;
}

.hero h1 span:nth-child(3) i {
  animation-delay: 0.4s;
}

@keyframes revealUp {
  100% {
    transform: translateY(0);
  }
}

/* --- 3. Marquee --- */
.marquee-section {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.marquee-item {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2rem;
  text-transform: uppercase;
  margin-right: 4rem;
  -webkit-text-stroke: 1px var(--color-text-muted);
  color: transparent;
  transition: 0.3s;
}

.marquee-item:hover {
  color: var(--color-primary);
  -webkit-text-stroke: 0px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --- 4. Services Section (3D Tilt Cards) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition: border-color 0.3s;
}

.service-card::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;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: var(--color-primary);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  transform: translateZ(30px);
}

.service-card h3 {
  transform: translateZ(40px);
}

.service-card p {
  transform: translateZ(20px);
  font-size: 1rem;
}

/* --- 5. Industry specific --- */
.industries {
  background: var(--color-bg-light);
  color: var(--color-text-dark);
  border-radius: 40px 40px 0 0;
}

.industry-list {
  display: flex;
  flex-direction: column;
}

.industry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: var(--transition-fast);
}

.industry-row:hover {
  padding-left: 2rem;
  padding-right: 2rem;
  background: rgba(0, 0, 0, 0.02);
}

.industry-row h3 {
  margin: 0;
  font-size: 2.5rem;
  color: var(--color-text-dark);
}

.industry-row span {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--color-primary);
}

/* --- 6. ROI Calculator --- */
.calculator-box {
  background: linear-gradient(145deg, var(--color-bg-alt), var(--color-bg));
  border: 1px solid var(--color-border);
  border-radius: 30px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.calc-input {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 8px;
  background: var(--color-border);
  border-radius: 4px;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 0 15px var(--color-primary-glow);
}

.calc-output {
  background: var(--color-bg);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  text-align: center;
}

.calc-result {
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-secondary);
  margin: 1rem 0;
}

/* --- 7. Campaign Reports (Interactive Mockup) --- */
.report-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 1rem 2rem;
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: 30px;
  color: var(--color-text);
  cursor: pointer;
  transition: 0.3s;
  font-family: var(--font-heading);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.report-content {
  background: var(--color-bg-alt);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid var(--color-border);
  display: none;
  animation: fadeIn 0.5s ease;
}

.report-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mock-chart {
  width: 100%;
  height: 200px;
  background: repeating-linear-gradient(0deg, transparent, transparent 39px, var(--color-border) 40px);
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 2%;
  padding-top: 20px;
}

.chart-bar {
  width: 12%;
  background: linear-gradient(0deg, var(--color-primary), var(--color-secondary));
  border-radius: 5px 5px 0 0;
  animation: growUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
  transform-origin: bottom;
}

@keyframes growUp {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

/* --- 8. Testimonials --- */
.testimonial-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding-bottom: 2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.testimonial-wrapper::-webkit-scrollbar {
  display: none;
}

.test-card {
  min-width: 400px;
  background: var(--color-bg-alt);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  scroll-snap-align: start;
}

.stars {
  color: #F59E0B;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.test-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.client-info h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
}

/* --- 9. Global Contact CTA --- */
.contact-cta {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-control {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-text);
  font-size: 1.2rem;
  padding: 1rem 0;
  outline: none;
  transition: 0.3s;
  font-family: var(--font-body);
}

.form-control:focus {
  border-bottom-color: var(--color-primary);
}

.form-label {
  position: absolute;
  top: 1rem;
  left: 0;
  color: var(--color-text-muted);
  transition: 0.3s;
  pointer-events: none;
  font-size: 1.2rem;
}

.form-control:focus~.form-label,
.form-control:valid~.form-label {
  top: -1rem;
  font-size: 0.9rem;
  color: var(--color-primary);
}

/* --- Live Chat Widget --- */
.live-chat-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px var(--color-primary-glow);
  z-index: 1000;
  transition: transform 0.3s;
  cursor: pointer;
}

.live-chat-btn:hover {
  transform: scale(1.1);
}

.chat-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  z-index: 1000;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.chat-window.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: var(--color-primary);
  padding: 1rem;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
}

.chat-body {
  padding: 2rem 1rem;
  height: 250px;
  overflow-y: auto;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.chat-input {
  display: flex;
  border-top: 1px solid var(--color-border);
}

.chat-input input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1rem;
  color: #fff;
  outline: none;
}

.chat-input button {
  padding: 0 1rem;
  color: var(--color-primary);
  font-weight: bold;
}

/* --- 10. Footer (Identical across all pages) --- */
.site-footer {
  background: #000;
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--color-border);
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1.5rem;
  filter: invert(1);
}

.footer-text {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--color-text-muted);
  transition: var(--transition-fast);
  position: relative;
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 2rem;
}

/* --- Legal Pages Specific --- */
.legal-header {
  padding: 15rem 0 5rem;
  text-align: center;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.legal-content {
  padding: 5rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 2rem;
  margin: 3rem 0 1rem;
  color: var(--color-text);
}

.legal-content p,
.legal-content ul {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.legal-content ul {
  padding-left: 2rem;
  list-style: disc;
}

/* --- Mobile Responsiveness Adjustments --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .calculator-box {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .industry-row h3 {
    font-size: 1.5rem;
  }

  .legal-header {
    padding: 10rem 0 3rem;
  }

  .test-card {
    min-width: 300px;
    padding: 2rem;
  }
}