/* ==========================================================================
   Growth Metrix - Main Stylesheet
   Modern, Ultra-clean, High Performance Agency Styling
   Fonts: Headings — Space Grotesk | Body — Inter
   Brand Primary: #0066FF
   ========================================================================== */

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 900px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.4rem, 4.8vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.68;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* Italic serif font accent for stylish headlines (like screenshot) */
.font-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}

/* Color Utilities */
.text-primary { color: var(--primary) !important; }
.text-dark { color: var(--text-dark) !important; }
.text-white { color: #ffffff !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }

/* ==========================================================================
   Pill Badges
   ========================================================================== */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 9999px;
  letter-spacing: 0.01em;
  transition: var(--transition);
  user-select: none;
}

.pill-badge-blue {
  background: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.pill-badge-blue:hover {
  background: rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.35);
}

.pill-badge-gold {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.pill-badge-gold .star {
  color: #f59e0b;
}

.pill-badge-translucent {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

/* ==========================================================================
   Buttons with Modern Glow & Micro-interactions
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  outline: none;
  z-index: 1;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn-glow-wrapper {
  position: relative;
  display: inline-flex;
}

.button-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96%;
  height: 90%;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.65) 0%, rgba(0, 102, 255, 0) 70%);
  filter: blur(14px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.btn-glow-wrapper:hover .button-glow-bg {
  opacity: 0.85;
  transform: translate(-50%, -50%) scale(1.15);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
  transform: translateY(-2px);
}

.btn-dark-pill {
  background-color: #0b0f19;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 15, 25, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-dark-pill:hover {
  background-color: #1a2236;
  box-shadow: 0 8px 24px rgba(11, 15, 25, 0.35);
  transform: translateY(-2px);
}

.btn-white-pill {
  background-color: #ffffff;
  color: var(--text-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
}

.btn-white-pill:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-whatsapp:hover {
  background-color: #20bd5a;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-subtle);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: var(--transition);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
  border-bottom-color: var(--border-light);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-img {
  height: 38px;
  width: auto;
}

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

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* =========================================================================
   NAV DROPDOWN & MODERN MEGA DROPDOWN FOR SERVICES
   ========================================================================= */
.has-dropdown {
  position: relative;
}

/* Invisible bridge so mouse hover doesn't drop when transitioning */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
  display: block;
  z-index: 99;
}

.dropdown-chevron {
  transition: transform 0.25s ease;
}

.has-dropdown:hover .dropdown-chevron,
.has-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  width: 290px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mega Dropdown Specific Styles */
.dropdown-menu.mega-dropdown {
  left: 50%;
  transform: translateX(-40%) translateY(10px);
  width: 600px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.04);
  padding: 18px 20px 14px 20px;
  pointer-events: none;
}

.has-dropdown:hover .dropdown-menu.mega-dropdown,
.has-dropdown:focus-within .dropdown-menu.mega-dropdown {
  transform: translateX(-40%) translateY(0);
  pointer-events: auto;
}

.mega-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 12px 6px;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 10px;
}

.mega-dropdown-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94A3B8;
}

.mega-dropdown-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0066FF;
  background: rgba(0, 102, 255, 0.08);
  padding: 2px 10px;
  border-radius: 999px;
}

.mega-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}

.mega-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-dropdown-item:hover {
  background-color: #F8FAFC;
  border-color: rgba(0, 102, 255, 0.12);
  transform: translateY(-1px);
}

.mega-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mega-dropdown-item:hover .mega-item-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.icon-social {
  background: rgba(0, 102, 255, 0.08);
  color: #0066FF;
}

.icon-web {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.icon-design {
  background: rgba(139, 92, 246, 0.1);
  color: #7C3AED;
}

.icon-ads {
  background: rgba(245, 158, 11, 0.1);
  color: #D97706;
}

.icon-influencer {
  background: rgba(236, 72, 153, 0.1);
  color: #DB2777;
}

.icon-video {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}

.mega-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-item-heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.mega-dropdown-item:hover .mega-item-heading {
  color: #0066FF;
}

.mega-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
  color: #0066FF;
}

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

.mega-item-sub {
  font-size: 0.77rem;
  color: #64748B;
  line-height: 1.35;
  font-weight: 400;
}

