/* ==========================================================================
   CSS VARIABLES & GLOBAL RESET
   ========================================================================== */
:root {
  --primary: #00f0ff;
  --primary-glow: rgba(0, 240, 255, 0.5);
  --secondary: #7000ff;
  --tertiary: #ff0055;

  --bg-dark: #05050a;
  --bg-card: rgba(20, 20, 30, 0.7);
  --bg-card-hover: rgba(30, 30, 45, 0.9);

  --text-main: #ffffff;
  --text-muted: #a0a0b0;

  --font-main: "Poppins", sans-serif;

  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);

  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  --gradient-text: linear-gradient(90deg, var(--primary), #b240ff);
  --gradient-bg: linear-gradient(135deg, var(--bg-dark), #0a0a15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(
      circle at 50% 0%,
      rgba(112, 0, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 100% 50%,
      rgba(0, 240, 255, 0.05) 0%,
      transparent 40%
    );
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.sub-heading {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: 2rem;
}
.w-100 {
  width: 100%;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-medium);
  border: none;
  font-family: inherit;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.shine-effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 3s infinite;
  z-index: -1;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  padding: 2rem;
  transition: var(--transition-medium);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 240, 255, 0.3);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-medium);
  padding: 1.5rem 0;
  background: transparent;
}

.header.scrolled {
  background: rgba(5, 5, 10, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.logo {
  height: 60px;
  filter: invert(1) drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-text);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-toggle .bar {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: var(--transition-fast);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 5, 10, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  text-align: center;
  position: relative;
  width: 100%;
}

.close-mobile-nav {
  position: absolute;
  top: -50px;
  right: 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-list a {
  font-size: 1.5rem;
  font-weight: 600;
}

.mobile-nav-list a:hover {
  color: var(--primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatOrb 10s infinite ease-in-out alternate;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  bottom: 10%;
  left: -50px;
  animation-delay: -5s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: var(--tertiary);
  top: 40%;
  left: 40%;
  opacity: 0.3;
  animation-duration: 15s;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Hero Visual / 3D Card */
.hero-visual {
  position: relative;
  perspective: 1000px;
}

.main-stats-card {
  position: relative;
  padding: 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(30, 30, 45, 0.8),
    rgba(15, 15, 25, 0.9)
  );
  transform-style: preserve-3d;
  transform: rotateY(-10deg) rotateX(5deg);
  animation: floatCard 6s ease-in-out infinite;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--primary);
}

.stat-header i {
  background: rgba(0, 240, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-text);
  border-radius: 4px;
  position: relative;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: loadingBar 2s infinite;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 0.75rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateZ(50px);
}

.badge-1 {
  top: -20px;
  right: -20px;
  color: #4285f4; /* Google Blue */
}

.badge-2 {
  bottom: -20px;
  left: -20px;
  color: var(--tertiary);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
  padding: 4rem 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 10, 15, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-box h3 {
  font-size: 3rem;
  display: inline-block;
  margin-bottom: 0;
  color: #fff;
}

.stat-box span {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
}

.stat-box p {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 8rem 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  transition: var(--transition-medium);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(112, 0, 255, 0.2),
    rgba(0, 240, 255, 0.2)
  );
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  transform: scale(1.1) translateZ(20px);
  background: var(--gradient-text);
  color: #fff;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transform: translateZ(10px);
}

.service-features {
  margin-top: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.service-features i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* ==========================================================================
   INDUSTRIES SECTION
   ========================================================================== */
.industries-section {
  padding: 8rem 0;
  background: linear-gradient(
    0deg,
    rgba(5, 5, 10, 1) 0%,
    rgba(15, 15, 25, 1) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.industries-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.industry-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem 1rem;
  text-align: center;
  transition: var(--transition-medium);
}

.industry-item:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.industry-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.industry-item span {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==========================================================================
   ROI CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
  padding: 8rem 0;
  position: relative;
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  margin-top: 4rem;
  background: rgba(15, 15, 25, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-group label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.calc-group input[type="range"] {
  width: 100%;
  appearance: none;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
}

.calc-group input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary-glow);
  transition: var(--transition-fast);
}

.calc-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results {
  background: linear-gradient(
    135deg,
    rgba(30, 30, 45, 0.8),
    rgba(10, 10, 20, 0.9)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-results h3 {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.result-row strong {
  font-size: 1.3rem;
}

.result-row.highlight {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.result-row.highlight strong {
  font-size: 2.5rem;
  font-weight: 800;
}

/* ==========================================================================
   CAMPAIGN REPORTS / DASHBOARD MOCKUP
   ========================================================================== */
.reports-section {
  padding: 8rem 0;
  background: rgba(10, 10, 15, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-mockup {
  margin-top: 4rem;
  background: #12121a;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dash-header {
  background: #1a1a24;
  padding: 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-dots {
  display: flex;
  gap: 8px;
  margin-right: 2rem;
}

.dash-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f56;
}
.dot.yellow {
  background: #ffbd2e;
}
.dot.green {
  background: #27c93f;
}

.dash-title {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: monospace;
}

.dash-body {
  display: flex;
  height: 400px;
}

.dash-sidebar {
  width: 200px;
  background: #161620;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-sidebar ul li {
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.dash-sidebar ul li.active,
.dash-sidebar ul li:hover {
  background: rgba(0, 240, 255, 0.1);
  color: var(--primary);
}

.dash-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dash-card {
  background: #1a1a24;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-card h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.dash-val {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-success {
  color: #27c93f;
  font-size: 1rem;
}

.dash-chart {
  flex: 1;
  background: #1a1a24;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
}

.chart-bars {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.bar-wrap {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.bar {
  width: 100%;
  background: linear-gradient(0deg, var(--secondary), var(--primary));
  border-radius: 4px 4px 0 0;
  animation: growBar 2s ease-out forwards;
  transform-origin: bottom;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 8rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transition: var(--transition-medium);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.quote-icon {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.client-details h4 {
  margin: 0;
  font-size: 1rem;
}

.client-details span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CTA & CONTACT PREVIEW SECTION
   ========================================================================== */
.cta-section {
  padding: 4rem 0 8rem;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem;
  background: linear-gradient(
    135deg,
    rgba(112, 0, 255, 0.2),
    rgba(0, 240, 255, 0.1)
  );
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.cta-content {
  max-width: 60%;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin: 0;
  color: #e0e0e0;
}

.cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-action span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER (Strict Consistency)
   ========================================================================== */
.footer {
  background: #020205;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 60px;
  filter: invert(1);
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.brand-col p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 90%;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50%;
  height: 2px;
  background: var(--primary);
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-list li i {
  color: var(--primary);
  margin-top: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a:hover {
  color: var(--primary);
}

/* ==========================================================================
   PAGE HEADER (Inner Pages)
   ========================================================================== */
.page-header {
  padding: 150px 0 80px;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 25, 0.8) 0%,
    rgba(5, 5, 10, 1) 100%
  );
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.breadcrumbs {
  color: var(--text-muted);
  font-size: 1rem;
}

.breadcrumbs a {
  color: #fff;
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs i {
  font-size: 0.8rem;
  margin: 0 0.5rem;
  color: var(--primary);
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 6rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item i {
  font-size: 2rem;
  color: var(--primary);
}

.info-item h4 {
  margin-bottom: 0.25rem;
}

.info-item p {
  margin: 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #fff;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

textarea.form-control {
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2300F0FF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem top 50%;
  background-size: 0.65rem auto;
}

select.form-control option {
  background: var(--bg-dark);
  color: #fff;
}

/* ==========================================================================
   LEGAL PAGES (Privacy, Terms, Disclaimer)
   ========================================================================== */
.legal-content {
  padding-bottom: 6rem;
}

.legal-content .content-wrapper {
  padding: 3rem 4rem;
}

.legal-content h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.legal-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.live-chat-widget {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 320px;
  background: var(--bg-dark);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
}

.live-chat-widget.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.chat-header {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  padding: 1rem;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.chat-header button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.chat-body {
  height: 250px;
  padding: 1rem;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.02);
}

.chat-msg {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  max-width: 85%;
}

.bot-msg {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  align-self: flex-start;
}

.chat-input-area {
  display: flex;
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input-area input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 0.5rem;
  outline: none;
}

.chat-input-area button {
  background: var(--primary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #000;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chat-input-area button:hover {
  transform: scale(1.1);
}

.chat-toggle-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 240, 255, 0.4);
  z-index: 1000;
  transition: var(--transition-medium);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-toggle-btn:hover {
  transform: translateY(-5px) scale(1.05);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, 50px) scale(1.1);
  }
}

@keyframes floatCard {
  0% {
    transform: rotateY(-10deg) rotateX(5deg) translateY(0);
  }
  50% {
    transform: rotateY(-5deg) rotateX(2deg) translateY(-20px);
  }
  100% {
    transform: rotateY(-10deg) rotateX(5deg) translateY(0);
  }
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 200%;
  }
  100% {
    left: 200%;
  }
}

@keyframes loadingBar {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes growBar {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-container {
    gap: 2rem;
  }
  .stats-grid {
    gap: 1rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .nav-list {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .industries-content {
    grid-template-columns: 1fr;
  }
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .industries-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .cta-box {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2rem;
  }
  .cta-content {
    max-width: 100%;
  }

  .dash-body {
    flex-direction: column;
    height: auto;
  }
  .dash-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .dash-sidebar ul {
    display: flex;
    flex-wrap: wrap;
  }
  .dash-sidebar ul li {
    flex: 1 1 auto;
    justify-content: center;
  }
  .dash-cards {
    grid-template-columns: 1fr;
  }
  .chart-bars {
    height: 200px;
  }

  .legal-content .content-wrapper {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .live-chat-widget {
    width: calc(100% - 40px);
    right: 20px;
  }
}
