/* ==========================================================================
   STACKVEL SOLUTIONS — CORPORATE DESIGN SYSTEM v2.0
   Professional Enterprise Color Palette
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --color-primary:      #0057D9;
  --color-primary-dark: #1E3A8A;
  --color-accent:       #3B82F6;
  --color-accent-light: #93C5FD;

  /* Backgrounds */
  --bg-white:   #FFFFFF;
  --bg-light:   #F8FAFC;
  --bg-alt:     #EFF6FF;
  --bg-card:    #FFFFFF;
  --bg-navy:    #0F172A;

  /* Text */
  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #94A3B8;
  --text-white:     #FFFFFF;

  /* Borders */
  --border:         #E2E8F0;
  --border-focus:   #0057D9;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0057D9, #3B82F6);
  --gradient-hero:    linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #0057D9 100%);
  --gradient-card:    linear-gradient(135deg, #EFF6FF, #DBEAFE);
  --gradient-text:    linear-gradient(135deg, #0057D9, #3B82F6);

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-xl:   0 20px 60px rgba(0,0,0,0.12);
  --shadow-blue: 0 8px 24px rgba(0,87,217,0.20);

  /* Typography */
  --font-primary: 'Plus Jakarta Sans', 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast:   0.18s ease;
  --transition-normal: 0.3s ease;
  --transition-slow:   0.5s cubic-bezier(0.16,1,0.3,1);

  /* Layout */
  --nav-height:       80px;
  --container-max:    1360px;
  --section-py:       80px;
}

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

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

body {
  background-color: var(--bg-white);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  /* NO overflow: hidden here — keeps page scrollable */
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
ul { list-style: none; }
button { border: none; background: none; font-family: inherit; cursor: pointer; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}
.cursor-outline {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,87,217,0.4);
  border-radius: 50%;
  transition: width 0.3s, height 0.3s;
}
.cursor-outline.hover { width: 52px; height: 52px; background: rgba(0,87,217,0.05); }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

.text-blue    { color: var(--color-primary); }
.text-muted   { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 18px;
}

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

/* --------------------------------------------------------------------------
   4. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 2.5vw, 40px);
  width: 100%;
}

section { position: relative; overflow: hidden; }

.section-py { padding: var(--section-py) 0; }
.bg-white  { background: var(--bg-white); }
.bg-light  { background: var(--bg-light); }
.bg-alt    { background: var(--bg-alt); }
.bg-navy   { background: var(--bg-navy); }

.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-label { justify-content: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

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

/* --------------------------------------------------------------------------
   5. BUTTON SYSTEM
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,87,217,0.30);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-1px);
}

.btn-white {
  background: white;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: rgba(0,87,217,0.08);
  color: var(--color-primary);
  border-color: rgba(0,87,217,0.2);
}
.btn-ghost:hover {
  background: rgba(0,87,217,0.14);
  border-color: var(--color-primary);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.84rem; }

/* --------------------------------------------------------------------------
   6. PRELOADER
   -------------------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-white);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.preloader-logo {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.03em;
}

.preloader-bar-wrap {
  width: 180px;
  height: 3px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  animation: preloaderBar 2s ease forwards;
}

.preloader-dots {
  display: flex;
  gap: 6px;
}

.preloader-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-light);
  animation: dotBounce 1.2s ease infinite;
}
.preloader-dot:nth-child(2) { animation-delay: 0.2s; }
.preloader-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes preloaderBar {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes dotBounce {
  0%, 100% { transform: translateY(0); background: var(--color-accent-light); }
  50% { transform: translateY(-8px); background: var(--color-primary); }
}

/* --------------------------------------------------------------------------
   7. 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-normal);
  padding: 0 40px;
  background: transparent;
}

#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

#navbar.nav-dark {
  background: transparent;
}

#navbar.nav-dark .nav-links a { color: rgba(255,255,255,0.85); }
#navbar.nav-dark .nav-links a:hover { color: white; background: rgba(255,255,255,0.1); }
#navbar.nav-dark .nav-logo { color: white; }
#navbar.nav-dark .nav-hamburger span { background: white; }

#navbar.scrolled .nav-links a { color: var(--text-secondary); }
#navbar.scrolled .nav-links a:hover { color: var(--color-primary); }
#navbar.scrolled .nav-logo { color: var(--color-primary); }
#navbar.scrolled .nav-hamburger span { background: var(--text-primary); }

.nav-inner {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 56px;
  width: auto;
  background: white;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: block;
}

.nav-logo .logo-dot { color: var(--color-accent); }


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

.nav-links a {
  padding: 7px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-links a:hover { color: white; background: rgba(255,255,255,0.12); }
.nav-links a.active { color: white; }

.nav-cta {
  background: white !important;
  color: var(--color-primary) !important;
  padding: 9px 22px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 700 !important;
  font-size: 0.86rem !important;
  box-shadow: var(--shadow-md);
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--bg-alt) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg) !important;
}

#navbar.scrolled .nav-cta {
  background: var(--gradient-primary) !important;
  color: white !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition-normal);
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: white;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 11px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}
.nav-mobile a:hover { color: var(--color-primary); background: var(--bg-alt); }

/* --------------------------------------------------------------------------
   8. HERO SECTION
   -------------------------------------------------------------------------- */
#hero {
  background: var(--gradient-hero);
  padding: calc(var(--nav-height) + 40px) 0 60px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.25; /* Subtle video behind overlay */
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.96) 0%, rgba(30,58,138,0.85) 50%, rgba(0,87,217,0.7) 100%);
  z-index: 1;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 2;
}

