/* ==========================================================================
   Deutsche Bank Holdings Delaware - Public Landing Pages Design System
   Inspired by the DashLite dashboard visual identity
   ========================================================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary Palette (matches dashboard btn-primary #033d75) */
  --db-primary: #033d75;
  --db-primary-dark: #022b54;
  --db-primary-light: #045499;
  --db-primary-bg: rgba(3, 61, 117, 0.04);

  /* Accent (matches dashboard btn-secondary #d13636) */
  --db-accent: #d13636;
  --db-accent-dark: #b02c2c;
  --db-accent-light: #e85d5d;

  /* Neutrals */
  --db-white: #ffffff;
  --db-black: #1a202c;
  --db-gray-50: #f7f9fc;
  --db-gray-100: #edf1f7;
  --db-gray-200: #e2e8f0;
  --db-gray-300: #cbd5e0;
  --db-gray-400: #a0aec0;
  --db-gray-500: #718096;
  --db-gray-600: #526484;
  --db-gray-700: #364a63;
  --db-gray-800: #1c2b46;
  --db-gray-900: #0f1a2e;

  /* Semantic Colors (from dashboard) */
  --db-success: #1ee0ac;
  --db-success-dark: #17b58a;
  --db-warning: #f4bd0e;
  --db-danger: #e85347;
  --db-info: #09c2de;

  /* Typography - Montserrat (same as account pages) */
  --db-font-primary: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --db-font-mono: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;

  /* Font Sizes - responsive scale */
  --db-text-xs: 0.75rem;
  --db-text-sm: 0.8125rem;
  --db-text-base: 0.9375rem;
  --db-text-lg: 1.0625rem;
  --db-text-xl: 1.25rem;
  --db-text-2xl: 1.5rem;
  --db-text-3xl: 1.875rem;
  --db-text-4xl: 2.25rem;
  --db-text-5xl: 3rem;
  --db-text-6xl: 3.75rem;

  /* Spacing Scale (4px base) */
  --db-space-1: 0.25rem;
  --db-space-2: 0.5rem;
  --db-space-3: 0.75rem;
  --db-space-4: 1rem;
  --db-space-5: 1.25rem;
  --db-space-6: 1.5rem;
  --db-space-8: 2rem;
  --db-space-10: 2.5rem;
  --db-space-12: 3rem;
  --db-space-16: 4rem;
  --db-space-20: 5rem;
  --db-space-24: 6rem;

  /* Border Radius */
  --db-radius-sm: 4px;
  --db-radius-md: 6px;
  --db-radius-lg: 8px;
  --db-radius-xl: 12px;
  --db-radius-2xl: 16px;
  --db-radius-full: 9999px;

  /* Shadows */
  --db-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --db-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --db-shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --db-shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --db-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --db-shadow-card-hover: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);

  /* Transitions */
  --db-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --db-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --db-transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --db-transition-bounce: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --db-header-height: 72px;
  --db-max-width: 1200px;
  --db-max-width-narrow: 960px;
  --db-max-width-wide: 1320px;

  /* Z-Index Stacking System */
  --z-base: 1;
  --z-trust-bar: 10;
  --z-notice: 15;
  --z-header: 100;
  --z-dropdown: 200;
  --z-mobile-menu: 300;
  --z-modal: 1000;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--db-font-primary);
  font-size: var(--db-text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--db-gray-600);
  background-color: var(--db-white);
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--db-font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--db-gray-900);
  margin-bottom: var(--db-space-4);
}

h1, .h1 { font-size: var(--db-text-5xl); letter-spacing: -0.02em; }
h2, .h2 { font-size: var(--db-text-4xl); letter-spacing: -0.015em; }
h3, .h3 { font-size: var(--db-text-3xl); letter-spacing: -0.01em; }
h4, .h4 { font-size: var(--db-text-2xl); }
h5, .h5 { font-size: var(--db-text-xl); }
h6, .h6 { font-size: var(--db-text-lg); }

p { margin-bottom: var(--db-space-4); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--db-primary);
  text-decoration: none;
  transition: color var(--db-transition-fast);
}
a:hover { color: var(--db-primary-dark); }

small, .text-sm { font-size: var(--db-text-sm); }

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

/* --- Container --- */
.db-container {
  width: 100%;
  max-width: var(--db-max-width-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--db-space-6);
  padding-right: var(--db-space-6);
}

@media (max-width: 767px) {
  .db-container {
    padding-left: var(--db-space-4);
    padding-right: var(--db-space-4);
  }
}

/* --- Section Layout --- */
.db-section {
  padding-top: var(--db-space-20);
  padding-bottom: var(--db-space-20);
  position: relative;
}

.db-section-sm {
  padding-top: var(--db-space-12);
  padding-bottom: var(--db-space-12);
}

.db-section-lg {
  padding-top: var(--db-space-24);
  padding-bottom: var(--db-space-24);
}

.db-section-bg {
  background-color: var(--db-gray-50);
}

.db-section-dark {
  background-color: var(--db-gray-900);
  color: var(--db-gray-300);
}

.db-section-dark h1,
.db-section-dark h2,
.db-section-dark h3,
.db-section-dark h4,
.db-section-dark h5,
.db-section-dark h6 { color: var(--db-white); }

.db-section-dark .db-section-label { color: var(--db-gray-400); }

@media (max-width: 767px) {
  .db-section { padding-top: var(--db-space-12); padding-bottom: var(--db-space-12); }
  .db-section-lg { padding-top: var(--db-space-16); padding-bottom: var(--db-space-16); }
  h1, .h1 { font-size: var(--db-text-4xl); }
  h2, .h2 { font-size: var(--db-text-3xl); }
  h3, .h3 { font-size: var(--db-text-2xl); }
}

/* --- Section Header --- */
.db-section-header {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--db-space-12);
}

.db-section-label {
  display: inline-block;
  font-size: var(--db-text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--db-primary);
  margin-bottom: var(--db-space-3);
}

.db-section-title {
  font-size: var(--db-text-4xl);
  font-weight: 700;
  color: var(--db-gray-900);
  margin-bottom: var(--db-space-4);
  line-height: 1.15;
}

.db-section-subtitle {
  font-size: var(--db-text-lg);
  color: var(--db-gray-500);
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .db-section-header { margin-bottom: var(--db-space-8); }
  .db-section-title { font-size: var(--db-text-3xl); }
  .db-section-subtitle { font-size: var(--db-text-base); }
}

/* --- Buttons --- */
.db-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--db-space-2);
  padding: 0.75rem 1.75rem;
  font-family: var(--db-font-primary);
  font-size: var(--db-text-sm);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--db-radius-md);
  cursor: pointer;
  transition: all var(--db-transition-base);
  white-space: nowrap;
  user-select: none;
  letter-spacing: 0.01em;
}

.db-btn:focus-visible {
  outline: 3px solid var(--db-primary);
  outline-offset: 3px;
}

.db-btn-primary {
  background-color: var(--db-primary);
  color: var(--db-white);
  border-color: var(--db-primary);
}
.db-btn-primary:hover {
  background-color: var(--db-primary-dark);
  border-color: var(--db-primary-dark);
  color: var(--db-white);
  transform: translateY(-1px);
  box-shadow: var(--db-shadow-lg);
}

.db-btn-secondary {
  background-color: var(--db-accent);
  color: var(--db-white);
  border-color: var(--db-accent);
}
.db-btn-secondary:hover {
  background-color: var(--db-accent-dark);
  border-color: var(--db-accent-dark);
  color: var(--db-white);
  transform: translateY(-1px);
  box-shadow: var(--db-shadow-lg);
}

.db-btn-outline {
  background-color: transparent;
  color: var(--db-primary);
  border-color: var(--db-primary);
}
.db-btn-outline:hover {
  background-color: var(--db-primary);
  color: var(--db-white);
  transform: translateY(-1px);
}

