/* ==========================================================================
   AFTECH.RO Version 2 — High-Impact Corporate MSP Design System
   Modern Enterprise Light Theme with Dynamic Mesh Backgrounds, Mega Menu,
   Sticky Sidebars, Comprehensive Content Typography & MSP Widgets
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Brand Palette */
  --primary: #1e40af;           /* Deep Royal Blue */
  --primary-dark: #0f172a;      /* Slate Navy */
  --primary-light: #eff6ff;     /* Ice Blue */
  --primary-glow: rgba(30, 64, 175, 0.18);
  --accent: #0284c7;            /* Tech Cyan */
  --accent-hover: #0369a1;
  --accent-glow: rgba(2, 132, 199, 0.25);
  --success: #16a34a;           /* Enterprise Emerald */
  --warning: #d97706;           /* Amber */

  /* Neutral Backgrounds */
  --bg-page: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-overlay: rgba(15, 23, 42, 0.65);

  /* Typography */
  --text-main: #0f172a;         /* Deep Slate */
  --text-muted: #334155;        /* Slate Body */
  --text-dim: #64748b;          /* Light Slate */

  /* Borders & Shadows */
  --border-subtle: #e2e8f0;
  --border-focus: #93c5fd;
  --border-strong: #cbd5e1;

  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 35px -5px rgba(30, 64, 175, 0.14), 0 10px 15px -5px rgba(15, 23, 42, 0.05);
  --shadow-dropdown: 0 20px 40px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.25);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --trans-fast: 0.15s ease-out;
  --trans-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  background-image: radial-gradient(rgba(30, 64, 175, 0.04) 1px, transparent 0);
  background-size: 28px 28px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--trans-fast);
}
a:hover {
  color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── WOW Animations & Reveal Engine ────────────────────────────────────────── */
.reveal-fade {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-fade.active {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  animation: pulse-ring 2s infinite;
}

/* ── Top Bar ───────────────────────────────────────────────────────────────── */
.top-bar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.83rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  font-weight: 500;
}
.top-link:hover {
  color: #38bdf8;
}

/* ── Single Language Quick Toggle Button ──────────────────────────────────── */
.single-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--trans-fast);
  line-height: 1;
}

.single-lang-toggle:hover {
  background: #1e40af;
  border-color: #3b82f6;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.5);
}

.single-lang-toggle-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--trans-fast);
}

.single-lang-toggle-mobile:hover {
  background: #1e40af;
  color: #ffffff !important;
}

.support-pill {
  background: linear-gradient(135deg, #0284c7, #1e40af);
  color: #ffffff !important;
  padding: 0.3rem 0.95rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
  transition: all var(--trans-fast);
}
.support-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.5);
}

/* ── Main Sticky Header ────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-smooth);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 0.75rem);
  text-decoration: none;
}

.logo-text-group, .mobile-logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.logo-title, .logo-text, .brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.2vw, 1.42rem);
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.05;
  white-space: nowrap;
  display: block;
}

.logo-title span, .logo-text span, .brand-title span {
  color: #0284c7;
}

.logo-subtitle, .brand-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.52rem, 0.9vw, 0.62rem);
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-top: 2px;
  white-space: nowrap;
  display: block;
}

.logo-shield {
  width: clamp(34px, 4vw, 40px);
  height: clamp(34px, 4vw, 40px);
  background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
  border-radius: clamp(8px, 1.2vw, 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(30, 64, 175, 0.25);
  transition: transform var(--trans-fast);
  flex-shrink: 0;
}
.brand-logo:hover .logo-shield {
  transform: rotate(-5deg) scale(1.05);
}

/* Mega Menu Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.4rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
}
.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-link svg.chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--trans-fast);
}
.nav-item:hover .nav-link svg.chevron {
  transform: rotate(180deg);
}

/* Dropdown Container */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1050;
}

/* Invisible Hover Bridge to eliminate any gap between nav-link and dropdown */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -25px;
  left: -20px;
  right: -20px;
  height: 30px;
  background: transparent;
  pointer-events: auto;
}

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

.dropdown-mega-services {
  width: 740px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.dropdown-tools {
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  transition: all var(--trans-fast);
}
.dropdown-item:hover {
  background: #f8fafc;
  transform: translateX(3px);
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.dropdown-title {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 0.15rem;
}
.dropdown-desc {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
}

/* ── Sticky Navy Theme (Activated on Desktop Scroll) ───────────────────────── */
.site-header.is-sticky {
  background: rgba(15, 23, 42, 0.97) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4) !important;
}

/* Light Logo for Sticky Nav */
.site-header.is-sticky .logo-title,
.site-header.is-sticky .logo-text,
.site-header.is-sticky .brand-title {
  color: #ffffff !important;
}

.site-header.is-sticky .logo-title span,
.site-header.is-sticky .logo-text span,
.site-header.is-sticky .brand-title span {
  color: #38bdf8 !important;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.site-header.is-sticky .logo-subtitle,
.site-header.is-sticky .brand-subtitle {
  color: #94a3b8 !important;
}

.site-header.is-sticky .logo-shield {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.45) !important;
}

/* Menu Items on Sticky Nav */
.site-header.is-sticky .nav-link {
  color: #e2e8f0 !important;
}

.site-header.is-sticky .nav-link svg.chevron {
  color: #94a3b8;
}

.site-header.is-sticky .nav-link:hover,
.site-header.is-sticky .nav-item.active .nav-link {
  color: #38bdf8 !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.site-header.is-sticky .nav-item:hover .nav-link svg.chevron {
  color: #38bdf8;
}

/* Dropdown & Mega Menu on Sticky Nav */
.site-header.is-sticky .dropdown-menu {
  background: #0b132b !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

.site-header.is-sticky .dropdown-item {
  transition: all var(--trans-fast);
}

.site-header.is-sticky .dropdown-title {
  color: #ffffff !important;
}

.site-header.is-sticky .dropdown-desc {
  color: #94a3b8 !important;
}

.site-header.is-sticky .dropdown-icon {
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
}

.site-header.is-sticky .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  transform: translateX(3px);
}

.site-header.is-sticky .dropdown-item:hover .dropdown-title {
  color: #38bdf8 !important;
}

.site-header.is-sticky .dropdown-item:hover .dropdown-desc {
  color: #cbd5e1 !important;
}

.site-header.is-sticky .dropdown-item:hover .dropdown-icon {
  background: rgba(56, 189, 248, 0.22) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

/* Sticky CTA Button: Outline normal, Solid fill on hover */
.site-header.is-sticky .nav-cta-desktop {
  background: transparent !important;
  border: 1.5px solid #38bdf8 !important;
  color: #38bdf8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.15) !important;
}

.site-header.is-sticky .nav-cta-desktop:hover {
  background: linear-gradient(135deg, #0284c7 0%, #1e40af 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.5) !important;
  transform: translateY(-2px);
}

/* Mobile Toggle in Sticky Nav */
.site-header.is-sticky .menu-toggle {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.site-header.is-sticky .menu-toggle:hover {
  background: rgba(56, 189, 248, 0.18) !important;
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
}

/* ── Modern Animated Hamburger Toggle ─────────────────────────────────────── */
.menu-toggle {
  display: none;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-md);
  width: 44px;
  height: 44px;
  padding: 0;
  color: #0f172a;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.3);
  color: #0284c7;
}

.menu-toggle-bars {
  width: 22px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle-bars .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .bar-1 {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .bar-2 {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Deep Navy Mobile Slide Drawer & Overlay ───────────────────────────────── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 20, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, #070d1e 0%, #0c1736 50%, #060b18 100%);
  border-left: none;
  z-index: 2999;
  padding: 1.5rem 1.35rem 2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: none;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

/* ── Mobile Drawer Top Header ─────────────────────────────────────────────── */
.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.15rem;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.mobile-logo-shield {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.mobile-logo-text .brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.mobile-logo-text .brand-title span {
  color: #38bdf8;
}

.mobile-logo-text .brand-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-top: 2px;
}

.mobile-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.mobile-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  transform: rotate(90deg);
}

/* ── Mobile Language Bar ─────────────────────────────────────────────────── */
.mobile-lang-bar {
  margin-bottom: 1.25rem;
}

.mobile-lang-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.16);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-full);
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--trans-fast);
}

.mobile-lang-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: #38bdf8;
  color: #ffffff;
}

.mobile-lang-btn .lang-flag {
  font-size: 1.1rem;
}

.mobile-lang-btn .lang-switch-arrow {
  color: #38bdf8;
  font-weight: 800;
  font-size: 0.95rem;
}

/* ── Mobile Navigation List & Links ───────────────────────────────────────── */
.mobile-nav {
  flex: 1;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-item {
  width: 100%;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--trans-fast);
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border-left-color: #38bdf8;
  transform: translateX(3px);
}

.mobile-nav-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* ── Collapsible Submenu Accordion ───────────────────────────────────────── */
.mobile-submenu-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  padding: 0.75rem 0.85rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all var(--trans-fast);
  font-family: inherit;
}

