/* ZiBumBaa Marketing - Global Styles */

/* ===== CSS Variables ===== */
:root {
  /* Brand Colors */
  --primary-blue: #0050B0;
  --accent-pink: #E00050;
  --text-charcoal: #111827;
  --bg-white: #FFFFFF;
  --bg-light-grey: #F9FAFB;
  --border-grey: #E5E7EB;
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Container */
  --container-max-width: 1200px;
  --container-padding: 1rem;
}

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-charcoal);
  background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-blue);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-pink);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Container ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ===== Header ===== */
.header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-grey);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--container-padding);
}

.logo {
  height: 90px;
  width: auto;
}

.nav {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
}

.nav-link {
  color: var(--text-charcoal);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.burger-line {
  width: 24px;
  height: 3px;
  background-color: var(--text-charcoal);
  transition: all 0.3s ease;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-grey);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  padding: var(--spacing-md);
}

.mobile-nav-link {
  display: block;
  padding: var(--spacing-sm);
  color: var(--text-charcoal);
  font-weight: 500;
  border-bottom: 1px solid var(--border-grey);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn .material-icons {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.btn:hover .material-icons {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), #003d8a);
  color: var(--bg-white);
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0, 80, 176, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 80, 176, 0.3);
  color: var(--bg-white);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 80, 176, 0.2);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent-pink), #b3003e);
  color: var(--bg-white);
  border-color: var(--accent-pink);
  box-shadow: 0 4px 12px rgba(224, 0, 80, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 0, 80, 0.3);
  color: var(--bg-white);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: 0 2px 8px rgba(0, 80, 176, 0.08);
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-outline:hover::before {
  left: 100%;
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 80, 176, 0.25),
              0 0 0 4px rgba(0, 80, 176, 0.1);
}

.btn-outline:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-blue), #0066CC, #003d8a);
  color: var(--bg-white);
  padding: var(--spacing-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ===== Enhanced Animated Hero Banner ===== */
.hero-animated {
  min-height: 750px;
  padding: 0;
  background: linear-gradient(135deg, #0a0a1a 0%, #0f1729 50%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Dark overlay for depth */
.hero-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 80, 176, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(224, 0, 80, 0.15) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

/* Animated grid overlay */
.hero-animated::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 217, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 2;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

/* Scan line effect for tech feel */
.hero-background::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 150, 255, 0.4) 25%, 
    rgba(0, 200, 255, 0.6) 50%, 
    rgba(0, 150, 255, 0.4) 75%, 
    transparent 100%);
  animation: scanLine 8s ease-in-out infinite;
  z-index: 5;
}

@keyframes scanLine {
  0% {
    top: -100%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Animated Gradient Orbs */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orbitFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 80, 176, 0.6) 0%, transparent 70%);
  top: -15%;
  right: -10%;
  animation-duration: 25s;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(224, 0, 80, 0.5) 0%, transparent 70%);
  bottom: -20%;
  left: -10%;
  animation-duration: 20s;
  animation-delay: -5s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(100, 200, 255, 0.4) 0%, transparent 70%);
  top: 30%;
  left: 50%;
  animation-duration: 30s;
  animation-delay: -10s;
}

@keyframes orbitFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -30px) rotate(90deg);
  }
  50% {
    transform: translate(-20px, 40px) rotate(180deg);
  }
  75% {
    transform: translate(40px, 20px) rotate(270deg);
  }
}

/* Floating Geometric Shapes */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation: floatShape 15s ease-in-out infinite;
}

.shape-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 15%;
  border-radius: 50%;
  animation: floatShape 18s ease-in-out infinite reverse;
  animation-delay: -3s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  left: 20%;
  animation: floatShape 20s ease-in-out infinite;
  animation-delay: -7s;
}

.shape-4 {
  width: 50px;
  height: 50px;
  top: 40%;
  right: 25%;
  border-radius: 50%;
  animation: floatShape 16s ease-in-out infinite;
  animation-delay: -5s;
}

.shape-5 {
  width: 70px;
  height: 70px;
  top: 70%;
  left: 60%;
  animation: floatShape 22s ease-in-out infinite reverse;
  animation-delay: -10s;
}

@keyframes floatShape {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.05;
  }
  25% {
    transform: translate(20px, -30px) rotate(5deg);
    opacity: 0.1;
  }
  50% {
    transform: translate(-15px, 40px) rotate(-3deg);
    opacity: 0.08;
  }
  75% {
    transform: translate(30px, 15px) rotate(7deg);
    opacity: 0.12;
  }
}