.db-btn-outline-white {
  background-color: transparent;
  color: var(--db-white);
  border-color: rgba(255, 255, 255, 0.4);
}
.db-btn-outline-white:hover {
  background-color: var(--db-white);
  color: var(--db-gray-900);
  transform: translateY(-1px);
}

.db-btn-light {
  background-color: var(--db-white);
  color: var(--db-primary);
  border-color: var(--db-gray-200);
  box-shadow: var(--db-shadow-sm);
}
.db-btn-light:hover {
  color: var(--db-primary-dark);
  border-color: var(--db-gray-300);
  box-shadow: var(--db-shadow-md);
  transform: translateY(-1px);
}

.db-btn-lg {
  padding: 0.875rem 2.25rem;
  font-size: var(--db-text-base);
}

.db-btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--db-text-sm);
}

.db-btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--db-radius-full);
}

.db-btn-block {
  display: flex;
  width: 100%;
}

/* --- Cards --- */
.db-card {
  background-color: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  padding: var(--db-space-8);
  transition: all var(--db-transition-base);
  position: relative;
  overflow: hidden;
}

.db-card:hover {
  border-color: var(--db-gray-300);
  box-shadow: var(--db-shadow-card-hover);
  transform: translateY(-2px);
}

.db-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--db-radius-lg);
  background-color: var(--db-primary-bg);
  color: var(--db-primary);
  font-size: 1.5rem;
  margin-bottom: var(--db-space-5);
  transition: all var(--db-transition-base);
}

.db-card:hover .db-card-icon {
  background-color: var(--db-primary);
  color: var(--db-white);
  transform: scale(1.05);
}

.db-card-title {
  font-size: var(--db-text-xl);
  font-weight: 600;
  color: var(--db-gray-900);
  margin-bottom: var(--db-space-3);
}

.db-card-text {
  font-size: var(--db-text-base);
  color: var(--db-gray-500);
  line-height: 1.65;
}

.db-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--db-space-2);
  font-size: var(--db-text-sm);
  font-weight: 600;
  color: var(--db-primary);
  margin-top: var(--db-space-4);
  transition: gap var(--db-transition-fast);
}
.db-card-link:hover { gap: var(--db-space-3); color: var(--db-primary-dark); }
.db-card-link i { font-size: 0.75rem; transition: transform var(--db-transition-fast); }
.db-card-link:hover i { transform: translateX(3px); }

/* --- Grid --- */
.db-grid { display: grid; gap: var(--db-space-6); }
.db-grid-2 { grid-template-columns: repeat(2, 1fr); }
.db-grid-3 { grid-template-columns: repeat(3, 1fr); }
.db-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1023px) {
  .db-grid-3, .db-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .db-grid-2, .db-grid-3, .db-grid-4 { grid-template-columns: 1fr; }
}

/* --- Header / Navigation --- */
.db-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--db-header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--db-gray-200);
  transition: all var(--db-transition-base);
}

.db-header.scrolled {
  box-shadow: var(--db-shadow-md);
  border-bottom-color: transparent;
}

.db-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--db-max-width-wide);
  margin: 0 auto;
  padding: 0 var(--db-space-6);
}

.db-header-logo {
  display: flex;
  align-items: center;
  gap: var(--db-space-3);
  flex-shrink: 0;
}

.db-header-logo img {
  height: 40px;
  width: auto;
}

.db-header-logo-text {
  font-size: var(--db-text-sm);
  font-weight: 700;
  color: var(--db-gray-900);
  line-height: 1.2;
  letter-spacing: -0.01em;
  display: none;
}

@media (min-width: 768px) {
  .db-header-logo-text { display: block; }
}

.db-nav {
  display: flex;
  align-items: center;
  gap: var(--db-space-1);
}

.db-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--db-space-1);
}

.db-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  font-size: var(--db-text-sm);
  font-weight: 500;
  color: var(--db-gray-600);
  border-radius: var(--db-radius-md);
  transition: all var(--db-transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

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

.db-nav-link.active { font-weight: 600; }

.db-header-actions {
  display: flex;
  align-items: center;
  gap: var(--db-space-3);
  flex-shrink: 0;
}

/* Mobile menu toggle */
.db-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--db-radius-md);
  transition: background-color var(--db-transition-fast);
}

.db-nav-toggle:hover { background-color: var(--db-gray-100); }
.db-nav-toggle:focus-visible { outline: 3px solid var(--db-primary); outline-offset: 2px; }

.db-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--db-gray-800);
  border-radius: 2px;
  transition: all var(--db-transition-base);
  position: relative;
}

.db-nav-toggle span + span { margin-top: 5px; }

.db-nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.db-nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.db-nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.db-mobile-menu {
  display: none;
  position: fixed;
  top: var(--db-header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--db-white);
  z-index: var(--z-mobile-menu);
  padding: var(--db-space-6);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--db-transition-base);
}

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

.db-mobile-menu .db-nav-list {
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

.db-mobile-menu .db-nav-link {
  padding: 0.875rem var(--db-space-4);
  font-size: var(--db-text-base);
  border-radius: var(--db-radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.db-mobile-menu .db-header-actions {
  flex-direction: column;
  margin-top: var(--db-space-6);
  padding-top: var(--db-space-6);
  border-top: 1px solid var(--db-gray-200);
}

.db-mobile-menu .db-header-actions .db-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1023px) {
  .db-nav { display: none; }
  .db-header-actions { display: none; }
  .db-nav-toggle { display: flex; }
  .db-mobile-menu { display: block; }
}

@media (min-width: 1024px) {
  .db-mobile-menu { display: none !important; transform: translateX(100%) !important; }
}

/* --- Hero Section --- */
.db-hero {
  position: relative;
  padding-top: calc(var(--db-header-height) + var(--db-space-16));
  padding-bottom: var(--db-space-16);
  background: linear-gradient(135deg, var(--db-gray-900) 0%, #162544 50%, var(--db-primary-dark) 100%);
  color: var(--db-white);
  overflow: hidden;
}

.db-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.db-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
  pointer-events: none;
}

.db-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--db-space-12);
  align-items: center;
}

.db-hero-text {
  max-width: 560px;
}

.db-hero-label {
  display: inline-block;
  font-size: var(--db-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--db-gray-400);
  margin-bottom: var(--db-space-4);
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--db-radius-full);
}

.db-hero-title {
  font-size: var(--db-text-6xl);
  font-weight: 700;
  line-height: 1.08;
  color: var(--db-white);
  letter-spacing: -0.03em;
  margin-bottom: var(--db-space-5);
}

.db-hero-description {
  font-size: var(--db-text-lg);
  color: var(--db-gray-400);
  line-height: 1.7;
  margin-bottom: var(--db-space-8);
  max-width: 480px;
}

.db-hero-actions {
  display: flex;
  align-items: center;
  gap: var(--db-space-4);
  flex-wrap: wrap;
}

.db-hero-trust {
  display: flex;
  align-items: center;
  gap: var(--db-space-6);
  margin-top: var(--db-space-8);
  padding-top: var(--db-space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.db-hero-trust-item {
  font-size: var(--db-text-xs);
  color: var(--db-gray-400);
  display: flex;
  align-items: center;
  gap: var(--db-space-2);
}

.db-hero-trust-item i {
  color: var(--db-success);
  font-size: 0.875rem;
}

.db-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.db-hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--db-radius-2xl);
  padding: var(--db-space-8);
  width: 100%;
  max-width: 440px;
}

.db-hero-card-balance {
  font-size: var(--db-text-sm);
  color: var(--db-gray-400);
  margin-bottom: var(--db-space-2);
}