.mega-dropdown-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 12px 6px 4px 6px;
  border-top: 1px solid #F1F5F9;
}

.mega-footer-all {
  font-size: 0.84rem;
  font-weight: 600;
  color: #0066FF;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mega-footer-all:hover {
  color: #004ecc;
  text-decoration: underline;
}

.mega-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F1F5F9;
  color: #0F172A;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mega-footer-badge:hover {
  background: #0066FF;
  color: #FFFFFF;
}

.badge-sparkle {
  color: #0066FF;
  font-size: 0.85rem;
}

.mega-footer-badge:hover .badge-sparkle {
  color: #FFFFFF;
}

/* Fallback single-column items */
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--bg-main);
  color: var(--primary);
  transform: translateX(3px);
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile Hamburger */
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);
  background-color: #ffffff;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 80px 0;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 50px auto;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 32px auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Growth Engine Divider Title */
.hero-beam-heading {
  text-align: center;
  margin-bottom: 32px;
}

.hero-beam-heading h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   Trust / Stats Section
   ========================================================================== */
.section-trust {
  padding: 60px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.trust-intro-title {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Client Logo Ticker / Badges */
.client-logos-row {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px dashed var(--border-light);
}

.client-logo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-xs);
}

.client-logo-badge svg,
.client-logo-badge img {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Section Headers (Shared)
   ========================================================================== */
.section-padding {
  padding: 90px 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 54px auto;
}

.section-header .pill-badge {
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-subtle);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 22px;
  transition: transform 0.25s ease;
}

.service-card:hover .service-card-icon {
  transform: scale(1.08);
  background: var(--primary);
  color: #ffffff;
}

.service-card-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 8px;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-choose-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.why-card {
  padding: 38px 34px;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.why-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 16px 36px rgba(0, 102, 255, 0.08);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary) !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(0, 102, 255, 0.28);
  margin-bottom: 24px;
}

.why-card-icon svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

.why-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.why-card-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin: 0;
}

/* ==========================================================================
   Process Section (4 Steps)
   ========================================================================== */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  display: inline-block;
  background: var(--primary-subtle);
  padding: 4px 12px;
  border-radius: 8px;
}

.process-step-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.process-step-desc {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   Featured Work / Portfolio Section
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-lg);
}

