/* ==========================================================================
   MAERID (ميريد) - Enterprise IT Solutions & Consultancy
   Design System & Master Stylesheet
   Refined Layout, Tight Spacing, Image Grids, High-Contrast Typography
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-darkest: #03060f;
  --bg-primary: #060a16;
  --bg-secondary: #0a1122;
  --bg-card: rgba(13, 20, 38, 0.78);
  --bg-card-hover: rgba(20, 31, 56, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 240, 255, 0.55);
  --border-glow: rgba(0, 240, 255, 0.25);

  /* Brand Accents */
  --cyan-primary: #00f0ff;
  --cyan-light: #5ef5ff;
  --cyan-dark: #0099aa;
  --cyan-glow: rgba(0, 240, 255, 0.35);
  --violet-primary: #8b5cf6;
  --violet-light: #a78bfa;
  --violet-glow: rgba(139, 92, 246, 0.35);
  --emerald-accent: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);
  --amber-accent: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.3);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Tajawal', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Text Colors */
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-cyan: #38bdf8;

  /* Layout & Elevations */
  --container-max: 1600px;
  --header-height: 74px;
  --topbar-height: 38px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow-cyan: 0 0 25px rgba(0, 240, 255, 0.25);
  --shadow-glow-violet: 0 0 25px rgba(139, 92, 246, 0.25);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #0d1a36 0%, var(--bg-primary) 65%, var(--bg-darkest) 100%);
  background-attachment: fixed;
}

/* Scroll progress indicator */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan-primary), var(--violet-primary), #ec4899);
  z-index: 1000;
  box-shadow: 0 0 10px var(--cyan-primary);
  transition: width 0.1s ease-out;
}

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

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

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

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

ul, ol {
  list-style: none;
}

.container {
  /* Use almost the entire desktop viewport while keeping content centered. */
  width: calc(100% - 64px);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.arabic-text {
  font-family: var(--font-arabic);
  direction: rtl;
  display: inline-block;
  letter-spacing: 0;
}

/* Typography Helpers */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 15%, #cbd5e1 55%, var(--cyan-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan-violet {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--violet-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Tight, Structured Section Header */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--cyan-primary);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.12);
}

.section-tag-pulse {
  width: 7px;
  height: 7px;
  background: var(--cyan-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-primary);
  animation: pulse-dot 2s infinite;
}

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

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-white);
}

.section-arabic-sub {
  font-family: var(--font-arabic);
  font-size: 1.05rem;
  color: var(--cyan-light);
  margin-bottom: 8px;
  font-weight: 700;
  display: block;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Header & Top Contact Bar
   ========================================================================== */
.top-contact-bar {
  background-color: #02050e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
  z-index: 102;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.top-bar-item:hover {
  color: var(--cyan-primary);
}

.top-bar-item svg {
  color: var(--cyan-primary);
  flex-shrink: 0;
}

.top-bar-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.top-bar-arabic {
  font-family: var(--font-arabic);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Main Navigation Bar */
.main-header {
  position: sticky;
  top: 0;
  z-index: 101;
  background: rgba(6, 10, 22, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.main-header.scrolled {
  background: rgba(4, 7, 16, 0.97);
  border-bottom-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo img {
  display: block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo:hover img {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.35));
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-primary), var(--violet-primary));
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, #0099ff 100%);
  color: #030816;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.btn-outline-cyan {
  background: transparent;
  color: var(--cyan-primary);
  border: 1px solid rgba(0, 240, 255, 0.4);
}

.btn-outline-cyan:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--cyan-primary);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 103;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

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

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

/* ==========================================================================
   Hero Section with Split Image Grid (Tight & Engaging)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 55px 0 65px;
  overflow: hidden;
}

.hero-canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.hero-ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.ambient-cyan {
  top: 5%;
  left: 5%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
}

.ambient-violet {
  top: 25%;
  right: 5%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero-badge-arabic {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(12, 19, 38, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-badge-arabic .arabic-highlight {
  font-family: var(--font-arabic);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--cyan-primary);
}

.hero-badge-arabic .divider {
  width: 4px;
  height: 4px;
  background: var(--text-muted);
  border-radius: 50%;
}

.hero-badge-arabic .latin-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-headline {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.hero-subhead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

/* Floating Stats Strip */
.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(13, 20, 38, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--border-subtle);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan-primary);
  line-height: 1;
  margin-bottom: 4px;
  font-feature-settings: "tnum";
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Hero Visual Card (Image Showcase) */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 240, 255, 0.15);
  background: #080d1e;
}

.hero-visual-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  filter: brightness(0.88) contrast(1.08);
  transition: transform var(--transition-slow);
}

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

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 22, 0.15) 0%, rgba(6, 10, 22, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  pointer-events: none;
}