.mobile-trigger-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-chevron {
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.mobile-submenu-trigger:hover {
  background: rgba(56, 189, 248, 0.08);
  color: #ffffff;
}

.mobile-submenu-trigger:hover .mobile-chevron {
  color: #38bdf8;
}

.mobile-has-submenu.open > .mobile-submenu-trigger {
  background: rgba(15, 23, 42, 0.8);
  color: #38bdf8;
  border-left-color: #38bdf8;
}

.mobile-has-submenu.open > .mobile-submenu-trigger .mobile-chevron {
  transform: rotate(180deg);
  color: #38bdf8;
}

/* Smooth Accordion Body */
.mobile-submenu-wrapper {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, margin 0.3s ease;
  pointer-events: none;
}

.mobile-has-submenu.open > .mobile-submenu-wrapper {
  max-height: 1000px !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  margin-top: 0.35rem !important;
  margin-bottom: 0.45rem !important;
}

.mobile-submenu-list {
  list-style: none;
  padding: 0.4rem 0.5rem 0.4rem 1rem;
  margin: 0;
  background: rgba(10, 17, 39, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mobile-sub-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--trans-fast);
}

.mobile-sub-link .sub-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.mobile-sub-link:hover {
  background: rgba(56, 189, 248, 0.12);
  color: #ffffff;
  padding-left: 0.9rem;
}

.mobile-sub-view-all {
  margin-top: 0.3rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-sub-link-all {
  display: block;
  padding: 0.45rem 0.65rem;
  color: #38bdf8;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--trans-fast);
}

.mobile-sub-link-all:hover {
  color: #60a5fa;
  transform: translateX(4px);
}

/* ── Mobile Drawer Footer ─────────────────────────────────────────────────── */
.mobile-drawer-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mobile-action-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--trans-fast);
}

.mobile-action-remote {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(37, 99, 235, 0.25) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #ffffff;
}

.mobile-action-remote:hover {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.4) 0%, rgba(37, 99, 235, 0.4) 100%);
  border-color: #38bdf8;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
}

.mobile-action-phone {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

.mobile-action-phone:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(56, 189, 248, 0.3);
}

.mobile-action-icon {
  font-size: 1.2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-dot-cyan {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulseGlow 1.8s infinite;
}

.mobile-action-body {
  flex: 1;
}

.mobile-action-title {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.mobile-action-sub {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 1px;
}

.mobile-action-arrow {
  color: #38bdf8;
  font-weight: 800;
}

.mobile-action-badge {
  background: #16a34a;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.mobile-drawer-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.25rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none !important;
  }
  .nav-cta-desktop {
    display: none !important;
  }
  .site-header {
    background: #070d1e !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
    padding: 0.65rem 0 !important;
  }
  .site-header .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .nav-wrapper {
    padding: 0 !important;
    width: 100%;
  }
  .site-header .brand-logo .logo-title,
  .site-header .brand-logo .logo-text {
    color: #ffffff !important;
  }
  .site-header .brand-logo .logo-title span,
  .site-header .brand-logo .logo-text span {
    color: #38bdf8 !important;
  }
  .site-header .brand-logo .logo-subtitle {
    color: #94a3b8 !important;
  }
  .site-header .brand-logo .logo-shield {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }
  .site-header .brand-logo .logo-shield svg {
    color: #ffffff !important;
  }
  .menu-toggle {
    display: flex !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
  }
  .menu-toggle:hover {
    background: rgba(56, 189, 248, 0.2) !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
  }
  .menu-toggle .bar {
    background: #ffffff !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }
  
  /* Hero & Headings */
  .hero {
    padding: 3rem 0 3.5rem !important;
  }
  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
  }
  .hero-subtitle {
    font-size: 0.95rem !important;
  }
  .hero-actions {
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }
  .stat-card {
    padding: 0.85rem !important;
  }
  .stat-number {
    font-size: 1.5rem !important;
  }

  /* Diagnostic & Pentest Tools Layout */
  .analyzer-layout {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .analyzer-content-panel {
    padding: 1.25rem !important;
    border-radius: var(--radius-lg) !important;
    min-height: auto !important;
  }
  .analyzer-overview-grid,
  .ssl-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .record-table,
  .analyzer-table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
  }
  .record-table th,
  .record-table td,
  .analyzer-table th,
  .analyzer-table td {
    white-space: nowrap !important;
  }
  .record-table td[style*="word-break"],
  .analyzer-table td[style*="word-break"] {
    white-space: normal !important;
    min-width: 160px !important;
  }

  /* Pentest Ports & DNSBL */
  .ports-grid,
  .dnsbl-grid {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }
  .audit-search-box {
    flex-direction: column !important;
    padding: 0.5rem !important;
    border-radius: var(--radius-lg) !important;
  }
  .audit-search-box input {
    width: 100% !important;
    padding: 0.75rem 0.9rem !important;
  }
  .audit-search-box button {
    width: 100% !important;
    border-radius: var(--radius-md) !important;
  }

  /* Services & Feature Cards */
  .services-grid,
  .solutions-grid,
  .features-grid,
  .testimonials-grid,
  .blog-grid,
  .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Calculator Layout */
  .calc-grid,
  .calculator-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .calc-sidebar,
  .calc-summary-card {
    position: static !important;
    width: 100% !important;
  }

  /* Modals */
  .modal-card {
    padding: 1.5rem 1.25rem !important;
    max-width: 95vw !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.75rem !important;
  }
}
.hero {
  position: relative;
  padding: 6rem 0 7rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero-grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  animation: dotsFloat 20s linear infinite;
  pointer-events: none;
}

@keyframes dotsFloat {
  0% { background-position: 0 0; }
  100% { background-position: 28px 28px; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-feature-pills {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #e2e8f0;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  font-size: 0.92rem;
  color: #94a3b8;
  font-weight: 600;
}
.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-feature-item svg {
  width: 18px;
  height: 18px;
  color: #22c55e;
  flex-shrink: 0;
}

/* ── Audit Form Section ──────────────────────────────────────────────────── */
.audit-form-section {
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.audit-form-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.12);
  position: relative;
}

.audit-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e40af, #0284c7, #22c55e);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* ── Hero Form Card (inside dark hero) ─────────────────────────────────── */
.hero-form-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.4);
}

.hero-form-card-header {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-form-card-header h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0 0 0.2rem;
}

.hero-form-card-header span {
  font-size: 0.82rem;
  color: #64748b;
}

.hero-form-card .form-group {
  margin-bottom: 0.75rem;
}

.hero-form-card .form-label {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.hero-form-card .form-input,
.hero-form-card .form-select,
.hero-form-card .form-textarea {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.hero-form-card .form-input:focus,
.hero-form-card .form-select:focus,
.hero-form-card .form-textarea:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
  outline: none;
}

.hero-form-card .form-select option {
  background-color: #0f172a !important;
  color: #ffffff !important;
  padding: 0.6rem 0.8rem;
}

/* Global Select Options Styling */
select option {
  background-color: #ffffff;
  color: #0f172a;
}

/* ── Hero Console Card (legacy) ──────────────────────────────────────────── */
.hero-console-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-hover);
  position: relative;
  animation: float-gentle 6s ease-in-out infinite;
}