.project-preview {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.project-preview-metric {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
}

.project-preview-metric span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-location {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 0.92rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tag-pill {
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  padding: 3px 10px;
  border-radius: 6px;
  color: var(--text-dark);
}

/* ==========================================================================
   Local Brand Partner Section (Anand & Gujarat Spotlight)
   ========================================================================== */
.local-partner-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.local-partner-card {
  background: linear-gradient(135deg, #0b0f19 0%, #111827 100%);
  border-radius: 24px;
  padding: 56px 48px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.local-partner-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.local-partner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.local-partner-title {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.local-partner-text {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.local-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.local-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #f1f5f9;
}

.local-feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.local-partner-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 32px;
  backdrop-filter: blur(10px);
}

.local-box-stat {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.local-box-desc {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 18px;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.author-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-dark);
}

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

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 22px;
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 12px 35px -8px rgba(0, 102, 255, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.pricing-popular-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.35);
}

.pricing-plan-name {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.pricing-plan-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-dark);
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.92rem;
  margin-bottom: 26px;
  line-height: 1.55;
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.pricing-feature-item svg {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   Final CTA Banner Section
   ========================================================================== */
.final-cta-section {
  padding: 80px 0;
}

.final-cta-card {
  background: linear-gradient(135deg, #0b0f19 0%, #050811 100%);
  border-radius: 28px;
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.final-cta-title {
  color: #ffffff;
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 16px;
}

.final-cta-subtitle {
  color: #94a3b8;
  font-size: 1.15rem;
  margin-bottom: 34px;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Global Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark-footer);
  color: #94a3b8;
  padding: 72px 0 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-about-text {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 16px 0 20px 0;
  color: #94a3b8;
}

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

.footer-link {
  font-size: 0.92rem;
  color: #94a3b8;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.footer-contact-item svg {
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom-bar {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
}

/* ==========================================================================
   Single Service Page Layout
   ========================================================================== */
.service-hero-section {
  padding: 70px 0 60px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-light);
}

.service-hero-content {
  max-width: 800px;
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.what-we-do-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 18px;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text-dark);
}

.what-we-do-item svg {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

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

.deliverable-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
}

.deliverable-card svg {
  color: #10b981;
  flex-shrink: 0;
}

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

.who-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.who-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
}

/* ==========================================================================
   Accordion FAQ Styles
   ========================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
}

.faq-chevron {
  transition: transform 0.25s ease;
  color: var(--primary);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 22px;
}

/* ==========================================================================
   Forms & Contact Page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.contact-card-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-dark);
  background-color: var(--bg-main);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-subtle);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Alert Boxes */
.alert {
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 22px;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   Scroll-Triggered Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

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

/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid,
  .projects-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trust-stats-grid {
    max-width: 600px;
    margin: 0 auto;
  }

  .local-partner-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 991px) {
  .nav-whatsapp-btn,
  .nav-actions .btn-whatsapp,
  .nav-actions .nav-cta-btn,
  .nav-actions .btn-glow-wrapper,
  .nav-actions .btn-dark-pill {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .nav-whatsapp-btn,
  .nav-actions .btn-whatsapp,
  .nav-actions .nav-cta-btn,
  .nav-actions .btn-glow-wrapper,
  .nav-actions .btn-dark-pill {
    display: none !important;
  }

  .mobile-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .services-grid,
  .why-grid,
  .projects-grid,
  .testimonials-grid,
  .pricing-grid,
  .who-grid,
  .what-we-do-grid,
  .deliverables-grid,
  .cards-2x2-grid,
  .why-us-grid-layout,
  .form-row {
    grid-template-columns: 1fr !important;
  }

  .why-card {
    padding: 26px 20px;
  }

  .why-us-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }

  .tall-featured-card {
    min-height: auto;
    padding: 36px 24px;
  }

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

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

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

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

  .local-partner-card {
    padding: 36px 24px;
  }
}

/* ==========================================================================
   AgentFlow & Figma Layout System Extensions
   Direct integration of Gemini AgentFlow template styles with Growth Metrix (#0066FF)
   ========================================================================== */

/* 1. Curved Glow Hero Banner (Used in Services, About, Projects, Contact, Blogs) */
.services-hero-banner {
  position: relative;
  background: radial-gradient(circle at 50% 20%, #0d1b46 0%, #070d22 75%);
  border-radius: 28px;
  padding: 85px 32px;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px -10px rgba(7, 13, 34, 0.45);
  margin-bottom: 50px;
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(65px);
  opacity: 0.5;
  animation: driftSlow 10s infinite alternate ease-in-out;
}

.glow-orb-1 {
  width: 320px;
  height: 320px;
  background: rgba(0, 102, 255, 0.35);
  top: -60px;
  left: 20%;
}

.glow-orb-2 {
  width: 280px;
  height: 280px;
  background: rgba(56, 189, 248, 0.25);
  bottom: -40px;
  right: 25%;
  animation-delay: -5s;
}

@keyframes driftSlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -18px) scale(1.1); }
  100% { transform: translate(-20px, 15px) scale(0.95); }
}

.matrix-grid-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 280px;
  pointer-events: none;
  opacity: 0.25;
  background-image: 
    radial-gradient(circle, #0066FF 1.5px, transparent 1.5px),
    radial-gradient(circle, #60a5fa 1px, transparent 1px);
  background-size: 20px 20px, 40px 40px;
  animation: shimmerGrid 12s infinite linear;
}

@keyframes shimmerGrid {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 40px, 0 80px; }
}

.matrix-left {
  left: 0;
  mask-image: linear-gradient(to right, black 35%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 35%, transparent 100%);
}

.matrix-right {
  right: 0;
  mask-image: linear-gradient(to left, black 35%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 35%, transparent 100%);
}

.radial-glow-center {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 260px;
  background: radial-gradient(ellipse, rgba(0, 102, 255, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.banner-content .hero-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-top: 18px;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.banner-content .hero-subtitle {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 30px;
}

/* 2. Interactive Sliding Tabs Section */
.section-cli-features {
  position: relative;
  padding: 85px 0;
}

.feature-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 38px;
}

.feature-tabs-pill {
  position: relative;
  display: inline-flex;
  background: #f1f5f9;
  padding: 6px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tab-glider {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  background: #ffffff;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.feature-tab-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: color 0.25s ease;
}

.feature-tab-btn:hover {
  color: var(--text-dark);
}

.feature-tab-btn.active {
  color: var(--text-dark);
}

.interactive-feature-card {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: center;
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  padding: 56px 60px;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.interactive-feature-card:hover {
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.1);
}

.feature-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.feature-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px -3px rgba(0, 102, 255, 0.4);
  transition: transform 0.3s ease;
}

.feature-icon-badge:hover {
  transform: scale(1.08) rotate(4deg);
}

.feature-card-title {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.feature-card-desc {
  font-size: 0.9375rem;
  margin-bottom: 28px;
  line-height: 1.65;
}

.feature-right-visual {
  background: #f4f7fe;
  border-radius: 20px;
  padding: 38px 34px;
  border: 1px solid #e2e8f0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.command-cloud-container {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
}

.cmd-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.cmd-tag {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 16px;
  background: #ffffff;
  color: #334155;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.cmd-tag:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: #cbd5e1;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.cmd-tag.cmd-highlight {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: var(--primary);
  font-weight: 600;
}

.cmd-tag.cmd-blue {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

.cmd-tag.cmd-blue:hover {
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.45);
}

/* 3. Deep Dark Blue Section (3 Stacked Feature Showcase Cards) */
.section-deep-blue {
  position: relative;
  background-color: #070d22;
  background-image: radial-gradient(circle at 50% 0%, #112052 0%, #070d22 65%);
  padding: 110px 0 120px;
  overflow: hidden;
}

.deep-matrix-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: radial-gradient(circle, #60a5fa 1px, transparent 1px);
  background-size: 32px 32px;
}

.deep-glow-accent {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(85px);
  animation: driftSlow 14s infinite alternate ease-in-out;
}

.glow-top-left {
  top: 8%;
  left: -120px;
  width: 440px;
  height: 440px;
  background: rgba(0, 102, 255, 0.18);
}

.glow-bottom-right {
  bottom: 6%;
  right: -120px;
  width: 480px;
  height: 480px;
  background: rgba(30, 64, 175, 0.22);
  animation-delay: -7s;
}

.feature-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 60px;
}

.showcase-card {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  border-radius: 24px;
  padding: 50px 54px;
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.35);
}

.showcase-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.showcase-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.showcase-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 28px;
}

.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
}

.showcase-link .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.showcase-link:hover {
  color: var(--primary);
}

.showcase-link:hover .arrow {
  transform: translateX(6px);
}

.showcase-preview {
  position: relative;
  background: #f1f5fd;
  border-radius: 20px;
  padding: 34px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease;
}

.showcase-card:hover .showcase-preview {
  transform: scale(1.01);
}

.cli-mockup-wrapper {
  position: relative;
}

.cli-terminal-window {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.cli-term-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }

.cli-term-title {
  margin-left: 8px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: #64748b;
}

.cli-term-body {
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.term-line {
  color: #1e293b;
  margin-bottom: 4px;
}

.term-line .prompt {
  color: var(--primary);
  font-weight: 700;
}

.cursor-blink {
  display: inline-block;
  width: 7px;
  height: 14px;
  background-color: var(--primary);
  vertical-align: middle;
  margin-left: 4px;
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.agent-floating-dialog {
  position: absolute;
  bottom: -20px;
  right: 14px;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
  border: 1px solid #dbeafe;
  max-width: 275px;
  z-index: 5;
  animation: floatSmooth 4.5s infinite ease-in-out;
}

@keyframes floatSmooth {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.dialog-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.agent-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(0, 102, 255, 0.6);
}

.dialog-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e293b;
}

.dialog-text {
  font-size: 0.8125rem;
  color: #334155;
  margin-bottom: 10px;
  line-height: 1.4;
}

.dialog-actions {
  display: flex;
  gap: 8px;
}

.dialog-btn {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.dialog-btn-outline {
  background: #f1f5f9;
  color: #334155;
}

.dialog-btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.pipeline-card-visual {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.pipeline-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.pipeline-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

.pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 18px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #334155;
  transition: transform 0.2s ease;
}

.step-item:hover {
  transform: translateX(4px);
}

.step-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
}

.pipeline-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.75rem;
  border: 1px solid #e2e8f0;
}

.status-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  margin-right: 6px;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-text {
  font-weight: 600;
  color: #1e293b;
}

.status-branch {
  font-family: var(--font-mono);
  color: #64748b;
}

.error-visual-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #fecaca;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.06);
  overflow: hidden;
  position: relative;
}

.error-header-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fef2f2;
  border-bottom: 1px solid #fee2e2;
}

