/* ==========================================================================
   DIGITECHZO - CRYPTOCURRENCY EXCHANGE SCRIPT & SOFTWARE STYLESHEET
   Centered Hero, High-Conversion Sections & Complete Mobile Responsiveness
   ========================================================================== */

:root {
  --primary-accent: #57B71B;
  --primary-accent-hover: #469a14;
  --primary-accent-light: rgba(87, 183, 27, 0.1);
  --primary-accent-glow: rgba(87, 183, 27, 0.22);
  --dark-navy: #0B1120;
  --dark-surface: #0F172A;
  --dark-card: #1E293B;
  --text-dark: #0F172A;
  --text-body: #475569;
  --text-muted: #64748B;
  --bg-subtle: #F8FAFC;
  --bg-white: #FFFFFF;
  --border-light: #E2E8F0;
  --border-focus: #57B71B;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
  --shadow-accent: 0 10px 25px rgba(87, 183, 27, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Typography & Resets */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip !important;
  overflow-y: auto !important;
  height: auto !important;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.65;
  overflow-x: clip !important;
  overflow-y: visible !important;
  position: relative;
  min-height: 100vh;
  width: 100%;
}

/* DigiTechzo Standard Sticky Header Support */
header,
header.sticky-top,
header.site-header,
header[data-component*="navbar.html"],
.site-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1030 !important;
  overflow: visible !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.text-accent {
  color: var(--primary-accent) !important;
}

.bg-accent {
  background-color: var(--primary-accent) !important;
  color: #FFFFFF !important;
}

.bg-accent-light {
  background-color: var(--primary-accent-light) !important;
}

.border-accent {
  border-color: var(--primary-accent) !important;
}

/* Buttons */
.btn-accent {
  background: var(--primary-accent);
  color: #FFFFFF !important;
  font-weight: 700;
  border: 1px solid var(--primary-accent);
  padding: 12px 28px;
  border-radius: 50px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(87, 183, 27, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-accent:hover {
  background: var(--primary-accent-hover);
  border-color: var(--primary-accent-hover);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(87, 183, 27, 0.4);
}

.btn-outline-dark-custom {
  background: transparent;
  color: var(--text-dark) !important;
  font-weight: 700;
  border: 1.5px solid var(--border-light);
  padding: 12px 26px;
  border-radius: 50px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-outline-dark-custom:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: var(--text-dark) !important;
  transform: translateY(-2px);
}

/* Section Header Shared Standards */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-accent-light);
  color: var(--primary-accent);
  border: 1px solid rgba(87, 183, 27, 0.2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
  max-width: 100%;
}

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.section-desc {
  font-size: clamp(0.96rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  max-width: 820px;
  margin-bottom: 0;
  line-height: 1.7;
}

/* ==========================================================================
   1. HERO SECTION & TRADING ARCHITECTURE CARD (CENTERED LAYOUT)
   ========================================================================== */
.hero-section {
  position: relative !important;
  top: auto !important;
  z-index: 1 !important;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(87, 183, 27, 0.08) 0%, transparent 65%),
              radial-gradient(circle at 10% 90%, rgba(15, 23, 42, 0.02) 0%, transparent 40%),
              #FFFFFF;
  padding: clamp(50px, 6.5vh, 70px) 0 clamp(36px, 4.5vh, 48px) !important;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  text-align: center;
}

.hero-title {
  font-size: clamp(2rem, 2.75vw, 2.75rem) !important;
  font-weight: 850 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 14px !important;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  animation: heroTitleFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title-dark {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  display: inline-block;
}

.hero-title-accent {
  background: linear-gradient(135deg, #57B71B 0%, #6CD424 50%, #469A14 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: #57B71B !important;
  display: inline-block;
  animation: heroGradientShine 4s linear infinite;
}

@keyframes heroGradientShine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes heroTitleFadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-lead-text {
  font-size: clamp(0.88rem, 1vw, 0.96rem) !important;
  color: #334155;
  margin-bottom: 14px !important;
  line-height: 1.52 !important;
  max-width: 580px;
}

.hero-tags-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px !important;
  margin-top: 0 !important;
  padding-top: 14px !important;
  border-top: 1px solid #F1F5F9;
  max-width: 100%;
}

.hero-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E293B;
  background: #F8FAFC;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid #E2E8F0;
}

.hero-tag-item i {
  color: var(--primary-accent);
}

/* Centered Exchange Visual Card / Graph Widget */
.exchange-visual-card {
  background: #FFFFFF;
  border-radius: 16px !important;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.1) !important;
  overflow: hidden;
  transition: var(--transition-smooth);
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.exchange-visual-card:hover {
  box-shadow: 0 30px 70px -12px rgba(87, 183, 27, 0.18);
  border-color: rgba(87, 183, 27, 0.35);
}

.exchange-card-header {
  background: #0F172A;
  color: #FFFFFF;
  padding: 10px 16px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-dots span:nth-child(1) { background: #EF4444; }
.terminal-dots span:nth-child(2) { background: #F59E0B; }
.terminal-dots span:nth-child(3) { background: #10B981; }

.exchange-card-body {
  padding: 14px 18px !important;
  background: #FAFBFD;
}

.ticker-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
}

.ticker-crypto {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-dark);
}

.ticker-price {
  font-weight: 700;
  color: #0F172A;
}

.ticker-change {
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.ticker-change.up {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.ticker-change.blue {
  background: rgba(87, 183, 27, 0.12);
  color: var(--primary-accent);
}

.arch-layer-box {
  background: #FFFFFF;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-top: 14px;
}

.arch-layer-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.arch-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.arch-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: #F1F5F9;
  color: #1E293B;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.arch-pill.active {
  background: var(--primary-accent-light);
  color: var(--primary-accent);
  border: 1px solid rgba(87, 183, 27, 0.3);
}

/* ==========================================================================
   2. SECTION 2: WHAT IS A SCRIPT & 3 COMMON WAYS
   ========================================================================== */
.section-what-is {
  padding: 85px 0;
  background: #FFFFFF;
}

.pathway-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  height: 100%;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pathway-card:hover {
  transform: translateY(-5px);
  border-color: rgba(87, 183, 27, 0.4);
  box-shadow: var(--shadow-md);
}

.pathway-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-accent-light);
  color: var(--primary-accent);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pathway-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.pathway-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ==========================================================================
   3. SECTION 3: CHOOSE THE RIGHT APPROACH & COMPARISON MATRIX
   ========================================================================== */
.section-approaches {
  padding: 90px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.approach-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.approach-card:hover {
  transform: translateY(-4px);
  border-color: rgba(87, 183, 27, 0.35);
  box-shadow: var(--shadow-md);
}

.approach-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-accent-light);
  color: var(--primary-accent);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.approach-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.approach-card-body {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.68;
}

/* Comparison Matrix Table */
.matrix-container {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-top: 48px;
}

.matrix-header {
  padding: 24px 30px;
  background: #0F172A;
  color: #FFFFFF;
}

.matrix-header h3 {
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.matrix-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
}

.matrix-table th {
  background: #F1F5F9;
  color: #0F172A;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 16px 20px;
  border-bottom: 2px solid var(--border-light);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.matrix-table td {
  padding: 18px 20px;
  font-size: 0.92rem;
  color: #334155;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  line-height: 1.55;
}

.matrix-table tbody tr:hover {
  background: #FAFBFD;
}

.matrix-table td:first-child {
  font-weight: 700;
  color: #0F172A;
  background: #FAFBFD;
  width: 22%;
  white-space: nowrap;
}

.matrix-notice-box {
  background: rgba(87, 183, 27, 0.07);
  border-left: 4px solid var(--primary-accent);
  padding: 20px 24px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  font-size: 0.94rem;
  color: #1E293B;
  font-weight: 500;
}

/* ==========================================================================
   4. SECTION 4: EXCHANGE MODELS TO CONSIDER
   ========================================================================== */
.section-models {
  padding: 90px 0;
  background: #FFFFFF;
}

.model-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.model-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-accent);
  transition: height 0.3s ease;
}

.model-card:hover {
  transform: translateY(-5px);
  border-color: rgba(87, 183, 27, 0.35);
  box-shadow: var(--shadow-md);
}

.model-card:hover::before {
  height: 100%;
}

.model-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #F1F5F9;
  color: #475569;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.model-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.model-card-desc {
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ==========================================================================
   5. SECTION 5: CORE COMPONENTS OF CRYPTO EXCHANGE SOFTWARE
   ========================================================================== */
.section-components {
  padding: 90px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.component-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.component-box:hover {
  transform: translateY(-4px);
  border-color: rgba(87, 183, 27, 0.4);
  box-shadow: var(--shadow-md);
}

.component-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-accent-light);
  color: var(--primary-accent);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.component-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.component-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.62;
  margin-bottom: 0;
}

/* ==========================================================================
   6. SECTION 6: SECURITY - PLAN FOR LAYERS OF CONTROL (DARK SHIELD THEME)
   ========================================================================== */
.section-security {
  padding: 95px 0;
  background: #0B1120;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.section-security::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(87, 183, 27, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.security-badge {
  background: rgba(87, 183, 27, 0.15);
  color: #57B71B;
  border: 1px solid rgba(87, 183, 27, 0.3);
}

.security-title {
  color: #FFFFFF;
}

.security-quote-box {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--primary-accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 40px;
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.65;
}

.security-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition-smooth);
}