/* Hero Wrapper - Split Layout */
.hero-wrapper {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
  padding: 120px 40px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Hero Content Left */
.hero-content-left {
  max-width: 650px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-content-left .hero-badge {
  align-self: flex-start;
}

.hero-content-left .hero-badge,
.hero-content-left .hero-title,
.hero-content-left .hero-subtitle,
.hero-content-left .hero-cta,
.hero-content-left .hero-stats {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.hero-content-left .hero-cta {
  justify-content: flex-start;
  margin-top: 0.5rem;
}

.hero-content-left .hero-stats {
  justify-content: flex-start;
  margin-top: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.12), rgba(0, 80, 176, 0.08));
  backdrop-filter: blur(20px);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: 1px solid rgba(0, 217, 255, 0.3);
  margin-bottom: 0;
  animation: fadeInUp 0.8s ease-out, badgePulse 3s ease-in-out infinite;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 217, 255, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
  letter-spacing: 0.5px;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 4px 24px rgba(0, 217, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
  50% {
    box-shadow: 0 4px 32px rgba(0, 217, 255, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
}

.hero-badge .material-icons {
  font-size: 22px;
  color: #00D9FF;
  filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6));
  animation: iconSpin 20s linear infinite;
}

@keyframes iconSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-title {
  font-size: 4.25rem;
  font-weight: 800;
  margin-bottom: 0;
  color: #ffffff;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4),
               0 2px 16px rgba(0, 217, 255, 0.15);
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 0%, #e6f4ff 50%, #d0ebff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00D9FF, transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.hero-subtitle {
  font-size: 1.35rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  max-width: 600px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  font-weight: 400;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.25);
  color: #ffffff;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.8s both;
  margin-top: 0;
}

.stat-item {
  text-align: center;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(0, 217, 255, 0.04));
  backdrop-filter: blur(20px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 130px;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.stat-item:hover::before {
  left: 100%;
}

.stat-item:hover {
  transform: translateY(-6px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 217, 255, 0.06));
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 217, 255, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #00D9FF 0%, #ffffff 50%, #00D9FF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  filter: drop-shadow(0 0 15px rgba(0, 217, 255, 0.3));
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Hero Animation Right - Marketing Dashboard */
.hero-animation-right {
  position: relative;
  height: 100%;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marketing-dashboard {
  position: relative;
  width: 100%;
  height: 550px;
}

.dashboard-card {
  position: absolute;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 217, 255, 0.05));
  backdrop-filter: blur(30px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1.5rem;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.15),
              0 0 0 1px rgba(0, 217, 255, 0.1);
  animation: cardFloat 6s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 217, 255, 0.08));
  border-color: rgba(0, 217, 255, 0.4);
  box-shadow: 0 16px 64px rgba(0, 217, 255, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.card-header .material-icons {
  font-size: 20px;
  color: #00D9FF;
  padding: 6px;
  background: rgba(0, 217, 255, 0.15);
  border-radius: 8px;
  filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.4));
}

/* Analytics Card */
.analytics-card {
  top: 8%;
  right: 8%;
  width: 280px;
  animation-delay: 0s;
  z-index: 4;
}

.growth-chart {
  width: 100%;
  height: 100px;
}

.chart-line {
  fill: none;
  stroke: url(#lineGradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawLine 3s ease-out forwards;
}

.chart-dot {
  fill: #00D9FF;
  opacity: 0;
  animation: popDot 0.5s ease-out forwards;
}

.chart-dot:nth-child(2) { animation-delay: 0.3s; }
.chart-dot:nth-child(3) { animation-delay: 0.6s; }
.chart-dot:nth-child(4) { animation-delay: 0.9s; }
.chart-dot:nth-child(5) { animation-delay: 1.2s; }
.chart-dot:nth-child(6) { animation-delay: 1.5s; }
.chart-dot:nth-child(7) { animation-delay: 1.8s; }
.chart-dot:nth-child(8) { animation-delay: 2.1s; }

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes popDot {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Social Card */
.social-card {
  top: 38%;
  left: 3%;
  width: 220px;
  animation-delay: 0.5s;
  z-index: 3;
}

.social-metrics {
  display: flex;
  gap: 1.5rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #00D9FF, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Email Card */
.email-card {
  bottom: 8%;
  right: 10%;
  width: 300px;
  animation-delay: 1s;
  z-index: 2;
}

.email-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-bar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-bar .stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: none;
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00D9FF, #0050B0);
  border-radius: 4px;
  animation: fillBar 2s ease-out forwards;
  transform-origin: left;
}

@keyframes fillBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.stat-bar .stat-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #00D9FF;
  align-self: flex-end;
}

/* ROI Card */
.roi-card {
  bottom: 40%;
  left: 8%;
  width: 240px;
  animation-delay: 1.5s;
  z-index: 5;
}

.roi-display {
  text-align: center;
}

.roi-value {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, #00D9FF 0%, #0050B0 50%, #E00050 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.625rem;
  animation: shimmer 4s linear infinite;
  filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.4));
}

