/* ==========================================================
   DSH Theme Utilities — Bootstrap companion
   Custom colors, spacing & components Bootstrap doesn't cover
   ========================================================== */

/* ── Color Utilities ─────────────────────────────────── */

/* Text Colors */
.text-primary-200 {
    color: #bfdbfe !important;
}

.text-primary-300 {
    color: #93c5fd !important;
}

.text-primary-400 {
    color: #60a5fa !important;
}

.text-primary-600 {
    color: #1e40af !important;
}

.text-primary-900 {
    color: #1e3a5f !important;
}

.text-gray-400 {
    color: #9ca3af !important;
}

.text-gray-500 {
    color: #6b7280 !important;
}

.text-gray-600 {
    color: #4b5563 !important;
}

.text-gray-700 {
    color: #374151 !important;
}

.text-gray-800 {
    color: #1f2937 !important;
}

.text-emerald-400 {
    color: #34d399 !important;
}

.text-emerald-600 {
    color: #059669 !important;
}

.text-gold-400 {
    color: #fbbf24 !important;
}

.text-gold-500 {
    color: #f59e0b !important;
}

/* Background Colors */
.bg-primary-50 {
    background-color: #eff6ff !important;
}

.bg-primary-100 {
    background-color: #dbeafe !important;
}

.bg-primary-600 {
    background-color: #1e40af !important;
}

.bg-primary-700 {
    background-color: #1b3a8c !important;
}

.bg-primary-900 {
    background-color: #1e3a5f !important;
}

.bg-gray-50 {
    background-color: #f9fafb !important;
}

.bg-gray-100 {
    background-color: #f3f4f6 !important;
}

.bg-emerald-50 {
    background-color: #ecfdf5 !important;
}

.bg-gold-50 {
    background-color: #fffbeb !important;
}

.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.10) !important;
}

