/* =========================================
   FULL WAVE DEVELOPMENT - GLOBAL STYLES
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg-primary: #070b14;
  --bg-secondary: #0d1526;
  --bg-card: #111827;
  --accent-blue: #0066ff;
  --accent-cyan: #00d4ff;
  --accent-purple: #7c3aed;
  --gradient-main: linear-gradient(135deg, #0066ff, #00d4ff);
  --gradient-hero: linear-gradient(135deg, #0d1526 0%, #070b14 100%);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.25);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 80px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---- Utility Classes ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

[style*="text-align:center"] > .section-subtitle,
[style*="text-align: center"] > .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-main);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.55);
}

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

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--accent-blue);
  color: var(--accent-cyan);
  background: rgba(0, 102, 255, 0.08);
  transform: translateY(-2px);
}

/* ---- Scroll Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown .dropdown-toggle svg {
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: var(--shadow-card);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(0, 102, 255, 0.1);
  color: var(--accent-cyan);
}

.dropdown-item .item-icon {
  width: 28px;
  height: 28px;
  background: rgba(0, 102, 255, 0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.nav-cta {
  background: var(--gradient-main);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.35);
  transition: var(--transition) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 102, 255, 0.5) !important;
  background: rgba(255,255,255,0) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(7, 11, 20, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px 24px;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--accent-cyan);
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-sub-menu {
  display: none;
  padding: 8px 0 0 16px;
}

.mobile-sub-menu.open {
  display: block;
}

.mobile-sub-link {
  display: block;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s;
}

.mobile-sub-link:hover {
  color: var(--accent-cyan);
}

.mobile-nav-cta {
  display: block;
  text-align: center;
  margin-top: 20px;
  background: var(--gradient-main);
  color: #fff;
  font-weight: 600;
  padding: 14px;
  border-radius: 50px;
  font-size: 0.95rem;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero > .container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
}

/* Animated gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.18) 0%, transparent 70%);
  animation: float-orb 8s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  animation: float-orb 10s ease-in-out infinite reverse;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 75%);
  z-index: 0;
}

.hero-text {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  animation: fade-in-up 0.6s ease forwards;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  animation: fade-in-up 0.6s ease 0.1s both;
}

.hero-title .line-highlight {
  display: block;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
  animation: fade-in-up 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
  animation: fade-in-up 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  animation: fade-in-up 0.6s ease 0.4s both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* =========================================
   HERO — SINGLE COLUMN + CHART CARD
   ========================================= */

.hero-single {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

/* Chart section below hero */
.hero-chart-section {
  background: var(--bg-primary);
  padding: 0 0 80px;
}

/* Hero Chart Card */
.hero-chart-card {
  width: 100%;
  margin-top: 0;
  background: #0b1222;
  border: 1px solid rgba(0, 102, 255, 0.25);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 102, 255, 0.12), 0 32px 80px rgba(0,0,0,0.5);
  position: relative;
  animation: fade-in-up 0.9s ease 0.5s both;
}

/* Animated shimmer top border */
.hero-chart-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0066ff, #00d4ff, #0066ff);
  background-size: 200% 100%;
  animation: shimmer-border 3s linear infinite;
}

@keyframes shimmer-border {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Top row: title + stats + live badge */
.hcc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 12px;
  flex-wrap: wrap;
}

.hcc-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.hcc-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.hcc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 18px;
}