.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.25) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-tag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse 2s ease infinite;
}

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

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 22px;
}

.hero-title .accent-line {
  background: linear-gradient(90deg, #60A5FA, #93C5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}

.hero-trust-item i { color: #22C55E; font-size: 0.9rem; }

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 460px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.hero-stat-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-primary);
  font-size: 1.9rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

.hero-activity {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
}

.activity-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.activity-dot.green  { background: #22C55E; }
.activity-dot.blue   { background: #60A5FA; }
.activity-dot.orange { background: #FBBF24; }

/* --------------------------------------------------------------------------
   9. CLIENT INDUSTRY CARDS (Hover Flip Effect)
   -------------------------------------------------------------------------- */
.client-industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.client-industry-card {
  background-color: transparent;
  width: 100%;
  height: 240px;
  perspective: 1000px;
  position: relative;
  cursor: pointer;
}

.cic-front, .cic-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.cic-front {
  background: var(--bg-white);
  transform: rotateY(0deg);
}

.cic-back {
  background: var(--gradient-primary);
  color: white;
  transform: rotateY(180deg);
  border: none;
}

.client-industry-card:hover .cic-front {
  transform: rotateY(180deg);
}

.client-industry-card:hover .cic-back {
  transform: rotateY(0deg);
  box-shadow: var(--shadow-blue);
}

.cic-icon i {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  transition: var(--transition-normal);
}

.cic-front h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.cic-clients {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.cic-back-icon {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 12px;
}

.cic-back h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: white;
}

.cic-back p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.cic-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cic-link i { font-size: 0.8rem; }
.cic-link:hover { gap: 10px; color: var(--color-accent-light); }

.feature-list li i, .service-feature-list li i {
  color: var(--color-primary);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   10. STATS SECTION
   -------------------------------------------------------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-block {
  background: var(--bg-white);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
}

.stat-block::after {
  content: '';
  position: absolute;
  bottom: 0; left: 24px; right: 24px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.stat-block:hover { background: var(--bg-alt); }
.stat-block:hover::after { transform: scaleX(1); }

.stat-icon {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.stat-num {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   11. SERVICE CARDS
   -------------------------------------------------------------------------- */
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition-slow);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent-light);
}

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

.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid rgba(0,87,217,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrap {
  background: var(--color-primary);
}

.service-icon-wrap i {
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.service-card:hover .service-icon-wrap i { color: white; }

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

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.service-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--bg-alt);
  border: 1px solid rgba(0,87,217,0.15);
  border-radius: var(--radius-full);
  color: var(--color-primary);
}

.service-impact {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.service-impact i { font-size: 0.78rem; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 14px;
  transition: var(--transition-fast);
}

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

/* Large service detail card */
.service-detail-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 28px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-detail-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-normal);
}

.service-detail-card:hover::before { opacity: 1; }
.service-detail-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent-light);
}

.service-detail-left .big-icon {
  font-size: 2.8rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  display: block;
}

.service-detail-left h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-detail-left p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 22px;
}

.feature-list, .service-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li, .service-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-list li i { color: #22C55E; margin-top: 3px; font-size: 0.78rem; flex-shrink: 0; }

.service-detail-right {
  background: var(--bg-alt);
  border: 1px solid rgba(0,87,217,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.service-detail-right h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-process-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.sps-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  background: var(--color-primary);
  flex-shrink: 0;
}

.sps-text h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.sps-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.process-step {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.ps-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.ps-text h5 { font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.ps-text p  { font-size: 0.79rem; color: var(--text-secondary); line-height: 1.5; }

.pricing-box {
  margin-top: 20px;
  padding: 14px 16px;
  background: white;
  border: 1px solid rgba(0,87,217,0.12);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.pricing-box strong { color: var(--color-primary); }

@media(max-width:900px) {
  .service-detail-card { grid-template-columns: 1fr; padding: 28px; }
}

/* --------------------------------------------------------------------------
   12. INDUSTRY CARDS
   -------------------------------------------------------------------------- */
.industry-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: center;
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-light);
  background: var(--bg-alt);
}

.industry-icon-wrap {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid rgba(0,87,217,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: var(--color-primary);
  transition: var(--transition-normal);
}

.industry-card:hover .industry-icon-wrap {
  background: var(--color-primary);
  color: white;
}

.industry-card h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 8px; }
.industry-card p  { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

/* --------------------------------------------------------------------------
   13. TECHNOLOGY STACK
   -------------------------------------------------------------------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 14px;
}

.tech-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 14px;
  text-align: center;
  transition: var(--transition-normal);
  cursor: pointer;
}

.tech-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-md);
  background: var(--bg-alt);
}

.tech-item i {
  font-size: 1.8rem;
  color: var(--color-primary);
  display: block;
  margin-bottom: 8px;
}

.tech-item span {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.tech-item:hover span { color: var(--color-primary); }

/* --------------------------------------------------------------------------
   14. JOURNEY / PROCESS TIMELINE
   -------------------------------------------------------------------------- */
.journey-wrap {
  position: relative;
}

.journey-line-v {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--border);
}

.journey-line-fill {
  width: 100%;
  height: 0%;
  background: var(--gradient-primary);
  transition: height 1.5s ease;
}

.journey-step {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
}

.journey-step:nth-child(odd) .step-content-box  { order: 1; }
.journey-step:nth-child(odd) .step-node-wrap     { order: 2; }
.journey-step:nth-child(odd) .step-empty         { order: 3; }
.journey-step:nth-child(even) .step-empty        { order: 1; }
.journey-step:nth-child(even) .step-node-wrap    { order: 2; }
.journey-step:nth-child(even) .step-content-box  { order: 3; }

.step-content-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition-normal);
}

.step-content-box:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-light);
}

.step-phase {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.step-content-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-content-box p  { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }

.step-node-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 1;
}

.step-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.journey-step.active .step-circle {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-blue);
}