.roi-trend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #00D9FF;
}

.roi-trend .material-icons {
  font-size: 16px;
}

/* Floating Icons */
.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  animation: floatIcon 8s ease-in-out infinite;
}

.float-icon .material-icons {
  color: #00D9FF;
  font-size: 24px;
}

.float-icon:nth-child(1) { animation-delay: 0s; }
.float-icon:nth-child(2) { animation-delay: 2s; }
.float-icon:nth-child(3) { animation-delay: 4s; }
.float-icon:nth-child(4) { animation-delay: 6s; }

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
    opacity: 1;
  }
}

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Legacy hero styles for other pages */
.hero:not(.hero-animated)::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroFloat 20s ease-in-out infinite;
}

.hero:not(.hero-animated)::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(224, 0, 80, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroFloat 15s ease-in-out infinite reverse;
}

@keyframes heroFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, -30px) scale(1.1);
  }
}

.hero h1 {
  color: var(--bg-white);
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  line-height: 1.8;
}

/* ===== Sections ===== */
.section {
  padding: var(--spacing-3xl) 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(0, 80, 176, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(224, 0, 80, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-alt {
  background-color: var(--bg-light-grey);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-md);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #0066CC 50%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 1.25rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-pink));
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 80, 176, 0.4);
}

.section-subtitle {
  text-align: center;
  color: #4B5563;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xxl);
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  font-weight: 500;
}

/* ===== Grid Layouts ===== */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Cards ===== */
.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.95));
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06),
              0 0 0 1px rgba(0, 80, 176, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  border: 1px solid rgba(0, 80, 176, 0.1);
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-pink));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary-blue) 20%, 
    var(--accent-pink) 50%, 
    var(--primary-blue) 80%, 
    transparent 100%);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px 20px 0 0;
}

.card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0, 80, 176, 0.15),
              0 0 0 1px rgba(0, 80, 176, 0.15),
              0 0 60px rgba(0, 217, 255, 0.08);
  border-color: rgba(0, 217, 255, 0.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(249, 250, 251, 1));
}

.card-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #0066CC 50%, var(--accent-pink) 100%);
  color: var(--bg-white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(0, 80, 176, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(255, 255, 255, 0.3) 50%, 
    transparent 70%);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.card:hover .card-icon::before {
  opacity: 1;
  left: 100%;
}

.card:hover .card-icon {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 12px 32px rgba(0, 80, 176, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.3),
              0 0 40px rgba(0, 217, 255, 0.2);
}

.card-icon .material-icons {
  font-size: 38px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.card-title {
  font-size: 1.625rem;
  margin-bottom: 1rem;
  color: var(--text-charcoal);
  transition: all 0.3s ease;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
}

.card:hover .card-title {
  color: var(--primary-blue);
  transform: translateX(4px);
}

.card-description {
  color: #4B5563;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 400;
}

/* Card Button Enhancement */
.card .btn-outline {
  border-width: 2px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.card .btn-outline .material-icons {
  transition: transform 0.3s ease;
  margin-left: 0.25rem;
}

.card:hover .btn-outline .material-icons {
  transform: translateX(4px);
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .card,
  .card-icon,
  .card-title,
  .btn-outline,
  .section-title,
  .card::before,
  .card::after,
  .card-icon::before {
    animation: none !important;
    transition: none !important;
  }

  .card:hover,
  .card:hover .card-icon,
  .card:hover .card-title {
    transform: none !important;
  }

  .card:hover::before,
  .card:hover::after,
  .card:hover .card-icon::before {
    opacity: 0 !important;
  }
}

/* ===== Analytics Dashboard ===== */
.analytics-dashboard {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 24px;
  padding: 3rem;
  margin: 3rem auto;
  max-width: 1200px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
              0 0 0 1px rgba(0, 80, 176, 0.06);
  position: relative;
  overflow: hidden;
}

.analytics-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 80, 176, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.analytics-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.analytics-dashboard-title {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #0066CC 50%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.analytics-dashboard-title .material-icons {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.analytics-updated {
  font-size: 0.875rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.analytics-updated .material-icons {
  font-size: 16px;
  color: #10B981;
  animation: pulse 2s ease-in-out infinite;
}

.analytics-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.analytics-stat-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 80, 176, 0.08);
  position: relative;
  overflow: hidden;
}

.analytics-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.analytics-stat-card:hover::before {
  transform: scaleX(1);
}

.analytics-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 80, 176, 0.12);
  border-color: rgba(0, 80, 176, 0.15);
}

.analytics-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.analytics-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-blue), #0066CC);
  box-shadow: 0 4px 16px rgba(0, 80, 176, 0.2);
}