.db-hero-card-amount {
  font-size: var(--db-text-4xl);
  font-weight: 700;
  color: var(--db-white);
  margin-bottom: var(--db-space-6);
}

.db-hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--db-space-3) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.db-hero-card-row span {
  font-size: var(--db-text-sm);
  color: var(--db-gray-400);
}

.db-hero-card-row strong {
  font-size: var(--db-text-sm);
  font-weight: 600;
  color: var(--db-white);
}

@media (max-width: 1023px) {
  .db-hero-content { grid-template-columns: 1fr; text-align: center; }
  .db-hero-text { max-width: 100%; }
  .db-hero-description { max-width: 100%; }
  .db-hero-actions { justify-content: center; }
  .db-hero-trust { justify-content: center; }
  .db-hero-visual { display: none; }
  .db-hero-title { font-size: var(--db-text-5xl); }
}

@media (max-width: 639px) {
  .db-hero { padding-top: calc(var(--db-header-height) + var(--db-space-8)); padding-bottom: var(--db-space-10); }
  .db-hero-title { font-size: var(--db-text-4xl); }
  .db-hero-description { font-size: var(--db-text-base); }
  .db-hero-actions { flex-direction: column; width: 100%; }
  .db-hero-actions .db-btn { width: 100%; justify-content: center; }
  .db-hero-trust { flex-direction: column; gap: var(--db-space-3); align-items: center; }
}

/* --- Page Hero (inner pages) --- */
.db-page-hero {
  position: relative;
  padding-top: calc(var(--db-header-height) + var(--db-space-12));
  padding-bottom: var(--db-space-12);
  background: linear-gradient(135deg, var(--db-gray-900) 0%, #162544 50%, var(--db-primary-dark) 100%);
  color: var(--db-white);
  text-align: center;
  overflow: hidden;
}

.db-page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.db-page-hero .db-container { position: relative; z-index: 2; }

.db-page-hero-title {
  font-size: var(--db-text-4xl);
  font-weight: 700;
  color: var(--db-white);
  margin-bottom: var(--db-space-4);
}

.db-page-hero-subtitle {
  font-size: var(--db-text-lg);
  color: var(--db-gray-400);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .db-page-hero { padding-top: calc(var(--db-header-height) + var(--db-space-8)); padding-bottom: var(--db-space-8); }
  .db-page-hero-title { font-size: var(--db-text-3xl); }
}

/* --- Services Grid --- */
.db-service-card {
  background: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  padding: var(--db-space-8);
  transition: all var(--db-transition-base);
  position: relative;
  overflow: hidden;
}

.db-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--db-primary), var(--db-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--db-transition-base);
}

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

.db-service-card:hover::before {
  transform: scaleX(1);
}

/* --- Features Block --- */
.db-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--db-space-16);
  align-items: center;
}

.db-feature-reverse .db-feature-image { order: -1; }

.db-feature-content { max-width: 520px; }
.db-feature-reverse .db-feature-content { margin-left: auto; }

.db-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--db-radius-lg);
  background: var(--db-primary-bg);
  color: var(--db-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: var(--db-space-5);
}

.db-feature-title {
  font-size: var(--db-text-3xl);
  font-weight: 700;
  color: var(--db-gray-900);
  margin-bottom: var(--db-space-4);
}

.db-feature-description {
  font-size: var(--db-text-base);
  color: var(--db-gray-500);
  line-height: 1.7;
  margin-bottom: var(--db-space-6);
}

.db-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--db-space-3);
  margin-bottom: var(--db-space-6);
}

.db-feature-list li {
  display: flex;
  align-items: center;
  gap: var(--db-space-3);
  font-size: var(--db-text-sm);
  color: var(--db-gray-600);
}

.db-feature-list li i {
  color: var(--db-success);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.db-feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.db-feature-visual-inner {
  background: var(--db-gray-50);
  border-radius: var(--db-radius-2xl);
  padding: var(--db-space-8);
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .db-feature { grid-template-columns: 1fr; gap: var(--db-space-8); }
  .db-feature-reverse .db-feature-image { order: 0; }
  .db-feature-content { max-width: 100%; }
  .db-feature-reverse .db-feature-content { margin-left: 0; }
  .db-feature-visual-inner { aspect-ratio: 16/9; }
}

/* --- Stats Grid --- */
.db-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--db-space-6);
}

.db-stat-item {
  text-align: center;
  padding: var(--db-space-6);
}

.db-stat-number {
  font-size: var(--db-text-5xl);
  font-weight: 700;
  color: var(--db-primary);
  line-height: 1;
  margin-bottom: var(--db-space-2);
}

.db-stat-label {
  font-size: var(--db-text-sm);
  color: var(--db-gray-500);
  font-weight: 500;
}

@media (max-width: 1023px) {
  .db-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .db-stats-grid { grid-template-columns: 1fr; }
  .db-stat-number { font-size: var(--db-text-4xl); }
}

/* --- CTA Section --- */
.db-cta {
  background: linear-gradient(135deg, var(--db-primary) 0%, var(--db-primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.db-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  transform: translate(30%, -30%);
}

.db-cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.db-cta-title {
  font-size: var(--db-text-4xl);
  font-weight: 700;
  color: var(--db-white);
  margin-bottom: var(--db-space-4);
}

.db-cta-description {
  font-size: var(--db-text-lg);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--db-space-8);
}

.db-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--db-space-4);
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .db-cta-title { font-size: var(--db-text-3xl); }
  .db-cta-actions { flex-direction: column; width: 100%; }
  .db-cta-actions .db-btn { width: 100%; justify-content: center; }
}

/* --- FAQ --- */
.db-faq {
  max-width: 800px;
  margin: 0 auto;
}

.db-faq-item {
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-lg);
  margin-bottom: var(--db-space-3);
  overflow: hidden;
  transition: all var(--db-transition-fast);
}

.db-faq-item:hover {
  border-color: var(--db-gray-300);
}

.db-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--db-space-5) var(--db-space-6);
  background: none;
  border: none;
  font-family: var(--db-font-primary);
  font-size: var(--db-text-base);
  font-weight: 600;
  color: var(--db-gray-800);
  cursor: pointer;
  text-align: left;
  transition: color var(--db-transition-fast);
  gap: var(--db-space-4);
}

.db-faq-question:hover { color: var(--db-primary); }
.db-faq-question:focus-visible { outline: 3px solid var(--db-primary); outline-offset: -3px; border-radius: var(--db-radius-lg); }

.db-faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--db-gray-400);
  transition: transform var(--db-transition-base);
}

.db-faq-item.active .db-faq-icon {
  transform: rotate(45deg);
  color: var(--db-primary);
}

.db-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--db-transition-base), padding var(--db-transition-base);
}

.db-faq-item.active .db-faq-answer {
  max-height: 500px;
}

.db-faq-answer-inner {
  padding: 0 var(--db-space-6) var(--db-space-5);
  font-size: var(--db-text-base);
  color: var(--db-gray-500);
  line-height: 1.7;
}

/* --- Contact Form --- */
.db-form-group {
  margin-bottom: var(--db-space-5);
}

.db-form-label {
  display: block;
  font-size: var(--db-text-sm);
  font-weight: 600;
  color: var(--db-gray-700);
  margin-bottom: var(--db-space-2);
}

.db-form-input,
.db-form-textarea,
.db-form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--db-font-primary);
  font-size: var(--db-text-base);
  color: var(--db-gray-800);
  background-color: var(--db-white);
  border: 1.5px solid var(--db-gray-200);
  border-radius: var(--db-radius-md);
  transition: all var(--db-transition-fast);
  outline: none;
}

.db-form-input:focus,
.db-form-textarea:focus,
.db-form-select:focus {
  border-color: var(--db-primary);
  box-shadow: 0 0 0 3px var(--db-primary-bg);
}