.error-bar-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #991b1b;
  font-weight: 600;
}

.error-stack-preview {
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.stack-line.err-critical {
  color: #dc2626;
  font-weight: 600;
  margin-bottom: 4px;
}

.error-fix-popover {
  margin: 0 16px 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.fix-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.fix-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.fix-message {
  font-size: 0.8125rem;
  color: #1e3a8a;
  line-height: 1.45;
}

.inline-code {
  font-family: var(--font-mono);
  background: rgba(0, 102, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--primary);
}

/* 4. Why Us Layout (2x2 Grid + Tall Card) */
.section-why-us {
  padding: 95px 0;
  background-color: #ffffff;
}

.why-us-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.why-us-title-col {
  max-width: 600px;
}

.why-us-grid-layout {
  display: grid;
  grid-template-columns: 2.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}

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

.tall-featured-card {
  position: relative;
  background-color: #070D22 !important;
  background-image: 
    radial-gradient(circle at 50% 25%, rgba(0, 102, 255, 0.35) 0%, transparent 65%),
    radial-gradient(circle, rgba(96, 165, 250, 0.3) 1.2px, transparent 1.2px),
    linear-gradient(180deg, #070D22 0%, #0D1B46 100%) !important;
  background-size: 100% 100%, 22px 22px, 100% 100% !important;
  border-radius: 28px;
  padding: 48px 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px -10px rgba(7, 13, 34, 0.45);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  height: 100%;
  min-height: 440px;
}

.tall-featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(7, 13, 34, 0.55);
}

.featured-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.featured-title,
.tall-featured-card .featured-title {
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.featured-desc,
.tall-featured-card .featured-desc {
  color: #CBD5E1 !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.tall-featured-card .btn-white-pill,
.tall-featured-card .btn-tall-cta {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  width: 100%;
  display: block;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  border: none;
}

.tall-featured-card .btn-white-pill:hover,
.tall-featured-card .btn-tall-cta:hover {
  background: #F1F5F9 !important;
  color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.35);
}

/* 5. Split Contact Section */
.section-contact {
  padding: 70px 0 110px;
  background-color: var(--bg-main);
}

.contact-card-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: stretch;
}

.contact-sidebar-card {
  position: relative;
  background: radial-gradient(circle at 40% 20%, #101e4f 0%, #070d22 75%);
  border-radius: 24px;
  padding: 50px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 45px rgba(7, 13, 34, 0.35);
}

.contact-sidebar-title {
  color: #ffffff;
  font-size: 2.4rem;
  font-weight: 800;
  margin-top: 16px;
  margin-bottom: 14px;
}

.contact-sidebar-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
}

.sidebar-info-list {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.25s ease;
}

.info-item:hover {
  transform: translateX(4px);
}

.info-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0, 102, 255, 0.45);
  color: #ffffff;
}

