@import url("../vendor/pretendard/1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url("../vendor/gfonts/2026-11-17/css/plus-jakarta-sans-be9965.css");

:root {
  --dg-font-sans: 'Plus Jakarta Sans', 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --dg-bg-white: #FFFFFF;
  --dg-bg-soft: #F8F9FA;
  --dg-card-soft: #F4F4F5;
  --dg-card-hover: #EFEFF2;
  --dg-bg-dark: #09090B;
  --dg-bg-black: #000000;
  --dg-dark-card: #141417;
  --dg-dark-card-alt: #18181B;
  --dg-dark-border: rgba(255, 255, 255, 0.1);
  --dg-text-heading: #000000;
  --dg-text-body: #52525B;
  --dg-text-muted: #71717A;
  --dg-text-light: #A1A1AA;
  --dg-border: #E4E4E7;
  --dg-border-light: #ECECEE;
  --dg-primary: #389BF2;
  --dg-primary-dark: #0678E3;
  --dg-primary-soft: #E3F2FD;
  --dg-primary-pill: #EBF5FF;
  --dg-success: #10B981;
  --dg-success-soft: #DCFCE7;
  --dg-warning: #F59E0B;
  --dg-radius-xs: 8px;
  --dg-radius-sm: 12px;
  --dg-radius-md: 16px;
  --dg-radius-lg: 22px;
  --dg-radius-xl: 28px;
  --dg-radius-pill: 999px;
  --dg-shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.04);
  --dg-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 20px rgba(0, 0, 0, 0.05);
  --dg-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 16px 36px rgba(0, 0, 0, 0.08);
  --dg-container: 1300px;
}

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

html {
  font-family: var(--dg-font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--dg-text-body);
  background-color: var(--dg-bg-white);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

body {
  font-family: var(--dg-font-sans);
  color: var(--dg-text-body);
  background-color: var(--dg-bg-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

ul, ol {
  list-style: none;
}

/* Skip link & Focus */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--dg-bg-black);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--dg-radius-xs);
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus {
  top: 12px;
}
:focus-visible {
  outline: 2px solid var(--dg-primary);
  outline-offset: 2px;
}

/* Container & Layout */
.dg-container {
  width: 100%;
  max-width: var(--dg-container);
  margin: 0 auto;
  padding: 0 24px;
}

.dg-section {
  padding: 96px 0;
  position: relative;
}
.dg-section-sm {
  padding: 64px 0;
}
.dg-section-soft {
  background-color: var(--dg-bg-soft);
}
.dg-section-dark {
  background-color: var(--dg-bg-black);
  color: #FFFFFF;
}

/* =========================================================
   MEMBER BAR (TPL-001 4-1절: 시안 A/B 겸용)
   ========================================================= */
.member-bar {
  background-color: #111113;
  color: #D4D4D8;
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1030;
}
html.no-member-bar .member-bar {
  display: none !important;
}
.member-bar__inner {
  max-width: var(--dg-container);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.member-bar__info {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #A1A1AA;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.member-bar__info strong {
  color: #F4F4F5;
  font-weight: 600;
}
.member-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-shrink: 0;
}
.member-links a {
  color: #E4E4E7;
  font-weight: 500;
  font-size: 12.5px;
  padding: 2px 4px;
}
.member-links a:hover {
  color: #38B6FF;
}
.member-links__divider {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.22);
}

/* =========================================================
   HEADER (Pixfort Conseil SaaS Topbar + Main Sticky Nav)
   ========================================================= */
.dg-header {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--dg-border-light);
  position: sticky;
  top: 0;
  z-index: 1020;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.dg-header.is-scrolled {
  box-shadow: var(--dg-shadow-xs);
  background-color: rgba(255, 255, 255, 0.96);
}
.dg-header.is-scrolled .dg-header-topbar {
  display: none;
}
.dg-header-topbar {
  border-bottom: 1px solid var(--dg-border-light);
  font-size: 13px;
  color: var(--dg-text-heading);
  background: var(--dg-bg-white);
}
.dg-header-topbar__inner {
  max-width: var(--dg-container);
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.dg-header-promo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--dg-text-heading);
}
.dg-header-promo:hover {
  color: var(--dg-primary-dark);
}
.dg-header-topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  font-weight: 600;
}
.dg-lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--dg-text-heading);
}
.dg-topbar-sep {
  width: 1px;
  height: 14px;
  background: var(--dg-border);
}
.dg-topbar-socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.dg-topbar-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--dg-text-heading);
  font-size: 12px;
}
.dg-topbar-socials a:hover {
  color: var(--dg-primary);
}