.hcc-num {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hcc-lbl {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.hcc-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.hcc-live {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  flex-shrink: 0;
}

.hcc-dot {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

/* Chart area */
.hcc-chart-area {
  display: flex;
  align-items: stretch;
  padding: 16px 20px 0;
  gap: 8px;
}

.hcc-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 28px;
}

.hcc-y span {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1;
}

.hcc-svg-wrap {
  flex: 1;
  min-width: 0;
}

/* Line draw animation */
.hero-svg-line {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation: draw-hero-line 2.4s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

@keyframes draw-hero-line {
  to { stroke-dashoffset: 0; }
}

/* Pulse ring on endpoint */
.hero-pulse-ring {
  transform-origin: 900px 1px;
  animation: ring-pulse 2s ease-in-out 3s infinite;
}

/* X-axis labels */
.hcc-x {
  display: flex;
  justify-content: space-between;
  padding: 6px 0 14px;
}

.hcc-x span {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 500;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%       { opacity: 0;    transform: scale(2.5); }
}

/* Responsive: hero chart card */
@media (max-width: 768px) {
  .hcc-top {
    padding: 14px 16px 12px;
    gap: 8px;
  }

  .hcc-stat { padding: 0 10px; }
  .hcc-num  { font-size: 1rem; }
  .hcc-sep  { height: 24px; }

  .hcc-chart-area { padding: 12px 12px 0; }

  .hcc-y { display: none; }

  .hcc-x span:nth-child(even) { display: none; }
}

@media (max-width: 480px) {
  .hcc-sep { display: none; }
  .hcc-stat { padding: 0 6px; }
  .hcc-stats { gap: 4px; }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  animation: fade-in-up 1s ease 0.8s both;
}

.scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse::after {
  content: '';
  width: 3px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0; }
  61% { transform: translateY(-10px); opacity: 0; }
  100% { opacity: 1; }
}

/* =========================================
   CLIENTS / TRUST STRIP
   ========================================= */
/* =========================================
   CLIENTS SECTION
   ========================================= */
.clients-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.clients-header {
  text-align: center;
  margin-bottom: 60px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.client-card:hover {
  border-color: rgba(0, 102, 255, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Screenshot preview */
.client-preview {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0d1526;
}

.client-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.client-card:hover .client-preview img {
  transform: scale(1.05);
}

.client-preview-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.client-card:hover .client-preview-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.client-visit {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 50px;
  text-decoration: none;
}

.client-card:hover .client-visit {
  opacity: 1;
  transform: translateY(0);
}

.clients-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* Placeholder */
.client-preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0d1526, #111827);
}

.client-preview-placeholder span { font-size: 2.5rem; }
.client-preview-placeholder p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Card footer */
.client-footer {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--border-color);
}

.client-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.client-industry {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.client-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.client-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  padding: 3px 9px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .client-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 560px) {
  .client-card { flex: 0 0 100%; }
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
  padding: 100px 0;
  background: var(--bg-primary);
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-subtitle,
.clients-header .section-subtitle,
.testimonials-header .section-subtitle,
.process-header .section-subtitle {
  margin: 0 auto;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.service-card:hover {
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 102, 255, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(0, 102, 255, 0.22);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 10px;
}

/* =========================================
   RESULTS / STATS SECTION
   ========================================= */
.results {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.results::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.results-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.results-content {
  text-align: left;
}

.results-content .section-subtitle,
.mission-text .section-subtitle {
  margin-bottom: 36px;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.case-study-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}

.case-study-logo {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-study-logo::before {
  content: '⚖️';
}

.case-study-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
}

.case-study-author {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateY(-4px);
}

.stat-card .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* =========================================
   PROCESS SECTION
   ========================================= */
.process {
  padding: 100px 0;
  background: var(--bg-primary);
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
}


.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(to right, var(--accent-blue), var(--accent-cyan));
  opacity: 0.4;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--bg-card);
  border: 2px solid rgba(0, 102, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .step-number {
  background: rgba(0, 102, 255, 0.15);
  border-color: var(--accent-blue);
  box-shadow: 0 0 24px rgba(0, 102, 255, 0.3);
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.rating-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  font-size: 1.2rem;
}

.rating-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  border-color: rgba(0, 102, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.testimonial-quote {
  font-size: 3.5rem;
  font-family: Georgia, serif;
  color: var(--accent-blue);
  line-height: 0.6;
  margin-bottom: -4px;
  opacity: 0.7;
  font-weight: 700;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

/* =========================================
   CTA SECTION
   ========================================= */
/* Areas We Serve Strip */
.areas-strip {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}
.areas-strip .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.areas-strip-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.areas-strip-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.areas-strip-links a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.areas-strip-links a:hover { color: var(--accent-cyan); }
.areas-sep { color: var(--text-muted); font-size: 0.75rem; }

.cta-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.cta-box {
  background: linear-gradient(135deg, #0d1a3a 0%, #0a1426 100%);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  transition: var(--transition);
}

.cta-phone:hover {
  color: var(--accent-blue);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-secondary);
}

.social-btn:hover {
  background: rgba(0, 102, 255, 0.15);
  border-color: var(--accent-blue);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent-cyan);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.footer-contact-item svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--accent-cyan);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .results-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .results-content .section-subtitle {
    max-width: 100%;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }

  :root {
    --nav-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 48px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Show visit button on mobile without hover */
  .client-preview-overlay {
    background: rgba(0, 0, 0, 0.4) !important;
  }

  .client-visit {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}
