/* ==========================================================================
   DIGITAL MASTERMIND THEME - CORE STYLES
   ========================================================================== */
:root {
  --bg-base: #ffffff;
  --bg-gray: #f9fafb;
  --bg-dark: #1f2937;
  --bg-darker: #111827;

  --text-main: #111827;
  --text-muted: #6b7280;
  --text-light: #f9fafb;
  --text-light-gray: #d1d5db;

  --accent-cyan: #22d3ee;
  --accent-teal: #14b8a6;

  --gradient-primary: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-teal)
  );
  --gradient-dark: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));

  --font-sans: "Inter", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(34, 211, 238, 0.4);

  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-center {
  text-align: center;
}
.text-white {
  color: var(--text-light) !important;
}
.text-light-gray {
  color: var(--text-light-gray) !important;
}
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.font-bold {
  font-weight: 700;
}
.mt-4 {
  margin-top: 1.5rem;
}
.bg-dark {
  background-color: var(--bg-dark);
}
.bg-gray {
  background-color: var(--bg-gray);
}
.bg-cyan {
  background-color: var(--accent-cyan);
}
.bg-teal {
  background-color: var(--accent-teal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}
.btn-gradient {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-gradient:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  background: transparent;
}
.btn-outline:hover {
  background: var(--accent-cyan);
  color: #fff;
}
.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}
.full-width {
  width: 100%;
}

/* ==========================================================================
   GLOBAL HEADER (IDENTICAL SITE-WIDE)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}
.site-header.scrolled {
  padding: 5px 0;
  box-shadow: var(--shadow-lg);
}
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  gap: 32px;
}
.nav-link {
  color: var(--text-light-gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}
.hamburger-line {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 160px 0 100px;
  background: var(--bg-darker);
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-bg-animated {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(34, 211, 238, 0.1) 0%,
    rgba(17, 24, 39, 1) 50%
  );
  animation: rotateBg 30s linear infinite;
  z-index: 1;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.5;
}
.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.badge-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(34, 211, 238, 0.2);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-light-gray);
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
}
.hero-visual {
  position: relative;
}
.hero-stats-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  z-index: 2;
  transform: translateY(20px);
}
.stat-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.stat-row:last-child {
  margin-bottom: 0;
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}
.stat-info {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
}
.stat-label {
  color: var(--text-light-gray);
  font-size: 0.9rem;
}
.hero-abstract-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.shape-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.3);
}
.ring-1 {
  width: 350px;
  height: 350px;
  animation: pulseRing 4s infinite;
}
.ring-2 {
  width: 450px;
  height: 450px;
  animation: pulseRing 4s infinite 1s;
  border-color: rgba(20, 184, 166, 0.2);
}

/* ==========================================================================
   MARQUEE SECTION
   ========================================================================== */
.marquee-section {
  background: var(--bg-dark);
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-content {
  display: inline-block;
  animation: marqueeScroll 20s linear infinite;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light-gray);
  letter-spacing: 2px;
}
.marquee-content span {
  display: inline-block;
  vertical-align: middle;
}
.marquee-content .dot {
  color: var(--accent-cyan);
  margin: 0 32px;
  font-size: 1.2rem;
}

/* ==========================================================================
   GLOBAL SECTION SETTINGS
   ========================================================================== */
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-teal);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
}
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 100px 0;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}

/* ==========================================================================
   METHODOLOGY (ABOUT)
   ========================================================================== */
.methodology-visual {
  position: relative;
}
.grid-pattern-box {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(34, 211, 238, 0.2) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  z-index: 1;
  border-radius: var(--radius-lg);
}
.method-img-placeholder {
  position: relative;
  z-index: 2;
  background: var(--bg-dark);
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.pulsing-core {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  animation: pulseCore 3s infinite;
}
.floating-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  z-index: 3;
}
.shadow-glow {
  box-shadow: var(--shadow-glow);
}
.check-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: var(--text-main);
}
.check-list svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 100px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  color: var(--accent-teal);
}
.service-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-main);
}
.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.service-link {
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  transition: 0.2s;
}
.service-link:hover {
  color: var(--accent-teal);
  transform: translateX(5px);
}

/* ==========================================================================
   INDUSTRIES SECTION
   ========================================================================== */
.industries-section {
  padding: 100px 0;
  background: #fff;
}
.industry-accordion {
  margin-top: 40px;
}
.accordion-item {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
}
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}
.accordion-header:hover {
  color: var(--accent-teal);
}
.accordion-body {
  padding: 0 0 16px;
  color: var(--text-muted);
  display: none;
  line-height: 1.6;
}
.visual-grid-stack {
  position: relative;
  height: 400px;
}
.stack-card {
  position: absolute;
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-normal);
  border: 1px solid #e5e7eb;
}
.stack-icon {
  font-size: 2rem;
}
.card-1 {
  top: 20%;
  left: 10%;
  z-index: 3;
  width: 250px;
}
.card-2 {
  top: 40%;
  left: 30%;
  z-index: 2;
  width: 230px;
  opacity: 0.9;
  transform: scale(0.95);
}
.card-3 {
  top: 60%;
  left: 50%;
  z-index: 1;
  width: 260px;
  opacity: 0.8;
  transform: scale(0.9);
}
.visual-grid-stack:hover .card-1 {
  transform: translate(-10px, -10px);
}
.visual-grid-stack:hover .card-2 {
  transform: translate(10px, -5px) scale(0.95);
}
.visual-grid-stack:hover .card-3 {
  transform: translate(20px, 0) scale(0.9);
}