.hero-console-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e40af, #0284c7, #22c55e);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.live-badge {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.console-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.console-stat-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.stat-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #1e40af;
  line-height: 1.1;
}
.stat-lbl {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.console-feed {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.feed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  padding: 0.6rem 0.85rem;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.feed-status {
  font-weight: 700;
  color: #16a34a;
  font-size: 0.8rem;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--trans-fast);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
}

.btn-sm { padding: 0.55rem 1rem; font-size: 0.88rem; }
.btn-md { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
.btn-lg { padding: 1rem 1.85rem; font-size: 1.05rem; }

/* ── Trust Credentials Strip ───────────────────────────────────────────────── */
.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}
.trust-badges {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
}
.trust-badge svg {
  width: 22px;
  height: 22px;
  color: #1e40af;
  flex-shrink: 0;
}

/* ── Section Structure ─────────────────────────────────────────────────────── */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-bg-subtle {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-bg-tech {
  background: radial-gradient(circle at 50% 50%, rgba(30, 64, 175, 0.05) 0%, transparent 70%), #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.35rem;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Services Grid ─────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1e40af, #0284c7);
  opacity: 0;
  transition: opacity var(--trans-fast);
}

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

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

.service-icon-wrap {
  width: 54px;
  height: 54px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e40af;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  transition: transform var(--trans-fast);
}
.service-card:hover .service-icon-wrap {
  transform: scale(1.08);
  background: #1e40af;
  color: #ffffff;
}

.service-card h3 {
  font-size: 1.35rem;
  color: #0f172a;
  margin-bottom: 0.85rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: #1e40af;
  font-size: 0.92rem;
}
.service-link:hover {
  color: #0284c7;
  transform: translateX(4px);
}

/* ── Process Steps Grid ────────────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-smooth);
}
.process-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #93c5fd;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #1e40af, #0284c7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 3px 10px rgba(30, 64, 175, 0.3);
}

.process-step-card h4 {
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 0.65rem;
}
.process-step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Exhaustive Article Body & Text Content Styling ────────────────────────── */
.article-body, .content-body, .vc-pages-contents-area {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #334155;
}

.article-body h1, .content-body h1 {
  font-size: 2.35rem;
  color: #0f172a;
  margin: 2.5rem 0 1.25rem;
  letter-spacing: -0.5px;
}

.article-body h2, .content-body h2, .wp-block-heading {
  font-size: 1.85rem;
  color: #0f172a;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-body h3, .content-body h3 {
  font-size: 1.4rem;
  color: #0f172a;
  margin: 2rem 0 0.85rem;
}

.article-body h4, .content-body h4 {
  font-size: 1.2rem;
  color: #0f172a;
  margin: 1.5rem 0 0.65rem;
}

.article-body p, .content-body p, .wp-block-paragraph {
  margin-bottom: 1.35rem;
}

.article-body strong, .content-body strong {
  color: #0f172a;
  font-weight: 700;
}

.article-body ul, .content-body ul {
  list-style: none;
  margin: 1.25rem 0 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.article-body ul li, .content-body ul li {
  position: relative;
  padding-left: 1.75rem;
  color: #334155;
}

.article-body ul li::before, .content-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #1e40af;
  font-weight: 800;
  font-size: 1rem;
}

.article-body ol, .content-body ol {
  margin: 1.25rem 0 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-body blockquote, .content-body blockquote {
  background: #eff6ff;
  border-left: 5px solid #1e40af;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  font-style: italic;
  color: #1e293b;
  font-size: 1.1rem;
}

/* Terminal / Code Snippet Blocks */
.article-body pre, .content-body pre, .wp-block-code {
  background: #0f172a;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
  box-shadow: var(--shadow-card);
  border: 1px solid #334155;
  position: relative;
}

.article-body pre::before, .content-body pre::before, .wp-block-code::before {
  content: '● ● ●';
  display: block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: #64748b;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-body code, .content-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  color: #38bdf8;
  line-height: 1.6;
}

p code, li code {
  background: #eff6ff;
  color: #1e40af;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  border: 1px solid #bfdbfe;
}

/* Tables */
.article-body table, .content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.article-body th, .content-body th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  padding: 1rem 1.25rem;
  text-align: left;
}

.article-body td, .content-body td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: #334155;
}

.article-body tr:nth-child(even) td, .content-body tr:nth-child(even) td {
  background: #f8fafc;
}

/* ── Sticky Sidebar Layout ─────────────────────────────────────────────────── */
.sidebar-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: start;
}

.sticky-sidebar-wrapper {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.sidebar-card h4, .sidebar-title {
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sidebar-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--trans-fast);
}
.sidebar-links a:hover {
  color: #1e40af;
  padding-left: 0.35rem;
}

/* Article Header */
.article-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3.5rem;
}

.article-title {
  font-size: 2.75rem;
  color: #0f172a;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

/* ── CTA Banner ────────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #1e40af 0%, #0f172a 100%);
  color: #ffffff;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.6rem;
  margin-bottom: 1rem;
}
.cta-banner p {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ── Contact Layout ────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e40af;
  flex-shrink: 0;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  background: #ffffff;
  transition: all var(--trans-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-danger { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-footer .brand-logo .logo-title,
.site-footer .brand-logo .logo-text {
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
}

.site-footer .brand-logo .logo-title span,
.site-footer .brand-logo .logo-text span {
  color: #38bdf8 !important;
}

.site-footer .brand-logo .logo-subtitle {
  color: #94a3b8 !important;
}

.site-footer .brand-logo .logo-shield {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #ffffff; }

/* ── Scroll to Top with Circular Progress Stroke ─────────────────────────── */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
  cursor: pointer;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.3);
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
  border-radius: 50%;
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.08s linear;
}

.scroll-arrow {
  position: relative;
  z-index: 2;
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.scroll-to-top:hover .scroll-arrow {
  color: #0284c7;
  transform: translateY(-2px);
}

/* ── Responsive Queries ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sidebar-layout-grid { grid-template-columns: 1fr; }
  .sticky-sidebar-wrapper { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-list-card { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 860px) {
  .top-bar-left { display: none; }
  .nav-menu { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta-desktop { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-list-card { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-form-card { max-width: 100%; }
}

/* ── Dynamic Projects & FacturaPlus.ro SaaS Section ────────────────────────── */
.featured-project-card {
  background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
  border: 2px solid #bfdbfe;
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: 0 12px 40px -4px rgba(30, 64, 175, 0.14);
  position: relative;
  overflow: hidden;
}

.project-hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

@media (max-width: 1024px) {
  .project-hero-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .featured-project-card { padding: 2.25rem 1.75rem; }
}

/* SaaS Live Interactive Mockup Window */
.saas-mockup-window {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.4);
  overflow: hidden;
  color: #f8fafc;
}

.mockup-header-bar {
  background: #1e293b;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #334155;
}

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

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-url-bar {
  flex: 1;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.75rem;
  font-size: 0.76rem;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-body {
  padding: 1.5rem;
}

.mockup-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.mockup-stat-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  padding: 1rem;
}

.mockup-stat-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.mockup-stat-lbl {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.mockup-live-feed {
  background: #090e17;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feed-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-saas-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.project-tech-pill {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}

.project-title-large {
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -1px;
  margin: 0.5rem 0 1rem;
}

.project-desc-text {
  font-size: 1.15rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.project-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.project-pillar-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-smooth);
}

.project-pillar-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.1);
}

.pillar-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-pillar-card h4 {
  font-size: 1.1rem;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.project-pillar-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.tech-tag {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e40af;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.agency-portfolio-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #f0fdf4 100%);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-card);
}

/* ── Interactive View Switcher (Grid / List Mode) ─────────────────────────── */
.services-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.services-view-toggle {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 3px;
}

.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.view-toggle-btn.active {
  background: #1e40af;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.4);
}

/* ── Rich Enterprise List View for Services ────────────────────────────────── */
.services-list-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-list-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  display: grid;
  grid-template-columns: 80px 1fr 220px;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-smooth);
  position: relative;
  overflow: hidden;
}

.service-list-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #1e40af 0%, #0284c7 100%);
  opacity: 0;
  transition: opacity var(--trans-smooth);
}

.service-list-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 12px 30px -4px rgba(30, 64, 175, 0.12);
}

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

.service-list-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e40af;
  flex-shrink: 0;
  transition: transform var(--trans-smooth);
}

.service-list-card:hover .service-list-icon {
  transform: scale(1.08) rotate(3deg);
}

.service-list-body h3 {
  font-size: 1.35rem;
  color: #0f172a;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.service-list-body h3 a {
  color: #0f172a;
}
.service-list-body h3 a:hover {
  color: #1e40af;
}

.service-list-body p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.service-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
}

.service-list-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   AFTECH.RO v2 — Redesigned Components (Hero, MSP Viewer, Timeline, FAQ, Tools)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Hero Background Shapes ──────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: rgba(30, 64, 175, 0.06);
  top: -200px;
  right: -100px;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: rgba(2, 132, 199, 0.05);
  bottom: -150px;
  left: -100px;
}

.hero-shape-3 {
  width: 300px;
  height: 300px;
  background: rgba(22, 163, 74, 0.04);
  top: 50%;
  left: 40%;
}

/* ── Hero Stats Row ──────────────────────────────────────────────────────── */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 0.5rem;
}

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

.hero-stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 0.15rem;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* ── Hero Form Improvements ──────────────────────────────────────────────── */
.hero-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-form-header h3 {
  font-size: 1.25rem;
  color: #0f172a;
  margin: 0 0 0.2rem;
}

.hero-form-header span {
  font-size: 0.82rem;
  color: #64748b;
}

.hero-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-submit-btn {
  width: 100%;
  padding: 0.85rem;
  font-size: 0.98rem;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.35);
}

.hero-form-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: #64748b;
}

/* ── Tools Dropdown ──────────────────────────────────────────────────────── */
.dropdown-tools {
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ── MSP Viewer (Sticky Sidebar + Content Panel) ─────────────────────────── */
.msp-viewer {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
  min-height: 480px;
}

.msp-viewer.reversed {
  grid-template-columns: 1fr 280px;
}

.msp-viewer.reversed .msp-sidebar {
  order: 2;
}

.msp-viewer.reversed .msp-content-panel {
  order: 1;
}

.msp-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  box-shadow: var(--shadow-card);
}

.msp-tab {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: none;
  background: transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--trans-fast);
  text-align: left;
  width: 100%;
}

.msp-tab:hover {
  background: #f8fafc;
}

.msp-tab.active {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.msp-tab-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e40af;
  flex-shrink: 0;
  transition: all var(--trans-fast);
}

.msp-tab.active .msp-tab-icon {
  background: #1e40af;
  border-color: #1e40af;
  color: #ffffff;
}

.msp-tab-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.msp-tab-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msp-tab.active .msp-tab-title {
  color: #0f172a;
}

.msp-tab-arrow {
  color: #cbd5e1;
  transition: all var(--trans-fast);
  flex-shrink: 0;
}

.msp-tab.active .msp-tab-arrow {
  color: #1e40af;
}