.info-texts {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.info-value {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 600;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-row-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-input {
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.14);
}

/* 6. Footer Newsletter Banner */
.footer-newsletter-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 52px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 60px;
  gap: 32px;
}

.newsletter-headline {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.newsletter-form-col {
  max-width: 440px;
  width: 100%;
}

.newsletter-input-group {
  display: flex;
  background: #ffffff;
  border-radius: 9999px;
  padding: 5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease;
}

.newsletter-input-group:focus-within {
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.newsletter-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-dark);
  outline: none;
}

.newsletter-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 12px;
  cursor: pointer;
}

.newsletter-consent input[type="checkbox"] {
  accent-color: var(--primary);
}

/* 7. Values Behind Us Section */
.values-section {
  padding: 90px 0;
  background: #ffffff;
}

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

.value-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 30px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.value-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.value-card:hover .value-icon-box {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

.value-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.value-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 8. Tweet Style Testimonials (From Figma Home Page) */
.tweet-testimonials-section {
  padding: 90px 0;
  background: var(--bg-main);
  border-top: 1px solid var(--border-light);
}

.tweet-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tweet-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 22px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tweet-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.tweet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tweet-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tweet-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.tweet-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.tweet-handle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tweet-x-icon {
  color: #94a3b8;
}

.tweet-quote {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.55;
}

/* 9. Pricing Scale Section (From Figma Home Page: Left intro, Right 3 horizontal cards) */
.pricing-scale-section {
  padding: 90px 0;
  background: #ffffff;
}

.pricing-scale-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.pricing-scale-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-card-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: var(--bg-main);
  border: 1.5px solid var(--border-light);
  border-radius: 18px;
  transition: var(--transition);
}