.dg-header-main {
  max-width: var(--dg-container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.dg-brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.dg-brand-logo img {
  height: 34px;
  width: auto;
}
.dg-brand-divider {
  width: 1px;
  height: 24px;
  background: var(--dg-border);
}
.dg-brand-tagline {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--dg-text-heading);
}

.dg-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dg-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dg-nav__item {
  position: relative;
}
.dg-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dg-text-heading);
  border-radius: var(--dg-radius-xs);
  white-space: nowrap;
  position: relative;
}
.dg-nav__link:hover,
.dg-nav__link.is-active {
  color: var(--dg-primary-dark);
}
.dg-nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: var(--dg-primary);
  border-radius: 2px;
}

/* Dropdown */
.dg-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-md);
  box-shadow: var(--dg-shadow-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1050;
}
.dg-nav__item:hover .dg-dropdown,
.dg-nav__item:focus-within .dg-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dg-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dg-text-body);
  border-radius: var(--dg-radius-xs);
}
.dg-dropdown a:hover,
.dg-dropdown a.is-active {
  background: var(--dg-bg-soft);
  color: var(--dg-primary-dark);
}

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

/* Buttons */
.dg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.dg-btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
  border-radius: 9px;
}
.dg-btn-lg {
  padding: 14px 26px;
  font-size: 15px;
  border-radius: 11px;
}
.dg-btn-dark {
  background-color: var(--dg-bg-black);
  color: #FFFFFF;
  border-color: var(--dg-bg-black);
}
.dg-btn-dark:hover {
  background-color: #27272A;
  transform: translateY(-1px);
  box-shadow: var(--dg-shadow-sm);
}
.dg-btn-primary {
  background-color: var(--dg-primary);
  color: #FFFFFF;
  border-color: var(--dg-primary);
}
.dg-btn-primary:hover {
  background-color: var(--dg-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(56, 155, 242, 0.32);
}
.dg-btn-light {
  background-color: var(--dg-card-soft);
  color: var(--dg-text-heading);
  border-color: var(--dg-border);
}
.dg-btn-light:hover {
  background-color: #E4E4E7;
  transform: translateY(-1px);
}
.dg-btn-outline {
  background-color: var(--dg-bg-white);
  color: var(--dg-text-heading);
  border-color: var(--dg-border);
}
.dg-btn-outline:hover {
  border-color: var(--dg-text-heading);
  background-color: var(--dg-bg-soft);
}
.dg-btn-white {
  background-color: #FFFFFF;
  color: var(--dg-bg-black);
  border-color: #FFFFFF;
}
.dg-btn-white:hover {
  background-color: #F4F4F5;
  transform: translateY(-1px);
}
.dg-btn-ghost-dark {
  background-color: #27272A;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.12);
}
.dg-btn-ghost-dark:hover {
  background-color: #3F3F46;
}
.dg-btn-full {
  width: 100%;
}

/* Mobile Toggle Button */
.dg-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--dg-border);
  background: var(--dg-bg-white);
  color: var(--dg-text-heading);
  cursor: pointer;
}

/* =========================================================
   TYPOGRAPHY & BADGES & SLIDING TEXT
   ========================================================= */
.dg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dg-text-heading);
  margin-bottom: 14px;
}
.dg-eyebrow__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--dg-primary-soft);
  color: var(--dg-primary-dark);
  font-size: 13px;
}
.dg-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--dg-radius-pill);
  line-height: 1.3;
}
.dg-badge-primary {
  background: var(--dg-primary);
  color: #FFFFFF;
}
.dg-badge-soft {
  background: var(--dg-primary-soft);
  color: var(--dg-primary-dark);
}
.dg-badge-dark {
  background: var(--dg-bg-black);
  color: #FFFFFF;
}
.dg-badge-gray {
  background: #E4E4E7;
  color: #18181B;
}