.hero-floating-badge {
  position: absolute;
  padding: 10px 16px;
  background: rgba(10, 16, 34, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-white);
  z-index: 3;
}

.hero-floating-badge.badge-top-left {
  top: 18px;
  left: 18px;
}

.hero-floating-badge.badge-bottom-right {
  bottom: 20px;
  right: 18px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* ==========================================================================
   Partners & Platforms Ticker
   ========================================================================== */
.partners-ticker-section {
  padding: 24px 0;
  background: rgba(3, 6, 15, 0.95);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.ticker-heading {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.ticker-wrap {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: ticker-slide 32s linear infinite;
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.partner-logo-pill:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--cyan-primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   UAE E-Invoicing & Compliance Section (Tighter Gaps)
   ========================================================================== */
.einvoice-showcase-section {
  padding: 65px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.einvoice-banner-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  background: rgba(13, 20, 38, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.einvoice-banner-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-primary), var(--emerald-accent), var(--violet-primary));
}

.einvoice-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.einvoice-title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--text-white);
}

.einvoice-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.einvoice-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 26px;
}

.einvoice-point-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.point-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.point-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.point-sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* E-Invoice Mockup Box */
.einvoice-visual-box {
  background: #040816;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.mockup-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
}

.mockup-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.mockup-pipeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pipeline-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.pipeline-step.active-step {
  border-color: var(--cyan-primary);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.08);
}

.step-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.step-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-primary);
}

/* ==========================================================================
   Services Grid Section (Images & Openable Blueprint Drawers)
   ========================================================================== */
.services-section {
  padding: 65px 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 26px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0 0 24px;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 240, 255, 0.45);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 240, 255, 0.15);
}

.service-card-banner {
  height: 155px;
  position: relative;
  overflow: hidden;
  background: #080d1e;
}

.service-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
  filter: brightness(0.85) contrast(1.1);
}

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

.service-card-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 6, 15, 0.1) 0%, rgba(13, 20, 38, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px 22px;
}

.service-badge-pill {
  background: rgba(0, 240, 255, 0.18);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--cyan-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.service-body-content {
  padding: 16px 24px 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.service-feature-item svg {
  color: var(--cyan-primary);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

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

.service-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan-primary);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.service-open-btn:hover {
  background: var(--cyan-primary);
  color: #030816;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* ==========================================================================
   ERP Platform Ecosystem Section
   ========================================================================== */
.erp-section {
  padding: 60px 0;
  background: var(--bg-darkest);
  position: relative;
}

.erp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.erp-card {
  background: rgba(10, 16, 32, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.erp-card:hover {
  border-color: var(--border-focus);
  background: rgba(16, 25, 48, 0.85);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 240, 255, 0.12);
}

.erp-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.erp-card.popular .erp-badge {
  background: rgba(0, 240, 255, 0.15);
  border-color: rgba(0, 240, 255, 0.4);
  color: var(--cyan-primary);
}

.erp-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-white);
  border: 1px solid var(--border-subtle);
}

.erp-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.erp-fit {
  font-size: 0.78rem;
  color: var(--cyan-primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.erp-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.erp-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.erp-feature-tag {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

/* ==========================================================================
   Enterprise Support & AMC Section
   ========================================================================== */
.it-support-section {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

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

.support-item-card {
  background: rgba(12, 18, 35, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all var(--transition-normal);
  display: flex;
  gap: 16px;
}

.support-item-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-3px);
  background: rgba(18, 27, 50, 0.88);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.12);
}

.support-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-light);
  flex-shrink: 0;
}

.support-card-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.support-card-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Interactive Project Cost & AMC Calculator (in USD)
   ========================================================================== */
.calculator-section {
  padding: 65px 0;
  background: var(--bg-primary);
  position: relative;
}

.calc-container {
  background: rgba(13, 20, 38, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.1);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  backdrop-filter: blur(20px);
}

.calc-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}

.calc-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.calc-group {
  margin-bottom: 22px;
}

.calc-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.calc-option-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.calc-option-btn:hover {
  border-color: rgba(0, 240, 255, 0.4);
  color: var(--text-white);
}

.calc-option-btn.selected {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.calc-summary-panel {
  background: #03060f;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.summary-row strong {
  color: var(--text-white);
}

.summary-total {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  margin-top: 18px;
}

.total-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.total-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--cyan-primary);
  margin-top: 4px;
}

.total-period {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Case Studies
   ========================================================================== */
.case-studies-section {
  padding: 65px 0;
  background: var(--bg-darkest);
}

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

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

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

.case-industry {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-primary);
  margin-bottom: 10px;
}

.case-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.35;
}

.case-metrics-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.metric-big {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cyan-primary);
}

.metric-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.case-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ Accordion Section (Tighter Spacing)
   ========================================================================== */