.db-form-textarea {
  min-height: 140px;
  resize: vertical;
}

.db-form-input::placeholder,
.db-form-textarea::placeholder {
  color: var(--db-gray-400);
}

/* --- Contact Info Cards --- */
.db-contact-card {
  background: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  padding: var(--db-space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--db-space-4);
  transition: all var(--db-transition-base);
}

.db-contact-card:hover {
  border-color: var(--db-gray-300);
  box-shadow: var(--db-shadow-md);
}

.db-contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--db-radius-lg);
  background: var(--db-primary-bg);
  color: var(--db-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.db-contact-card-body h4 {
  font-size: var(--db-text-base);
  font-weight: 600;
  color: var(--db-gray-900);
  margin-bottom: var(--db-space-1);
}

.db-contact-card-body p {
  font-size: var(--db-text-sm);
  color: var(--db-gray-500);
  margin-bottom: 0;
}

.db-contact-card-body a {
  font-size: var(--db-text-sm);
  color: var(--db-primary);
  font-weight: 500;
}

/* --- Footer --- */
.db-footer {
  background-color: var(--db-gray-900);
  color: var(--db-gray-400);
  padding-top: var(--db-space-16);
}

.db-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--db-space-8);
  padding-bottom: var(--db-space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.db-footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: var(--db-space-4);
}

.db-footer-brand p {
  font-size: var(--db-text-sm);
  color: var(--db-gray-500);
  line-height: 1.7;
  max-width: 280px;
}

.db-footer-col h4 {
  font-size: var(--db-text-sm);
  font-weight: 600;
  color: var(--db-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--db-space-5);
}

.db-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--db-space-3);
}

.db-footer-links a {
  font-size: var(--db-text-sm);
  color: var(--db-gray-400);
  text-decoration: none;
  transition: color var(--db-transition-fast);
}

.db-footer-links a:hover { color: var(--db-white); }

.db-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--db-space-6);
  padding-bottom: var(--db-space-6);
  flex-wrap: wrap;
  gap: var(--db-space-4);
}

.db-footer-copyright {
  font-size: var(--db-text-xs);
  color: var(--db-gray-500);
}

.db-footer-legal {
  display: flex;
  align-items: center;
  gap: var(--db-space-4);
  flex-wrap: wrap;
}

.db-footer-legal a {
  font-size: var(--db-text-xs);
  color: var(--db-gray-500);
  text-decoration: none;
  transition: color var(--db-transition-fast);
}

.db-footer-legal a:hover { color: var(--db-white); }

.db-footer-social {
  display: flex;
  align-items: center;
  gap: var(--db-space-3);
}

.db-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--db-radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--db-gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: all var(--db-transition-fast);
}

.db-footer-social a:hover {
  background: var(--db-primary);
  color: var(--db-white);
}

@media (max-width: 1023px) {
  .db-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .db-footer-grid { grid-template-columns: 1fr; }
  .db-footer-bottom { flex-direction: column; text-align: center; }
  .db-footer-legal { justify-content: center; }
}

/* --- Sitemap --- */
.db-sitemap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--db-space-8);
}

.db-sitemap-col h3 {
  font-size: var(--db-text-xl);
  font-weight: 600;
  color: var(--db-gray-900);
  margin-bottom: var(--db-space-4);
  padding-bottom: var(--db-space-3);
  border-bottom: 2px solid var(--db-gray-200);
}

.db-sitemap-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--db-space-2);
}

.db-sitemap-col ul a {
  font-size: var(--db-text-sm);
  color: var(--db-gray-600);
  padding: var(--db-space-2) 0;
  display: block;
  transition: color var(--db-transition-fast), padding var(--db-transition-fast);
}

.db-sitemap-col ul a:hover {
  color: var(--db-primary);
  padding-left: var(--db-space-2);
}

@media (max-width: 1023px) {
  .db-sitemap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .db-sitemap { grid-template-columns: 1fr; }
}

/* --- Content Section (for inner pages) --- */
.db-content {
  max-width: 800px;
  margin: 0 auto;
}

.db-content h2 {
  font-size: var(--db-text-3xl);
  margin-top: var(--db-space-8);
  margin-bottom: var(--db-space-4);
}

.db-content h3 {
  font-size: var(--db-text-2xl);
  margin-top: var(--db-space-6);
  margin-bottom: var(--db-space-3);
}

.db-content p {
  color: var(--db-gray-600);
  line-height: 1.75;
  margin-bottom: var(--db-space-5);
}

.db-content ul, .db-content ol {
  margin-bottom: var(--db-space-5);
  padding-left: var(--db-space-6);
  color: var(--db-gray-600);
  line-height: 1.75;
}

.db-content ul li, .db-content ol li {
  margin-bottom: var(--db-space-2);
}

.db-content blockquote {
  border-left: 4px solid var(--db-primary);
  padding: var(--db-space-4) var(--db-space-6);
  margin: var(--db-space-6) 0;
  background: var(--db-gray-50);
  border-radius: 0 var(--db-radius-md) var(--db-radius-md) 0;
  color: var(--db-gray-700);
  font-style: italic;
}

/* --- Breadcrumbs --- */
.db-breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--db-space-2);
  font-size: var(--db-text-sm);
  color: var(--db-gray-500);
  margin-bottom: var(--db-space-6);
  flex-wrap: wrap;
}

.db-breadcrumbs a {
  color: var(--db-gray-500);
  text-decoration: none;
}

.db-breadcrumbs a:hover { color: var(--db-primary); }
.db-breadcrumbs .separator { color: var(--db-gray-300); }
.db-breadcrumbs .current { color: var(--db-gray-700); font-weight: 500; }

/* --- Utility Classes --- */
.db-text-center { text-align: center; }
.db-text-right { text-align: right; }
.db-mt-0 { margin-top: 0; }
.db-mt-2 { margin-top: var(--db-space-2); }
.db-mt-4 { margin-top: var(--db-space-4); }
.db-mt-6 { margin-top: var(--db-space-6); }
.db-mt-8 { margin-top: var(--db-space-8); }
.db-mt-12 { margin-top: var(--db-space-12); }
.db-mb-0 { margin-bottom: 0; }
.db-mb-4 { margin-bottom: var(--db-space-4); }
.db-mb-8 { margin-bottom: var(--db-space-8); }
.db-mb-12 { margin-bottom: var(--db-space-12); }

/* --- Trust Banner --- */
.db-trust-bar {
  background: var(--db-gray-50);
  border-bottom: 1px solid var(--db-gray-200);
  padding: var(--db-space-4) 0;
  margin-top: var(--db-header-height);
  position: relative;
  z-index: var(--z-trust-bar);
}

.db-trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--db-space-8);
  flex-wrap: wrap;
}

.db-trust-bar-item {
  display: flex;
  align-items: center;
  gap: var(--db-space-2);
  font-size: var(--db-text-xs);
  color: var(--db-gray-500);
  font-weight: 500;
}

.db-trust-bar-item i {
  color: var(--db-success);
  font-size: 0.75rem;
}

@media (max-width: 639px) {
  .db-trust-bar-inner { gap: var(--db-space-4); }
}

/* --- Image Decoration --- */
.db-img-rounded {
  border-radius: var(--db-radius-xl);
}

.db-img-shadow {
  box-shadow: var(--db-shadow-xl);
}

/* --- Background Patterns --- */
.db-bg-pattern {
  position: absolute;
  pointer-events: none;
  opacity: 0.03;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* --- Reduced Motion --- */
@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;
  }
}

/* --- Fix for fixed header offset on anchor links --- */
html {
  scroll-padding-top: calc(var(--db-header-height) + var(--db-space-4));
}