.msp-tab:hover .msp-tab-arrow {
  transform: translateX(3px);
  color: #1e40af;
}

/* Content Panel */
.msp-content-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-height: 480px;
}

.msp-detail {
  display: none;
  padding: 2.5rem;
  animation: fadeInPanel 0.3s ease;
}

.msp-detail.active {
  display: block;
}

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

.msp-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.msp-detail-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e40af;
  flex-shrink: 0;
}

.msp-detail-header h3 {
  font-size: 1.5rem;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.msp-detail-excerpt {
  color: #475569;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.msp-detail-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.msp-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
}

.msp-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msp-feature strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.msp-feature span {
  font-size: 0.85rem;
  color: #64748b;
}

.msp-detail-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Process Timeline (Redesigned) ──────────────────────────────────────── */
.process-timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 3rem;
}

.process-timeline-line {
  position: absolute;
  left: 21px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #1e40af 0%, #0284c7 50%, #22c55e 100%);
  border-radius: 2px;
}

.process-timeline-item {
  position: relative;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.process-timeline-item:last-child {
  margin-bottom: 0;
}

.process-timeline-marker {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.process-timeline-marker .step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af, #0284c7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.35);
  border: 3px solid #ffffff;
}

.process-timeline-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-card);
  flex: 1;
  transition: all var(--trans-smooth);
}

.process-timeline-content:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-hover);
  transform: translateX(4px);
}

.process-timeline-content h4 {
  font-size: 1.15rem;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.process-timeline-content p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ── FAQ Accordion (Redesigned) ──────────────────────────────────────────── */
.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans-smooth);
}

.faq-item:hover {
  border-color: #bfdbfe;
}

.faq-item.open {
  border-color: #93c5fd;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: all var(--trans-fast);
}

.faq-trigger span {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e40af;
  flex-shrink: 0;
  transition: all var(--trans-smooth);
}

.faq-item.open .faq-icon {
  background: #1e40af;
  border-color: #1e40af;
  color: #ffffff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── CTA Banner Improvements ────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(2, 132, 199, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* ── Blog Image Placeholder ──────────────────────────────────────────────── */
.blog-img-placeholder {
  width: 100%;
  height: 100%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

/* ── Tools Page ──────────────────────────────────────────────────────────── */
.tool-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.tool-result {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

/* ── Domain Analyzer ─────────────────────────────────────────────────────── */
.analyzer-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.analyzer-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.analyzer-input-card {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.3);
}

.analyzer-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e2e8f0;
  border-top-color: #1e40af;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.analyzer-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}

.analyzer-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  color: #0f172a;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.analyzer-section-title svg {
  color: #1e40af;
}

.analyzer-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.overview-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.overview-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.overview-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  word-break: break-all;
}

.record-table {
  width: 100%;
  border-collapse: collapse;
}

.record-table thead tr {
  border-bottom: 2px solid #e2e8f0;
}

.record-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.record-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.record-table tr:hover td {
  background: #f8fafc;
}

.record-type-badge {
  display: inline-block;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
}

.status-badge.valid {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.status-badge.expiring {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.status-badge.expired {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.ssl-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ssl-detail {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem;
}

.ssl-detail-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.ssl-detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.email-security-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-check {
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.email-check.pass {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.email-check.fail {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.email-check-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.email-check-header strong {
  color: #0f172a;
  font-size: 1rem;
}

.email-check-status {
  font-weight: 700;
  font-size: 0.88rem;
}

.email-check.pass .email-check-status {
  color: #166534;
}

.email-check.fail .email-check-status {
  color: #991b1b;
}

.email-record {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: #475569;
  word-break: break-all;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
}

/* ── Speed Test ──────────────────────────────────────────────────────────── */
.speed-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.speed-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.speed-gauge-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  margin-bottom: 2rem;
}

.speed-gauge {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
}

.speed-gauge-ring {
  width: 100%;
  height: 100%;
}

.speed-gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.speed-gauge-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.speed-gauge-unit {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.25rem;
}

.speed-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.speed-metric-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.speed-metric-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.speed-metric-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.speed-result-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}

.speed-result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.speed-result-item {
  text-align: center;
  padding: 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
}

.speed-result-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.speed-result-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.speed-quality-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 800;
}

.speed-quality-badge.excellent {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.speed-quality-badge.good {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.speed-quality-badge.poor {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.speed-tip {
  padding: 0.85rem 1.25rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: #92400e;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* ── Responsive Updates for New Components ───────────────────────────────── */
@media (max-width: 1024px) {
  .msp-viewer {
    grid-template-columns: 1fr;
  }

  .msp-viewer.reversed {
    grid-template-columns: 1fr;
  }

  .msp-viewer.reversed .msp-sidebar {
    order: unset;
  }

  .msp-viewer.reversed .msp-content-panel {
    order: unset;
  }

  .msp-sidebar {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding: 0.5rem;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .msp-tab {
    min-width: 160px;
    flex-shrink: 0;
    padding: 0.65rem 0.85rem;
  }

  .msp-tab-title {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .msp-detail {
    padding: 1.75rem;
  }

  .hero-stats-row {
    gap: 1.25rem;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

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

  .ssl-detail-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .hero-form-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-row {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-stat-divider {
    display: none;
  }

  .process-timeline {
    padding-left: 2.5rem;
  }

  .process-timeline-line {
    left: 16px;
  }

  .process-timeline-marker .step-number {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .msp-sidebar {
    flex-direction: row;
    overflow-x: auto;
  }

  .msp-tab-icon {
    width: 36px;
    height: 36px;
  }

  .msp-detail-header {
    flex-direction: column;
  }

  .dropdown-tools {
    width: 300px;
  }

  .faq-trigger span {
    font-size: 0.95rem;
  }

  .analyzer-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .speed-gauge-card {
    padding: 2rem 1.5rem;
  }
}

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

  .hero-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .hero-stat-item {
    text-align: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
  }

  .msp-viewer {
    grid-template-columns: 1fr;
  }

  .msp-detail {
    padding: 1.25rem;
  }

  .analyzer-overview-grid {
    grid-template-columns: 1fr;
  }

  .speed-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .speed-result-grid {
    grid-template-columns: 1fr 1fr;
  }

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

/* ═══════════════════════════════════════════════════════════════════════════════
   AFTECH.RO v2 — Revamped Design Components
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Process Cards Grid (Redesigned Methodology) ─────────────────────────── */
.process-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-smooth);
  overflow: hidden;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1e40af, #0284c7);
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-hover);
}

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

.process-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e40af;
  margin: 0 auto 1rem;
  transition: all var(--trans-fast);
}

.process-card:hover .process-card-icon {
  background: #1e40af;
  color: #ffffff;
}

.process-card-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.process-card h4 {
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

.process-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

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

@media (max-width: 600px) {
  .process-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ── FAQ Layout (Two Column) ──────────────────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
}

.faq-left {
  position: sticky;
  top: 120px;
}

.faq-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 860px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .faq-left {
    position: static;
    text-align: center;
  }
  .faq-left .section-tag {
    display: inline-block;
  }
  .faq-left .section-title {
    text-align: center;
  }
  .faq-left p {
    text-align: center;
  }
}

/* ── About Page Components ────────────────────────────────────────────────── */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.about-value-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-smooth);
}

.about-value-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-hover);
}

.about-value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e40af;
  margin: 0 auto 1rem;
}

.about-value-card h4 {
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.about-value-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

.about-credentials-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.about-cred-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #334155;
}

.about-cred-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.about-cta-bar {
  background: linear-gradient(135deg, #1e40af 0%, #0f172a 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .about-content-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Project Showcase (Redesigned) ────────────────────────────────────────── */
.project-showcase {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.08);
}

.project-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.project-showcase-info {
  display: flex;
  flex-direction: column;
}

.project-showcase-visual {
  display: flex;
  justify-content: center;
}

.project-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.project-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #334155;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .project-showcase {
    padding: 2rem 1.5rem;
  }
  .project-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── Services List Card Improvements ──────────────────────────────────────── */
.service-list-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 12px 30px -4px rgba(30, 64, 175, 0.12);
}

.msp-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.msp-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #166534;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   AFTECH.RO v2 — Redesigned Blog & Article Pages
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Blog Hero ─────────────────────────────────────────────────────────────── */
.blog-hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 50%, #f0f9ff 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 5rem 0 3rem;
}

.blog-hero-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* ── Search Bar ────────────────────────────────────────────────────────────── */
.blog-search-wrap {
  max-width: 700px;
  margin: 0 auto 2rem;
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}

.blog-search-form {
  display: flex;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 0.5rem;
  box-shadow: var(--shadow-dropdown);
}

.blog-search-input-wrap {
  flex: 1;
  position: relative;
}

.blog-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #94a3b8;
}

.blog-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid transparent;
  border-radius: calc(var(--radius-xl) - 4px);
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--bg-page);
  outline: none;
  transition: all var(--trans-fast);
  font-family: inherit;
}

.blog-search-input:focus {
  border-color: var(--border-focus);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.08);
}