.bg-white\/15 {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.bg-black\/50 {
    background-color: rgba(0, 0, 0, 0.50) !important;
}

/* Border Colors */
.border-primary-500 {
    border-color: #3b82f6 !important;
}

.border-gray-100 {
    border-color: #f3f4f6 !important;
}

.border-gray-200 {
    border-color: #e5e7eb !important;
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.border-white\/30 {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Hover utilities */
.hover\:text-primary-600:hover {
    color: #1e40af !important;
}

.hover\:text-white:hover {
    color: #fff !important;
}

.hover\:bg-primary-50:hover {
    background-color: #eff6ff !important;
}

.hover\:bg-primary-600:hover {
    background-color: #1e40af !important;
}

.hover\:bg-white:hover {
    background-color: #fff !important;
}

.hover\:bg-red-50:hover {
    background-color: #fef2f2 !important;
}

.hover\:text-red-500:hover {
    color: #ef4444 !important;
}

.hover\:border-primary-500:hover {
    border-color: #3b82f6 !important;
}

.hover\:border-primary-600:hover {
    border-color: #1e40af !important;
}

.hover\:text-primary-900:hover {
    color: #1e3a5f !important;
}

/* ── Gradient Utilities ──────────────────────────────── */
.bg-gradient-primary {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%) !important;
}

.bg-gradient-primary-r {
    background: linear-gradient(to right, #1e3a5f 0%, #1e40af 100%) !important;
}

.bg-gradient-primary-br {
    background: linear-gradient(to bottom right, #1e3a5f 0%, #1e40af 100%) !important;
}

/* ── Typography ──────────────────────────────────────── */
.font-heading {
    font-family: 'Playfair Display', serif !important;
}

.font-body {
    font-family: 'Inter', sans-serif !important;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace !important;
}

.lh-relaxed {
    line-height: 1.75 !important;
}

/* ── Backdrop blur ───────────────────────────────────── */
.backdrop-blur-sm {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* ── Aspect Ratios ───────────────────────────────────── */
.aspect-video {
    position: relative;
    padding-bottom: 56.25%;
}

.aspect-video>* {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Object Fit ──────────────────────────────────────── */
.object-cover {
    object-fit: cover !important;
}

.object-center {
    object-position: center !important;
}

/* ── Scroll Progress ─────────────────────────────────── */
.dsh-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, #1e40af, #10b981);
    z-index: 9999;
    width: 0;
    transition: width 0.1s linear;
}

/* ── Extra spacing scale (Bootstrap goes to 5 = 3rem) ── */
.gap-6 {
    gap: 1.5rem !important;
}

.gap-8 {
    gap: 2rem !important;
}

.gap-12 {
    gap: 3rem !important;
}

.py-8 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.py-12 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.py-16 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.py-20 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.pt-16 {
    padding-top: 4rem !important;
}

.pb-8 {
    padding-bottom: 2rem !important;
}

.px-6 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.mb-6 {
    margin-bottom: 1.5rem !important;
}

.mb-8 {
    margin-bottom: 2rem !important;
}

.mb-10 {
    margin-bottom: 2.5rem !important;
}

.mb-12 {
    margin-bottom: 3rem !important;
}

.mt-6 {
    margin-top: 1.5rem !important;
}

.mt-8 {
    margin-top: 2rem !important;
}

.mt-10 {
    margin-top: 2.5rem !important;
}

.mt-12 {
    margin-top: 3rem !important;
}

/* ── Transition Utilities ────────────────────────────── */
.transition-all {
    transition: all 0.3s ease !important;
}

.transition-colors {
    transition: color 0.2s, background-color 0.2s, border-color 0.2s !important;
}

/* ── Z-Index ─────────────────────────────────────────── */
.z-10 {
    z-index: 10 !important;
}

.z-40 {
    z-index: 40 !important;
}

.z-50 {
    z-index: 50 !important;
}

/* ── Width / Height extras ───────────────────────────── */
.w-10 {
    width: 2.5rem !important;
}

.w-12 {
    width: 3rem !important;
}

.w-14 {
    width: 3.5rem !important;
}

.w-16 {
    width: 4rem !important;
}

.w-32 {
    width: 8rem !important;
}

.w-80 {
    width: 20rem !important;
}

.h-10 {
    height: 2.5rem !important;
}

.h-12 {
    height: 3rem !important;
}

.h-14 {
    height: 3.5rem !important;
}

.h-16 {
    height: 4rem !important;
}

.h-24 {
    height: 6rem !important;
}

.min-vh-100 {
    min-height: 100vh !important;
}

/* ── Max-width utilities ─────────────────────────────── */
.max-w-lg {
    max-width: 32rem !important;
}

.max-w-2xl {
    max-width: 42rem !important;
}

.max-w-4xl {
    max-width: 56rem !important;
}

.max-w-5xl {
    max-width: 64rem !important;
}

/* ── Inset ───────────────────────────────────────────── */
.inset-0 {
    inset: 0 !important;
}

/* ── space-y helper ──────────────────────────────────── */
.space-y-1>*+* {
    margin-top: 0.25rem;
}

.space-y-3>*+* {
    margin-top: 0.75rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.space-y-8>*+* {
    margin-top: 2rem;
}

/* ── Prose (typographic container) ───────────────────── */
.prose {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    font-family: 'Playfair Display', serif;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose p {
    margin-bottom: 1.25rem;
}

.prose ul,
.prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose img {
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.prose blockquote {
    border-left: 4px solid #1e40af;
    padding-left: 1.5rem;
    font-style: italic;
    color: #6b7280;
}

/* ── Swiper pagination override ──────────────────────── */
.swiper-pagination-bullet-active {
    background: #1e40af !important;
}

/* ==========================================================
   MORPHING NAVIGATION — Stripe-style follow-along dropdown
   ========================================================== */

/* ── Header Container ───────────────────────────────── */
.dsh-morph-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.dsh-morph-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* ── Nav List & Trigger Buttons ─────────────────────── */
.dsh-morph-nav__list {
    height: 100%;
}

.dsh-morph-nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: #374151;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
}

.dsh-morph-nav__trigger:hover,
.dsh-morph-nav__trigger.active {
    color: #1e40af;
    background: rgba(30, 64, 175, 0.06);
}

.dsh-morph-arrow {
    font-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
}

.dsh-morph-nav__item[data-dropdown].active .dsh-morph-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* ── Morphing Dropdown Container ────────────────────── */
.dsh-morph-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.35s;
    z-index: 999;
    will-change: transform, opacity;
}

.dsh-morph-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* The white background container that morphs */
.dsh-morph-dropdown__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 1rem;
    box-shadow:
        0 50px 100px -20px rgba(50, 50, 93, 0.15),
        0 30px 60px -30px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    transition:
        width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Arrow pointing up */
.dsh-morph-dropdown__arrow {
    position: absolute;
    top: -8px;
    left: 50px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 3px 0 0 0;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.04);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* ── Panels ─────────────────────────────────────────── */
.dsh-morph-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0s 0.3s;
    pointer-events: none;
    overflow: hidden;
    border-radius: 1rem;
}

.dsh-morph-panel.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition:
        opacity 0.4s ease 0.05s,
        transform 0.4s ease 0.05s,
        visibility 0s;
    pointer-events: auto;
}

/* ── Panel Content Styles ───────────────────────────── */
.dsh-morph-panel__label {
    text-transform: uppercase;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.dsh-morph-panel__link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    margin: 0 -0.75rem;
    border-radius: 0.625rem;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

.dsh-morph-panel__link:hover {
    background-color: #f3f4f6;
    color: inherit;
}

.dsh-morph-panel__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.125rem;
    transition: transform 0.2s ease;
}

.dsh-morph-panel__link:hover .dsh-morph-panel__icon {
    transform: scale(1.1);
}

.dsh-morph-panel__title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.dsh-morph-panel__desc {
    display: block;
    font-size: 0.8125rem;
    color: #9ca3af;
    line-height: 1.4;
    margin-top: 0.125rem;
}

.dsh-morph-panel__quick-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
    padding: 0.375rem 0.5rem;
    margin: 0 -0.5rem;
    border-radius: 0.375rem;
    transition: color 0.2s, background-color 0.2s;
}

.dsh-morph-panel__quick-link:hover {
    color: #1e40af;
    background: rgba(30, 64, 175, 0.06);
}

.dsh-morph-panel__quick-link i {
    color: #d1d5db;
    transition: color 0.2s, transform 0.2s;
}

.dsh-morph-panel__quick-link:hover i {
    color: #1e40af;
    transform: translateX(2px);
}

.dsh-morph-panel__all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e40af;
    text-decoration: none;
    transition: gap 0.2s;
}

.dsh-morph-panel__all-link:hover {
    gap: 0.75rem;
    color: #1e40af;
}

.dsh-morph-panel__stat-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
}

/* ── Overlay ────────────────────────────────────────── */
.dsh-morph-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
    pointer-events: none;
}

