/* ============================================
   CONVERSING AI — MASTER STYLESHEET
   ============================================ */

/* ---------- CSS RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: hsl(222.2, 84%, 4.9%);
  color: hsl(210, 40%, 98%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-width: 320px;
}

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

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Reserve space during lazy load */
  content-visibility: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- CSS VARIABLES ---------- */
:root {
  --bg: hsl(222.2, 84%, 4.9%);
  --bg-dark: #020617;
  --bg-card: hsl(222.2, 84%, 6.9%);
  --fg: hsl(210, 40%, 98%);
  --primary: hsl(217.2, 91.2%, 59.8%);
  --primary-fg: hsl(222.2, 47.4%, 11.2%);
  --secondary: hsl(217.2, 32.6%, 17.5%);
  --muted: hsl(215, 20.2%, 65.1%);
  --border: hsl(217.2, 32.6%, 17.5%);
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-400: #60a5fa;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --radius: 0.5rem;
  --container: 1400px;
}

/* ---------- UTILITY CLASSES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}

.text-glow {
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5), 0 0 20px rgba(59, 130, 246, 0.3);
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  height: 2.5rem;
  transition: all 0.2s ease;
  /* Improve touch targets */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
  background: var(--blue-700);
  transform: scale(1.05);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--fg);
}

.btn-secondary:hover {
  background: hsl(217.2, 32.6%, 22%);
}

.btn-lg {
  height: 3.5rem;
  padding: 0 2rem;
  font-size: 1.125rem;
}

.btn-xl {
  height: 4rem;
  padding: 0 3rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.btn-round {
  border-radius: 9999px;
}

.btn-full {
  width: 100%;
}

.btn-white {
  background: #fff;
  color: #1e3a5f;
}

.btn-white:hover {
  background: #e2e8f0;
}

/* ---------- BADGES ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-blue {
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue-400);
}


.badge-primary {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--blue-500);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--blue-500);
  border-radius: 50%;
  opacity: 0.4;
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* ---------- FORM INPUTS ---------- */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  outline: none;
  font-weight: 500;
  transition: border-color 0.2s;
}

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

.form-select {
  appearance: none;
}

.form-select option {
  background: var(--bg-dark);
}

.form-textarea {
  resize: none;
}

.form-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-500);
  margin-bottom: 0.5rem;
  margin-left: 0.25rem;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: hsla(222.2, 84%, 4.9%, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 7.5rem;
}



.logo-link {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 1rem;
  transform: translateY(13px);
  min-width: max-content;
}

.logo-link:hover .logo-img {
  transform: scale(1.05);
}

.logo-img {
  height: 25rem;
  width: auto;
  border-radius: 0.375rem;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fff;
}

@media (max-width: 768px) {
  .header-inner {
    height: 4.5rem;
  }
  .logo-img {
    height: 12rem;
  }
  .logo-link {
    transform: translateY(13px);
    gap: 0.5rem;
  }
  .logo-text {
    font-size: 1.25rem;
  }
}

/* Desktop Nav Pill */
.nav-pill {
  display: none;
  align-items: center;
  gap: 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.625rem 2rem;
  border-radius: 9999px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
  .nav-pill {
    display: flex;
  }
}

.nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-300);
  transition: color 0.2s;
}

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

/* Services Dropdown */
.dropdown {
  position: relative;
  cursor: pointer;
  padding: 0.25rem 0;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-arrow {
  font-size: 0.625rem;
  opacity: 0.5;
  transition: transform 0.2s;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu-inner {
  background: #fff;
  border-radius: 1rem;
  padding: 0.5rem;
  width: 16rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid #e2e8f0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  border-radius: 0.75rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: var(--blue-600);
  color: #fff;
}

.dropdown-item .arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.2s;
}

.dropdown-item:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Header Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hide Get Started button on mobile — visible only on desktop */
.header-actions .btn-primary {
  display: none;
}

@media (min-width: 1024px) {
  .header-actions .btn-primary {
    display: inline-flex;
  }
}

.btn-consultation {
  display: none;
}

@media (min-width: 640px) {
  .btn-consultation {
    display: inline-flex;
  }
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-right: 0.75rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.5rem;
  transition: background-color 0.2s, border-color 0.2s;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 7.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  z-index: 40;
  padding: 2rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
}

.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}

.mobile-menu .nav-link {
  font-size: 1rem;
  padding: 0.5rem 0;
  display: block;
}

.mobile-menu .dropdown-menu {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  padding-top: 0.5rem;
  display: none;
}