.plan-card-h:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.plan-card-h.featured {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.12);
}

.plan-h-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan-h-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-h-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.plan-h-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.plan-h-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.plan-h-price span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.16);
  white-space: nowrap;
}

.plan-quote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.28);
}

/* Responsive updates for AgentFlow extensions */
@media (max-width: 992px) {
  .interactive-feature-card,
  .showcase-card,
  .contact-card-wrapper,
  .why-us-grid-layout,
  .cards-2x2-grid,
  .pricing-scale-wrapper {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .values-grid,
  .tweet-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .interactive-feature-card {
    padding: 36px 28px;
  }

  .showcase-card {
    padding: 36px 28px;
  }
}

@media (max-width: 640px) {
  .values-grid,
  .tweet-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .feature-tabs-pill {
    flex-wrap: wrap;
    border-radius: 16px;
  }

  .tab-glider {
    display: none;
  }

  .footer-newsletter-banner {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 36px;
    margin-bottom: 40px;
    gap: 20px;
  }
}

/* ==========================================================================
   Home Page Insights / Blogs Grid (Responsive Architecture)
   ========================================================================== */
.home-insights-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.home-featured-insight-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.home-featured-insight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 255, 0.25);
}

.insight-badge-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 12px;
}

.insight-featured-title {
  font-size: 1.7rem;
  margin-bottom: 14px;
  line-height: 1.3;
}

.insight-featured-excerpt {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.insight-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.home-insights-subcol {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-sub-insight-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 24px;
  transition: var(--transition);
}

.home-sub-insight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(0, 102, 255, 0.25);
}

.insight-sub-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.insight-sub-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.insight-sub-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.insight-read-link {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.insight-read-link:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .home-insights-grid {
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  .home-featured-insight-card {
    padding: 28px 22px;
  }

  .insight-featured-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 640px) {
  .home-featured-insight-card {
    padding: 22px 18px;
  }

  .insight-featured-title {
    font-size: 1.25rem;
  }

  .home-sub-insight-card {
    padding: 20px 18px;
  }

  .insight-sub-title {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   BLOGS & SINGLE ARTICLE TEMPLATE (FIGMA PIXEL-PERFECT REPLICA)
   ========================================================================== */

.blogs-page-wrapper {
  background: var(--bg-main);
  min-height: 100vh;
}

.blogs-section {
  padding: 10px 0 90px;
}

.blogs-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 36px;
}

.blogs-header-split-left {
  max-width: 520px;
}

.blogs-header-split-right {
  max-width: 440px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  text-align: right;
}

/* Featured Article Card (Figma Top Split Card) */
.blogs-featured-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.blogs-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.08);
  border-color: rgba(0, 102, 255, 0.3);
}

.featured-content {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-visual-box {
  background: linear-gradient(135deg, #F0F7FF 0%, #E0F2FE 100%);
  background-image: radial-gradient(#93c5fd 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 40px;
}

.blog-tag-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #EFF6FF;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0, 102, 255, 0.15);
  margin-bottom: 18px;
  width: fit-content;
}

.featured-headline {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.featured-excerpt {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.featured-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

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

.author-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #004ecc 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.25);
}

.author-meta-text {
  display: flex;
  flex-direction: column;
}

.author-name-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
}

.author-date-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.read-article-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.read-article-link:hover {
  color: var(--primary);
  transform: translateX(4px);
}

/* Sub-Articles 3-Grid Below Featured */
.blogs-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.blogs-sub-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.blogs-sub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.08);
}