.dsh-morph-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ── Topbar link hover ──────────────────────────────── */
.topbar-link:hover {
    color: #fff !important;
    opacity: 1;
}

/* ── Responsive: hide morph dropdown on mobile ──────── */
/* ── Responsive: hide morph dropdown on mobile ──────── */
@media (max-width: 991.98px) {

    .dsh-morph-dropdown,
    .dsh-morph-overlay {
        display: none !important;
    }
}

/* ── Mobile Menu Z-Index ────────────────────────────── */
.dsh-mobile-menu {
    z-index: 1005 !important;
}

.dsh-mobile-overlay {
    z-index: 1004 !important;
}

/* ── Mobile Nav Links ───────────────────────────────── */
.dsh-mobile-nav .menu-item {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.dsh-mobile-nav .menu-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: color 0.2s, padding-left 0.2s;
    font-family: 'Playfair Display', serif;
}

.dsh-mobile-nav .menu-item a:hover,
.dsh-mobile-nav .menu-item.current-menu-item>a {
    color: #1e40af;
    padding-left: 0.5rem;
}

.dsh-mobile-nav .sub-menu {
    list-style: none;
    padding-left: 1rem;
    border-left: 2px solid #e5e7eb;
    margin: 0.5rem 0 1rem 0;
}

.dsh-mobile-nav .sub-menu .menu-item {
    margin-bottom: 0 !important;
}