.faq-section {
  padding: 60px 0;
  background: var(--bg-primary);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(0, 240, 255, 0.4);
  background: var(--bg-card-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  text-align: left;
  gap: 14px;
}

.faq-toggle-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  flex-shrink: 0;
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--cyan-primary);
  color: #000;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.25s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 280px;
  padding-bottom: 20px;
}

/* ==========================================================================
   Blogs Preview & Blog Cards (Real Images & Rich Visuals)
   ========================================================================== */
.blogs-section {
  padding: 65px 0;
  background: var(--bg-secondary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 26px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-focus);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.2);
}

.blog-cover {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: #091024;
}

.blog-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
  filter: brightness(0.85) contrast(1.1);
}

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

.blog-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 6, 15, 0.1) 0%, rgba(13, 20, 38, 0.8) 100%);
}

.blog-tag-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 240, 255, 0.2);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--cyan-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.blog-read-time {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.blog-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-excerpt {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.blog-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

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

.author-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cyan-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.author-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}

.read-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   Consultation Callout Banner
   ========================================================================== */
.consultation-cta-banner {
  padding: 55px 0;
  position: relative;
  background: radial-gradient(circle at 50% 50%, #121d3f 0%, var(--bg-primary) 70%);
}

.cta-banner-card {
  background: linear-gradient(135deg, rgba(14, 23, 46, 0.95), rgba(20, 14, 40, 0.95));
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-xl);
  padding: 44px 34px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.15);
  overflow: hidden;
}

.cta-arabic-headline {
  font-family: var(--font-arabic);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cyan-light);
  margin-bottom: 10px;
  display: block;
}

.cta-banner-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 14px;
}

.cta-banner-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 28px;
}

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

/* ==========================================================================
   Streamlined Modern Footer (Aligned & Tight)
   ========================================================================== */
.main-footer {
  background: #02040b;
  border-top: 1px solid var(--border-subtle);
  padding: 55px 0 25px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col-brand p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.65;
  margin: 14px 0 16px;
}

.footer-arabic-motto {
  font-family: var(--font-arabic);
  color: var(--cyan-primary);
  font-size: 0.98rem;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

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

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

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 18px;
  position: relative;
  letter-spacing: 0.02em;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--cyan-primary);
}

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

.footer-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--cyan-primary);
  transform: translateX(3px);
}

/* Newsletter Box */
.newsletter-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.newsletter-arabic-tag {
  font-family: var(--font-arabic);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cyan-light);
  margin-bottom: 4px;
  display: block;
}

.newsletter-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 6px;
}

.newsletter-input {
  flex-grow: 1;
  background: #060914;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--text-white);
  outline: none;
}

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

/* Compliance Badges Strip */
.footer-compliance-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 22px;
}

.compliance-badges-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.cert-badge svg {
  color: var(--cyan-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  transition: color var(--transition-fast);
}

.back-to-top-btn:hover {
  color: var(--cyan-primary);
}

/* ==========================================================================
   Article & Service Modal System
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 10, 0.88);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-content-box {
  background: #080e22;
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-xl);
  max-width: 860px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 240, 255, 0.18);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--cyan-primary);
  color: #000;
}

.modal-hero-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  border: 1px solid var(--border-subtle);
}

.article-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
}

.article-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.article-body-content {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.article-body-content h3 {
  color: var(--text-white);
  font-size: 1.25rem;
  margin: 26px 0 12px;
}

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

.article-body-content ul, .article-body-content ol {
  padding-left: 22px;
  margin-bottom: 20px;
}

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

.article-callout {
  background: rgba(0, 240, 255, 0.08);
  border-left: 4px solid var(--cyan-primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 22px 0;
  font-weight: 500;
  color: var(--text-primary);
}

/* Toast Alerts */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #0b1329;
  border: 1px solid var(--cyan-primary);
  color: var(--text-white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 240, 255, 0.3);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slide-in-toast 0.3s ease-out;
}

@keyframes slide-in-toast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Page Banner */
.page-hero-banner {
  padding: 65px 0 50px;
  position: relative;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, #0f1a3a 0%, var(--bg-primary) 70%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.page-hero-title {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text-white);
}

.page-hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Forms & Inputs */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: #060914;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-size: 0.9rem;
  color: var(--text-white);
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
  background: #090f22;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .container { width: calc(100% - 48px); }
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .einvoice-banner-grid, .calc-container {
    grid-template-columns: 1fr;
  }
  .support-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container { width: calc(100% - 32px); }
  .top-bar-right {
    display: none;
  }
  .top-bar-inner {
    justify-content: center;
  }
  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) + var(--topbar-height));
    left: 0;
    width: 100%;
    background: #040814;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .nav-actions .btn {
    display: none;
  }
  .support-services-grid, .services-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-strip {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
  .einvoice-points {
    grid-template-columns: 1fr;
  }
  .form-card, .calc-container {
    padding: 20px;
  }
}
