/* ============================================================
   DATA GUARD DLP — MAIN STYLESHEET
   Brand: Red #CC0000 | Black #0A0A0A | White #FFFFFF
   Fonts: Barlow Condensed (headings) + Inter (body)
   ============================================================ */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--dg-black);
  background: var(--dg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', 'Impact', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ── Utilities ────────────────────────────────────────────── */
.dg-container {
  max-width: var(--dg-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.dg-text-red { color: var(--dg-red); }
.dg-title-white { color: var(--dg-white) !important; }

/* ── Buttons ──────────────────────────────────────────────── */
.dg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--dg-radius);
  cursor: pointer;
  transition: all var(--dg-transition);
  white-space: nowrap;
}
.dg-btn:active { transform: scale(0.97); }

.dg-btn-red {
  background: var(--dg-red);
  color: var(--dg-white);
  border-color: var(--dg-red);
}
.dg-btn-red:hover { background: var(--dg-red-dark); border-color: var(--dg-red-dark); }

.dg-btn-outline {
  background: transparent;
  color: var(--dg-black);
  border-color: var(--dg-black);
}
.dg-btn-outline:hover { background: var(--dg-black); color: var(--dg-white); }

.dg-btn-outline-white {
  background: transparent;
  color: var(--dg-white);
  border-color: rgba(255,255,255,0.5);
}
.dg-btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--dg-white); }

.dg-btn-white-red {
  background: var(--dg-white);
  color: var(--dg-red);
  border-color: var(--dg-white);
}
.dg-btn-white-red:hover { background: var(--dg-off-white); }

.dg-btn-sm { padding: 8px 18px; font-size: 13px; }
.dg-btn-lg { padding: 16px 36px; font-size: 18px; }
.dg-btn-full { width: 100%; justify-content: center; }

.dg-link-red {
  color: var(--dg-red);
  font-weight: 600;
  font-size: 14px;
  transition: color var(--dg-transition);
}
.dg-link-red:hover { color: var(--dg-red-dark); }

/* ── Badges & Labels ──────────────────────────────────────── */
.dg-badge-red {
  display: inline-block;
  background: rgba(204,0,0,0.12);
  color: var(--dg-red);
  border: 1px solid rgba(204,0,0,0.3);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dg-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dg-gray);
  margin-bottom: 12px;
}
.dg-eyebrow-red { color: var(--dg-red); }