/* --------------------------------------------------------------------------
   15. PORTFOLIO CARDS
   -------------------------------------------------------------------------- */
.portfolio-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent-light);
}

.portfolio-img { width: 100%; height: 210px; object-fit: cover; }
.portfolio-card:hover .portfolio-img { transform: scale(1.03); }

.portfolio-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--color-primary);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.portfolio-body { padding: 24px; }
.portfolio-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.portfolio-body p  { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 14px; }

.portfolio-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }

.tech-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--bg-alt);
  border: 1px solid rgba(0,87,217,0.12);
  border-radius: var(--radius-full);
  color: var(--color-primary);
}

.portfolio-result {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #16A34A;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   16. CASE STUDIES
   -------------------------------------------------------------------------- */
.case-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  margin-bottom: 28px;
  transition: var(--transition-normal);
}

.case-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent-light);
}

.case-img-wrap { position: relative; min-height: 280px; overflow: hidden; }
.case-img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.case-card:hover .case-img { transform: scale(1.04); }

.case-body { padding: 40px; }
.case-body h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.case-body p  { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 22px; }

.case-metrics { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }

.case-metric-num {
  font-family: var(--font-primary);
  font-size: 1.7rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-metric-label { font-size: 0.76rem; color: var(--text-secondary); }

/* --------------------------------------------------------------------------
   17. CALCULATORS & FORMS
   -------------------------------------------------------------------------- */
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.calc-field { margin-bottom: 20px; }

.calc-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
}

.calc-field input,
.calc-field select,
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: var(--font-body);
  transition: var(--transition-fast);
  outline: none;
}

.calc-field input:focus,
.calc-field select:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,87,217,0.1);
}