.security-card:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(87, 183, 27, 0.4);
  transform: translateY(-3px);
}

.security-card i {
  color: var(--primary-accent);
  font-size: 1.15rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.security-card-text {
  font-size: 0.92rem;
  color: #E2E8F0;
  line-height: 1.55;
  margin-bottom: 0;
}

.security-closing-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin-top: 40px;
  font-size: 0.94rem;
  color: #94A3B8;
  line-height: 1.65;
}

/* ==========================================================================
   7. SECTION 7: COMPLIANCE AND LICENSING
   ========================================================================== */
.section-compliance {
  padding: 90px 0;
  background: #FFFFFF;
}

.compliance-panel {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
}

.compliance-panel-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.compliance-panel-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

.jurisdiction-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.jurisdiction-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: #1E293B;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.compliance-advisory-box {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 36px;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   8. SECTION 8: HOW MUCH DOES A SCRIPT COST?
   ========================================================================== */
.section-cost {
  padding: 90px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.cost-driver-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 14px;
}

.cost-driver-card:hover {
  transform: translateY(-3px);
  border-color: rgba(87, 183, 27, 0.4);
  box-shadow: var(--shadow-md);
}

.cost-driver-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-accent-light);
  color: var(--primary-accent);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cost-driver-body strong {
  color: var(--text-dark);
  font-size: 0.96rem;
  display: block;
  margin-bottom: 4px;
}