.blog-search-input::placeholder {
  color: #94a3b8;
}

/* ── Category Tabs ─────────────────────────────────────────────────────────── */
.blog-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.blog-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.blog-cat-tab:hover {
  border-color: var(--border-focus);
  color: var(--primary);
  background: #f8fafc;
}

.blog-cat-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.blog-cat-tab.active:hover {
  background: #1e3a8a;
}

.blog-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0 5px;
}

.blog-cat-tab.active .blog-cat-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ── Blog Grid ─────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ── Blog Card ─────────────────────────────────────────────────────────────── */
.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-smooth);
  display: flex;
  flex-direction: column;
}

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

/* Featured card spans full row on first position */
.blog-card.blog-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.blog-card.blog-card-featured .blog-img-wrap {
  height: 100%;
  min-height: 320px;
}

.blog-card.blog-card-featured .blog-title {
  font-size: 1.5rem;
}

.blog-card.blog-card-featured .blog-excerpt {
  font-size: 1rem;
}

.blog-card.blog-card-featured .blog-content {
  padding: 2.5rem;
}

/* ── Blog Card Image ───────────────────────────────────────────────────────── */
.blog-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
  display: block;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-img {
  transform: scale(1.06);
}

.blog-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(30, 64, 175, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ── Blog Card Content ─────────────────────────────────────────────────────── */
.blog-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.blog-meta-date,
.blog-meta-read {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-meta-sep {
  color: #cbd5e1;
  font-weight: 300;
}

.blog-title {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.blog-title a {
  color: var(--text-main);
  transition: color var(--trans-fast);
}

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

.blog-excerpt {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  transition: all var(--trans-fast);
  margin-top: auto;
}

.blog-read-more:hover {
  color: var(--accent);
  gap: 0.65rem;
}

/* ── Empty State ───────────────────────────────────────────────────────────── */
.blog-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 500px;
  margin: 0 auto;
}

.blog-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.blog-empty-state h3 {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.blog-empty-state p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BLOG SINGLE / ARTICLE PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */

.blog-article-section {
  padding: 3rem 0 5rem;
}

/* ── Article Header ────────────────────────────────────────────────────────── */
.blog-article-header {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
  transition: all var(--trans-fast);
}

.blog-back-link:hover {
  gap: 0.6rem;
  color: var(--accent);
}

.blog-article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.blog-article-title {
  font-size: 2.75rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.blog-article-excerpt {
  font-size: 1.15rem;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Article Hero Image ────────────────────────────────────────────────────── */
.blog-article-hero {
  max-width: 960px;
  margin: 0 auto 3rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.blog-article-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Article Layout (Content + Sidebar) ────────────────────────────────────── */
.blog-article-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3.5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-article-body-wrap {
  min-width: 0;
}

/* ── Article Footer / Share ────────────────────────────────────────────────── */
.blog-article-footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-subtle);
}

.blog-article-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-share-links {
  display: flex;
  gap: 0.5rem;
}

.blog-share-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--text-dim);
  border: 1px solid var(--border-subtle);
  transition: all var(--trans-fast);
}

.blog-share-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ── Sidebar ───────────────────────────────────────────────────────────────── */
.blog-article-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.blog-sidebar-cta {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border-color: #bfdbfe;
}

.blog-sidebar-cta-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.blog-sidebar-cta h4 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.blog-sidebar-cta p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.blog-sidebar-heading {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

/* ── Sidebar Related Articles ──────────────────────────────────────────────── */
.blog-sidebar-articles {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-sidebar-article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--trans-fast);
}

.blog-sidebar-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-sidebar-article:first-child {
  padding-top: 0;
}

.blog-sidebar-article-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
  transition: color var(--trans-fast);
}

.blog-sidebar-article:hover .blog-sidebar-article-title {
  color: var(--primary);
}

.blog-sidebar-article:hover svg {
  color: var(--primary);
}

/* ── Sidebar Contact ───────────────────────────────────────────────────────── */
.blog-sidebar-contact {
  background: #f8fafc;
  border-style: dashed;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BLOG RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════════════════════ */

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

  .blog-card.blog-card-featured {
    grid-column: 1 / -1;
  }

  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .blog-article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 860px) {
  .blog-hero-section {
    padding: 3.5rem 0 2.5rem;
  }

  .blog-article-title {
    font-size: 2rem;
  }

  .blog-article-layout {
    gap: 2.5rem;
  }

  .blog-article-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-card.blog-card-featured {
    grid-template-columns: 1fr;
  }

  .blog-card.blog-card-featured .blog-img-wrap {
    min-height: 200px;
  }

  .blog-card.blog-card-featured .blog-content {
    padding: 1.75rem;
  }

  .blog-search-form {
    flex-direction: column;
  }

  .blog-category-tabs {
    gap: 0.4rem;
  }

  .blog-cat-tab {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
  }

  .blog-article-title {
    font-size: 1.65rem;
  }

  .blog-article-header {
    text-align: left;
  }

  .blog-article-meta {
    justify-content: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SERVICES PAGE — Redesigned Cards with Full Descriptions
   ═══════════════════════════════════════════════════════════════════════════════ */

.services-hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 50%, #f0f9ff 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 5rem 0 3rem;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.service-card-full {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-smooth);
  display: flex;
  flex-direction: column;
}

.service-card-full:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-hover);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.service-card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--trans-fast);
}

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

.service-card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.service-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.service-card-title a {
  color: var(--text-main);
  transition: color var(--trans-fast);
}

.service-card-title a:hover {
  color: var(--primary);
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.service-card-body-preview {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-footer {
  display: flex;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ── Master-Detail MSP Viewer (Compact & Refined) ────────────────────────── */
.msp-viewer {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.msp-viewer.reversed {
  grid-template-columns: 1fr 360px;
}

/* Left/Right Content Stage Panel */
.msp-content-panel {
  position: relative;
  min-height: 500px;
}

.msp-detail {
  display: none;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  transition: all var(--trans-smooth);
  animation: fadeInPanel 0.3s ease-out;
}

.msp-detail.active {
  display: block;
}

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

.msp-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.msp-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.msp-detail-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.2);
}

.msp-detail-header h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}

.msp-detail-excerpt {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.service-body-text {
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.7;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.msp-detail-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 0.5rem;
}

/* Sticky Sidebar Playlist */
.msp-sidebar {
  position: sticky;
  top: 90px;
  max-height: 540px;
  overflow-y: auto;
  padding-right: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.msp-sidebar::-webkit-scrollbar {
  width: 5px;
}
.msp-sidebar::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.msp-sidebar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.msp-sidebar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.msp-sidebar-header {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 0.35rem;
  padding-left: 0.2rem;
}

.svc-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--trans-fast);
  color: #334155;
  position: relative;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.svc-tab:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(3px);
  color: #0f172a;
}

.svc-tab.active {
  background: #f0f7ff;
  border-color: #93c5fd;
  border-left: 3px solid #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
  color: #1e40af;
}

.msp-tab-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #eff6ff;
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--trans-fast);
}

.svc-tab.active .msp-tab-icon {
  background: #1e40af;
  color: #ffffff;
}

.msp-tab-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.msp-tab-title {
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msp-tab-arrow {
  color: #94a3b8;
  transition: transform var(--trans-fast);
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.svc-tab.active .msp-tab-arrow {
  color: #1e40af;
  transform: translateX(2px);
}

/* ── Process Incident Cards ────────────────────────────────────────────────── */
.process-cards-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.process-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-smooth);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.1);
}

.process-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.process-card-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: #cbd5e1;
  font-family: 'JetBrains Mono', monospace;
}

.process-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.process-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ── Technology Ecosystem Grid ────────────────────────────────────────────── */
.tech-ecosystem-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-2xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-card);
  margin-top: 4rem;
}

.tech-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tech-partner-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all var(--trans-fast);
}

.tech-partner-item:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.08);
}

.tech-partner-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.tech-partner-name {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.tech-partner-role {
  font-size: 0.8rem;
  color: #64748b;
}

/* ── SLA Table ─────────────────────────────────────────────────────────────── */
.sla-table-wrap {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.sla-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.sla-table thead tr {
  border-bottom: 2px solid var(--border-subtle);
}

.sla-table th {
  padding: 1.25rem 1.25rem;
  font-weight: 800;
  font-size: 0.85rem;
  text-align: left;
  color: var(--text-main);
}

.sla-col-plan {
  text-align: center !important;
  color: var(--primary) !important;
}

.sla-col-featured {
  background: #f0f7ff;
}

.sla-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-muted);
}

.sla-feature {
  font-weight: 600;
  color: var(--text-main) !important;
}

.sla-highlight {
  background: #f8fafc;
  font-weight: 600;
  text-align: center;
}

.sla-highlight-bold {
  background: #f0fdf4;
  font-weight: 700;
  color: var(--text-main) !important;
  text-align: center;
}

.sla-check {
  color: var(--success) !important;
}

.sla-muted {
  color: var(--text-dim) !important;
}