/* --- Responsive Page Hero for small pages --- */
@media (max-width: 767px) {
  .db-page-hero-title { font-size: var(--db-text-3xl); }
  .db-page-hero-subtitle { font-size: var(--db-text-base); }
}

/* ==========================================================================
   EXTENDED COMPONENTS - Mega Menu, Tabs, Comparison Tables, Process Steps
   ========================================================================== */

/* --- Utility Bar --- */
.db-utility {
  background: var(--db-gray-900);
  color: var(--db-gray-400);
  font-size: var(--db-text-xs);
  padding: var(--db-space-2) 0;
  display: none;
}

@media (min-width: 1024px) {
  .db-utility { display: block; }
}

.db-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--db-max-width-wide);
  margin: 0 auto;
  padding: 0 var(--db-space-6);
}

.db-utility-links {
  display: flex;
  align-items: center;
  gap: var(--db-space-5);
  list-style: none;
}

.db-utility-links a {
  color: var(--db-gray-400);
  text-decoration: none;
  transition: color var(--db-transition-fast);
  font-weight: 500;
}
.db-utility-links a:hover { color: var(--db-white); }

.db-utility-right {
  display: flex;
  align-items: center;
  gap: var(--db-space-5);
}

/* --- Announcement Bar --- */
.db-announcement {
  background: linear-gradient(90deg, var(--db-primary), var(--db-primary-dark));
  color: var(--db-white);
  text-align: center;
  padding: var(--db-space-3) var(--db-space-4);
  font-size: var(--db-text-sm);
  font-weight: 500;
  position: relative;
  z-index: var(--z-notice);
  margin-top: var(--db-header-height);
}

.db-announcement a {
  color: var(--db-white);
  text-decoration: underline;
  font-weight: 600;
}

.db-announcement-close {
  position: absolute;
  right: var(--db-space-4);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--db-white);
  cursor: pointer;
  font-size: 1.25rem;
  opacity: 0.7;
  transition: opacity var(--db-transition-fast);
}
.db-announcement-close:hover { opacity: 1; }

/* --- Mega Menu (Desktop) --- */
.db-mega-toggle {
  position: relative;
}

.db-mega-toggle > a::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: var(--db-space-1);
  font-size: 0.65rem;
  transition: transform var(--db-transition-fast);
}

.db-mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  padding: var(--db-space-8);
  min-width: 720px;
  z-index: var(--z-dropdown);
  margin-top: 0;
}

/* Hover bridge - prevents gap between trigger and dropdown */
.db-mega-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 8px;
}

.db-mega-toggle:hover .db-mega-panel,
.db-mega-toggle:focus-within .db-mega-panel {
  display: block;
}

.db-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--db-space-6);
}

.db-mega-col h4 {
  font-size: var(--db-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--db-gray-400);
  margin-bottom: var(--db-space-4);
  padding-bottom: var(--db-space-2);
  border-bottom: 2px solid var(--db-gray-100);
}

.db-mega-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--db-space-1);
}

.db-mega-col ul a {
  display: flex;
  align-items: center;
  gap: var(--db-space-2);
  padding: 0.4rem 0.5rem;
  font-size: var(--db-text-sm);
  color: var(--db-gray-600);
  text-decoration: none;
  border-radius: var(--db-radius-sm);
  transition: all var(--db-transition-fast);
}

.db-mega-col ul a:hover {
  color: var(--db-primary);
  background: var(--db-primary-bg);
}

.db-mega-col ul a i {
  width: 20px;
  text-align: center;
  color: var(--db-gray-400);
  font-size: 0.75rem;
}

.db-mega-cta {
  margin-top: var(--db-space-6);
  padding-top: var(--db-space-6);
  border-top: 1px solid var(--db-gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.db-mega-cta p {
  font-size: var(--db-text-sm);
  color: var(--db-gray-500);
  margin-bottom: 0;
}

/* --- Quick Actions --- */
.db-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--db-space-4);
}

.db-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--db-space-3);
  padding: var(--db-space-6) var(--db-space-4);
  background: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  text-decoration: none;
  transition: all var(--db-transition-base);
  text-align: center;
}

.db-quick-action:hover {
  border-color: var(--db-primary);
  box-shadow: var(--db-shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
}

.db-quick-action-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--db-radius-full);
  background: var(--db-primary-bg);
  color: var(--db-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--db-transition-base);
}

.db-quick-action:hover .db-quick-action-icon {
  background: var(--db-primary);
  color: var(--db-white);
}

.db-quick-action span {
  font-size: var(--db-text-sm);
  font-weight: 600;
  color: var(--db-gray-800);
}

.db-quick-action small {
  font-size: var(--db-text-xs);
  color: var(--db-gray-500);
  font-weight: 400;
}

@media (max-width: 1023px) {
  .db-quick-actions { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .db-quick-actions { grid-template-columns: 1fr 1fr; }
}

/* --- Tabs --- */
.db-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--db-gray-200);
  margin-bottom: var(--db-space-8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.db-tab {
  padding: var(--db-space-4) var(--db-space-6);
  font-size: var(--db-text-sm);
  font-weight: 600;
  color: var(--db-gray-500);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--db-transition-fast);
  font-family: var(--db-font-primary);
}

.db-tab:hover { color: var(--db-gray-800); }

.db-tab.active {
  color: var(--db-primary);
  border-bottom-color: var(--db-primary);
}

.db-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.db-tab-panel.active { display: block; }

/* --- Comparison Table --- */
.db-compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--db-white);
  border-radius: var(--db-radius-xl);
  overflow: hidden;
  box-shadow: var(--db-shadow-sm);
}

.db-compare thead th {
  padding: var(--db-space-5) var(--db-space-6);
  text-align: left;
  font-size: var(--db-text-sm);
  font-weight: 700;
  color: var(--db-gray-900);
  border-bottom: 2px solid var(--db-gray-200);
  background: var(--db-gray-50);
}

.db-compare thead th:first-child {
  font-size: var(--db-text-base);
}

.db-compare tbody td {
  padding: var(--db-space-4) var(--db-space-6);
  font-size: var(--db-text-sm);
  color: var(--db-gray-600);
  border-bottom: 1px solid var(--db-gray-100);
}

.db-compare tbody tr:hover td {
  background: var(--db-gray-50);
}

.db-compare tbody td:first-child {
  font-weight: 600;
  color: var(--db-gray-800);
}

.db-compare .check {
  color: var(--db-success);
  font-size: 1rem;
}

.db-compare .cross {
  color: var(--db-gray-300);
}

.db-compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- Process Steps --- */
.db-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--db-space-6);
  counter-reset: step;
}

.db-step {
  text-align: center;
  position: relative;
  padding-top: 68px; /* 48px circle + 20px gap */
}

.db-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--db-radius-full);
  background: var(--db-primary);
  color: var(--db-white);
  font-size: var(--db-text-lg);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
}

.db-step::after {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 2px;
  background: var(--db-gray-200);
  z-index: 1;
}

@media (max-width: 639px) {
  .db-step { padding-top: 64px; }
}

.db-step:last-child::after { display: none; }

.db-step h4 {
  font-size: var(--db-text-base);
  font-weight: 600;
  color: var(--db-gray-900);
  margin-bottom: var(--db-space-2);
}

.db-step p {
  font-size: var(--db-text-sm);
  color: var(--db-gray-500);
  margin-bottom: 0;
}

@media (max-width: 1023px) {
  .db-steps { grid-template-columns: repeat(2, 1fr); }
  .db-step:nth-child(2)::after { display: none; }
}
@media (max-width: 639px) {
  .db-steps { grid-template-columns: 1fr; }
  .db-step::after { display: none; }
}