.calc-field input::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.calc-results-box {
  background: var(--bg-alt);
  border: 1px solid rgba(0,87,217,0.15);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.result-item:last-child { border-bottom: none; }
.result-label { font-size: 0.88rem; color: var(--text-secondary); }

.result-value {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Cost options */
.cost-option {
  padding: 18px 16px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.cost-option:hover, .cost-option.selected {
  background: var(--bg-alt);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.cost-option i { display: block; font-size: 1.4rem; margin-bottom: 8px; color: var(--color-primary); }

.cost-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.87rem;
  color: var(--text-secondary);
}

.cost-check-item:hover, .cost-check-item.checked {
  border-color: var(--color-primary);
  background: var(--bg-alt);
  color: var(--color-primary);
}

.cost-check-box {
  width: 18px; height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  transition: var(--transition-fast);
}

.cost-check-item.checked .cost-check-box {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.cost-result-box {
  background: var(--bg-alt);
  border: 1px solid rgba(0,87,217,0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-top: 24px;
}

.cost-result-range {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   18. AI ASSESSMENT
   -------------------------------------------------------------------------- */
.assess-wrap { max-width: 780px; margin: 0 auto; }

.assess-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

.assess-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.assess-dot.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-blue);
}

.assess-dot.done {
  background: #DCFCE7;
  border-color: #22C55E;
  color: #16A34A;
}

.assess-line { flex: 1; height: 1px; background: var(--border); }

.assess-question { display: none; }
.assess-question.active {
  display: block;
  animation: fadeSlideUp 0.35s ease forwards;
}

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

.assess-question h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.assess-question > p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.assess-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

.assess-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.assess-option:hover, .assess-option.selected {
  border-color: var(--color-primary);
  background: var(--bg-alt);
  color: var(--color-primary);
}

.assess-radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.assess-option.selected .assess-radio {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,87,217,0.15);
}

.assess-nav { display: flex; gap: 12px; justify-content: space-between; align-items: center; }

.assess-result { display: none; text-align: center; }
.assess-result.show { display: block; animation: fadeSlideUp 0.5s ease; }

.assess-score-ring {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-blue);
}

.assess-score-num {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.assess-score-lbl { font-size: 0.68rem; color: rgba(255,255,255,0.8); letter-spacing: 0.1em; }

/* --------------------------------------------------------------------------
   19. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonial-inner {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.testimonial-stars { color: #F59E0B; font-size: 1rem; letter-spacing: 4px; margin-bottom: 20px; }

.testimonial-quote {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4.5rem;
  font-family: Georgia, serif;
  color: var(--color-accent-light);
  opacity: 0.4;
  line-height: 1;
}

.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent-light);
}

.testimonial-author-name { font-weight: 700; font-size: 0.92rem; margin-bottom: 2px; }
.testimonial-author-role { font-size: 0.78rem; color: var(--text-secondary); }

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.testimonial-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.testimonial-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-dot.active {
  background: var(--color-primary);
  width: 22px;
  border-radius: 4px;
}

.testimonial-track { display: flex; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.testimonial-card  { min-width: 100%; padding: 0 20px; }

/* --------------------------------------------------------------------------
   20. FAQ
   -------------------------------------------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
  gap: 16px;
}

.faq-question:hover { color: var(--color-primary); }

.faq-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 0.75rem;
  transition: var(--transition-normal);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner {
  padding: 0 0 22px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   21. CONTACT & FORMS
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { font-size: clamp(1.7rem,2.5vw,2.5rem); font-weight: 800; margin-bottom: 16px; }
.contact-info p  { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.85; margin-bottom: 36px; }

.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }

.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid rgba(0,87,217,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.contact-item-value { font-size: 0.92rem; font-weight: 600; color: var(--text-primary); }

.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 0; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
}

.form-group textarea { resize: vertical; }
.form-group select option { background: white; }

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 600;
  margin-top: 14px;
  display: none;
}

.form-message.success {
  display: block;
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  color: #16A34A;
}

.form-message.error {
  display: block;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #DC2626;
}

/* --------------------------------------------------------------------------
   22. BLOG CARDS
   -------------------------------------------------------------------------- */
.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent-light);
}

.blog-img { width: 100%; height: 190px; object-fit: cover; transition: var(--transition-slow); }
.blog-card:hover .blog-img { transform: scale(1.04); }

.blog-body { padding: 24px; }
.blog-cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 10px; display: block; }
.blog-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 9px; line-height: 1.45; }
.blog-body p  { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 16px; }

.blog-meta { display: flex; align-items: center; gap: 14px; font-size: 0.76rem; color: var(--text-muted); }
.blog-meta span { display: flex; align-items: center; gap: 4px; }

/* --------------------------------------------------------------------------
   23. CTA SECTION
   -------------------------------------------------------------------------- */
#cta {
  background: var(--gradient-hero);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(1.9rem,3.5vw,3rem); font-weight: 900; color: white; margin-bottom: 18px; }
.cta-inner p  { font-size: 1.05rem; color: rgba(255,255,255,0.78); max-width: 540px; margin: 0 auto 36px; line-height: 1.8; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   24. FOOTER
   -------------------------------------------------------------------------- */
#footer {
  background: var(--bg-navy);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.footer-logo .logo-dot { color: var(--color-accent); }

.footer-brand p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 280px;
}

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