/* ── Header / Navbar ──────────────────────────────────────── */
.dg-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dg-border);
  transition: background var(--dg-transition), box-shadow var(--dg-transition);
}
.dg-header.scrolled {
  background: rgba(10,10,10,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.dg-header-inner {
  max-width: var(--dg-max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--dg-nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.dg-logo img { height: 44px; width: auto; }

.dg-nav { flex: 1; }
.dg-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dg-nav-list li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: 4px;
  transition: color var(--dg-transition), background var(--dg-transition);
}
.dg-nav-list li a:hover { color: var(--dg-white); background: rgba(255,255,255,0.06); }
.dg-nav-list li a.current-menu-item,
.dg-nav-list li a.active { color: var(--dg-red); }

.dg-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.dg-lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.dg-lang-btn {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--dg-transition);
}
.dg-lang-btn:hover, .dg-lang-btn.active { color: var(--dg-white); }

/* Hamburger */
.dg-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.dg-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dg-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.dg-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dg-hamburger.open span:nth-child(2) { opacity: 0; }
.dg-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.dg-mobile-menu {
  display: none;
  background: var(--dg-dark);
  border-top: 1px solid var(--dg-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.dg-mobile-menu.open { max-height: 600px; }
.dg-mobile-menu ul { padding: 16px 24px 24px; }
.dg-mobile-menu ul li a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid var(--dg-border);
  transition: color var(--dg-transition);
}
.dg-mobile-menu ul li a:hover { color: var(--dg-red); }
.dg-mobile-menu ul li:last-child a { border-bottom: none; }
.dg-mobile-cta { padding-top: 16px !important; }

.dg-header-spacer { height: var(--dg-nav-h); }

/* ── Sections ─────────────────────────────────────────────── */
.dg-section { padding: 80px 0; }
.dg-section-light { background: var(--dg-white); }
.dg-section-dark { background: var(--dg-dark); }
.dg-section-offwhite { background: var(--dg-off-white); }

.dg-section-header { text-align: center; margin-bottom: 56px; }
.dg-section-header-light .dg-eyebrow { color: var(--dg-gray); }

.dg-section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--dg-black);
  line-height: 1.1;
  margin-bottom: 16px;
}
.dg-section-sub {
  font-size: 17px;
  color: var(--dg-gray);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.dg-section-cta { text-align: center; margin-top: 48px; }

/* ── Hero Section ─────────────────────────────────────────── */
.dg-hero {
  position: relative;
  background: var(--dg-black);
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.dg-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(204,0,0,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(204,0,0,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.dg-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}
.dg-hero-eyebrow { margin-bottom: 20px; }
.dg-hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: var(--dg-white);
  line-height: 1.05;
  margin-bottom: 24px;
}
.dg-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.dg-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.dg-hero-trust {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dg-hero-trust-sep { color: rgba(255,255,255,0.2); }

/* Hero Visual */
.dg-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.dg-hero-shield-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dg-hero-shield { width: 320px; max-width: 100%; position: relative; z-index: 2; filter: drop-shadow(0 0 40px rgba(204,0,0,0.3)); }
.dg-hero-pulse {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(204,0,0,0.2);
  border-radius: 50%;
  animation: dgPulse 3s ease-out infinite;
}
.dg-hero-pulse-2 { animation-delay: 1.5s; }
@keyframes dgPulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ── Stats Bar ────────────────────────────────────────────── */
.dg-stats-bar {
  background: var(--dg-red);
  padding: 32px 0;
}
.dg-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.dg-stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.dg-stat-item:last-child { border-right: none; }
.dg-stat-number {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--dg-white);
  line-height: 1;
  margin-bottom: 4px;
}
.dg-stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* ── Feature Cards ────────────────────────────────────────── */
.dg-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dg-feature-card {
  background: var(--dg-white);
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  padding: 32px;
  transition: border-color var(--dg-transition), box-shadow var(--dg-transition), transform var(--dg-transition);
}
.dg-feature-card:hover {
  border-color: var(--dg-red);
  box-shadow: 0 8px 32px rgba(204,0,0,0.08);
  transform: translateY(-2px);
}
.dg-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(204,0,0,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--dg-red);
}
.dg-feature-icon svg { width: 24px; height: 24px; }
.dg-feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dg-black);
  margin-bottom: 12px;
}
.dg-feature-card p {
  font-size: 14px;
  color: var(--dg-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ── How It Works Steps ───────────────────────────────────── */
.dg-steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
}
.dg-step {
  flex: 1;
  min-width: 160px;
  padding: 24px 20px;
  text-align: center;
}
.dg-step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--dg-red);
  line-height: 1;
  margin-bottom: 12px;
}
.dg-step h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dg-white);
  margin-bottom: 8px;
}
.dg-step p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.dg-step-arrow {
  font-size: 32px;
  color: rgba(255,255,255,0.2);
  padding-top: 32px;
  flex-shrink: 0;
}

/* ── Industries Grid ──────────────────────────────────────── */
.dg-industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.dg-industry-card {
  display: block;
  background: var(--dg-white);
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  transition: all var(--dg-transition);
}
.dg-industry-card:hover {
  border-color: var(--dg-red);
  box-shadow: 0 6px 24px rgba(204,0,0,0.1);
  transform: translateY(-3px);
}
.dg-industry-icon { font-size: 36px; margin-bottom: 12px; }
.dg-industry-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dg-black);
  margin-bottom: 8px;
}
.dg-industry-card p { font-size: 12px; color: var(--dg-gray); line-height: 1.5; }

/* ── About Split ──────────────────────────────────────────── */
.dg-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.dg-check-list { list-style: none; }
.dg-check-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dg-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--dg-red);
  font-weight: 700;
}
.dg-about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.dg-about-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dg-border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}
.dg-about-stat-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--dg-red);
  line-height: 1;
  margin-bottom: 6px;
}
.dg-about-stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ── CTA Band ─────────────────────────────────────────────── */
.dg-cta-band {
  background: var(--dg-red);
  padding: 64px 0;
}
.dg-cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.dg-cta-band-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--dg-white);
  margin-bottom: 8px;
}
.dg-cta-band-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
}
.dg-cta-band-actions { display: flex; gap: 16px; flex-shrink: 0; }