/* ── Domain Analyzer & Scanner Tool ───────────────────────────────────────── */
/* ── Unified High-End Tool Hero & Search Card System ─────────────────────── */
.tool-hero-section {
  position: relative;
  background: linear-gradient(180deg, #070d1e 0%, #0c1736 60%, #0f172a 100%);
  padding: 4.5rem 1.25rem 3.5rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  color: #ffffff;
  overflow: hidden;
}

.tool-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 350px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.tool-hero-container {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.tool-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.tool-hero-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.tool-hero-subtitle {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

/* Tool Search Card (Desktop: 1 Line Pill / Mobile: Clean 2-Tier Stack) */
.tool-search-card {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-xl);
  padding: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), 0 0 20px rgba(56, 189, 248, 0.15);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tool-search-card:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(56, 189, 248, 0.35);
}

.tool-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-left: 0.85rem;
  min-width: 0;
}

.tool-input-icon {
  width: 22px;
  height: 22px;
  color: #64748b;
  flex-shrink: 0;
}

.tool-text-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.85rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  outline: none;
}

.tool-text-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.tool-submit-btn {
  background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.85rem;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all var(--trans-fast);
  flex-shrink: 0;
}

.tool-submit-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #0369a1 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

.tool-trust-row {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.tool-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-check {
  color: #38bdf8;
  font-weight: 800;
}

/* ── Mobile Responsive Hero Adjustments ──────────────────────────────────── */
@media (max-width: 640px) {
  .tool-hero-section {
    padding: 3rem 1rem 2.25rem;
  }
  .tool-hero-title {
    font-size: 1.6rem;
    line-height: 1.25;
  }
  .tool-hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }
  .tool-search-card {
    flex-direction: column;
    padding: 0.65rem;
    border-radius: var(--radius-lg);
    gap: 0.6rem;
    background: #ffffff;
  }
  .tool-input-wrap {
    width: 100%;
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid #e2e8f0;
  }
  .tool-text-input {
    font-size: 0.95rem;
    padding: 0.6rem 0.25rem;
  }
  .tool-submit-btn {
    width: 100%;
    height: 48px;
    border-radius: var(--radius-md);
    justify-content: center;
    font-size: 0.95rem;
  }
  .tool-trust-row {
    gap: 0.5rem;
    flex-direction: column;
    align-items: center;
    font-size: 0.78rem;
    margin-top: 1.25rem;
  }
}

.analyzer-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.analyzer-content-panel {
  position: sticky;
  top: 90px;
  align-self: start;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  min-height: 480px;
}

.analyzer-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

@media (max-width: 992px) {
  .analyzer-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }
  .analyzer-sidebar {
    order: -1 !important;
    position: sticky !important;
    top: 58px !important;
    z-index: 90 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.5rem !important;
    padding: 0.6rem !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    scrollbar-width: thin !important;
  }
  .analyzer-sidebar::-webkit-scrollbar {
    height: 4px;
  }
  .analyzer-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }
  .analyzer-tab-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 0.55rem 0.9rem !important;
    white-space: nowrap !important;
    border-radius: var(--radius-full) !important;
    font-size: 0.82rem !important;
    gap: 0.45rem !important;
  }
  .analyzer-tab-btn-icon {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.85rem !important;
  }
  .analyzer-tab-btn-arrow {
    display: none !important;
  }
  .analyzer-content-panel {
    position: static !important;
    padding: 1.25rem !important;
    min-height: auto !important;
    overflow-x: hidden !important;
  }
}

.analyzer-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--trans-fast);
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.analyzer-tab-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(3px);
  color: #0f172a;
}

.analyzer-tab-btn.active {
  background: #f0f7ff;
  border-color: #93c5fd;
  border-left: 3px solid #2563eb;
  color: #1e40af;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.analyzer-tab-btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #eff6ff;
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.analyzer-tab-btn.active .analyzer-tab-btn-icon {
  background: #1e40af;
  color: #ffffff;
}

.analyzer-tab-btn-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.analyzer-tab-btn-title {
  font-size: 0.86rem;
  font-weight: 700;
}

.analyzer-tab-btn-arrow {
  color: #94a3b8;
  transition: transform var(--trans-fast);
}

.analyzer-tab-btn.active .analyzer-tab-btn-arrow {
  color: #1e40af;
  transform: translateX(2px);
}

.analyzer-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.overview-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.overview-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.overview-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  word-break: break-all;
}

.record-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.record-table th {
  background: #f8fafc;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #475569;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.record-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
}

.record-type-badge {
  display: inline-block;
  background: #eff6ff;
  color: #1e40af;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
}

.ssl-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.ssl-detail {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.ssl-detail-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.ssl-detail-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.email-check {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: all var(--trans-fast);
}

.email-check.pass {
  border-color: #86efac;
  background: #f0fdf4;
}

.email-check.fail {
  border-color: #fca5a5;
  background: #fef2f2;
}

.email-check-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.email-check-status {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.email-check.pass .email-check-status {
  background: #dcfce7;
  color: #166534;
}

.email-check.fail .email-check-status {
  background: #fee2e2;
  color: #991b1b;
}

.email-record {
  display: block;
  background: rgba(15, 23, 42, 0.05);
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: #0f172a;
  word-break: break-all;
  margin-top: 0.5rem;
}

.analyzer-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e2e8f0;
  border-top-color: #1e40af;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
  .msp-viewer {
    grid-template-columns: 1fr;
  }
  .msp-sidebar {
    position: static;
    max-height: none;
    order: -1;
    margin-bottom: 2rem;
  }
  .process-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .sla-table-wrap {
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .process-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Clean & Minimalist Article Image System ─────────────────────────────── */
.blog-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--trans-medium);
}

.blog-card:hover .blog-img {
  transform: scale(1.04);
}

/* Minimalist Clean Default Thumb */
.article-default-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.article-thumb-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.15rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
}

.article-thumb-shield {
  width: 36px;
  height: 36px;
  background: #1e40af;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.article-thumb-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.article-thumb-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.article-thumb-title span {
  color: #38bdf8;
}

.article-thumb-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.52rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Single Article Hero Image & Minimalist Default Banner */
.blog-article-hero {
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
  background: #0f172a;
  border: 1px solid #334155;
}

.blog-article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.article-default-hero {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.25rem 2rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-lg);
}

.article-hero-shield {
  width: 52px;
  height: 52px;
  background: #1e40af;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.article-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.article-hero-title span {
  color: #38bdf8;
}

.article-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 3px;
}

@media (max-width: 640px) {
  .article-default-hero {
    min-height: 200px;
  }
  .article-hero-brand {
    padding: 0.85rem 1.25rem;
    gap: 0.75rem;
  }
  .article-hero-shield {
    width: 40px;
    height: 40px;
  }
  .article-hero-title {
    font-size: 1.3rem;
  }
}

/* ── Articles Search Bar & Category Filter Tabs ─────────────────────────── */
.blog-hero-section {
  padding: 4rem 0 2rem;
  text-align: center;
}

.blog-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

/* ── Articles Main Layout & Left Sticky Filter Sidebar ───────────────────── */
/* ── Articles Main Layout & Left Sticky Filter Sidebar ───────────────────── */
.blog-main-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  width: 100%;
}

.blog-filter-sidebar {
  width: 100%;
  position: sticky;
  top: 96px;
  align-self: start;
  z-index: 25;
}

.blog-filter-sticky-inner {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.blog-sidebar-widget {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.blog-sidebar-widget-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
  letter-spacing: -0.3px;
}

.blog-sidebar-search-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.blog-sidebar-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  transition: all var(--trans-fast);
}

.blog-sidebar-search-input-wrap:focus-within {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.blog-sidebar-search-icon {
  width: 18px;
  height: 18px;
  color: #94a3b8;
  flex-shrink: 0;
}

.blog-sidebar-search-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: #0f172a;
}

.blog-sidebar-search-input::placeholder {
  color: #94a3b8;
}

.blog-sidebar-cat-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.blog-sidebar-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all var(--trans-fast);
  background: transparent;
}

.blog-sidebar-cat-link:hover {
  background: #eff6ff;
  color: #1e40af;
  padding-left: 0.95rem;
}

.blog-sidebar-cat-link.active {
  background: #1e40af;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.25);
}

.blog-sidebar-cat-link .blog-cat-count {
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  background: #e2e8f0;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.blog-sidebar-cat-link.active .blog-cat-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.blog-sidebar-promo {
  background: linear-gradient(135deg, #070d1e 0%, #0c1736 60%, #1e3a8a 100%);
  color: #ffffff;
  border: 1px solid #1e3a8a;
}

.blog-sidebar-promo h5 {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0.5rem 0 0.3rem;
  line-height: 1.3;
}

.blog-sidebar-promo p {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.blog-promo-badge {
  display: inline-block;
  background: #38bdf8;
  color: #0f172a;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.blog-main-content {
  min-width: 0;
  width: 100%;
}

@media (max-width: 992px) {
  .blog-main-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .blog-filter-sidebar {
    position: static;
  }
}

.blog-meta, .blog-article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: #64748b;
  flex-wrap: wrap;
}

.blog-meta-date, .blog-meta-read, .blog-meta-views {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-meta-sep {
  color: #cbd5e1;
  font-weight: bold;
}

/* ── Articles List View (Horizontal with 100x100 Thumbnail on Left) ─────────── */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 100%;
}

.blog-card-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  gap: 1.35rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform var(--trans-medium), box-shadow var(--trans-medium), border-color var(--trans-fast);
}