/* --- Dashboard Preview --- */
.db-dash-preview {
  background: var(--db-gray-900);
  border-radius: var(--db-radius-2xl);
  padding: var(--db-space-6);
  box-shadow: var(--db-shadow-xl);
  max-width: 600px;
  margin: 0 auto;
}

.db-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--db-space-6);
}

.db-dash-header .db-dash-logo {
  height: 24px;
  opacity: 0.6;
}

.db-dash-header .db-dash-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--db-radius-full);
  background: var(--db-primary);
  color: var(--db-white);
  font-size: var(--db-text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.db-dash-balance {
  margin-bottom: var(--db-space-6);
}

.db-dash-balance-label {
  font-size: var(--db-text-xs);
  color: var(--db-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--db-space-1);
}

.db-dash-balance-amount {
  font-size: var(--db-text-4xl);
  font-weight: 700;
  color: var(--db-white);
}

.db-dash-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--db-space-3);
  margin-bottom: var(--db-space-6);
}

.db-dash-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--db-space-2);
  padding: var(--db-space-4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--db-radius-lg);
  text-decoration: none;
  transition: background var(--db-transition-fast);
}

.db-dash-action:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.db-dash-action i {
  font-size: 1.25rem;
  color: var(--db-white);
}

.db-dash-action span {
  font-size: var(--db-text-xs);
  color: var(--db-gray-400);
  font-weight: 500;
}

.db-dash-transactions {
  display: flex;
  flex-direction: column;
  gap: var(--db-space-3);
}

.db-dash-txn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--db-space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.db-dash-txn-info {
  display: flex;
  align-items: center;
  gap: var(--db-space-3);
}

.db-dash-txn-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--db-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.db-dash-txn-icon.in { background: rgba(30, 224, 172, 0.15); color: var(--db-success); }
.db-dash-txn-icon.out { background: rgba(232, 83, 71, 0.15); color: var(--db-danger); }

.db-dash-txn-name {
  font-size: var(--db-text-sm);
  color: var(--db-white);
  font-weight: 500;
}

.db-dash-txn-date {
  font-size: var(--db-text-xs);
  color: var(--db-gray-500);
}

.db-dash-txn-amount {
  font-size: var(--db-text-sm);
  font-weight: 600;
  color: var(--db-white);
}

.db-dash-txn-amount.positive { color: var(--db-success); }

/* --- Account Cards (product cards) --- */
.db-acct-card {
  background: var(--db-white);
  border: 2px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  padding: var(--db-space-8);
  transition: all var(--db-transition-base);
  position: relative;
  overflow: hidden;
}

.db-acct-card.featured {
  border-color: var(--db-primary);
  box-shadow: var(--db-shadow-lg);
}

.db-acct-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: var(--db-space-4);
  right: var(--db-space-4);
  background: var(--db-primary);
  color: var(--db-white);
  font-size: var(--db-text-xs);
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: var(--db-radius-full);
}

.db-acct-card:hover {
  box-shadow: var(--db-shadow-xl);
  border-color: var(--db-primary);
  transform: translateY(-2px);
}

.db-acct-card-header {
  margin-bottom: var(--db-space-6);
}

.db-acct-card-header h3 {
  font-size: var(--db-text-xl);
  font-weight: 700;
  color: var(--db-gray-900);
  margin-bottom: var(--db-space-2);
}

.db-acct-card-header .tagline {
  font-size: var(--db-text-sm);
  color: var(--db-gray-500);
}

.db-acct-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--db-space-3);
  margin-bottom: var(--db-space-6);
}

.db-acct-card-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--db-space-3);
  font-size: var(--db-text-sm);
  color: var(--db-gray-600);
  line-height: 1.5;
}

.db-acct-card-features li i {
  color: var(--db-success);
  margin-top: 3px;
  flex-shrink: 0;
}

.db-acct-card-footer {
  display: flex;
  align-items: center;
  gap: var(--db-space-4);
  padding-top: var(--db-space-5);
  border-top: 1px solid var(--db-gray-100);
}

/* --- Insights / Blog Cards --- */
.db-insight-card {
  background: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  overflow: hidden;
  transition: all var(--db-transition-base);
}

.db-insight-card:hover {
  box-shadow: var(--db-shadow-lg);
  transform: translateY(-2px);
}

.db-insight-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--db-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.db-insight-card-image i {
  font-size: 3rem;
  color: var(--db-gray-300);
}

.db-insight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.db-insight-card-body {
  padding: var(--db-space-5);
}

.db-insight-card-body .category {
  font-size: var(--db-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--db-primary);
  margin-bottom: var(--db-space-2);
}

.db-insight-card-body h4 {
  font-size: var(--db-text-base);
  font-weight: 600;
  color: var(--db-gray-900);
  margin-bottom: var(--db-space-2);
  line-height: 1.4;
}

.db-insight-card-body p {
  font-size: var(--db-text-sm);
  color: var(--db-gray-500);
  margin-bottom: var(--db-space-3);
}

.db-insight-card-body .read-more {
  font-size: var(--db-text-sm);
  font-weight: 600;
  color: var(--db-primary);
}

/* --- Image Showcase --- */
.db-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--db-space-4);
  align-items: center;
}

.db-showcase-image {
  border-radius: var(--db-radius-xl);
  overflow: hidden;
  background: var(--db-gray-100);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.db-showcase-image i {
  font-size: 4rem;
  color: var(--db-gray-300);
}

.db-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.db-showcase-content {
  padding: var(--db-space-6);
}

@media (max-width: 767px) {
  .db-showcase { grid-template-columns: 1fr; }
}

/* --- Rating / Trustpilot-style --- */
.db-rating {
  display: flex;
  align-items: center;
  gap: var(--db-space-2);
  font-size: var(--db-text-sm);
  color: var(--db-gray-700);
}

.db-rating-stars {
  color: #f4bd0e;
  letter-spacing: 2px;
}

/* --- Mobile Nav: expandable categories --- */
.db-mobile-nav-section {
  border-bottom: 1px solid var(--db-gray-100);
}

.db-mobile-nav-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--db-space-4);
  background: none;
  border: none;
  font-family: var(--db-font-primary);
  font-size: var(--db-text-base);
  font-weight: 600;
  color: var(--db-gray-800);
  cursor: pointer;
  text-align: left;
}

.db-mobile-nav-title i {
  transition: transform var(--db-transition-base);
  font-size: 0.75rem;
  color: var(--db-gray-400);
}

.db-mobile-nav-title.open i {
  transform: rotate(180deg);
}

.db-mobile-nav-links {
  display: none;
  padding: 0 var(--db-space-4) var(--db-space-4);
  flex-direction: column;
  gap: var(--db-space-1);
}

.db-mobile-nav-links.open { display: flex; }

.db-mobile-nav-links a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: var(--db-text-sm);
  color: var(--db-gray-600);
  text-decoration: none;
  border-radius: var(--db-radius-sm);
}

.db-mobile-nav-links a:hover {
  color: var(--db-primary);
  background: var(--db-primary-bg);
}

/* --- Security Icon Grid --- */
.db-security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--db-space-6);
}

.db-security-item {
  text-align: center;
  padding: var(--db-space-6);
  background: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  transition: all var(--db-transition-base);
}

.db-security-item:hover {
  border-color: var(--db-gray-300);
  box-shadow: var(--db-shadow-md);
}

.db-security-item i {
  font-size: 2rem;
  color: var(--db-primary);
  margin-bottom: var(--db-space-4);
}

.db-security-item h4 {
  font-size: var(--db-text-base);
  font-weight: 600;
  color: var(--db-gray-900);
  margin-bottom: var(--db-space-2);
}

.db-security-item p {
  font-size: var(--db-text-sm);
  color: var(--db-gray-500);
  margin-bottom: 0;
}

@media (max-width: 1023px) {
  .db-security-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .db-security-grid { grid-template-columns: 1fr; }
}