.mobile-menu .dropdown-menu-inner {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .dropdown-item {
  color: var(--slate-300);
}

.mobile-menu .dropdown-item:hover {
  background: var(--blue-600);
  color: #fff;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #020617;
  padding: 3rem 1rem;
}

@media (max-width: 639px) {
  .hero {
    min-height: auto;
    padding: 1rem 1rem 2.5rem;
  }
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  opacity: 0.55;
  /* Don't let video affect layout */
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.5), rgba(2, 6, 23, 0.85));
  z-index: 2;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  filter: blur(120px);
  animation: heroPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.5;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.hero-text {
  text-align: center;
  max-width: 56rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(1.875rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  word-break: break-word;
}

/* ---------- SERVICE HERO REFINEMENTS ---------- */
.service-hero-v2 {
  position: relative;
  padding: 3rem 0 6rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.service-hero-v2 .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.95));
  z-index: 1;
}

.service-hero-v2 .container {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-featured-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.7);
  object-fit: cover;
}

.hero-image-glow {
  position: absolute;
  inset: -30px;
  background: var(--blue-600);
  filter: blur(70px);
  opacity: 0.2;
  z-index: -1;
}

.hero-social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
}

.social-proof-text {
  font-size: 0.875rem;
  color: var(--slate-400);
  font-weight: 500;
}

.star-rating {
  display: flex;
  gap: 0.25rem;
}

.star-rating svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #fbbf24;
  /* yellow-400 */
}

.rating-number {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-left: 0.5rem;
}

/* ---------- SUITE PAGE STYLES ---------- */
.suite-section {
  padding: 8rem 0;
}

.suite-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 9999px;
  color: var(--blue-400);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.suite-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.suite-nav-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-400);
  transition: all 0.2s;
  padding: 0.5rem 1rem;
  border-bottom: 2px solid transparent;
}

.suite-nav-link:hover {
  color: var(--blue-400);
  border-bottom-color: var(--blue-600);
}

.highlight {
  color: var(--blue-400);
}

.hero-subtitle {
  max-width: 42rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  opacity: 0.8;
  line-height: 1.6;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.hero-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(148, 163, 184, 0.9);
}

.hero-check svg {
  color: var(--blue-500);
  width: 1.25rem;
  height: 1.25rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}

@media (max-width: 480px) {
  .hero-buttons .btn-lg {
    width: 100%;
    max-width: 20rem;
    height: 3rem;
    font-size: 1rem;
    padding: 0 1.5rem;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

.section-header {
  max-width: 56rem;
  margin: 0 auto 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-title .highlight {
  color: var(--primary);
}

.section-subtitle {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
}

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

.service-card {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-card);
  padding: 2.5rem;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.2s;
}

.service-card:hover .service-icon-wrap {
  background: var(--blue-600);
  color: #fff;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-400);
  gap: 0.5rem;
}

.consultation-cta {
  margin-top: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .consultation-cta {
    margin-top: 5rem;
  }
}

.consultation-cta p {
  font-size: 1.125rem;
  color: var(--slate-400);
}

.service-learn-more svg {
  transition: transform 0.2s;
}

.service-card:hover .service-learn-more svg {
  transform: translateX(4px);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-container {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

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

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  width: min(340px, 85vw);
  flex-shrink: 0;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(30, 41, 59, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 1.75rem;
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: #fff;
  transform: translateY(-5px);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-stars svg {
  width: 1.125rem;
  height: 1.125rem;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--slate-300);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-card);
  transition: all 0.3s;
}

.pricing-card.popular {
  border-color: var(--blue-600);
  transform: scale(1.05);
}


/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 3.5rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.4), transparent);
  z-index: 0;
  display: none;
}

@media (min-width: 1024px) {
  .steps-grid::before {
    display: block;
  }
}

.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--blue-500);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.1);
}

.step-card:hover .step-number {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.5);
}

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  border-radius: 1.125rem;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 2rem;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.step-card h3 {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.step-card p {
  font-size: 1rem;
  color: var(--slate-400);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 1023px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .step-card {
    text-align: center;
    align-items: center;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-box {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-box {
    padding: 5rem 2rem;
  }
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: -0.03em;
}

.cta-text {
  font-size: 1.125rem;
  color: var(--slate-400);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.cta-tags span {
  font-size: 0.9375rem;
  color: var(--slate-500);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.3s ease;
}

.cta-tags span:hover {
  color: var(--blue-400);
}

.cta-tags span::before {
  content: "•";
  color: var(--blue-500);
  font-size: 1.5rem;
  line-height: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #020617;
  padding: 5rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 3fr;
  gap: 4rem;
}

@media (max-width: 1199px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.75rem 0;
  }



  .header-actions .btn-primary {
    padding: 0 1rem !important;
    height: 2.5rem !important;
    font-size: 0.875rem !important;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .split-row {
    gap: 2rem;
  }
}

@media (max-width: 991px) and (min-width: 769px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  margin-bottom: 2rem;
}

.logo-link img {
  height: 3.5rem;
  width: auto;
  border-radius: 0.5rem;
  object-fit: contain;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.05em;
  line-height: 1;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--slate-400);
  font-size: 0.875rem;
}

.footer-contact-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
}

.footer-contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: #fff;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 3rem;
  width: auto;
  border-radius: 0.125rem;
  object-fit: contain;
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #fff;
}

.footer-brand-text {
  color: var(--slate-400);
  font-size: 0.875rem;
  max-width: 24rem;
  line-height: 1.6;
}

.footer-menus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 640px) {
  .footer-menus {
    grid-template-columns: 1fr;
  }
}