.analytics-stat-icon .material-icons {
  font-size: 24px;
  color: white;
}

.analytics-stat-label {
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.analytics-stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-charcoal);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.analytics-stat-change {
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.analytics-stat-change.positive {
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
}

.analytics-stat-change.negative {
  color: #EF4444;
  background: rgba(239, 68, 68, 0.1);
}

.analytics-chart-section {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 80, 176, 0.08);
  position: relative;
  z-index: 1;
}

.analytics-chart-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.analytics-chart-title .material-icons {
  font-size: 24px;
  color: var(--primary-blue);
}

#analytics-chart {
  width: 100%;
  height: 300px;
  display: block;
}

.analytics-top-pages-section {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 80, 176, 0.08);
  position: relative;
  z-index: 1;
}

.analytics-page-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  transition: background 0.3s ease;
  margin-bottom: 0.5rem;
}

.analytics-page-item:hover {
  background: rgba(0, 80, 176, 0.04);
}

.analytics-page-rank {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-blue), #0066CC);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.analytics-page-info {
  flex: 1;
}

.analytics-page-path {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-charcoal);
  margin-bottom: 0.25rem;
  font-family: 'Courier New', monospace;
}

.analytics-page-views {
  font-size: 0.8125rem;
  color: #6B7280;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .analytics-dashboard {
    padding: 2rem 1.5rem;
    margin: 2rem 1rem;
  }

  .analytics-dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .analytics-dashboard-title {
    font-size: 1.5rem;
  }

  .analytics-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .analytics-stat-card {
    padding: 1.25rem;
  }

  .analytics-stat-value {
    font-size: 1.75rem;
  }

  .analytics-chart-section,
  .analytics-top-pages-section {
    padding: 1.5rem;
  }

  #analytics-chart {
    height: 200px;
  }
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  position: relative;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23ffffff' d='M0,64L48,69.3C96,75,192,85,288,80C384,75,480,53,576,48C672,43,768,53,864,64C960,75,1056,85,1152,80C1248,75,1344,53,1392,42.7L1440,32L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
  background-size: cover;
  transform: translateY(-1px);
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 80, 176, 0.15), transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(224, 0, 80, 0.1), transparent 50%);
  pointer-events: none;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5%); }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

/* Footer Brand Column */
.footer-brand {
  max-width: 300px;
}

.footer-logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1) drop-shadow(0 4px 16px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 20px rgba(0, 80, 176, 0.3));
  transition: all 0.4s ease;
}

.footer-logo:hover {
  filter: brightness(0) invert(1) drop-shadow(0 8px 24px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 30px rgba(0, 80, 176, 0.6));
  transform: scale(1.08);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-pink));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.social-link:hover {
  color: white;
  transform: translateY(-6px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 32px rgba(0, 80, 176, 0.4);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link .material-icons {
  font-size: 22px;
  position: relative;
  z-index: 1;
}

/* Footer Headings */
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF 0%, #E0E7FF 50%, #FFE4E6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 14px;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-pink) 100%);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 80, 176, 0.8), 0 0 40px rgba(224, 0, 80, 0.4);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 80, 176, 0.8), 0 0 40px rgba(224, 0, 80, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 80, 176, 1), 0 0 60px rgba(224, 0, 80, 0.6);
  }
}

/* Footer Links */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  font-weight: 400;
  padding-left: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.footer-link::before {
  content: '';
  position: absolute;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-pink));
  bottom: -2px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(0, 80, 176, 0.6);
}

.footer-link::after {
  content: '→';
  margin-left: 6px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  filter: drop-shadow(0 0 4px rgba(224, 0, 80, 0.5));
}

.footer-link:hover {
  color: white;
  padding-left: 0;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}

.footer-link:hover::before {
  width: 100%;
}

.footer-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Newsletter Section */
.footer-newsletter {
  max-width: 360px;
}

.footer-newsletter-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input-group {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 80, 176, 0.3);
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: white;
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
}

.newsletter-btn {
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-pink));
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 80, 176, 0.4);
  position: relative;
  overflow: hidden;
}

.newsletter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-pink), var(--primary-blue));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.newsletter-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(224, 0, 80, 0.5);
}

.newsletter-btn:hover::before {
  opacity: 1;
}

.newsletter-btn .material-icons {
  font-size: 20px;
  position: relative;
  z-index: 1;
}

.newsletter-privacy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 400;
}

.footer-legal {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-contact {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 80, 176, 0.3);
}

.footer-contact-link .material-icons {
  font-size: 18px;
  color: var(--primary-blue);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 120px;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-pink));
  color: white;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 80, 176, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 999999;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--accent-pink), var(--primary-blue));
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 12px 32px rgba(224, 0, 80, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}