/* --- Related Product Cards --- */
.db-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--db-space-4);
}

@media (max-width: 1023px) {
  .db-related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .db-related { grid-template-columns: 1fr; }
}

/* --- Support Channels --- */
.db-support-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--db-space-4);
}

.db-support-channel {
  text-align: center;
  padding: var(--db-space-8);
  background: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  transition: all var(--db-transition-base);
}

.db-support-channel:hover {
  border-color: var(--db-primary);
  box-shadow: var(--db-shadow-md);
}

.db-support-channel i {
  font-size: 2rem;
  color: var(--db-primary);
  margin-bottom: var(--db-space-4);
}

.db-support-channel h4 {
  font-size: var(--db-text-lg);
  font-weight: 600;
  margin-bottom: var(--db-space-2);
}

.db-support-channel p {
  font-size: var(--db-text-sm);
  color: var(--db-gray-500);
  margin-bottom: var(--db-space-4);
}

@media (max-width: 767px) {
  .db-support-channels { grid-template-columns: 1fr; }
}

/* --- Sidebar Layout (for inner pages) --- */
.db-layout-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--db-space-8);
}

.db-sidebar {
  position: sticky;
  top: calc(var(--db-header-height) + var(--db-space-6));
  align-self: start;
}

.db-sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--db-space-1);
}

.db-sidebar-nav a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: var(--db-text-sm);
  color: var(--db-gray-600);
  text-decoration: none;
  border-radius: var(--db-radius-md);
  transition: all var(--db-transition-fast);
  font-weight: 500;
}

.db-sidebar-nav a:hover,
.db-sidebar-nav a.active {
  color: var(--db-primary);
  background: var(--db-primary-bg);
}

.db-sidebar-nav a.active { font-weight: 600; }

@media (max-width: 1023px) {
  .db-layout-sidebar { grid-template-columns: 1fr; }
  .db-sidebar { position: static; margin-bottom: var(--db-space-6); }
  .db-sidebar-nav { flex-direction: row; flex-wrap: wrap; gap: var(--db-space-2); }
}

/* --- Search Bar --- */
.db-search {
  position: relative;
  max-width: 400px;
}

.db-search input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  font-family: var(--db-font-primary);
  font-size: var(--db-text-sm);
  border: 1.5px solid var(--db-gray-200);
  border-radius: var(--db-radius-full);
  background: var(--db-gray-50);
  transition: all var(--db-transition-fast);
  outline: none;
}

.db-search input:focus {
  border-color: var(--db-primary);
  background: var(--db-white);
  box-shadow: 0 0 0 3px var(--db-primary-bg);
}

.db-search i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--db-gray-400);
  font-size: 0.875rem;
  pointer-events: none;
}

/* --- Alert Boxes --- */
.db-alert {
  padding: var(--db-space-4) var(--db-space-6);
  border-radius: var(--db-radius-lg);
  font-size: var(--db-text-sm);
  line-height: 1.6;
  margin-bottom: var(--db-space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--db-space-3);
}

.db-alert i { margin-top: 2px; flex-shrink: 0; }

.db-alert-info {
  background: #e8f4fd;
  border: 1px solid #b6ddf8;
  color: #1a5f8a;
}

.db-alert-warning {
  background: #fff8e6;
  border: 1px solid #fde4a8;
  color: #8a6d14;
}

.db-alert-danger {
  background: #fde8e8;
  border: 1px solid #f5b8b8;
  color: #8a1a1a;
}

.db-alert-success {
  background: #e6f9f3;
  border: 1px solid #a8edd4;
  color: #1a5a3a;
}

/* ==========================================================================
   IMAGE & ASSET STYLES
   ========================================================================== */

/* --- Hero Image Background --- */
.db-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .db-hero-image { width: 100%; opacity: 0.08; }
}

/* --- Image Overlay Container --- */
.db-img-container {
  position: relative;
  border-radius: var(--db-radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--db-gray-100);
}

.db-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--db-transition-slow);
}

.db-img-container:hover img {
  transform: scale(1.03);
}

.db-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
}

.db-img-caption {
  position: absolute;
  bottom: var(--db-space-4);
  left: var(--db-space-4);
  color: white;
  font-size: var(--db-text-xs);
  opacity: 0.8;
}

/* --- Image Aspect Ratios --- */
.db-img-16-9 { aspect-ratio: 16/9; }
.db-img-16-10 { aspect-ratio: 16/10; }
.db-img-4-3 { aspect-ratio: 4/3; }
.db-img-3-4 { aspect-ratio: 3/4; }
.db-img-1-1 { aspect-ratio: 1/1; }

/* --- SVG Illustration Container --- */
.db-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--db-space-8);
}

.db-illustration svg,
.db-illustration img {
  max-width: 100%;
  height: auto;
}

/* --- Card Mockup Container --- */
.db-card-mockup {
  display: flex;
  gap: var(--db-space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.db-card-mockup img,
.db-card-mockup svg {
  width: 300px;
  height: auto;
  border-radius: var(--db-radius-xl);
  box-shadow: var(--db-shadow-xl);
  transition: transform var(--db-transition-base);
}

.db-card-mockup img:hover,
.db-card-mockup svg:hover {
  transform: translateY(-4px) rotate(-2deg);
}

@media (max-width: 639px) {
  .db-card-mockup img,
  .db-card-mockup svg { width: 260px; }
}

/* --- Device Mockup --- */
.db-device-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--db-space-6);
  flex-wrap: wrap;
}

.db-device-mockup img,
.db-device-mockup svg {
  max-width: 100%;
  height: auto;
}

/* --- Hero Section with BG Image --- */
.db-hero-bg {
  background-size: cover;
  background-position: center;
  position: relative;
}

.db-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,26,46,0.92) 0%, rgba(3,61,117,0.85) 100%);
}

/* --- Page Hero with BG Image --- */
.db-page-hero-bg {
  background-size: cover;
  background-position: center;
  position: relative;
}

.db-page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,26,46,0.9) 0%, rgba(3,61,117,0.82) 100%);
}

/* --- Section Image --- */
.db-section-image {
  border-radius: var(--db-radius-xl);
  overflow: hidden;
  box-shadow: var(--db-shadow-lg);
}

.db-section-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Photo Treatment --- */
.db-photo {
  border-radius: var(--db-radius-xl);
  overflow: hidden;
}

.db-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.db-photo-rounded {
  border-radius: var(--db-radius-2xl);
}

.db-photo-shadow {
  box-shadow: var(--db-shadow-xl);
}

/* --- Responsive image display --- */
@media (max-width: 767px) {
  .db-card-mockup { flex-direction: column; align-items: center; }
  .db-device-mockup { flex-direction: column; }
}

/* --- Lazy load placeholder --- */
img[loading="lazy"] {
  background: var(--db-gray-100);
}

/* --- Decorative SVG pattern --- */
.db-pattern {
  position: absolute;
  pointer-events: none;
  opacity: 0.04;
}

.db-pattern svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   HOME PAGE HERO - Full-width image-based hero
   ========================================================================== */

.db-home-hero {
  position: relative;
  min-height: clamp(580px, 80vh, 820px);
  display: flex;
  align-items: center;
  background-image: url("../images/home/hero-banking-professional.jpg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-top: var(--db-header-height);
}

.db-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(15, 26, 46, 0.94) 0%,
      rgba(15, 26, 46, 0.78) 42%,
      rgba(15, 26, 46, 0.35) 100%
    );
  z-index: 1;
}

.db-home-hero .db-container {
  position: relative;
  z-index: 2;
}