.footer-menu-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-menu-list li {
  margin-bottom: 0.75rem;
}

.footer-menu-list a {
  color: var(--slate-400);
  font-size: 0.875rem;
}

.footer-menu-list a:hover {
  color: var(--blue-400);
}

.footer-bottom {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  transition: all 0.2s;
}

.footer-social-link:hover {
  background: var(--blue-600);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

@media (min-width: 992px) {
  .split-row {
    gap: 5rem;
  }
}

@media (max-width: 991px) {
  .split-row {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .split-row>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .split-row h2 {
    text-align: center !important;
  }

  .split-row ul {
    align-items: flex-start;
    text-align: left;
    display: inline-block;
  }
}

/* ---------- CENTERED CASE STUDY ---------- */
.centered-case {
  max-width: 800px;
  margin: 4rem auto 0;
  text-align: center;
}

.case-image-wrap {
  margin-bottom: 3.5rem;
  position: relative;
  display: flex;
  justify-content: center;
}

.case-image {
  width: 100%;
  max-width: 850px;
  height: auto;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
}

@media (max-width: 639px) {
  .centered-case {
    margin: 3rem auto 0;
  }

  .case-image-wrap {
    margin-bottom: 2.5rem;
  }

  .case-image {
    border-radius: 1.5rem;
  }
}

/* ---------- PROCESS SUMMARY FLOW ---------- */
.process-summary {
  margin-top: 5rem;
  padding: 4rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.process-summary h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.process-summary p {
  color: var(--muted);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.process-step {
  background: var(--blue-600);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3);
}

.process-arrow {
  color: var(--blue-400);
  font-size: 1.5rem;
  font-weight: 900;
}

@media (max-width: 767px) {
  .process-summary {
    padding: 2.5rem 1.5rem;
  }

  .process-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .process-arrow {
    transform: rotate(90deg);
  }
}

/* ---------- STATS GRID ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .stats-grid {
    gap: 1.5rem;
  }
}

.stat-card {
  padding: 1.5rem 1rem;
  background: rgba(30, 41, 59, 0.4);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .stat-card {
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
  }
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(30, 41, 59, 0.6);
  border-color: var(--blue-500);
}

.stat-number {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--slate-400);
  font-weight: 500;
}

@media (max-width: 1023px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Keep 2-col stats on mobile - better visual balance */
@media (max-width: 639px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .testimonials-track {
    animation: none;
  }

  .hero-glow {
    animation: none;
  }

  .pulse-dot::after {
    animation: none;
  }
}

/* ============================================
   FINAL PERFORMANCE, MOBILE & DESIGN REFINEMENTS
   ============================================ */

/* 1. Fluid Typography & Spacing */
h1, .hero-title { font-size: clamp(2.25rem, 8vw, 4.5rem); }
h2, .section-title { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
p, .hero-subtitle { font-size: clamp(1rem, 2vw, 1.125rem); }

/* 2. Touch Target Improvements (Minimum 44px) */
.nav-link, .dropdown-trigger, .btn, .footer-social-link, .dropdown-item {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* 3. Performance: Layout Stability */
.service-icon-wrap, .testimonial-avatar, .logo-img {
  aspect-ratio: 1 / 1;
}

/* 4. Design Excellence: Micro-interactions */
.service-card, .stat-card, .step-card, .testimonial-card {
  will-change: transform, box-shadow;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.1);
}

/* 5. Mobile Layout Refinements */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero { padding: 1rem 1rem 4rem; }
  .container { padding: 0 1.25rem; }
  
  .services-grid, .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  img {
    max-width: 100vw;
    height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-menus {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* 6. Premium Glow & Gradient Effects */
.highlight {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

/* 7. Speed: Image Optimization */
[loading="lazy"] {
  transition: opacity 0.3s ease-in;
}

img:not([src]) {
  visibility: hidden;
}

/* 8. Fix for Horizontal Scroll */
body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* 9. Navbar Refinements */
@media (max-width: 400px) {
  .logo-text {
    font-size: 1.25rem;
  }
}