.back-to-top .material-icons {
  font-size: 24px;
}

/* ===== Forms ===== */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--text-charcoal);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-grey);
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  color: #DC2626;
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
  display: none;
}

.form-error.active {
  display: block;
}

.form-success {
  background-color: #D1FAE5;
  color: #065F46;
  padding: var(--spacing-md);
  border-radius: 6px;
  margin-bottom: var(--spacing-md);
  display: none;
}

.form-success.active {
  display: block;
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-blue); }
.text-accent { color: var(--accent-pink); }
.text-muted { color: #6B7280; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .hero h1 { font-size: 2.25rem; }
  
  /* Animated Hero Mobile Styles */
  .hero-animated {
    min-height: auto;
    padding: 0;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 80px 20px 60px;
  }

  .hero-content-left {
    max-width: 100%;
    text-align: center;
    gap: 1.25rem;
  }

  .hero-content-left .hero-badge {
    align-self: center;
  }

  .hero-content-left .hero-badge,
  .hero-content-left .hero-title,
  .hero-content-left .hero-subtitle {
    text-align: center;
  }

  .hero-content-left .hero-cta {
    justify-content: center;
    margin-top: 0;
  }

  .hero-content-left .hero-stats {
    justify-content: center;
    margin-top: 0;
  }
  
  .hero-title {
    font-size: 2.25rem;
    letter-spacing: -0.5px;
    line-height: 1.15;
  }

  .hero-title::after {
    width: 60px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-stats {
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .stat-item {
    padding: 1rem 1.5rem;
    min-width: 120px;
  }
  
  .stat-number {
    font-size: 2.25rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .hero-badge {
    font-size: 0.875rem;
    padding: 0.625rem 1.5rem;
  }

  .hero-badge .material-icons {
    font-size: 20px;
  }

  /* Marketing Dashboard Mobile */
  .hero-animation-right {
    min-height: 450px;
  }

  .marketing-dashboard {
    height: 450px;
  }

  .dashboard-card {
    font-size: 0.875rem;
    padding: 1.125rem;
    border-radius: 14px;
  }

  .card-header {
    font-size: 0.8rem;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .card-header .material-icons {
    font-size: 18px;
    padding: 5px;
  }

  .analytics-card {
    top: 6%;
    right: 4%;
    width: 220px;
  }

  .social-card {
    top: 42%;
    left: 2%;
    width: 180px;
  }

  .social-metrics {
    gap: 1.25rem;
  }

  .metric-value {
    font-size: 1.35rem;
  }

  .email-card {
    bottom: 6%;
    right: 4%;
    width: 240px;
  }

  .roi-card {
    bottom: 42%;
    left: 4%;
    width: 200px;
  }

  .roi-value {
    font-size: 2.25rem;
  }

  .float-icon {
    width: 38px;
    height: 38px;
  }

  .float-icon .material-icons {
    font-size: 18px;
  }
  
  /* Hide some floating shapes on mobile for performance */
  .shape-4,
  .shape-5 {
    display: none;
  }
  
  /* Reduce orb sizes on mobile */
  .orb-1,
  .orb-2,
  .orb-3 {
    width: 250px;
    height: 250px;
  }
  
  .nav-links {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-brand,
  .footer-newsletter {
    max-width: 100%;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }
  
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .section-subtitle {
    font-size: 1.125rem;
  }

  .card {
    padding: 2rem;
  }

  .card-icon {
    width: 64px;
    height: 64px;
  }

  .card-icon .material-icons {
    font-size: 34px;
  }

  .card-title {
    font-size: 1.375rem;
  }

  .card:hover {
    transform: translateY(-8px) scale(1.01);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  
  .footer-newsletter {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

/* ===== What We Do Section - Advanced Premium Styles ===== */
.what-we-do-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.what-we-do-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: linear-gradient(135deg, rgba(0, 80, 176, 0.04) 0%, rgba(224, 0, 80, 0.04) 100%);
  z-index: 0;
  pointer-events: none;
}

.what-we-do-title {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 10px rgba(0, 80, 176, 0.1);
}

.what-we-do-grid {
  position: relative;
  z-index: 1;
  gap: 2rem;
}

/* Advanced Service Card Styles */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, transparent, transparent) border-box;
}

/* Animated gradient border on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-pink));
  border-radius: 0.5rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

/* Shine overlay effect */
.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.8s ease;
  pointer-events: none;
  z-index: 2;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  transform: rotate(45deg) translateX(100%);
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(0, 80, 176, 0.2),
    0 10px 20px rgba(224, 0, 80, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Image wrapper with gradient overlay */
.service-image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 0.5rem 0.5rem 0 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -1.5rem -1.5rem 0 -1.5rem;
}

.service-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 80, 176, 0.1) 0%,
    rgba(224, 0, 80, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.service-card:hover .service-image-wrapper::before {
  opacity: 1;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: scale(1);
  filter: brightness(1) saturate(1);
}

.service-card:hover .service-image {
  transform: scale(1.1) rotate(1deg);
  filter: brightness(1.05) saturate(1.1);
}

/* Content area with enhanced styling */
.service-content {
  padding: var(--spacing-lg) 0 0 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 3;
}

.service-content .card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  color: var(--text-charcoal);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.service-content .card-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-pink));
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 2px;
}

.service-card:hover .service-content .card-title {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateX(4px);
}

.service-card:hover .service-content .card-title::after {
  width: 60px;
}

.service-content .card-description {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #6B7280;
  margin-bottom: auto;
  flex-grow: 1;
  transition: color 0.3s ease;
}

.service-card:hover .service-content .card-description {
  color: #4B5563;
}

.service-content .btn {
  align-self: flex-start;
  margin-top: var(--spacing-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover .service-content .btn {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 80, 176, 0.2);
}

/* Enhanced responsive design for What We Do */
@media (max-width: 1024px) {
  .service-image-wrapper {
    height: 200px;
  }
  
  .service-content .card-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .what-we-do-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .service-image-wrapper {
    height: 240px;
  }
  
  .service-card {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

/* Improved animations for service cards */
@media (prefers-reduced-motion: no-preference) {
  .service-card {
    animation: fadeInUp 0.6s ease-out backwards;
  }
  
  .service-card:nth-child(1) { animation-delay: 0.1s; }
  .service-card:nth-child(2) { animation-delay: 0.2s; }
  .service-card:nth-child(3) { animation-delay: 0.3s; }
  .service-card:nth-child(4) { animation-delay: 0.4s; }
  .service-card:nth-child(5) { animation-delay: 0.5s; }
  .service-card:nth-child(6) { animation-delay: 0.6s; }
}


/* ===== Strategic Consulting Section - Flipbook Style ===== */
.strategic-consulting-section {
  position: relative;
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
  padding: 6rem 0 8rem 0;
  overflow: hidden;
  z-index: 1;
}

.strategic-consulting-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 80, 176, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Header */
.consulting-header-new {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.consulting-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(0, 80, 176, 0.1), rgba(224, 0, 80, 0.1));
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 80, 176, 0.2);
}

.consulting-title-new {
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.consulting-subtitle-new {
  font-size: 1.15rem;
  color: #6B7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Flipbook Container */
.flipbook-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  perspective: 2000px;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

/* Flipbook Card */
.flipbook-card {
  position: relative;
  height: 480px;
  width: 100%;
  transform-style: preserve-3d;
  transition: all 0.3s ease;
  z-index: 1;
}

.flipbook-card:hover {
  z-index: 2;
}

/* Flipbook Page */
.flipbook-page {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.flipbook-card:hover .flipbook-page {
  transform: rotateY(180deg);
}

/* Page Sides */
.flipbook-page-front,
.flipbook-page-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 1rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
}

/* Front Page */
.flipbook-page-front {
  background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
  border: 2px solid #E5E7EB;
  justify-content: space-between;
  overflow: hidden;
}

.flipbook-page-front::before {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 80, 176, 0.05), rgba(224, 0, 80, 0.05));
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.flipbook-page-front::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--primary-blue) 0%, 
    var(--accent-pink) 50%, 
    var(--primary-blue) 100%);
  opacity: 0.3;
}

/* Back Page */
.flipbook-page-back {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #003A8C 100%);
  color: white;
  transform: rotateY(180deg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  justify-content: space-between;
}

.flipbook-page-back::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
  pointer-events: none;
}

/* Corner Number */
.flipbook-corner {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  line-height: 1;
  font-family: var(--font-heading);
  z-index: 0;
}

/* Icon */
.flipbook-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, rgba(0, 80, 176, 0.1), rgba(224, 0, 80, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(0, 80, 176, 0.2);
  position: relative;
  transition: all 0.4s ease;
}

.flipbook-icon::after {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  border: 2px dashed rgba(0, 80, 176, 0.15);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: flipbook-rotate 20s linear infinite;
}

@keyframes flipbook-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.flipbook-icon .material-icons {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Title */
.flipbook-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-charcoal);
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

/* Description */
.flipbook-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #6B7280;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* Flip Hint */
.flipbook-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--primary-blue);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.flipbook-card:hover .flipbook-hint {
  opacity: 0;
  transform: translateY(-10px);
}