.cost-driver-body span {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
}

.cost-budget-advisory {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  margin-top: 40px;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   9. SECTION 9: HOW LONG DOES IT TAKE TO LAUNCH?
   ========================================================================== */
.section-timeline {
  padding: 85px 0;
  background: #FFFFFF;
}

.timeline-highlight-box {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 38px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.timeline-highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-accent), #38BDF8);
}

/* ==========================================================================
   10. SECTION 10: PROCESS FROM DISCOVERY TO HANDOVER
   ========================================================================== */
.section-process {
  padding: 90px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.process-step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.process-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(87, 183, 27, 0.4);
  box-shadow: var(--shadow-md);
}

.process-number {
  font-size: 1.5rem;
  font-weight: 850;
  color: var(--primary-accent);
  margin-bottom: 8px;
}

.process-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.process-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   11. SECTION 11: WHO SHOULD CONSIDER
   ========================================================================== */
.section-audience {
  padding: 85px 0;
  background: #FFFFFF;
}

.audience-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.audience-card:hover {
  transform: translateY(-3px);
  border-color: rgba(87, 183, 27, 0.4);
  box-shadow: var(--shadow-md);
}

.audience-card i {
  color: var(--primary-accent);
  font-size: 1.2rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.audience-text {
  font-size: 0.94rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 0;
}

.audience-disclaimer-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-top: 32px;
  font-size: 0.92rem;
  color: #92400E;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   12. SECTION 12: WHY DISCUSS WITH DIGITECHZO
   ========================================================================== */
.section-why-us {
  padding: 90px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.commitment-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.94rem;
  color: #1E293B;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.commitment-item:hover {
  border-color: rgba(87, 183, 27, 0.4);
  transform: translateX(4px);
}

.commitment-item i {
  color: var(--primary-accent);
  font-size: 1.1rem;
}

/* ==========================================================================
   13. SECTION 13: WHAT TO PREPARE BEFORE REQUESTING PROPOSAL
   ========================================================================== */
.section-prepare {
  padding: 90px 0;
  background: #FFFFFF;
}

.prep-item-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition-smooth);
}