.dsh-mobile-nav .sub-menu a {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #4b5563;
    padding: 0.625rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

/* Fix for icons inside menu items if present */
.dsh-mobile-nav .menu-item i {
    font-size: 1.25rem;
    color: #6b7280;
    min-width: 24px;
    text-align: center;
}

.dsh-mobile-nav .menu-item.current-menu-item>a i,
.dsh-mobile-nav .menu-item a:hover i {
    color: #1e40af;
}

/* Reset any background colors from desktop grid classes */
.dsh-mobile-nav .bg-gray-50,
.dsh-mobile-nav .bg-primary-50,
.dsh-mobile-nav .bg-emerald-50,
.dsh-mobile-nav .bg-gold-50 {
    background-color: transparent !important;
}

/* Stagger animation for items would require JS or complex nth-child, keeping it simple/clean for now */

/* ==========================================================
   HOW IT WORKS — Premium Animated Timeline
   ========================================================== */

.dsh-how-it-works {
    padding: 6rem 0 5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 30%, #f0f4ff 70%, #ffffff 100%);
}

/* ── Ambient Background Blobs ─────────────────────── */
.dsh-hiw-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    animation: hiwBlobFloat 20s ease-in-out infinite;
}

.dsh-hiw-blob--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.15), transparent 70%);
    top: -100px;
    right: -150px;
}

.dsh-hiw-blob--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.12), transparent 70%);
    bottom: 100px;
    left: -120px;
    animation-delay: -7s;
}

.dsh-hiw-blob--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 70%);
    top: 40%;
    right: 10%;
    animation-delay: -14s;
}

@keyframes hiwBlobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -20px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 15px) scale(0.95);
    }

    75% {
        transform: translate(15px, 25px) scale(1.02);
    }
}

/* ── Gradient Title Text ──────────────────────────── */
.dsh-hiw-gradient-text {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 50%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Pulsing Dot ──────────────────────────────────── */
.dsh-hiw-pulse-dot {
    width: 8px;
    height: 8px;
    background: #1e40af;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.dsh-hiw-pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(30, 64, 175, 0.3);
    animation: hiwPulse 2s ease-in-out infinite;
}

@keyframes hiwPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ── Timeline Structure ───────────────────────────── */
.dsh-hiw-timeline {
    max-width: 1100px;
    margin: 0 auto;
}

.dsh-hiw-step {
    position: relative;
    margin-bottom: 3rem;
}

.dsh-hiw-step:last-child {
    margin-bottom: 0;
}

/* ── Animated Connector Line ──────────────────────── */
.dsh-hiw-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: #e5e7eb;
    border-radius: 2px;
    z-index: 0;
}

.dsh-hiw-line__fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #1e40af, #059669, #d97706, #7c3aed);
    border-radius: 2px;
    transition: height 0.08s linear;
    box-shadow: 0 0 12px rgba(30, 64, 175, 0.3);
}

/* ── Center Node ──────────────────────────────────── */
.dsh-hiw-node {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.dsh-hiw-node__ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    padding: 3px;
    background: var(--node-gradient);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9), 0 0 30px var(--node-glow);
    animation: hiwNodePulse 3s ease-in-out infinite;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dsh-hiw-step.is-visible .dsh-hiw-node__ring {
    opacity: 1;
    transform: scale(1);
}

@keyframes hiwNodePulse {

    0%,
    100% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9), 0 0 20px var(--node-glow);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.7), 0 0 40px var(--node-glow);
    }
}