.dg-h1 {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--dg-text-heading);
}
.dg-h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.028em;
  color: var(--dg-text-heading);
}
.dg-h3 {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.025em;
  color: var(--dg-text-heading);
}
.dg-h4 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--dg-text-heading);
}
.dg-lead {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--dg-text-body);
}

/* Sliding text word-reveal effect */
.dg-sliding-title .dg-word {
  transition: color 0.35s ease, opacity 0.35s ease;
}

/* Rating stars & Avatars */
.dg-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.dg-stars {
  color: var(--dg-primary);
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}
.dg-stars-amber {
  color: #FBBF24;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}
.dg-rating__text {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dg-text-heading);
}

.dg-avatar-stack {
  display: inline-flex;
  align-items: center;
}
.dg-avatar-stack img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #FFFFFF;
  margin-left: -12px;
  box-shadow: var(--dg-shadow-xs);
}
.dg-avatar-stack img:first-child {
  margin-left: 0;
}

/* Section Top Split Header */
.dg-sec-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}
.dg-sec-split__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* =========================================================
   HERO & PARTNER MARQUEE
   ========================================================= */
.dg-hero {
  padding: 56px 0 84px;
  position: relative;
}
.dg-hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}
.dg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  margin-bottom: 44px;
}
.dg-hero__visual {
  position: relative;
}
.dg-hero__img-wrap {
  border-radius: var(--dg-radius-xl);
  overflow: hidden;
}
.dg-hero__float-card {
  margin-top: -28px;
  position: relative;
  z-index: 2;
  background: var(--dg-bg-soft);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--dg-shadow-sm);
}
.dg-hero__float-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dg-hero__float-left img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

/* Partner Logo Strip */
.dg-partner-strip {
  padding-top: 24px;
  border-top: 1px solid var(--dg-border-light);
}
.dg-partner-strip__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dg-text-muted);
  margin-bottom: 14px;
}
.dg-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.dg-marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: dgMarquee 26s linear infinite;
}
.dg-marquee--reverse .dg-marquee__track {
  animation-direction: reverse;
}
.dg-marquee:hover .dg-marquee__track {
  animation-play-state: paused;
}
.dg-partner-logo {
  height: 34px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.dg-partner-logo:hover {
  opacity: 1;
}

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

/* =========================================================
   CARDS & BENTO GRIDS
   ========================================================= */
.dg-card {
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-lg);
  padding: 32px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.dg-card:hover {
  box-shadow: var(--dg-shadow-sm);
}
.dg-card-soft {
  background: var(--dg-card-soft);
}
.dg-card-soft-white {
  background: rgba(255, 255, 255, 0.75);
}

/* Bento Grid on index Sec 2 */
.dg-bento-row-1 {
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.dg-bento-row-2 {
  display: grid;
  grid-template-columns: 2.1fr 0.9fr;
  gap: 24px;
}
.dg-bento-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dg-stat-number {
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--dg-text-heading);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* Integration pipeline nodes inside Bento Row 1 Right */
.dg-pipeline-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.dg-pipeline-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--dg-card-soft);
  border: 1px solid var(--dg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--dg-text-muted);
}
.dg-pipeline-node--check {
  background: var(--dg-success);
  color: #FFFFFF;
  border-color: var(--dg-success);
}
.dg-pipeline-hub {
  padding: 14px 28px;
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-md);
  box-shadow: var(--dg-shadow-sm);
}
.dg-pipeline-hub img {
  height: 30px;
}

/* OTP Verification Card inside Bento Row 2 Left */
.dg-otp-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: center;
}
.dg-otp-box {
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--dg-shadow-xs);
}
.dg-otp-inputs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 12px;
}
.dg-otp-digit {
  width: 42px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--dg-border);
  background: var(--dg-bg-soft);
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--dg-text-heading);
}
.dg-otp-digit:focus {
  border-color: var(--dg-primary);
  background: #FFFFFF;
}