.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

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

.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition-fast);
}

.footer-col ul a:hover {
  color: rgba(255,255,255,0.9);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.footer-contact-item i { color: var(--color-accent); font-size: 0.85rem; }
.footer-contact-item a { color: rgba(255,255,255,0.5); }
.footer-contact-item a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); transition: var(--transition-fast); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* --------------------------------------------------------------------------
   25. PAGE HEADER (Inner Pages)
   -------------------------------------------------------------------------- */
.page-header {
  background: var(--gradient-hero);
  padding: calc(var(--nav-height) + 30px) 0 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-header-inner { position: relative; z-index: 1; }

.page-header .section-label {
  justify-content: center;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}

.page-header .section-label::before { background: rgba(255,255,255,0.5); }

.page-header h1 {
  font-size: clamp(2.2rem,4.5vw,3.6rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.page-header p { font-size: 1.05rem; color: rgba(255,255,255,0.72); max-width: 540px; margin: 0 auto; line-height: 1.8; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.breadcrumb i { font-size: 0.6rem; }
.breadcrumb span { color: rgba(255,255,255,0.8); }

/* --------------------------------------------------------------------------
   26. AUDIT SECTION
   -------------------------------------------------------------------------- */
.audit-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.audit-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.audit-benefit:last-of-type { border-bottom: none; margin-bottom: 20px; }
.audit-benefit i { color: #22C55E; font-size: 0.8rem; }

/* --------------------------------------------------------------------------
   27. BADGES & MISC
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-blue    { background: var(--bg-alt); border: 1px solid rgba(0,87,217,0.2); color: var(--color-primary); }
.badge-green   { background: #F0FDF4; border: 1px solid #86EFAC; color: #16A34A; }
.badge-orange  { background: #FEF3C7; border: 1px solid #FCD34D; color: #D97706; }

.divider { width: 48px; height: 3px; background: var(--gradient-primary); border-radius: 2px; margin: 18px 0; }
.divider.center { margin: 18px auto; }

/* Why Stackvel Cards */
.why-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-light);
}

.why-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid rgba(0,87,217,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.why-card p  { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }

/* --------------------------------------------------------------------------
   28. BLOG FILTER
   -------------------------------------------------------------------------- */
.blog-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* Blog Featured */
.blog-featured {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 40px;
  transition: var(--transition-normal);
}

.blog-featured:hover { box-shadow: var(--shadow-xl); border-color: var(--color-accent-light); }
.blog-featured-img { height: 100%; min-height: 300px; object-fit: cover; }
.blog-featured-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; line-height: 1.3; }
.blog-featured-body p  { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 20px; }

/* --------------------------------------------------------------------------
   29. NEWSLETTER
   -------------------------------------------------------------------------- */
.newsletter-box {
  background: var(--bg-alt);
  border: 1px solid rgba(0,87,217,0.15);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
}

.newsletter-box h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.newsletter-box p  { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 24px; }

.newsletter-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }

.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
}

.newsletter-form input:focus { border-color: var(--color-primary); }

/* --------------------------------------------------------------------------
   30. RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .tech-grid { grid-template-columns: repeat(4,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 1024px) {
  :root { --section-py: 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .client-industry-grid { grid-template-columns: repeat(2, 1fr); }
  .case-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .calc-wrap { grid-template-columns: 1fr; }
  .journey-step { grid-template-columns: 1fr; gap: 16px; }
  .step-empty { display: none; }
  .step-node-wrap { order: 1 !important; }
  .step-content-box { order: 2 !important; }
  .journey-line-v { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; --section-py: 48px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  #navbar { padding: 0 20px; }
  .container { padding: 0 16px; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px !important; }
  .grid-3 { grid-template-columns: 1fr; gap: 32px !important; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 24px !important; }
  .client-industry-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: repeat(3,1fr); gap: 16px !important; }
  .form-grid { grid-template-columns: 1fr; gap: 20px !important; }
  .form-card { padding: 28px; }
  .testimonial-inner { padding: 32px 24px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 200px; }
  .blog-featured-body { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-header { padding: calc(var(--nav-height) + 20px) 0 32px; }
  #hero { padding: calc(var(--nav-height) + 24px) 0 48px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px !important; }
  .newsletter-form { flex-direction: column; }
  .section-title { font-size: 1.7rem; }
}

/* --------------------------------------------------------------------------
   FLOATING WHATSAPP
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  color: white;
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}