/* ── Page Hero ────────────────────────────────────────────── */
.dg-page-hero {
  padding: 80px 0 72px;
  text-align: center;
}
.dg-page-hero-dark { background: var(--dg-dark); }
.dg-page-hero-compact { padding: 60px 0 56px; }
.dg-page-hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  color: var(--dg-white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.dg-page-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Feature Detail Split ─────────────────────────────────── */
.dg-feature-detail-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.dg-feature-detail-reverse { direction: rtl; }
.dg-feature-detail-reverse > * { direction: ltr; }

.dg-feature-tag {
  display: inline-block;
  background: rgba(204,0,0,0.08);
  color: var(--dg-red);
  border: 1px solid rgba(204,0,0,0.2);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.dg-feature-tag-dark {
  background: rgba(204,0,0,0.15);
  border-color: rgba(204,0,0,0.3);
}

.dg-feature-detail-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dg-black);
}
.dg-feature-detail-text p {
  font-size: 15px;
  color: var(--dg-gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.dg-feature-list { list-style: none; }
.dg-feature-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  color: var(--dg-gray);
  border-bottom: 1px solid #F0F0F0;
}
.dg-feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--dg-red);
  font-weight: 700;
}
.dg-feature-list-light li { color: rgba(255,255,255,0.7); border-bottom-color: rgba(255,255,255,0.08); }

.dg-feature-stat-box {
  background: var(--dg-off-white);
  border-radius: 12px;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 24px;
  text-align: center;
}
.dg-feature-stat-box-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dg-border);
}
.dg-feature-stat span {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--dg-red);
  line-height: 1;
  margin-bottom: 6px;
}
.dg-feature-stat small {
  font-size: 13px;
  color: var(--dg-gray);
  font-weight: 500;
}
.dg-feature-stat-box-dark .dg-feature-stat small { color: rgba(255,255,255,0.5); }

.dg-cloud-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.dg-cloud-logo-item {
  background: var(--dg-off-white);
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--dg-black);
}

.dg-compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.dg-compliance-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dg-border);
  border-radius: 8px;
  padding: 24px;
  transition: border-color var(--dg-transition);
}
.dg-compliance-item:hover { border-color: rgba(204,0,0,0.4); }
.dg-compliance-name {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--dg-red);
  margin-bottom: 6px;
}
.dg-compliance-desc { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ── Process Steps (How It Works page) ───────────────────── */
.dg-process-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid #F0F0F0;
}
.dg-process-step:last-child { border-bottom: none; }
.dg-process-step-alt { background: var(--dg-off-white); margin: 0 -24px; padding: 48px 24px; }
.dg-process-step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}
.dg-process-step-num-red { color: var(--dg-red); }
.dg-process-step-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dg-black);
  margin-bottom: 12px;
}
.dg-process-lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--dg-black);
  margin-bottom: 16px;
  line-height: 1.5;
}
.dg-process-step-content p {
  font-size: 15px;
  color: var(--dg-gray);
  line-height: 1.7;
  margin-bottom: 24px;
}
.dg-process-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dg-process-bullet {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--dg-gray);
}
.dg-bullet-check { color: var(--dg-red); font-weight: 700; flex-shrink: 0; }
.dg-process-connector { display: flex; justify-content: center; padding: 8px 0; }
.dg-process-line { width: 2px; height: 40px; background: linear-gradient(to bottom, var(--dg-red), transparent); }

/* ── Industry Detail ──────────────────────────────────────── */
.dg-industry-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.dg-industry-icon-lg { font-size: 56px; flex-shrink: 0; }
.dg-industry-detail-header h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--dg-black);
}
.dg-industry-detail-dark .dg-industry-detail-header h2 { color: var(--dg-white); }
.dg-industry-detail > p {
  font-size: 15px;
  color: var(--dg-gray);
  line-height: 1.7;
  margin-bottom: 32px;
}
.dg-industry-challenges { margin-bottom: 32px; }
.dg-industry-challenges h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dg-black);
  margin-bottom: 20px;
}
.dg-challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.dg-challenge-item {
  background: var(--dg-off-white);
  border-radius: 8px;
  padding: 20px;
  border-left: 3px solid var(--dg-red);
}
.dg-challenge-item-dark {
  background: rgba(255,255,255,0.04);
  border-color: var(--dg-red);
}
.dg-challenge-item strong { display: block; font-size: 15px; color: var(--dg-black); margin-bottom: 6px; }
.dg-challenge-item-dark strong { color: var(--dg-white); }
.dg-challenge-item p { font-size: 13px; color: var(--dg-gray); line-height: 1.5; }
.dg-challenge-item-dark p { color: rgba(255,255,255,0.5); }