/* Sticky Left + Right Stack (index Sec 3 & single-service Sec 3) */
.dg-sticky-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.dg-sticky-col {
  position: sticky;
  top: 110px;
}
.dg-stack-cards {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.dg-ui-frame {
  background: var(--dg-bg-soft);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-xl);
  overflow: hidden;
  box-shadow: var(--dg-shadow-xs);
}

/* 3-Column Feature Cards (index Sec 5, help-center Sec 2, services Sec 3) */
.dg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dg-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dg-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dg-feature-card {
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-lg);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.dg-feature-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.dg-feature-card__icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.dg-bottom-bar {
  margin-top: 24px;
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* =========================================================
   DARK COMPARISON SECTION (index Sec 6)
   ========================================================= */
.dg-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 940px;
  margin: 48px auto 24px;
}
.dg-compare-card {
  background: var(--dg-dark-card);
  border: 1px solid var(--dg-dark-border);
  border-radius: var(--dg-radius-lg);
  padding: 36px 32px;
  position: relative;
}
.dg-compare-card--highlight {
  background: var(--dg-dark-card-alt);
  border-color: rgba(56, 155, 242, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.dg-compare-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 28px;
}
.dg-compare-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: #D4D4D8;
}
.dg-compare-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.dg-compare-icon--no {
  background: rgba(255, 255, 255, 0.1);
  color: #71717A;
}
.dg-compare-icon--yes {
  background: var(--dg-success);
  color: #000000;
}
.dg-dark-bottom-bar {
  max-width: 940px;
  margin: 0 auto;
  background: var(--dg-dark-card);
  border: 1px solid var(--dg-dark-border);
  border-radius: var(--dg-radius-md);
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* =========================================================
   TESTIMONIAL BENTO & DUAL MARQUEE BANNERS (index Sec 7 & 8)
   ========================================================= */
.dg-testi-bento {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
}
.dg-testi-quote {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--dg-text-heading);
  margin: 22px 0;
  letter-spacing: -0.02em;
}
.dg-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.dg-author-row img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.dg-author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dg-text-heading);
}
.dg-author-role {
  font-size: 13px;
  color: var(--dg-text-muted);
}

.dg-dual-marquee {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 0;
}
.dg-marquee-band {
  padding: 22px 0;
  overflow: hidden;
}
.dg-marquee-band--grad {
  background: linear-gradient(90deg, #312E81 0%, #1D4ED8 45%, #38BDF8 100%);
  color: #FFFFFF;
}
.dg-marquee-band--soft {
  background: linear-gradient(90deg, #E0F2FE 0%, #DBEAFE 50%, #E0E7FF 100%);
  color: #0284C7;
}
.dg-marquee-band__item {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 36px;
  letter-spacing: -0.02em;
}

/* =========================================================
   BLOG SLIDER & BLOG CARDS (index Sec 9, blog.html, help-center)
   ========================================================= */
.dg-slider-wrap {
  position: relative;
}
.dg-slider-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dg-post-card {
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dg-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dg-shadow-sm);
}
.dg-post-card__thumb {
  aspect-ratio: 16 / 8.2;
  overflow: hidden;
  background: var(--dg-primary-soft);
}
.dg-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.dg-post-card:hover .dg-post-card__thumb img {
  transform: scale(1.04);
}
.dg-post-card__body {
  padding: 22px 24px;
  background: var(--dg-bg-soft);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dg-post-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dg-post-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dg-text-heading);
  line-height: 1.4;
}
.dg-post-card__meta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12.5px;
  color: var(--dg-text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dg-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.dg-slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--dg-border);
  background: var(--dg-bg-white);
  color: var(--dg-text-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--dg-shadow-xs);
}
.dg-slider-arrow:hover {
  background: var(--dg-bg-black);
  color: #FFFFFF;
}
.dg-slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dg-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #D4D4D8;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.dg-slider-dot.is-active {
  width: 22px;
  background: var(--dg-text-muted);
}