.blogs-sub-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.blogs-sub-card:hover .blogs-sub-title {
  color: var(--primary);
}

.blogs-sub-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* Newsletter Subscription Banner (Figma Dark Card) */
.blogs-newsletter-banner {
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin: 32px 0 72px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.blogs-newsletter-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.blogs-newsletter-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 440px;
  line-height: 1.25;
}

.newsletter-pill-form {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
}

.newsletter-pill-input {
  border: none;
  outline: none;
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #0F172A;
  background: transparent;
}

.newsletter-pill-submit {
  background: #0B0F19;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.newsletter-pill-submit:hover {
  background: var(--primary);
}

/* Category Filter Tabs (Figma Latest Articles Row) */
.blogs-articles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}

.blogs-category-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  padding: 6px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.category-tab-btn {
  background: transparent;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-tab-btn.active,
.category-tab-btn:hover {
  background: #0B0F19;
  color: #FFFFFF;
}

/* 3-Column Articles Grid */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 48px;
}

.blog-grid-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-grid-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 16px 36px rgba(0, 102, 255, 0.08);
}

.blog-card-thumb {
  height: 220px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2F6 100%);
  background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.blog-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 12px 0 20px;
  transition: color 0.2s ease;
}

.blog-grid-card:hover .blog-card-title {
  color: var(--primary);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.blog-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.blog-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Pagination Bar */
.blogs-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
}

.page-arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-arrow-btn:hover {
  background: #0B0F19;
  color: #FFFFFF;
  border-color: #0B0F19;
}

.page-indicator-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   SINGLE BLOG POST STYLING (FIGMA EXACT REPLICA)
   ========================================================================= */

.single-blog-header-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.single-blog-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
}

.single-blog-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.article-content-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 50px 20px 80px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.85;
  color: #334155;
}

.article-content-body h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 48px 0 20px;
  letter-spacing: -0.02em;
}

.article-content-body h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 36px 0 16px;
}

.article-content-body p {
  margin-bottom: 24px;
}

.article-content-body ul,
.article-content-body ol {
  margin: 20px 0 30px;
  padding-left: 24px;
}

.article-content-body li {
  margin-bottom: 12px;
}

.article-callout {
  background: #F0F7FF;
  border-left: 4px solid var(--primary);
  border-radius: 0 16px 16px 0;
  padding: 24px 28px;
  margin: 32px 0;
}

.article-quote-card {
  background: #0B0F19;
  border-radius: 20px;
  padding: 44px 48px;
  color: #FFFFFF;
  text-align: center;
  margin: 50px 0;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-quote-card p {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.6;
  color: #FFFFFF;
  margin: 0;
}

.article-inline-visual {
  background: linear-gradient(135deg, #F0F7FF 0%, #E0F2FE 100%);
  background-image: radial-gradient(#93c5fd 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  border-radius: 20px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 48px 0;
  border: 1px solid var(--border-light);
}

.related-blogs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.related-blog-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.related-blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 16px 36px rgba(0, 102, 255, 0.08);
}

.related-blog-thumb {
  height: 220px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2F6 100%);
  background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.related-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin: 12px 0 18px;
  transition: color 0.2s ease;
}

.related-blog-card:hover .related-card-title {
  color: var(--primary);
}

.related-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.related-arrow-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.related-blog-card:hover .related-arrow-circle {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateX(4px);
}

/* Responsive Media Queries for Blogs */
@media (max-width: 991px) {
  .blogs-featured-card,
  .single-blog-header-card {
    grid-template-columns: 1fr;
  }

  .blogs-sub-grid,
  .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blogs-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .blogs-header-split-right {
    text-align: left;
  }

  .blogs-newsletter-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 30px;
  }

  .newsletter-pill-form {
    max-width: 100%;
  }

  .related-blogs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .blogs-sub-grid,
  .blogs-grid {
    grid-template-columns: 1fr;
  }

  .featured-content,
  .single-blog-header-card {
    padding: 28px 20px;
  }

  .blogs-newsletter-title {
    font-size: 1.6rem;
  }

  .single-blog-title {
    font-size: 1.7rem;
  }

  .article-quote-card {
    padding: 32px 24px;
  }

  .article-quote-card p {
    font-size: 1.15rem;
  }
}