.dsh-hiw-node__inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dsh-hiw-node__number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--node-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dsh-hiw-node__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ── Card ─────────────────────────────────────────── */
.dsh-hiw-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.25rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.dsh-hiw-step.is-visible .dsh-hiw-card {
    opacity: 1;
    transform: translateY(0);
}

.dsh-hiw-step--right.is-visible .dsh-hiw-card {
    transition-delay: 0.15s;
}

.dsh-hiw-card:hover {
    transform: translateY(-6px) !important;
    box-shadow:
        0 20px 40px -12px var(--step-glow),
        0 8px 16px rgba(0, 0, 0, 0.06);
}

/* Gradient accent line at top */
.dsh-hiw-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--step-gradient);
    border-radius: 1.25rem 1.25rem 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dsh-hiw-card:hover::before {
    opacity: 1;
}

.dsh-hiw-card__tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
}

.dsh-hiw-card__title {
    font-size: 1.25rem;
    color: #1f2937;
    font-family: 'Playfair Display', serif;
}

.dsh-hiw-card__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.dsh-hiw-card__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

/* ── Mobile Badge ─────────────────────────────────── */
.dsh-hiw-mobile-badge {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

/* ── CTA Button Extras ────────────────────────────── */
.dsh-hiw-cta {
    position: relative;
    overflow: hidden;
}

.dsh-hiw-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.dsh-hiw-cta:hover::before {
    left: 100%;
}

.dsh-hiw-cta-arrow {
    transition: transform 0.3s ease;
}

.dsh-hiw-cta:hover .dsh-hiw-cta-arrow {
    transform: translateX(4px);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 991.98px) {
    .dsh-how-it-works {
        padding: 4rem 0 3rem;
    }

    .dsh-hiw-step {
        margin-bottom: 1.5rem;
    }

    .dsh-hiw-card {
        opacity: 1;
        transform: none;
    }

    .dsh-hiw-blob {
        display: none;
    }
}

/* ==========================================================
   SERVICES GRID — Premium Card Design
   ========================================================== */

.dsh-services-section {
    padding: 6rem 0 5rem;
    background: #fafbff;
}

/* ── Background: Dot Grid ─────────────────────────── */
.dsh-svc-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(30, 64, 175, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* ── Background: Floating Orbs ────────────────────── */
.dsh-svc-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.35;
}

.dsh-svc-bg-orb--1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.18), transparent 70%);
    top: -80px;
    left: -120px;
    animation: svcOrbDrift 25s ease-in-out infinite;
}

.dsh-svc-bg-orb--2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12), transparent 70%);
    bottom: -60px;
    right: -100px;
    animation: svcOrbDrift 25s ease-in-out infinite reverse;
}

@keyframes svcOrbDrift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(25px, -15px);
    }

    66% {
        transform: translate(-15px, 20px);
    }
}

/* ── Section Badge ────────────────────────────────── */
.dsh-svc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 64, 175, 0.08);
    color: #1e40af;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    border: 1px solid rgba(30, 64, 175, 0.12);
}

.dsh-svc-badge__dot {
    width: 6px;
    height: 6px;
    background: #1e40af;
    border-radius: 50%;
    animation: hiwPulse 2s ease-in-out infinite;
}

/* ── Underline Text Decoration ────────────────────── */
.dsh-svc-underline-text {
    position: relative;
    display: inline-block;
}

.dsh-svc-underline-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 12px;
    background: linear-gradient(90deg, rgba(30, 64, 175, 0.15), rgba(124, 58, 237, 0.15));
    border-radius: 4px;
    z-index: -1;
}