.flipbook-hint .material-icons {
  font-size: 1.25rem;
  animation: flipbook-pulse 2s ease-in-out infinite;
}

@keyframes flipbook-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* Back Page Title */
.flipbook-back-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

/* Features List */
.flipbook-features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 0;
  flex: 1;
}

.flipbook-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.flipbook-features li:hover {
  padding-left: 0.5rem;
  color: white;
}

.flipbook-features li:last-child {
  border-bottom: none;
}

.flipbook-features li .material-icons {
  font-size: 1.25rem;
  color: #4ADE80;
  flex-shrink: 0;
}

/* CTA Button */
.flipbook-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: white;
  color: var(--primary-blue);
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.flipbook-cta:hover {
  background: #F9FAFB;
  gap: 0.75rem;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.flipbook-cta .material-icons {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.flipbook-cta:hover .material-icons {
  transform: translateX(4px);
}

/* Footer CTA */
.consulting-footer-cta {
  text-align: center;
  margin-top: 4rem;
  position: relative;
  z-index: 3;
}

.consulting-footer-cta .btn {
  box-shadow: 0 8px 24px rgba(0, 80, 176, 0.25);
  transition: all 0.3s ease;
}

.consulting-footer-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 80, 176, 0.35);
}

/* Ensure section doesn't overflow */
.strategic-consulting-section .container {
  position: relative;
  z-index: 2;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .flipbook-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .strategic-consulting-section {
    padding: 4rem 0 6rem 0;
  }
  
  .consulting-title-new {
    font-size: 2rem;
  }
  
  .flipbook-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .flipbook-card {
    height: 450px;
  }
  
  .flipbook-page-front,
  .flipbook-page-back {
    padding: 2rem;
  }
  
  .flipbook-title {
    font-size: 1.5rem;
  }
  
  .flipbook-icon {
    width: 70px;
    height: 70px;
  }
  
  .flipbook-icon .material-icons {
    font-size: 2.5rem;
  }
}