.blog-card-list:hover {
  transform: translateY(-2px);
  border-color: #3b82f6;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.1);
}

.blog-card-list .blog-img-wrap {
  width: 100px;
  min-width: 100px;
  height: 100px;
  min-height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0b1329;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid #cbd5e1;
}

.blog-card-list .blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--trans-smooth);
}

.blog-card-list:hover .blog-img {
  transform: scale(1.08);
}

.blog-card-list .article-default-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b1329 0%, #1e293b 100%);
}

.blog-meta-category {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0284c7;
  letter-spacing: 0.05em;
  background: #e0f2fe;
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-sm);
}

.blog-card-list .blog-content {
  flex: 1;
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.blog-card-list .blog-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.blog-card-list .blog-title a {
  color: #0f172a;
  transition: color var(--trans-fast);
}

.blog-card-list .blog-title a:hover {
  color: #2563eb;
}

/* Featured Article Card (Pinned at the bottom of the list) */
.blog-card-featured-bottom {
  border: 2px solid #3b82f6;
  background: linear-gradient(to right, #ffffff, #f0f7ff);
  position: relative;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.12);
}

.blog-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #1e40af, #0284c7);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.12rem 0.55rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.15rem;
  width: fit-content;
}

@media (max-width: 640px) {
  .blog-card-list {
    padding: 0.85rem 1rem;
    gap: 1rem;
  }
  .blog-card-list .blog-img-wrap {
    width: 80px;
    min-width: 80px;
    height: 80px;
    min-height: 80px;
  }
  .blog-card-list .blog-title {
    font-size: 1rem;
  }
  .blog-meta {
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .blog-card-list {
    padding: 0.75rem 0.85rem;
    gap: 0.75rem;
  }
  .blog-card-list .blog-img-wrap {
    width: 70px;
    min-width: 70px;
    height: 70px;
    min-height: 70px;
  }
  .blog-card-list .blog-title {
    font-size: 0.92rem;
  }
}

.blog-pagination {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.page-num, .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  transition: all var(--trans-fast);
}

.page-num:hover, .page-link:hover:not(.page-disabled) {
  border-color: #1e40af;
  color: #1e40af;
  background: #eff6ff;
}

.page-num.active {
  background: #1e40af;
  border-color: #1e40af;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

.page-link.page-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f8fafc;
  color: #94a3b8;
  border-color: #e2e8f0;
}

/* ── Single Article Page & Full Width Alignment ───────────────────────────── */
.blog-article-section {
  padding: 3rem 0 5rem;
}

.blog-article-header {
  width: 100%;
  max-width: 100%;
  margin-bottom: 2rem;
}

.blog-article-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 1rem 0;
  letter-spacing: -0.5px;
}

.blog-article-hero {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
  background: #0f172a;
  border: 1px solid #334155;
}

.blog-article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Article Layout Templates ────────────────────────────────────────────── */
.blog-article-layout {
  width: 100%;
  max-width: 100%;
}

/* Template 1: Full Width (Aligned with Logo & CTA Button) */
.blog-article-layout.layout-full-width,
.blog-article-layout.is-full-width {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.blog-article-layout.layout-full-width .blog-article-body-wrap,
.blog-article-layout.is-full-width .blog-article-body-wrap {
  width: 100% !important;
  max-width: 100% !important;
}

.blog-article-layout.layout-full-width .article-body,
.blog-article-layout.is-full-width .article-body {
  width: 100% !important;
  max-width: 100% !important;
  font-size: 1.05rem;
  line-height: 1.85;
}

/* Template 2: With Sidebar */
.blog-article-layout.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: start;
}

.blog-article-layout.layout-with-sidebar .blog-article-body-wrap {
  min-width: 0;
  width: 100%;
}

.blog-article-layout.layout-with-sidebar .article-body {
  width: 100%;
  max-width: 100%;
}

.blog-article-body-wrap {
  width: 100%;
  max-width: 100%;
}

.article-body {
  width: 100%;
  max-width: 100%;
}

.article-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #334155;
  background: #f8fafc;
  border-left: 4px solid #2563eb;
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2rem;
}

/* ── Universal Responsive Tables for Articles ────────────────────────────── */
.table-responsive {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  background: #ffffff;
}

.table-responsive table,
.article-body table {
  width: 100% !important;
  min-width: 680px;
  border-collapse: collapse;
  margin: 0 !important;
  background: #ffffff;
}

.table-responsive th,
.article-body th {
  background: #0f172a !important;
  color: #ffffff !important;
  font-weight: 700;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-bottom: 2px solid #334155;
  white-space: nowrap;
}

.table-responsive td,
.article-body td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.95rem;
  vertical-align: middle;
}

.table-responsive tr:nth-child(even) td,
.article-body tr:nth-child(even) td {
  background: #f8fafc;
}

.table-responsive tr:hover td,
.article-body tr:hover td {
  background: #eff6ff;
}

@media (max-width: 992px) {
  .blog-article-layout.layout-with-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem;
  }
  .blog-article-sidebar {
    width: 100%;
  }
}

/* ── FAQ Section (Clean, Enterprise & 100% Responsive) ───────────────────── */
.faq-section {
  padding: 5.5rem 0;
  background: #f8fafc;
}

.faq-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.faq-left {
  position: sticky;
  top: 96px;
}

.faq-heading {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0.65rem 0 1rem;
  letter-spacing: -0.5px;
}

.faq-desc {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.faq-support-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.45rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.faq-support-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-support-text h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.faq-support-text p {
  font-size: 0.86rem;
  color: #64748b;
  margin-bottom: 0.6rem;
  line-height: 1.45;
}

.faq-support-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  transition: gap var(--trans-fast), color var(--trans-fast);
}

.faq-support-link:hover {
  color: #1e40af;
  gap: 0.65rem;
}

/* Accordion Items */
.faq-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all var(--trans-medium);
}

.faq-item:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
}

.faq-item.open {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  gap: 1rem;
  transition: color var(--trans-fast);
}

.faq-trigger:hover {
  color: #2563eb;
}

.faq-item.open .faq-trigger {
  color: #1e40af;
  padding-bottom: 0.75rem;
}

.faq-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--trans-smooth), background-color var(--trans-fast), color var(--trans-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: #1e40af;
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.4rem;
}

.faq-answer p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 992px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .faq-left {
    position: static;
  }
  .faq-heading {
    font-size: 1.8rem;
  }
}

@media (max-width: 640px) {
  .faq-section {
    padding: 3.5rem 0;
  }
  .faq-trigger {
    padding: 1rem 1.15rem;
    font-size: 0.96rem;
  }
  .faq-item.open .faq-answer {
    padding: 0 1.15rem 1.15rem;
  }
  .faq-support-card {
    padding: 1.1rem;
    gap: 0.85rem;
  }
  .faq-support-icon {
    width: 40px;
    height: 40px;
  }
}

/* ── About Page (Despre Noi — Clean & Fully Responsive) ─────────────────── */
.about-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.about-main-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-width: 0;
}

.about-narrative-lead {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 1.75rem 2.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.about-narrative-lead p {
  font-size: 1.12rem;
  color: #0f172a;
  line-height: 1.8;
  margin: 0;
}

.about-support-callout {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.07);
}

.about-callout-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: #1e40af;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.about-callout-body h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.about-callout-body p {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.65;
  margin: 0;
}

.about-link-highlight {
  font-weight: 800;
  color: #1e40af;
  text-decoration: underline;
  transition: color var(--trans-fast);
}

.about-link-highlight:hover {
  color: #2563eb;
}

.about-section-block {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.about-block-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.45rem;
}

.about-block-sub {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.about-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.about-service-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.45rem;
  transition: transform var(--trans-medium), border-color var(--trans-medium), box-shadow var(--trans-medium);
}