.prep-item-card:hover {
  background: #FFFFFF;
  border-color: rgba(87, 183, 27, 0.4);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.prep-item-card i {
  color: var(--primary-accent);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.prep-item-text {
  font-size: 0.92rem;
  color: #1E293B;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   14. SECTION 14: FAQS ACCORDION
   ========================================================================== */
.section-faqs {
  padding: 90px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.accordion-custom .accordion-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md) !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.accordion-custom .accordion-item:hover {
  border-color: rgba(87, 183, 27, 0.35);
}

.accordion-custom .accordion-button {
  background: #FFFFFF;
  color: var(--text-dark);
  font-size: 1.02rem;
  font-weight: 750;
  padding: 20px 24px;
  box-shadow: none !important;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: #FFFFFF;
  color: var(--primary-accent);
  border-bottom: 1px solid #F1F5F9;
}

.accordion-custom .accordion-button::after {
  background-size: 1.1rem;
  transition: transform 0.25s ease;
}

.accordion-custom .accordion-body {
  padding: 22px 26px;
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ==========================================================================
   15. SECTION 15: PLAN YOUR PROJECT & ENQUIRY FORM
   ========================================================================== */
.section-intake-form {
  padding: 95px 0;
  background: #FFFFFF;
}

.intake-form-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 44px 48px;
}

.form-label-custom {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 6px;
}

.form-control-custom,
.form-select-custom {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.92rem;
  color: #0F172A;
  transition: var(--transition-smooth);
  width: 100%;
}

.form-control-custom:focus,
.form-select-custom:focus {
  background: #FFFFFF;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(87, 183, 27, 0.18);
  outline: none;
}

.form-disclaimer-box {
  background: #F8FAFC;
  border-left: 3px solid #CBD5E1;
  padding: 14px 18px;
  font-size: 0.84rem;
  color: #64748B;
  line-height: 1.55;
  margin-top: 24px;
}

/* Sticky Consultation Bottom Bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1020;
  transform: translateY(100%);
  transition: transform 0.35s ease;
pointer-events: none;
}

.sticky-cta-bar.visible {
  transform: translateY(0);
pointer-events: auto;
}

.sticky-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sticky-text strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.95rem;
}

.sticky-text span {
  color: #94A3B8;
  font-size: 0.82rem;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1050;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}

.modal-overlay.active {
  display: flex !important;
  pointer-events: auto;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 36px 38px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.25s ease-out;
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F1F5F9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}

/* ==========================================================================
   RESPONSIVE DEVICE STANDARDS (DESKTOP, LAPTOP, TABLET & MOBILE)
   ========================================================================== */

/* Large Tablets & Small Laptops (992px to 1199.98px) */
@media (max-width: 1199.98px) {
  .hero-section {
    padding: 65px 0 85px;
  }
  .hero-title {
    font-size: clamp(2rem, 3.8vw, 2.9rem);
  }
  .exchange-visual-card {
    max-width: 620px;
  }
  .intake-form-wrapper {
    padding: 38px 32px;
  }
}

/* Medium Tablets & iPads (768px to 991.98px) */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 55px 0 75px;
  }
  .hero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  }
  .exchange-visual-card {
    max-width: 580px;
  }
  .matrix-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .matrix-table {
    min-width: 650px;
  }
  .intake-form-wrapper {
    padding: 32px 24px;
  }
}