/* =========================================================
   PRICING TABS, COMPARISON MATRIX & FAQ ACCORDION
   ========================================================= */
.dg-pricing-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--dg-border);
  margin: 28px auto 44px;
}
.dg-pricing-tab {
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dg-text-muted);
  background: transparent;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
}
.dg-pricing-tab.is-active {
  color: var(--dg-text-heading);
  border-bottom-color: var(--dg-primary);
}
.dg-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.dg-plan-card {
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.dg-plan-card--popular {
  border-color: var(--dg-primary);
  box-shadow: var(--dg-shadow-sm);
}
.dg-plan-card__ribbon {
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  background: var(--dg-primary);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 5px 12px;
  border-radius: 16px 16px 0 0;
}
.dg-plan-card--dark {
  background: var(--dg-bg-black);
  color: #FFFFFF;
  border-color: var(--dg-bg-black);
}
.dg-plan-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--dg-text-heading);
  line-height: 1.1;
  margin: 16px 0 4px;
  letter-spacing: -0.03em;
}
.dg-plan-card--dark .dg-plan-price,
.dg-plan-card--dark h4 {
  color: #FFFFFF;
}
.dg-plan-features {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--dg-border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}
.dg-plan-card--dark .dg-plan-features {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: #E4E4E7;
}

/* Feature Comparison Matrix (pricing Sec 2) */
.dg-matrix-box {
  background: var(--dg-bg-soft);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-xl);
  padding: 36px;
}
.dg-matrix-head,
.dg-matrix-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dg-matrix-pill {
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-sm);
  padding: 12px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--dg-text-heading);
}
.dg-matrix-pill--dark {
  background: var(--dg-bg-black);
  color: #FFFFFF;
  border-color: var(--dg-bg-black);
}
.dg-matrix-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
}
.dg-matrix-item strong {
  display: block;
  font-size: 14px;
  color: var(--dg-text-heading);
}
.dg-matrix-item span {
  font-size: 12.5px;
  color: var(--dg-text-muted);
}

/* Addon Rows (pricing Sec 3) */
.dg-addon-list {
  background: var(--dg-bg-soft);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dg-addon-row {
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-md);
  padding: 20px 26px;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr auto;
  align-items: center;
  gap: 20px;
}
.dg-addon-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.dg-addon-left img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* FAQ Accordion (pricing Sec 4) */
.dg-faq-wrap {
  background: var(--dg-bg-soft);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dg-faq-item {
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-sm);
  overflow: hidden;
}
.dg-faq-btn {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: none;
  border: none;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--dg-text-heading);
  cursor: pointer;
}
.dg-faq-body {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--dg-text-body);
  display: none;
}
.dg-faq-item.is-open .dg-faq-body {
  display: block;
}

/* =========================================================
   SUBPAGE BREADCRUMB HEADER, BLOG, HELP CENTER, CHANGELOG
   ========================================================= */
.dg-page-intro {
  background: var(--dg-bg-soft);
  padding: 52px 0;
  border-bottom: 1px solid var(--dg-border-light);
}
.dg-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-xs);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dg-text-muted);
  margin-bottom: 16px;
}

/* Blog Layout */
.dg-blog-layout {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 40px;
  align-items: start;
}
.dg-blog-horiz-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.dg-blog-horiz-card {
  background: var(--dg-bg-soft);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 290px;
}
.dg-blog-horiz-card__content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dg-blog-horiz-card__media {
  position: relative;
  overflow: hidden;
}
.dg-blog-horiz-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dg-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 100px;
}
.dg-sidebar-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dg-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dg-tag-pill {
  padding: 6px 13px;
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-xs);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dg-text-body);
}
.dg-tag-pill:hover {
  border-color: var(--dg-primary);
  color: var(--dg-primary-dark);
}

/* Legal & Changelog Sticky Two-Column Layout */
.dg-doc-layout {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 48px;
  align-items: start;
}
.dg-doc-prose h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dg-text-heading);
  margin: 32px 0 12px;
}
.dg-doc-prose h3:first-child {
  margin-top: 0;
}
.dg-doc-prose p, .dg-doc-prose li {
  font-size: 15.5px;
  color: var(--dg-text-body);
  margin-bottom: 12px;
}
.dg-doc-prose ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 18px;
}