/* ===== Industries Section - Elegant Corporate Design ===== */
.industries-section-elegant {
  position: relative;
  background: linear-gradient(180deg, #FAFBFC 0%, #FFFFFF 50%, #F8FAFC 100%);
  padding: 7rem 0;
  overflow: hidden;
}

.industries-section-elegant::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 10%, rgba(0, 80, 176, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(224, 0, 80, 0.02) 0%, transparent 40%);
  pointer-events: none;
}

/* Header */
.industries-header-elegant {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.industries-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: #F1F5F9;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid #E2E8F0;
}

.industries-main-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.industries-lead {
  font-size: 1.15rem;
  color: #64748B;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 400;
}

/* Grid Layout */
.industries-elegant-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
  position: relative;
  z-index: 1;
}

/* Industry Cards */
.industry-elegant-card {
  position: relative;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.06);
  border: 1px solid #F1F5F9;
}

.industry-elegant-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: #E2E8F0;
}

/* Accent Bar */
.industry-accent-bar {
  width: 4px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  transition: width 0.3s ease;
}

.industry-elegant-card:hover .industry-accent-bar {
  width: 6px;
}

/* Card Content */
.industry-card-content {
  padding: 2.5rem 2.5rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Header Row */
.industry-header-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Icon */
.industry-icon-elegant {
  font-size: 2.25rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.industry-elegant-card:hover .industry-icon-elegant {
  transform: scale(1.1);
}

/* Title */
.industry-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

/* Description */
.industry-card-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #64748B;
  margin: 0;
}

/* Card Footer */
.industry-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

/* Tag */
.industry-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #F1F5F9;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 0.5rem;
  letter-spacing: 0.025em;
}

/* Arrow */
.industry-arrow {
  font-size: 1.75rem;
  color: #CBD5E1;
  font-weight: 300;
  transition: all 0.3s ease;
}

.industry-elegant-card:hover .industry-arrow {
  color: #64748B;
  transform: translateX(4px);
}

/* CTA */
.industries-elegant-cta {
  text-align: center;
  position: relative;
  z-index: 1;
}

.btn-elegant-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 2.25rem;
  background: #0F172A;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  box-shadow: 
    0 4px 16px rgba(15, 23, 42, 0.2),
    0 1px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.01em;
}