/* Mobile & Small Tablets (< 768px) */
@media (max-width: 767.98px) {
  .hero-section {
    padding: 42px 0 60px !important;
  }
  
  .hero-title {
    font-size: clamp(1.7rem, 6.2vw, 2.2rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 16px !important;
  }
  
  .hero-lead-text {
    font-size: 0.94rem !important;
    line-height: 1.64 !important;
    margin-bottom: 14px !important;
    text-align: center;
  }
  
  .hero-section .d-flex.flex-wrap {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }
  
  .hero-section .btn-accent,
  .hero-section .btn-outline-dark-custom {
    width: 100% !important;
    max-width: 360px !important;
    padding: 12px 18px !important;
    font-size: 0.9rem !important;
  }

  .hero-tags-bar {
    gap: 10px !important;
    margin-top: 26px !important;
    padding-top: 18px !important;
  }

  .hero-tag-item {
    font-size: 0.8rem !important;
    padding: 5px 12px !important;
  }

  /* Centered Visual Card on Mobile */
  .exchange-visual-card {
    border-radius: 18px !important;
    box-shadow: 0 12px 35px -8px rgba(15, 23, 42, 0.1) !important;
    margin-top: 30px !important;
  }

  .exchange-card-header {
    padding: 12px 16px !important;
  }

  .exchange-card-body {
    padding: 18px 14px !important;
  }

  .ticker-item {
    padding: 8px 12px !important;
    font-size: 0.82rem !important;
  }

  .ticker-crypto {
    gap: 8px !important;
    font-size: 0.82rem !important;
  }

  .ticker-crypto i {
    font-size: 1.05rem !important;
  }

  .ticker-price {
    font-size: 0.84rem !important;
  }

  .ticker-change {
    font-size: 0.72rem !important;
    padding: 2px 6px !important;
  }

  .arch-layer-box {
    padding: 12px 14px !important;
  }

  .arch-pills {
    gap: 6px !important;
  }

  .arch-pill {
    font-size: 0.72rem !important;
    padding: 3px 8px !important;
  }

  /* Section Standard Spacing */
  .section-what-is,
  .section-approaches,
  .section-models,
  .section-components,
  .section-security,
  .section-compliance,
  .section-cost,
  .section-timeline,
  .section-process,
  .section-audience,
  .section-why-us,
  .section-prepare,
  .section-faqs,
  .section-intake-form {
    padding: 50px 0 !important;
  }

  .section-title {
    font-size: clamp(1.6rem, 5.8vw, 2.1rem) !important;
    margin-bottom: 14px !important;
  }

  .section-desc {
    font-size: 0.94rem !important;
    line-height: 1.62 !important;
  }

  /* Card Paddings on Mobile */
  .pathway-card,
  .approach-card,
  .model-card,
  .component-box,
  .compliance-panel,
  .cost-driver-card,
  .process-step-card,
  .audience-card,
  .prep-item-card {
    padding: 22px 18px !important;
  }

  .timeline-highlight-box {
    padding: 26px 20px !important;
  }

  .security-quote-box {
    padding: 16px 18px !important;
    font-size: 0.95rem !important;
    margin-bottom: 26px !important;
  }

  .security-closing-box {
    padding: 20px 18px !important;
    font-size: 0.88rem !important;
    margin-top: 26px !important;
  }

  .compliance-advisory-box {
    padding: 20px 18px !important;
    margin-top: 24px !important;
  }

  .cost-budget-advisory {
    padding: 24px 18px !important;
  }

  /* Comparison Matrix on Mobile */
  .matrix-container {
    border-radius: 16px !important;
    margin-top: 32px !important;
  }

  .matrix-header {
    padding: 18px 20px !important;
  }

  .matrix-table th,
  .matrix-table td {
    padding: 12px 14px !important;
    font-size: 0.84rem !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }

  /* Dedicated Intake Form on Mobile */
  .intake-form-wrapper {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }

  .form-control-custom,
  .form-select-custom {
    padding: 10px 14px !important;
    font-size: 0.88rem !important;
  }

  .btn-accent.px-5.py-3 {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 0.96rem !important;
  }

  /* Sticky Floating Bar on Mobile */
  .sticky-cta-bar {
    padding: 10px 0 !important;
  }

  .sticky-container {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
  }

  .sticky-text strong {
    font-size: 0.88rem !important;
    line-height: 1.3 !important;
  }

  .sticky-text span {
    display: none !important;
  }

  .sticky-cta-bar .btn-accent {
    padding: 8px 20px !important;
    font-size: 0.84rem !important;
    width: auto !important;
  }

  /* Lead Modal on Mobile */
  .modal-card {
    padding: 26px 20px !important;
    border-radius: 18px !important;
  }
}

/* Extra Small Devices (< 400px down to 320px) */
@media (max-width: 399.98px) {
  .hero-title {
    font-size: 1.6rem !important;
  }
  
  .hero-tag-item {
    font-size: 0.74rem !important;
    padding: 4px 8px !important;
  }

  .ticker-crypto span {
    font-size: 0.78rem !important;
  }

  .ticker-price {
    font-size: 0.78rem !important;
  }

  .ticker-change {
    font-size: 0.68rem !important;
  }

  .section-badge {
    font-size: 0.72rem !important;
    padding: 5px 10px !important;
  }
}


/* ==========================================================================
   HIGH-CONTRAST DARK SECTION OVERRIDES (Security & Matrix Standards)
   ========================================================================== */
.section-security h2.security-title,
.section-security .security-title,
.section-security h2.section-title,
.section-security .section-title,
.section-security h2 {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.security-quote-box {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #F8FAFC !important;
  -webkit-text-fill-color: #F8FAFC !important;
}

.security-card {
  background: #141E33 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.security-card:hover {
  background: #1A2744 !important;
  border-color: #57B71B !important;
}

.security-card-text {
  color: #F8FAFC !important;
  -webkit-text-fill-color: #F8FAFC !important;
  font-size: 0.95rem !important;
  line-height: 1.68 !important;
  font-weight: 400 !important;
}

.security-closing-box {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #F8FAFC !important;
  -webkit-text-fill-color: #F8FAFC !important;
  font-size: 0.95rem !important;
  line-height: 1.68 !important;
}

.matrix-header h3 {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* ==========================================================================
   FINAL CTA SECTION & MODAL SIZING STYLES
   ========================================================================== */
.section-final-cta {
  padding: 80px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  position: relative;
}

.final-cta-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
  border-radius: 24px;
}

.final-cta-card .section-title {
  color: #0F172A !important;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.final-cta-card .section-desc {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
}

.max-w-750 {
  max-width: 750px;
}

.max-w-850 {
  max-width: 850px;
}

/* Modal Large Card Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 15px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card.modal-card-lg {
  max-width: 720px !important;
  width: 100%;
  max-height: 90vh !important;
  overflow-y: auto !important;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: rotate(90deg);
}

.modal-card-lg .form-control,
.modal-card-lg .form-select {
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 0.65rem 0.95rem;
  font-size: 0.92rem;
  color: #1E293B;
  background-color: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-card-lg .form-control:focus,
.modal-card-lg .form-select:focus {
  border-color: #57B71B;
  box-shadow: 0 0 0 3px rgba(87, 183, 27, 0.15);
  outline: none;
}

@media (max-width: 768px) {
  .section-final-cta {
    padding: 50px 0;
  }
  .modal-card.modal-card-lg {
    padding: 1.5rem 1.25rem !important;
  }
}


/* ==========================================================================
   MODAL SCROLL LOCK, ISOLATION & CUSTOM SCROLLBAR SYSTEM
   ========================================================================== */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none !important;
}

.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px 16px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overscroll-behavior: contain !important;
}