.dg-changelog-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--dg-border-light);
}

/* =========================================================
   DARK FOOTER & PRE-FOOTER CTA (All pages except coming-soon)
   ========================================================= */
.dg-footer {
  background-color: var(--dg-bg-black);
  color: #A1A1AA;
  position: relative;
}
.dg-footer::before {
  content: '';
  display: block;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #3B0764 0%, #2563EB 45%, #06B6D4 100%);
}
.dg-footer-cta {
  padding: 88px 0 76px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dg-footer-cta__title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  max-width: 680px;
  margin: 0 auto 18px;
  letter-spacing: -0.03em;
}
.dg-footer-cta__title span {
  color: #71717A;
}
.dg-footer-cta__desc {
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 15px;
  color: #A1A1AA;
}
.dg-footer-cta__btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dg-footer-main {
  padding: 64px 0 48px;
}
.dg-footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.dg-footer-certs {
  display: flex;
  align-items: center;
  gap: 20px;
}
.dg-footer-certs img {
  height: 48px;
  width: auto;
}
.dg-footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dg-footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.dg-footer-socials a:hover {
  background: var(--dg-primary);
}

.dg-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.35fr;
  gap: 36px;
  margin-bottom: 52px;
}
.dg-footer-col__title {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dg-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}
.dg-footer-links a:hover {
  color: #FFFFFF;
}
.dg-footer-promo-card {
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--dg-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dg-footer-promo-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}
.dg-footer-promo-btn {
  margin-top: 10px;
  background: #27272A;
  color: #FFFFFF;
  text-align: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}
.dg-footer-promo-btn:hover {
  background: var(--dg-primary);
}

.dg-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.dg-footer-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.dg-footer-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 6px;
}
.dg-footer-meta {
  text-align: right;
  font-size: 12.5px;
  line-height: 1.65;
  color: #71717A;
}
.dg-footer-meta__nav {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  color: #FFFFFF;
  font-weight: 600;
  margin-bottom: 6px;
}

/* =========================================================
   OFFCANVAS MENU POPUP DRAWER & FLOATING BUTTONS
   ========================================================= */
.dg-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.dg-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.dg-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100vh;
  background: var(--dg-bg-white);
  z-index: 2010;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
}
.dg-drawer.is-open {
  transform: translateX(0);
}
.dg-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0;
}
.dg-drawer__links a {
  font-size: 20px;
  font-weight: 700;
  color: var(--dg-text-heading);
  padding: 10px 12px;
  border-radius: 10px;
}
.dg-drawer__links a:hover {
  background: var(--dg-bg-soft);
  color: var(--dg-primary-dark);
}

.dg-float-launcher {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  box-shadow: var(--dg-shadow-sm);
  color: var(--dg-text-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
}
.dg-back-to-top {
  position: fixed;
  left: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dg-bg-white);
  border: 1px solid var(--dg-border);
  box-shadow: var(--dg-shadow-sm);
  color: var(--dg-text-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.dg-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* =========================================================
   RESPONSIVE (TABLET & 375px MOBILE)
   ========================================================= */
@media (max-width: 1024px) {
  .dg-nav {
    display: none;
  }
  .dg-mobile-toggle {
    display: inline-flex;
  }
  .dg-hero__grid,
  .dg-sec-split,
  .dg-bento-row-1,
  .dg-bento-row-2,
  .dg-otp-split,
  .dg-sticky-layout,
  .dg-compare-grid,
  .dg-testi-bento,
  .dg-blog-layout,
  .dg-doc-layout,
  .dg-changelog-row {
    grid-template-columns: 1fr;
  }
  .dg-sticky-col,
  .dg-sidebar {
    position: static;
  }
  .dg-grid-3,
  .dg-slider-track {
    grid-template-columns: 1fr;
  }
  .dg-pricing-grid,
  .dg-grid-4,
  .dg-matrix-head,
  .dg-matrix-row,
  .dg-footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .dg-section {
    padding: 64px 0;
  }
  .member-bar__info span.hide-xs {
    display: none;
  }
  .dg-header-topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .dg-brand-divider,
  .dg-brand-tagline,
  .dg-header-actions .dg-btn-outline {
    display: none;
  }
  .dg-pricing-grid,
  .dg-grid-2,
  .dg-grid-4,
  .dg-matrix-head,
  .dg-matrix-row,
  .dg-addon-row,
  .dg-blog-horiz-card,
  .dg-footer-cols {
    grid-template-columns: 1fr;
  }
  .dg-footer-meta {
    text-align: left;
  }
  .dg-footer-meta__nav {
    justify-content: flex-start;
  }
  .dg-float-launcher {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   FORMS, VIDEO MODAL, LINK HUB, COUNTDOWN & EXTRAS
   ========================================================= */
.dg-form-card {
  background: var(--dg-bg-soft);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-xl);
  padding: 36px;
}
.dg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.dg-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.dg-form-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dg-text-heading);
}
.dg-input,
.dg-select,
.dg-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--dg-border);
  background: var(--dg-bg-white);
  font-size: 14.5px;
  color: var(--dg-text-heading);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dg-input:focus,