/* ── Service Card ─────────────────────────────────── */
.dsh-svc-card {
    position: relative;
    border-radius: 1.25rem;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dsh-svc-card:hover {
    transform: translateY(-8px);
}

/* Animated gradient border glow */
.dsh-svc-card__border-glow {
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    padding: 1.5px;
    background: linear-gradient(135deg, transparent 40%, var(--svc-gradient));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dsh-svc-card:hover .dsh-svc-card__border-glow {
    opacity: 1;
}

/* Inner content */
.dsh-svc-card__inner {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.25rem;
    padding: 2rem;
    height: 100%;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s ease, border-color 0.3s ease;
}

.dsh-svc-card:hover .dsh-svc-card__inner {
    box-shadow: 0 20px 50px -15px var(--svc-glow), 0 8px 20px rgba(0, 0, 0, 0.04);
    border-color: transparent;
}

/* ── Icon ─────────────────────────────────────────── */
.dsh-svc-card__icon-wrap {
    position: relative;
    width: 64px;
    height: 64px;
}

.dsh-svc-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    background: var(--svc-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--svc-color);
    position: relative;
    z-index: 1;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.dsh-svc-card:hover .dsh-svc-card__icon {
    background: var(--svc-gradient);
    color: #fff;
    transform: scale(1.08);
}

.dsh-svc-card__icon-ring {
    position: absolute;
    inset: -6px;
    border-radius: 1.15rem;
    border: 2px dashed var(--svc-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: svcRingSpin 12s linear infinite;
}

.dsh-svc-card:hover .dsh-svc-card__icon-ring {
    opacity: 0.25;
}

@keyframes svcRingSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Card Text ────────────────────────────────────── */
.dsh-svc-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.dsh-svc-card:hover .dsh-svc-card__title {
    color: var(--svc-color);
}

.dsh-svc-card__desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #6b7280;
    margin-bottom: 1.25rem;
}

/* ── Content Display Section ──────────────────────── */
.dsh-content-display-section {
    min-height: 80vh;
    /* Minimum height for visual impact */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dsh-content-sticky-wrap {
    position: sticky;
    top: 6rem;
    /* Adjust based on header height */
    align-self: start;
}

/* ── CTA ──────────────────────────────────────────── */
.dsh-svc-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--svc-color);
    transition: gap 0.3s ease;
}

.dsh-svc-card:hover .dsh-svc-card__cta {
    gap: 0.625rem;
}

.dsh-svc-card__cta-arrow {
    transition: transform 0.3s ease;
}

.dsh-svc-card:hover .dsh-svc-card__cta-arrow {
    transform: translate(2px, -2px);
}

/* ── View All Link ────────────────────────────────── */
.dsh-svc-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1e40af;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border: 2px solid rgba(30, 64, 175, 0.2);
    border-radius: 2rem;
    transition: all 0.3s ease;
}

.dsh-svc-all-link:hover {
    background: #1e40af;
    color: #fff;
    border-color: #1e40af;
    gap: 0.75rem;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 991.98px) {
    .dsh-services-section {
        padding: 4rem 0 3rem;
    }

    .dsh-svc-bg-orb {
        display: none;
    }
}

/* ==========================================================
   WRITERS SECTION — V2 Premium Design
   ========================================================== */

.dsh-writers-section {
    padding: 10rem 0;
}

/* ── Card Container ───────────────────────────────── */
.dsh-writer-v2-card {
    position: relative;
    border-radius: 2rem;
    padding: 2.5rem 1.5rem;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    isolation: isolate;
}

.dsh-writer-v2-card:hover {
    transform: translateY(-12px) scale(1.02);
}

/* Glass Background */
.dsh-writer-v2-glass {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 2rem;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.03),
        0 20px 48px rgba(0, 0, 0, 0.05);
    z-index: -1;
    transition: all 0.6s ease;
}

.dsh-writer-v2-card:hover .dsh-writer-v2-glass {
    background: #ffffff;
    border-color: transparent;
    box-shadow:
        0 20px 60px -15px var(--writer-glow),
        0 8px 16px rgba(0, 0, 0, 0.04);
}

/* Top Accent Line */
.dsh-writer-v2-accent {
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 4px;
    background: var(--writer-gradient);
    border-radius: 0 0 10px 10px;
    opacity: 0.4;
    transition: all 0.6s ease;
}