.modal-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.modal-card.modal-card-lg {
  max-width: 680px !important;
  width: 100% !important;
  max-height: calc(100vh - 48px) !important;
  max-height: calc(100dvh - 48px) !important;
  background: #FFFFFF !important;
  border-radius: 20px !important;
  padding: 34px 28px !important;
  position: relative !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
  scrollbar-color: #94A3B8 #F1F5F9 !important;
}

/* Custom Sleek Scrollbar for Modal Card */
.modal-card.modal-card-lg::-webkit-scrollbar {
  width: 7px !important;
}
.modal-card.modal-card-lg::-webkit-scrollbar-track {
  background: #F1F5F9 !important;
  border-radius: 10px !important;
  margin: 10px 0 !important;
}
.modal-card.modal-card-lg::-webkit-scrollbar-thumb {
  background: #94A3B8 !important;
  border-radius: 10px !important;
}
.modal-card.modal-card-lg::-webkit-scrollbar-thumb:hover {
  background: #57B71B !important;
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 12px 10px !important;
  }
  .modal-card.modal-card-lg {
    padding: 24px 16px !important;
    max-height: calc(100vh - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    border-radius: 16px !important;
  }
}


/* ==========================================================================
   MOBILE RESPONSIVENESS & PROPORTIONATE BUTTONS FIX (ALL SCREEN SIZES >= 320PX)
   Fixes Image 1 (Button Sizing) and Image 2 (Horizontal Overflow & Cropping)
   ========================================================================== */