.dg-industry-regs { display: flex; flex-wrap: wrap; gap: 8px; }
.dg-reg-badge {
  background: rgba(204,0,0,0.08);
  color: var(--dg-red);
  border: 1px solid rgba(204,0,0,0.2);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ── Use Cases Tabs ───────────────────────────────────────── */
.dg-tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #E8E8E8;
  margin-bottom: 40px;
  overflow-x: auto;
}
.dg-tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dg-gray);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--dg-transition);
  white-space: nowrap;
}
.dg-tab-btn:hover { color: var(--dg-black); }
.dg-tab-active { color: var(--dg-red) !important; border-bottom-color: var(--dg-red) !important; }

.dg-tab-panel { display: none; }
.dg-tab-panel-active { display: block; }

.dg-usecase-split {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.dg-usecase-text h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--dg-black);
  margin-bottom: 16px;
}
.dg-usecase-text > p {
  font-size: 15px;
  color: var(--dg-gray);
  line-height: 1.7;
  margin-bottom: 24px;
}
.dg-usecase-scenario {
  background: var(--dg-off-white);
  border-radius: 8px;
  padding: 24px;
  border-left: 3px solid var(--dg-red);
}
.dg-usecase-scenario h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dg-black);
  margin-bottom: 10px;
}
.dg-usecase-scenario p { font-size: 14px; color: var(--dg-gray); line-height: 1.6; }
.dg-usecase-stats { display: flex; flex-direction: column; gap: 20px; }
.dg-usecase-stat {
  background: var(--dg-off-white);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  border-top: 3px solid var(--dg-red);
}
.dg-usecase-stat span {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--dg-red);
  line-height: 1;
  margin-bottom: 4px;
}
.dg-usecase-stat small { font-size: 13px; color: var(--dg-gray); }

/* ── About Page ───────────────────────────────────────────── */
.dg-about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.dg-about-story-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--dg-black);
  margin-bottom: 20px;
}
.dg-about-story-text p {
  font-size: 15px;
  color: var(--dg-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}
.dg-about-shield-display {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--dg-off-white);
  border-radius: 16px;
  padding: 60px;
  border: 1px solid #E8E8E8;
}
.dg-about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.dg-about-big-stat {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dg-border);
  border-radius: 8px;
  border-top: 3px solid var(--dg-red);
}
.dg-about-big-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--dg-red);
  line-height: 1;
  margin-bottom: 8px;
}
.dg-about-big-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--dg-white);
  margin-bottom: 12px;
}
.dg-about-big-stat p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.5; }

.dg-certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.dg-cert-card {
  background: var(--dg-white);
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--dg-transition);
}
.dg-cert-card:hover { border-color: var(--dg-red); box-shadow: 0 6px 24px rgba(204,0,0,0.08); }
.dg-cert-badge {
  width: 60px;
  height: 60px;
  background: var(--dg-red);
  color: var(--dg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 900;
  margin: 0 auto 16px;
}
.dg-cert-card h4 { font-size: 18px; font-weight: 700; color: var(--dg-black); margin-bottom: 10px; }
.dg-cert-card p { font-size: 13px; color: var(--dg-gray); line-height: 1.5; }

.dg-diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.dg-diff-item {
  padding: 32px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dg-border);
  border-radius: 8px;
  transition: border-color var(--dg-transition);
}
.dg-diff-item:hover { border-color: rgba(204,0,0,0.4); }
.dg-diff-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: rgba(204,0,0,0.3);
  line-height: 1;
  margin-bottom: 12px;
}
.dg-diff-item h4 { font-size: 18px; font-weight: 700; color: var(--dg-white); margin-bottom: 10px; }
.dg-diff-item p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ── Contact / Demo Form ──────────────────────────────────── */
.dg-contact-split {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}
.dg-contact-form-wrap h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dg-black);
  margin-bottom: 8px;
}
.dg-contact-form-wrap > p {
  font-size: 15px;
  color: var(--dg-gray);
  margin-bottom: 32px;
}