.db-home-hero-content {
  max-width: 680px;
  animation: heroFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

.db-home-hero-eyebrow {
  display: inline-block;
  font-size: var(--db-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--db-gray-400);
  margin-bottom: var(--db-space-5);
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--db-radius-full);
  animation: heroFadeIn 0.8s 0.1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.db-home-hero-title {
  font-size: var(--db-text-6xl);
  font-weight: 700;
  line-height: 1.08;
  color: var(--db-white);
  letter-spacing: -0.03em;
  margin-bottom: var(--db-space-5);
  animation: heroFadeIn 0.8s 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.db-home-hero-description {
  font-size: var(--db-text-lg);
  color: var(--db-gray-400);
  line-height: 1.7;
  margin-bottom: var(--db-space-8);
  max-width: 540px;
  animation: heroFadeIn 0.8s 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.db-home-hero-actions {
  display: flex;
  align-items: center;
  gap: var(--db-space-4);
  flex-wrap: wrap;
  animation: heroFadeIn 0.8s 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.db-home-hero-trust {
  display: flex;
  align-items: center;
  gap: var(--db-space-6);
  margin-top: var(--db-space-8);
  padding-top: var(--db-space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: heroFadeIn 0.8s 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@media (max-width: 1023px) {
  .db-home-hero {
    min-height: clamp(500px, 70vh, 700px);
    background-position: 65% center;
  }
  .db-home-hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(15, 26, 46, 0.94) 0%,
        rgba(15, 26, 46, 0.82) 60%,
        rgba(15, 26, 46, 0.45) 100%
      );
  }
  .db-home-hero-content {
    max-width: 100%;
    text-align: center;
  }
  .db-home-hero-description {
    max-width: 100%;
  }
  .db-home-hero-actions {
    justify-content: center;
  }
  .db-home-hero-trust {
    justify-content: center;
  }
  .db-home-hero-title {
    font-size: var(--db-text-5xl);
  }
}

@media (max-width: 639px) {
  .db-home-hero {
    min-height: clamp(460px, 60vh, 600px);
    background-position: 70% center;
  }
  .db-home-hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(15, 26, 46, 0.93) 0%,
        rgba(15, 26, 46, 0.85) 55%,
        rgba(15, 26, 46, 0.55) 100%
      );
  }
  .db-home-hero-title {
    font-size: var(--db-text-4xl);
  }
  .db-home-hero-description {
    font-size: var(--db-text-base);
  }
  .db-home-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .db-home-hero-actions .db-btn {
    width: 100%;
    justify-content: center;
  }
  .db-home-hero-trust {
    flex-direction: column;
    gap: var(--db-space-3);
    align-items: center;
  }
}

/* ==========================================================================
   ENHANCED ANIMATIONS & VISUAL DEPTH
   ========================================================================== */

/* --- Image zoom on hover --- */
.db-showcase-image img,
.db-img-container img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.db-showcase-image:hover img,
.db-img-container:hover img {
  transform: scale(1.04);
}

.db-feature-visual-inner img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.db-feature-visual-inner:hover img {
  transform: scale(1.03);
}

/* --- Insight card image hover --- */
.db-insight-card-image img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.db-insight-card:hover .db-insight-card-image img {
  transform: scale(1.06);
}

/* --- Card hover elevation refinement --- */
.db-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Quick action icon pulse on hover --- */
.db-quick-action-icon {
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.db-quick-action:hover .db-quick-action-icon {
  transform: scale(1.08);
}

/* --- Button arrow movement --- */
.db-btn i.fa-arrow-right {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.db-btn:hover i.fa-arrow-right {
  transform: translateX(4px);
}

/* --- Section reveal refinement --- */
.animate {
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Support channel hover lift --- */
.db-support-channel {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.db-support-channel:hover {
  transform: translateY(-4px);
}

/* --- Security item hover --- */
.db-security-item {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.db-security-item:hover {
  transform: translateY(-3px);
}

/* --- FAQ item hover indicator --- */
.db-faq-question {
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.db-faq-item:hover .db-faq-question {
  background: var(--db-gray-50);
}

/* --- Account card hover --- */
.db-acct-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- CTA section subtle animation --- */
.db-cta-inner.animate.visible {
  animation: ctaReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

/* --- Smooth section alternating backgrounds --- */
.db-section:nth-of-type(even):not(.db-section-bg):not(.db-section-dark):not(.db-cta) {
  background-color: var(--db-white);
}

/* --- Decorative gradient line on section headers --- */
.db-section-header {
  position: relative;
}

.db-section-header::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--db-primary), var(--db-primary-light));
  border-radius: var(--db-radius-full);
  margin: var(--db-space-4) auto 0;
}

/* --- Nav link hover indicator --- */
.db-nav-link {
  position: relative;
}

.db-nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--db-primary);
  border-radius: var(--db-radius-full);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.db-nav-link:hover::after,
.db-nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* --- Step hover effect --- */
.db-step {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.db-step:hover {
  transform: translateY(-4px);
}

.db-step::before {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.db-step:hover::before {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(3, 61, 117, 0.35);
}

/* ==========================================================================
   RICH VISUAL ENHANCEMENTS
   ========================================================================== */

/* Image showcase section with side image */
.db-showcase-image-wrap {
  border-radius: var(--db-radius-xl);
  overflow: hidden;
  box-shadow: var(--db-shadow-lg);
  aspect-ratio: 4/3;
}

.db-showcase-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.db-showcase-image-wrap:hover img {
  transform: scale(1.05);
}

/* Alternating section colors for visual rhythm */
.db-section-alt {
  background-color: var(--db-gray-50);
}

/* CTA with background image */
.db-cta-bg {
  background-size: cover;
  background-position: center;
  position: relative;
}

.db-cta-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 61, 117, 0.92) 0%, rgba(3, 61, 117, 0.78) 100%);
  z-index: 1;
}

.db-cta-bg .db-container {
  position: relative;
  z-index: 2;
}

/* Service card image */
.db-service-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--db-radius-lg) var(--db-radius-lg) 0 0;
  overflow: hidden;
  margin-bottom: var(--db-space-5);
}

.db-service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Page hero enhanced */
.db-page-hero-bg {
  position: relative;
}

.db-page-hero-bg .db-container {
  position: relative;
  z-index: 2;
}

/* Stat/item rows with icons */
.db-feature-row {
  display: flex;
  align-items: flex-start;
  gap: var(--db-space-4);
  margin-bottom: var(--db-space-6);
}

.db-feature-row-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--db-radius-lg);
  background: var(--db-primary-bg);
  color: var(--db-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.db-feature-row-content h4 {
  font-size: var(--db-text-base);
  font-weight: 600;
  margin-bottom: var(--db-space-1);
}

.db-feature-row-content p {
  font-size: var(--db-text-sm);
  color: var(--db-gray-500);
  line-height: 1.6;
}

/* Trust/security badge row */
.db-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--db-space-3);
  margin-top: var(--db-space-6);
}

.db-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--db-space-2);
  padding: 0.45rem 1rem;
  font-size: var(--db-text-xs);
  font-weight: 600;
  color: var(--db-gray-600);
  background: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-full);
}

.db-trust-pill i {
  color: var(--db-success);
  font-size: 0.7rem;
}

/* Fade-in-up image reveal */
.db-img-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.db-img-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Inline icon text row */
.db-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--db-space-4);
}

.db-icon-row-item {
  display: flex;
  align-items: center;
  gap: var(--db-space-2);
  font-size: var(--db-text-sm);
  font-weight: 500;
  color: var(--db-gray-600);
}

.db-icon-row-item i {
  color: var(--db-primary);
  font-size: 1rem;
}

/* Soft background shapes for visual depth */
.db-section-soft {
  position: relative;
  overflow: hidden;
}

.db-section-soft::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 61, 117, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.db-section-soft::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: -8%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 61, 117, 0.02) 0%, transparent 70%);
  pointer-events: none;
}