.dg-select:focus,
.dg-textarea:focus {
  outline: none;
  border-color: var(--dg-primary);
  box-shadow: 0 0 0 3px rgba(56, 155, 242, 0.15);
}
.dg-textarea {
  min-height: 120px;
  resize: vertical;
}
.dg-form-feedback {
  display: none;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--dg-success-soft);
  color: #065F46;
  font-size: 14px;
  font-weight: 600;
}
.dg-form-feedback.is-visible {
  display: block;
}

/* Video Play Button Overlay */
.dg-video-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--dg-bg-white);
  color: var(--dg-bg-black);
  border: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.dg-video-trigger:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--dg-primary);
  color: #FFFFFF;
}

/* Video Modal */
.dg-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.dg-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.dg-modal-box {
  width: min(860px, 95vw);
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--dg-radius-lg);
  overflow: hidden;
  position: relative;
  color: #FFFFFF;
}
.dg-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dg-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
}

/* Link Hub (links.html) */
.dg-links-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.dg-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--dg-bg-soft);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-md);
  font-weight: 700;
  color: var(--dg-text-heading);
  margin-bottom: 12px;
}
.dg-link-row:hover {
  background: var(--dg-bg-white);
  border-color: var(--dg-primary);
  box-shadow: var(--dg-shadow-xs);
  transform: translateY(-2px);
}

/* Countdown Timer (coming-soon.html) */
.dg-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0;
  max-width: 460px;
}
.dg-countdown-box {
  background: var(--dg-bg-soft);
  border: 1px solid var(--dg-border);
  border-radius: var(--dg-radius-md);
  padding: 16px 10px;
  text-align: center;
}
.dg-countdown-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--dg-text-heading);
  line-height: 1.1;
}
.dg-countdown-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dg-text-muted);
  margin-top: 4px;
}

@media (max-width: 640px) {
  .dg-form-grid {
    grid-template-columns: 1fr;
  }
  .dg-countdown {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Grid item min-width guard & horizontal overflow clip */
html, body, main, .dg-hero, .dg-section, .dg-dual-marquee {
  overflow-x: clip;
  max-width: 100vw;
}
.dg-hero__grid > *,
.dg-sec-split > *,
.dg-bento-row-1 > *,
.dg-bento-row-2 > *,
.dg-otp-split > *,
.dg-sticky-layout > *,
.dg-compare-grid > *,
.dg-testi-bento > *,
.dg-blog-layout > *,
.dg-doc-layout > *,
.dg-changelog-row > * {
  min-width: 0;
}

@media (max-width: 640px) {
  .dg-container {
    padding: 0 16px;
  }
  .dg-card,
  .dg-feature-card,
  .dg-compare-card,
  .dg-plan-card,
  .dg-form-card,
  .dg-matrix-box {
    padding: 22px 18px;
  }
  .dg-otp-digit {
    width: 36px;
    height: 42px;
    font-size: 16px;
  }
}