@media (max-width: 767.98px) {
  html {
    overflow-x: clip !important;
    width: 100% !important;
  }
  body {
    overflow-x: clip !important;
    overflow-y: visible !important;
    width: 100% !important;
  }

  * {
    box-sizing: border-box !important;
  }

  .container, .container-fluid, section, main, footer {
    max-width: 100% !important;
  }

  /* Image 1 Fix: Sleek, Proportionate Mobile Buttons (no more massive, bulky buttons) */
  .btn,
  .btn-accent,
  .btn-outline-dark,
  .btn-outline-dark-custom,
  .btn-pill-primary,
  .btn-pill-secondary,
  .btn-primary-custom,
  .btn-hero-cta,
  button.open-booking-modal,
  a.open-booking-modal {
    padding: 0.56rem 1.15rem !important;
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
    min-height: auto !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
  }

  .btn i,
  .btn-accent i,
  .btn-outline-dark-custom i,
  .btn-pill-primary i,
  button.open-booking-modal i,
  a.open-booking-modal i {
    font-size: 0.82rem !important;
  }

  /* Compact button grouping on mobile */
  .d-flex.gap-3:has(.btn),
  .d-flex.flex-wrap:has(.btn) {
    gap: 0.65rem !important;
  }

  /* Image 2 Fix: Prevent wide glow backgrounds and mockups from pushing viewport */
  .hero-glow-bg,
  .section-glow-bg,
  [class*="glow-bg"] {
    display: none !important;
  }

  /* Dashboard simulation cards and headers */
  .pm-visual-dashboard,
  .re-visual-dashboard,
  .dashboard-card,
  .trading-board-card,
  .exchange-card,
  .automation-card-preview,
  .preview-stage-box {
    padding: 1rem 0.85rem !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }

  .pm-dashboard-header,
  .re-dashboard-header,
  .dashboard-header,
  .visual-card-header {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .pm-dashboard-header > div,
  .re-dashboard-header > div {
    max-width: 100% !important;
  }

  /* Clean word wrapping: preserve whole words, wrap between words naturally, prevent mid-word cuts */
  p, span, h1, h2, h3, h4, h5, h6, li, a, label, div, th, td {
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }

  /* Only allow arbitrary breaks for unbreakable technical identifiers like code, hashes, or addresses */
  .font-monospace, code, pre, .hash-code, .wallet-addr, [class*="hash"] {
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  .word-nowrap {
    display: inline-block;
    white-space: nowrap;
  }
}
}

@media (max-width: 575.98px) {
  /* Fine-tuned compact button sizing for handheld mobile screens (< 576px down to 320px) */
  .btn,
  .btn-accent,
  .btn-outline-dark,
  .btn-outline-dark-custom,
  .btn-pill-primary,
  .btn-pill-secondary,
  .btn-primary-custom,
  .btn-hero-cta,
  button.open-booking-modal,
  a.open-booking-modal {
    padding: 0.52rem 0.95rem !important;
    font-size: 0.84rem !important;
    width: 100% !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-section .d-flex.flex-wrap.justify-content-center,
  .section-hero .d-flex.flex-wrap.justify-content-center,
  .cta-buttons-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.55rem !important;
  }

  .hero-tags-bar {
    gap: 6px !important;
  }

  .hero-tag-item {
    padding: 5px 10px !important;
    font-size: 0.74rem !important;
  }

  .sticky-cta-bar,
  #sticky-bar {
    padding: 8px 12px !important;
  }

  .sticky-cta-bar .btn,
  #sticky-bar .btn {
    padding: 0.45rem 1rem !important;
    font-size: 0.8rem !important;
    max-width: 260px !important;
  }
}

/* Hero CTA Buttons */
.hero-cta-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
}
.hero-cta-buttons .btn,
.hero-cta-buttons a.btn,
.hero-cta-buttons button.btn,
.hero-cta-buttons .btn-pill-primary,
.hero-cta-buttons .btn-pill-secondary {
  padding: 10px 20px !important;
  font-size: 0.92rem !important;
  max-width: 100% !important;
}
@media (max-width: 575.98px) {
  .hero-cta-buttons {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .hero-cta-buttons .btn,
  .hero-cta-buttons a.btn,
  .hero-cta-buttons button.btn,
  .hero-cta-buttons .btn-pill-primary,
  .hero-cta-buttons .btn-pill-secondary {
    width: 100% !important;
    max-width: 320px !important;
    white-space: normal !important;
  }
}