.about-service-card:hover {
  transform: translateY(-3px);
  border-color: #3b82f6;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}

.about-svc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.about-svc-icon.icon-blue { background: #eff6ff; color: #1e40af; }
.about-svc-icon.icon-cyan { background: #ecfeff; color: #0891b2; }
.about-svc-icon.icon-green { background: #f0fdf4; color: #16a34a; }
.about-svc-icon.icon-purple { background: #faf5ff; color: #7c3aed; }
.about-svc-icon.icon-amber { background: #fffbeb; color: #d97706; }
.about-svc-icon.icon-indigo { background: #eef2ff; color: #4f46e5; }

.about-service-card h5 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.about-service-card p {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.about-feature-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 1.75rem 2.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: relative;
}

.about-feature-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0284c7;
  background: #e0f2fe;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
}

.about-feature-box h4 {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

.about-feature-box p {
  font-size: 0.96rem;
  color: #334155;
  line-height: 1.75;
  margin: 0;
}

.about-bottom-cta {
  background: linear-gradient(135deg, #0b1329 0%, #1e3a8a 100%);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 19, 41, 0.2);
}

.about-bottom-cta h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.about-bottom-cta p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0;
}

.about-sidebar {
  position: sticky;
  top: 96px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-self: start;
}

.about-sidebar-widget {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.about-widget-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1.15rem;
}

.about-fiscal-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #334155;
}

.about-fiscal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #f1f5f9;
  gap: 0.5rem;
}

.mono-bold {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: #0f172a;
}

.mono-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #475569;
}

.about-badges-box {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.about-status-badge.badge-green { color: #16a34a; }
.about-status-badge.badge-blue { color: #1e40af; }

.about-helpdesk-widget {
  background: linear-gradient(to bottom, #f8fafc, #eff6ff);
  border-color: #bfdbfe;
}

.about-helpdesk-widget h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.6rem 0 0.35rem;
}

.about-helpdesk-widget p {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1.15rem;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .about-main-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .about-narrative-lead,
  .about-section-block,
  .about-feature-box,
  .about-support-callout,
  .about-bottom-cta {
    padding: 1.25rem 1.35rem;
  }
  .about-block-title {
    font-size: 1.25rem;
  }
  .about-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Clean & Responsive Tables in Articles & Content ─────────────────────── */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.75rem 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.article-body table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #1e293b;
  text-align: left;
}

.article-body table th {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  padding: 0.85rem 1rem !important;
  border: 1px solid #cbd5e1 !important;
  text-align: left;
  white-space: nowrap;
}

.article-body table td {
  padding: 0.85rem 1rem !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155;
  vertical-align: top;
}

.article-body table tr:nth-child(even) td {
  background: #f8fafc;
}

.article-body table tr:hover td {
  background: #f1f5f9;
}

/* ── GDPR Cookie Banner (Compact Bottom-Left Floating Card) ──────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 380px;
  max-width: calc(100vw - 3rem);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 1.25rem 1.35rem;
  z-index: 9999;
  animation: cookieBannerSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookieBannerSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.cookie-banner-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-banner-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.cookie-banner-text {
  font-size: 0.83rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-banner-btn-group {
  display: flex;
  gap: 0.5rem;
}

.cookie-banner-btn-group .btn {
  flex: 1;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.cookie-banner-settings-btn {
  background: transparent;
  border: none;
  color: #1e40af;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.25rem 0;
  text-align: center;
  transition: color var(--trans-fast);
}

.cookie-banner-settings-btn:hover {
  color: #0284c7;
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    width: auto;
    max-width: none;
    padding: 1.1rem;
  }
}

/* ── Modern iOS Toggle Switch & GDPR Cookie Details ──────────────────────── */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  border-radius: 9999px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #1e40af;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.toggle-switch input:disabled + .toggle-slider {
  background-color: #16a34a;
  opacity: 0.9;
  cursor: not-allowed;
}

.toggle-switch input:disabled + .toggle-slider::before {
  transform: translateX(20px);
}

/* ── Premium GDPR Cookie Modal (Wide & Modern Layout) ─────────────────────── */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.cookie-modal-dialog {
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal-overlay.active .cookie-modal-dialog {
  transform: scale(1) translateY(0);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.35rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
  gap: 1.5rem;
}

.cookie-modal-header-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.cookie-modal-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}

.cookie-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.cookie-modal-subtitle {
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-modal-close-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: all var(--trans-fast);
  flex-shrink: 0;
}

.cookie-modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.cookie-modal-callout {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: #1e3a8a;
  line-height: 1.55;
}

.cookie-modal-callout-icon {
  color: #0284c7;
  flex-shrink: 0;
  margin-top: 1px;
}

.cookie-modal-card {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.04);
  transition: all var(--trans-fast);
}

.cookie-modal-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 16px -2px rgba(30, 64, 175, 0.08);
}

.cookie-modal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.cookie-modal-card-title {
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.cookie-modal-card-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.cookie-mini-table {
  width: 100%;
  margin: 0;
  font-size: 0.82rem;
  border-collapse: collapse;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.cookie-mini-table th {
  background: #eef2f6;
  color: #0f172a;
  font-weight: 700;
  padding: 0.6rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid #cbd5e1;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cookie-mini-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  vertical-align: middle;
  line-height: 1.45;
}

.cookie-mini-table tr:nth-child(even) td {
  background: #ffffff;
}

.cookie-mini-table tr:last-child td {
  border-bottom: none;
}

.cookie-pill-tag {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.cookie-pill-session {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.cookie-pill-duration {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.cookie-modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cookie-modal-dialog {
    padding: 1.5rem 1.25rem;
    max-height: 94vh;
  }
  .cookie-modal-header {
    flex-direction: column;
    gap: 0.75rem;
  }
  .cookie-modal-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .cookie-modal-footer-btns {
    flex-direction: column;
    width: 100%;
  }
}



/* ════════════════════════════════════════════════════════════════════════════════
   FEATURED PRODUCT: FACTURAPLUS.RO & SOFTWARE SHOWCASE (v8.3)
   ════════════════════════════════════════════════════════════════════════════════ */
.projects-hero-wrap {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  position: relative;
}

.projects-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 1.25rem;
}

.projects-hero-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0f172a;
  max-width: 900px;
  margin: 0 auto 1.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.projects-hero-subtitle {
  font-size: 1.12rem;
  color: #64748b;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.projects-stats-ribbon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.25rem 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
  max-width: 960px;
  margin: 0 auto 3.5rem;
}

.ribbon-stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ribbon-stat-val {
  font-size: 1.3rem;
  font-weight: 900;
  color: #0f172a;
  font-family: 'JetBrains Mono', monospace;
}

.ribbon-stat-lbl {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ribbon-divider {
  width: 1px;
  height: 28px;
  background: #e2e8f0;
}

/* Flagship Master Card */
.fp-flagship-container {
  background: radial-gradient(100% 120% at 50% 0%, #0d1a33 0%, #080e1b 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  box-shadow: 0 25px 60px -15px rgba(2, 6, 23, 0.6), 0 0 40px -10px rgba(56, 189, 248, 0.15);
  position: relative;
  overflow: hidden;
  margin-bottom: 4.5rem;
}

.fp-flagship-container::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

.fp-flagship-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.fp-header-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.fp-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fp-badge-anaf {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 700;
}

.fp-title {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.fp-title span {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fp-lead {
  font-size: 1.08rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.fp-lead strong {
  color: #f8fafc;
}

.fp-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.fp-feature-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 14px;
  transition: all 0.25s ease;
}

.fp-feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.fp-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fp-feat-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 0.2rem;
}

.fp-feat-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.45;
}

.fp-actions-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-fp-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.5);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-fp-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.7);
  color: #ffffff;
}

.btn-fp-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-fp-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
}

/* Mockup Frame */
.fp-mockup-frame {
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.fp-mockup-bar {
  background: #0f172a;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.fp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.fp-dot.red { background: #ef4444; }
.fp-dot.yellow { background: #f59e0b; }
.fp-dot.green { background: #10b981; }

.fp-mockup-url {
  flex: 1;
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'JetBrains Mono', monospace;
}

.fp-mockup-content {
  padding: 1.5rem;
}

.fp-mockup-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.fp-mstat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.fp-mstat-lbl {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.fp-mstat-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: #f8fafc;
  font-family: 'JetBrains Mono', monospace;
}

.fp-mstat-sub {
  font-size: 0.72rem;
  color: #10b981;
  font-weight: 700;
  margin-top: 0.2rem;
}

/* Feed Simulation */
.fp-mockup-feed {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem;
}

.fp-feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.fp-feed-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fp-feed-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fp-feed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  font-size: 0.78rem;
}

.fp-feed-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  font-weight: 600;
}

.fp-tag-status {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}

.fp-tag-status.success { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.fp-tag-status.info { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.fp-tag-status.purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }

/* Comparison Grid */
.fp-compare-container {
  margin-bottom: 4.5rem;
}

.fp-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.fp-compare-card {
  padding: 2.25rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
}

.fp-compare-card.positive {
  border-color: rgba(37, 99, 235, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
  box-shadow: 0 15px 35px -10px rgba(37, 99, 235, 0.1);
  position: relative;
}

.fp-compare-card.positive::after {
  content: 'SOLUȚIA MODERNĂ';
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #1e40af;
  background: #eff6ff;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.fp-compare-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.fp-compare-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
}

.fp-compare-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.fp-compare-icon.neg { background: #fee2e2; color: #dc2626; }
.fp-compare-icon.pos { background: #dcfce7; color: #16a34a; }

/* Integrations row */
.fp-integrations-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 2rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  margin-bottom: 4.5rem;
}

.fp-int-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: #475569;
}

@media (max-width: 992px) {
  .fp-flagship-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .fp-flagship-container {
    padding: 2.25rem 1.5rem;
  }
  .fp-features-grid {
    grid-template-columns: 1fr;
  }
  .fp-compare-grid {
    grid-template-columns: 1fr;
  }
  .projects-stats-ribbon {
    gap: 1.25rem;
    padding: 1.25rem;
  }
  .ribbon-divider {
    display: none;
  }
}