.dg-demo-form { display: flex; flex-direction: column; gap: 20px; }
.dg-form-row { display: flex; gap: 20px; }
.dg-form-row-2 > * { flex: 1; }
.dg-form-field { display: flex; flex-direction: column; gap: 6px; }
.dg-form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dg-black);
  letter-spacing: 0.02em;
}
.dg-required { color: var(--dg-red); }
.dg-form-field input,
.dg-form-field select,
.dg-form-field textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--dg-black);
  background: var(--dg-white);
  border: 1.5px solid #D8D8D8;
  border-radius: var(--dg-radius);
  transition: border-color var(--dg-transition), box-shadow var(--dg-transition);
  outline: none;
}
.dg-form-field input:focus,
.dg-form-field select:focus,
.dg-form-field textarea:focus {
  border-color: var(--dg-red);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.08);
}
.dg-form-field input.dg-error,
.dg-form-field select.dg-error,
.dg-form-field textarea.dg-error { border-color: var(--dg-red); }
.dg-form-field textarea { resize: vertical; min-height: 100px; }
.dg-form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.dg-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--dg-gray);
  line-height: 1.5;
}
.dg-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--dg-red);
}
.dg-checkbox-label a { color: var(--dg-red); text-decoration: underline; }

.dg-form-message {
  padding: 14px 20px;
  border-radius: var(--dg-radius);
  font-size: 14px;
  font-weight: 500;
}
.dg-form-message.success { background: rgba(0,160,0,0.08); color: #006600; border: 1px solid rgba(0,160,0,0.2); }
.dg-form-message.error { background: rgba(204,0,0,0.08); color: var(--dg-red); border: 1px solid rgba(204,0,0,0.2); }

/* Contact Info sidebar */
.dg-contact-info {
  background: var(--dg-off-white);
  border-radius: 12px;
  padding: 40px 32px;
  border: 1px solid #E8E8E8;
}
.dg-contact-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dg-black);
  margin-bottom: 24px;
}
.dg-contact-benefits { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.dg-contact-benefits li { display: flex; gap: 12px; align-items: flex-start; }
.dg-benefit-icon {
  width: 24px;
  height: 24px;
  background: var(--dg-red);
  color: var(--dg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.dg-contact-benefits strong { display: block; font-size: 14px; color: var(--dg-black); margin-bottom: 4px; }
.dg-contact-benefits p { font-size: 13px; color: var(--dg-gray); line-height: 1.5; }
.dg-contact-direct { border-top: 1px solid #E0E0E0; padding-top: 24px; }
.dg-contact-direct h4 { font-size: 16px; font-weight: 700; color: var(--dg-black); margin-bottom: 12px; }
.dg-contact-direct a { color: var(--dg-red); font-weight: 600; font-size: 15px; }
.dg-contact-offices { font-size: 14px; color: var(--dg-gray); margin: 6px 0; }
.dg-contact-response { font-size: 13px; color: var(--dg-gray); font-style: italic; }

/* ── Footer ───────────────────────────────────────────────── */
.dg-footer {
  background: var(--dg-black);
  border-top: 1px solid var(--dg-border);
}
.dg-footer-inner {
  max-width: var(--dg-max-w);
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.dg-footer-logo img { height: 44px; width: auto; margin-bottom: 16px; }
.dg-footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 280px;
}
.dg-footer-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dg-footer-certs span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.dg-footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.dg-footer-col ul li {
  margin-bottom: 10px;
}
.dg-footer-col ul li a,
.dg-footer-col ul li span {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--dg-transition);
}
.dg-footer-col ul li a:hover { color: var(--dg-white); }

.dg-footer-bottom {
  border-top: 1px solid var(--dg-border);
}
.dg-footer-bottom-inner {
  max-width: var(--dg-max-w);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.dg-footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.dg-footer-legal { display: flex; gap: 20px; }
.dg-footer-legal a { font-size: 13px; color: rgba(255,255,255,0.35); transition: color var(--dg-transition); }
.dg-footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .dg-features-grid { grid-template-columns: repeat(2, 1fr); }
  .dg-industries-grid { grid-template-columns: repeat(3, 1fr); }
  .dg-compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .dg-certs-grid { grid-template-columns: repeat(2, 1fr); }
  .dg-diff-grid { grid-template-columns: repeat(2, 1fr); }
  .dg-about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dg-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .dg-nav { display: none; }
  .dg-hamburger { display: flex; }
  .dg-mobile-menu { display: block; }
  .dg-lang-switch { display: none; }

  .dg-hero-inner { grid-template-columns: 1fr; text-align: center; padding: 60px 24px; }
  .dg-hero-visual { display: none; }
  .dg-hero-actions { justify-content: center; }
  .dg-hero-trust { justify-content: center; }

  .dg-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dg-stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .dg-stat-item:nth-child(2n) { border-right: none; }
  .dg-stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .dg-features-grid { grid-template-columns: 1fr; }
  .dg-industries-grid { grid-template-columns: repeat(2, 1fr); }
  .dg-about-split { grid-template-columns: 1fr; }
  .dg-about-stats { grid-template-columns: repeat(2, 1fr); }
  .dg-cta-band-inner { flex-direction: column; text-align: center; }
  .dg-cta-band-actions { flex-direction: column; width: 100%; }

  .dg-feature-detail-split { grid-template-columns: 1fr; }
  .dg-feature-detail-reverse { direction: ltr; }
  .dg-process-step { grid-template-columns: 1fr; }
  .dg-process-step-num { font-size: 56px; text-align: left; }
  .dg-process-bullets { grid-template-columns: 1fr; }
  .dg-challenge-grid { grid-template-columns: 1fr; }
  .dg-usecase-split { grid-template-columns: 1fr; }
  .dg-about-story { grid-template-columns: 1fr; }
  .dg-contact-split { grid-template-columns: 1fr; }
  .dg-form-row { flex-direction: column; }
  .dg-compliance-grid { grid-template-columns: 1fr 1fr; }
  .dg-certs-grid { grid-template-columns: 1fr 1fr; }
  .dg-diff-grid { grid-template-columns: 1fr; }
  .dg-about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dg-steps-row { flex-direction: column; }
  .dg-step-arrow { display: none; }
  .dg-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .dg-footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .dg-industries-grid { grid-template-columns: 1fr; }
  .dg-stats-grid { grid-template-columns: 1fr; }
  .dg-stat-item { border-bottom: 1px solid rgba(255,255,255,0.2); border-right: none; }
  .dg-compliance-grid { grid-template-columns: 1fr; }
  .dg-certs-grid { grid-template-columns: 1fr; }
  .dg-about-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE FIXES
   ════════════════════════════════════════════════════════════ */

/* Stop long words (common in Arabic) forcing horizontal scroll */
html, body { overflow-x: hidden; max-width: 100%; }
.dg-hero-title, .dg-section-title, .dg-page-title,
.dg-hero-sub, .dg-section-sub,
.dg-feature-card p, .dg-industry-card p, .dg-step p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Language switcher inside the mobile menu (hidden on desktop) */
.dg-mobile-lang { display: none; align-items: center; gap: 10px; padding-top: 18px !important; }
.dg-mobile-lang a {
  display: inline-block !important;
  padding: 9px 18px !important;
  border: 1px solid var(--dg-border) !important;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  line-height: 1;
}
.dg-mobile-lang a.active {
  background: var(--dg-red);
  border-color: var(--dg-red) !important;
  color: var(--dg-white);
}

@media (max-width: 768px) {
  /* Drop the header CTA — it already exists inside the mobile menu */
  .dg-header-right > .dg-btn { display: none; }
  .dg-header-inner { gap: 16px; }

  .dg-mobile-lang { display: flex; }

  /* Tall enough for 7 links + CTA + language row (Arabic wraps taller) */
  .dg-mobile-menu.open { max-height: 820px; }

  /* Comfortable tap targets */
  .dg-mobile-menu ul li a { padding: 14px 0; }
  .dg-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 480px) {
  .dg-container, .dg-header-inner { padding-left: 16px; padding-right: 16px; }
  .dg-section { padding: 56px 0; }

  /* Headlines were bottoming out at 40px — far too large on a 360px screen */
  .dg-hero-inner { padding: 48px 16px; }
  .dg-hero-title { font-size: clamp(28px, 8.5vw, 40px); }
  .dg-hero-sub { font-size: 15px; }
  .dg-section-title { font-size: clamp(24px, 7vw, 32px); }
  .dg-cta-band-text h2 { font-size: clamp(22px, 6.5vw, 28px); }

  /* Oversized numerals */
  .dg-stat-number { font-size: 34px; }
  .dg-about-stat-num { font-size: 34px; }
  .dg-step-num { font-size: 40px; }
  .dg-process-step-num { font-size: 44px; }

  /* Full-width stacked buttons */
  .dg-hero-actions { flex-direction: column; align-items: stretch; }
  .dg-hero-actions .dg-btn { width: 100%; }
  .dg-cta-band-actions .dg-btn { width: 100%; }

  /* Trust line and footer legal wrap instead of overflowing */
  .dg-hero-trust { flex-direction: column; gap: 6px; }
  .dg-hero-trust-sep { display: none; }
  .dg-footer-legal { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .dg-footer-certs { flex-wrap: wrap; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════
   MOBILE HEADER ALIGNMENT + STICKY ACTION BAR + CTA BAND
   ════════════════════════════════════════════════════════════ */

/* Sticky bottom bar — mobile only */
.dg-mobile-bar { display: none; }
.dg-mobile-bar-lang { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dg-mobile-bar-lang a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: rgba(255,255,255,0.75);
  transition: all var(--dg-transition);
}
.dg-mobile-bar-lang a.active {
  background: var(--dg-white);
  border-color: var(--dg-white);
  color: var(--dg-black);
}
.dg-mobile-bar-cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--dg-red);
  color: var(--dg-white);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  /* Hamburger sits at the far end — .dg-nav (flex:1) is display:none here,
     so nothing was pushing .dg-header-right across. margin-inline-start
     works for both LTR and RTL. */
  .dg-header-inner { justify-content: space-between; gap: 12px; }
  .dg-header-right { margin-inline-start: auto; }

  /* Show the sticky bar and keep it clear of page content */
  .dg-mobile-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 999;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(10,10,10,0.97);
    border-top: 1px solid var(--dg-border);
  }
  body { padding-bottom: 76px; }

  /* The bar now carries both, so drop the duplicates inside the burger menu */
  .dg-mobile-lang { display: none; }
  .dg-mobile-cta { display: none; }
  .dg-mobile-menu.open { max-height: 620px; }

  /* CTA band */
  .dg-cta-band { padding: 48px 0; }
  .dg-cta-band-inner { flex-direction: column; text-align: center; gap: 24px; }
  .dg-cta-band-text p { max-width: 100%; }
  .dg-cta-band-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    flex-shrink: 1;
  }
  .dg-cta-band-actions .dg-btn { width: 100%; }
}

@media (max-width: 480px) {
  .dg-cta-band { padding: 40px 0; }
  .dg-mobile-bar-cta { font-size: 14px; padding: 10px 12px; }
  .dg-mobile-bar-lang a { padding: 8px 10px; font-size: 12px; }
}

/* ════════════════════════════════════════════════════════════
   MOBILE MENU SCROLLING + CTA BAND OVERFLOW
   ════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* The menu had overflow:hidden with a fixed max-height, so on short screens
     (and in landscape) the lower links were unreachable. Cap it to the space
     between the sticky header and the sticky bottom bar, and let it scroll.
     100dvh accounts for mobile browser chrome; 100vh is the fallback. */
  .dg-mobile-menu.open {
    max-height: calc(100vh - var(--dg-nav-h) - 84px);
    max-height: calc(100dvh - var(--dg-nav-h) - 84px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  /* Breathing room so the last link isn't flush against the bottom bar */
  .dg-mobile-menu ul { padding-bottom: 32px; }
}

/* CTA band — long Arabic words could push the section wider than the screen */
.dg-cta-band-inner { min-width: 0; }
.dg-cta-band-text { min-width: 0; }
.dg-cta-band-text h2,
.dg-cta-band-text p {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 768px) {
  .dg-cta-band-text h2 { font-size: clamp(24px, 5.5vw, 34px); line-height: 1.2; }
  .dg-cta-band-text p  { font-size: 15px; line-height: 1.7; }
}

@media (max-width: 480px) {
  .dg-cta-band-text h2 { font-size: clamp(21px, 6vw, 26px); }
  .dg-cta-band-text p  { font-size: 14px; }
}

/* ════════════════════════════════════════════════════════════
   FOOTER — Contact column removed, regrid to 3 columns
   ════════════════════════════════════════════════════════════ */
.dg-footer-inner { grid-template-columns: 2fr 1fr 1fr; }

@media (max-width: 1024px) {
  .dg-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .dg-footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