/* ==========================================================================
   ROI CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
  padding: 100px 0;
  background: var(--bg-darker);
  position: relative;
  background-image: radial-gradient(
    circle at top right,
    rgba(34, 211, 238, 0.05),
    transparent 40%
  );
}
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.form-group label {
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
  font-family: var(--font-heading);
}
.slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  -webkit-appearance: none;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}
.custom-select {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-family: var(--font-sans);
  appearance: none;
}
.custom-select option {
  background: var(--bg-dark);
}
.calc-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.result-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.result-box h4 {
  color: var(--text-light-gray);
  font-size: 0.9rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.result-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.result-box.highlighted {
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.05);
}
.result-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CASE STUDIES / REPORTS
   ========================================================================== */
.reports-section {
  padding: 100px 0;
}
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.report-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.report-img {
  height: 180px;
  width: 100%;
}
.report-content {
  padding: 30px;
}
.report-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.report-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.report-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}
.r-stat {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.r-stat span {
  font-weight: 700;
  font-size: 1.2rem;
}
.report-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 41, 55, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}
.report-card:hover .report-hover-overlay {
  opacity: 1;
}
.report-hover-overlay .btn-outline {
  border-color: #fff;
  color: #fff;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  padding: 100px 0;
  background: #fff;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.testimonial-card {
  background: var(--bg-gray);
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
}
.shadow-hover {
  transition: var(--transition-fast);
}
.shadow-hover:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.quote-icon {
  font-family: Georgia, serif;
  font-size: 5rem;
  color: rgba(34, 211, 238, 0.2);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.test-text {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 24px;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.author-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
}
.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PRE-FOOTER CTA
   ========================================================================== */
.cta-banner-section {
  padding: 50px 0 100px;
  background: #fff;
}
.cta-box {
  text-align: center;
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}
.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  font-family: var(--font-sans);
}
.chat-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: 0.3s;
}
.chat-toggle-btn svg {
  width: 28px;
  height: 28px;
}
.chat-toggle-btn:hover {
  transform: scale(1.1);
}
.chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0.9);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom right;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chat-panel.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}
.chat-header {
  background: var(--bg-dark);
  color: #fff;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.online-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-teal);
  border-radius: 50%;
  animation: pulseCore 2s infinite;
}
.chat-header h4 {
  font-size: 0.95rem;
  font-family: var(--font-heading);
}
#chat-close {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
}
.chat-body {
  padding: 16px;
  height: 250px;
  overflow-y: auto;
  background: var(--bg-gray);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  max-width: 85%;
}
.bot-msg {
  background: #e5e7eb;
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.user-msg {
  background: var(--accent-cyan);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.chat-input-area {
  display: flex;
  padding: 12px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
.chat-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px;
  font-size: 0.9rem;
}
.chat-send {
  background: var(--accent-cyan);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-send svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   GLOBAL FOOTER (IDENTICAL SITE-WIDE)
   ========================================================================== */
.site-footer {
  background: #0b0f19;
  color: var(--text-light-gray);
  font-family: var(--font-sans);
}
.footer-top {
  padding: 80px 0 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-logo {
  height: 40px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}
.footer-brand-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 300px;
}
.footer-links-group h4,
.footer-contact-info h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links-group a {
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.footer-links-group a:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}
.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-teal);
  flex-shrink: 0;
}
.footer-bottom {
  padding: 24px 0;
  background: #05080f;
}
.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.legal-links {
  display: flex;
  gap: 12px;
  align-items: center;
}
.legal-links a:hover {
  color: #fff;
}
.divider {
  color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   INNER PAGES (CONTACT & LEGAL)
   ========================================================================== */
.inner-page {
  background: var(--bg-gray);
}
.page-hero {
  padding: 180px 0 80px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.compact-hero {
  padding: 150px 0 50px;
}
.contact-section {
  padding: 80px 0;
}
.glass-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e5e7eb;
}
.shadow-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid #e5e7eb;
}
.info-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
}
.info-item-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.info-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-icon svg {
  width: 24px;
  height: 24px;
}
.info-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 4px;
}
.info-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.custom-form .form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: 0.2s;
  background: var(--bg-gray);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
  background: #fff;
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

/* Legal Content */
.legal-content-section {
  padding: 60px 0 100px;
}
.legal-container {
  max-width: 900px;
}
.rich-text-block h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 32px 0 16px;
  color: var(--text-main);
}
.rich-text-block p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}
.rich-text-block ul {
  margin: 0 0 16px 20px;
  list-style-type: disc;
  color: var(--text-muted);
}
.rich-text-block li {
  margin-bottom: 8px;
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */
@keyframes rotateBg {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulseRing {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
  }
}
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes pulseCore {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(34, 211, 238, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
  }
}

/* Scroll Reveal Classes (Handled by JS) */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease-out;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s ease-out;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease-out;
}
.active.reveal-up,
.active.reveal-left,
.active.reveal-right,
.active.reveal-scale {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-abstract-shape {
    display: none;
  }
  .hero-stats-card {
    max-width: 400px;
    margin: 0 auto;
  }
  .section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .methodology-text {
    text-align: center;
  }
  .check-list {
    align-items: center;
    text-align: left;
  }
  .industry-text {
    text-align: center;
  }
  .accordion-header {
    text-align: left;
  }
  .glass-panel {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 73px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 73px);
    background: rgba(31, 41, 55, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: 0.4s ease-in-out;
  }
  .nav-list.show {
    left: 0;
  }
  .nav-link {
    font-size: 1.2rem;
  }
  .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-title {
    font-size: 2.5rem;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .bottom-flex {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