.dsh-writer-v2-card:hover .dsh-writer-v2-accent {
    left: 0;
    right: 0;
    border-radius: 2rem 2rem 0 0;
    opacity: 1;
}

/* ── Avatar ───────────────────────────────────────── */
.dsh-writer-v2-avatar-wrap {
    width: 120px;
    height: 120px;
    position: relative;
}

.dsh-writer-v2-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dsh-writer-v2-avatar-glow {
    position: absolute;
    inset: -10px;
    background: var(--writer-gradient);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.dsh-writer-v2-card:hover .dsh-writer-v2-avatar-glow {
    opacity: 0.3;
}

.dsh-writer-v2-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    background: #059669;
    /* Emerald 600 */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 3;
    font-size: 0.875rem;
}

/* ── Typography ──────────────────────────────────── */
.dsh-writer-v2-role {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--writer-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Stats ────────────────────────────────────────── */
.dsh-writer-v2-stats {
    background: rgba(243, 244, 246, 0.5);
    /* gray-100 */
    border-radius: 1.25rem;
    padding: 0.5rem;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.dsh-writer-v2-card:hover .dsh-writer-v2-stats {
    background: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* ── Buttons ─────────────────────────────────────── */
.dsh-writer-v2-btn-sample {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: transparent;
    border: 1.5px solid #e5e7eb;
    border-radius: 1rem;
    color: #4b5563;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dsh-writer-v2-btn-sample:hover {
    border-color: #9ca3af;
    color: #111827;
    background: #f9fafb;
}

.dsh-writer-v2-btn-hire {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    background: var(--writer-gradient);
    color: #fff;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px -5px var(--writer-glow);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.dsh-writer-v2-btn-hire::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.dsh-writer-v2-btn-hire:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px -8px var(--writer-glow);
}

.dsh-writer-v2-btn-hire:hover::before {
    left: 150%;
}

.dsh-writer-v2-btn-hire i {
    transition: transform 0.3s ease;
}

.dsh-writer-v2-btn-hire:hover i {
    transform: translateX(4px);
}

/* Trust Pill */
.-space-x-3>* {
    margin-left: -0.75rem;
}

.-space-x-3>*:first-child {
    margin-left: 0;
}

/* ==========================================================
   FRONT PAGE CONTENT DISPLAY
   ========================================================== */

.dsh-content-display-section {
    position: relative;
    background: #fdfdff;
}

.dsh-content-bg-decor {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.15;
    z-index: 0;
}

.dsh-content-bg-decor--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.dsh-content-bg-decor--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #1e40af 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
}

.dsh-content-main-heading {
    color: #1a1a2e;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.dsh-content-accent-bar {
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, #1e40af, #7c3aed);
    border-radius: 10px;
}

.dsh-content-text-block p {
    color: #52525b;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

@media (min-width: 992px) {
    .dsh-content-sticky-wrap {
        position: sticky;
        top: 120px;
    }
}

.dsh-client-avatars .-space-x-3>* {
    margin-left: -12px;
}


/* ── Mobile Menu Accordion ── */
.dsh-mobile-nav .menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.dsh-mobile-nav .menu-item-has-children>a {
    flex: 1;
    min-width: 0;
}

.dsh-mobile-sub-toggle {
    background: transparent;
    border: none;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #6b7280;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
}

.dsh-mobile-nav .menu-item-has-children.is-open>.dsh-mobile-sub-toggle {
    transform: rotate(180deg);
    color: #1e40af;
}

.dsh-mobile-nav .sub-menu {
    display: none;
    width: 100%;
    flex-basis: 100%;
    padding-left: 1rem;
    border-left: 2px solid #e5e7eb;
    margin: 0.5rem 0 1rem 0;
    animation: dshSlideDown 0.3s ease forwards;
}

.dsh-mobile-nav .menu-item-has-children.is-open>.sub-menu {
    display: block;
}

@keyframes dshSlideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}