.btn-elegant-secondary:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px rgba(15, 23, 42, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-elegant-secondary .material-icons {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.btn-elegant-secondary:hover .material-icons {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .industries-elegant-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .industries-main-title {
    font-size: 2.75rem;
  }
  
  .industry-card-content {
    padding: 2rem 2rem 2rem 2.5rem;
  }
}

@media (max-width: 768px) {
  .industries-section-elegant {
    padding: 4rem 0;
  }
  
  .industries-main-title {
    font-size: 2.25rem;
  }
  
  .industries-lead {
    font-size: 1rem;
  }
  
  .industry-card-content {
    padding: 1.75rem 1.75rem 1.75rem 2.25rem;
    gap: 1rem;
  }
  
  .industry-icon-elegant {
    font-size: 2rem;
  }
  
  .industry-card-title {
    font-size: 1.25rem;
  }
  
  .industry-card-description {
    font-size: 0.95rem;
  }
  
  .btn-elegant-secondary {
    padding: 1rem 1.75rem;
    font-size: 0.95rem;
  }
}

/* ========================================
   CLIENTS SECTION - ADVANCED INFINITE SCROLL
======================================== */

.clients-section {
  padding: 6rem 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 80, 176, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(224, 0, 80, 0.03) 0%, transparent 50%),
    linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 50%, #F0F9FF 100%);
  position: relative;
  overflow: hidden;
}

/* Animated Background Particles */
.clients-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(0, 80, 176, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 85% 75%, rgba(224, 0, 80, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 50% 50%, rgba(0, 80, 176, 0.05) 0%, transparent 35%);
  background-size: 100% 100%;
  animation: particleFloat 20s ease-in-out infinite;
  opacity: 0.6;
  pointer-events: none;
}

/* Top Gradient Border */
.clients-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 80, 176, 0.2) 25%,
    rgba(224, 0, 80, 0.2) 50%,
    rgba(0, 80, 176, 0.2) 75%,
    transparent 100%);
  box-shadow: 0 0 20px rgba(0, 80, 176, 0.1);
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) scale(1.05);
    opacity: 0.8;
  }
}

/* Header */
.clients-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.clients-badge {
  display: inline-block;
  padding: 0.65rem 1.75rem;
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)),
    linear-gradient(135deg, rgba(0, 80, 176, 0.1), rgba(224, 0, 80, 0.1));
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0050B0;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 4px 20px rgba(0, 80, 176, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  animation: badgePulse 3s ease-in-out infinite;
}

.clients-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: badgeShine 4s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
      0 4px 20px rgba(0, 80, 176, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 
      0 6px 24px rgba(0, 80, 176, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

@keyframes badgeShine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.clients-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0050B0 0%, #E00050 50%, #0050B0 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  animation: titleGradient 5s ease infinite;
  position: relative;
  text-shadow: 0 0 40px rgba(0, 80, 176, 0.1);
}

@keyframes titleGradient {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.clients-subtitle {
  font-size: 1.2rem;
  color: #6B7280;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 500;
  opacity: 0.9;
}

/* Scroll Wrapper */
.clients-scroll-wrapper {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  margin: 0 -2rem;
}

/* Advanced Gradient Fade Effects with Blur */
.clients-scroll-wrapper::before,
.clients-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 4;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

.clients-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, 
    #F9FAFB 0%, 
    rgba(249, 250, 251, 0.95) 20%,
    rgba(249, 250, 251, 0.7) 50%,
    rgba(249, 250, 251, 0.3) 80%,
    rgba(249, 250, 251, 0) 100%);
  box-shadow: inset -40px 0 40px -20px rgba(0, 80, 176, 0.05);
}

.clients-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(90deg, 
    rgba(249, 250, 251, 0) 0%, 
    rgba(249, 250, 251, 0.3) 20%,
    rgba(249, 250, 251, 0.7) 50%,
    rgba(249, 250, 251, 0.95) 80%,
    #F9FAFB 100%);
  box-shadow: inset 40px 0 40px -20px rgba(224, 0, 80, 0.05);
}

/* Scroll Track */
.clients-scroll-track {
  display: flex;
  gap: 4rem;
  animation: infiniteScroll 40s linear infinite;
  will-change: transform;
}

.clients-scroll-track:hover {
  animation-play-state: paused;
}

/* Logo Items - Premium Cards */
.client-logo-item {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}


/* Logo Image Styling */
.client-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  position: relative;
  z-index: 2;
}

/* Infinite Scroll Animation */
@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .clients-scroll-wrapper::before,
  .clients-scroll-wrapper::after {
    width: 80px;
  }
  
  .client-logo-item {
    width: 180px;
    height: 100px;
  }
  
  .clients-scroll-track {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .clients-section {
    padding: 4rem 0;
  }
  
  .clients-title {
    font-size: 2.25rem;
  }
  
  .clients-subtitle {
    font-size: 1rem;
  }
  
  .clients-header {
    margin-bottom: 3rem;
  }
  
  .clients-scroll-wrapper::before,
  .clients-scroll-wrapper::after {
    width: 40px;
  }
  
  .client-logo-item {
    width: 150px;
    height: 90px;
    padding: 1rem;
  }
  
  .clients-scroll-track {
    gap: 2rem;
    animation: infiniteScroll 30s linear infinite;
  }
}
