/* ==========================================================================
   DEVA HOME — APP DASHBOARD STYLE
   Prefix: dha- (new layout) | dmm- (reused components, kept as-is)
   No conflicts with: #dmm-app-header, #dmm-app-drawer, .dmm-bottom-nav
   ========================================================================== */

/* Allow full-width content inside theme shell */
.dmm-app-content-inner {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* ── ROOT ─────────────────────────────────────────────────────────────────── */
.dha-home {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--dmm-bg-main, #f8fafc);
    color: var(--dmm-text-main, #1e293b);
    overflow-x: hidden;
}

.dha-home h1, .dha-home h2, .dha-home h3, .dha-home h4 {
    font-family: 'Hanken Grotesk', sans-serif;
}

.dha-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ── WELCOME SECTION ─────────────────────────────────────────────────────── */
.dha-welcome-section {
    background: linear-gradient(150deg, #010c1f 0%, #001550 50%, #00338f 100%);
    padding: 28px 0 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.dha-welcome-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 80%, rgba(0,88,190,0.3) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(0,230,118,0.08) 0%, transparent 45%);
    pointer-events: none;
}

/* Coach identity row */
.dha-welcome-hero {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.dha-coach-mark {
    position: relative;
    flex-shrink: 0;
}

.dha-coach-avatar {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    background: linear-gradient(135deg, #0058be 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 24px rgba(0,88,190,0.35);
}

.dha-live-indicator {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 15px;
    height: 15px;
    background: #00e676;
    border-radius: 50%;
    border: 2.5px solid #010c1f;
    animation: dhaLivePulse 2s infinite ease-in-out;
}

@keyframes dhaLivePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,230,118,0.5); }
    50%       { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(0,230,118,0); }
}

.dha-welcome-text { flex: 1; }

.dha-welcome-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 8px;
}

.dha-welcome-title {
    font-size: clamp(1.7rem, 4.5vw, 2.6rem) !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 10px !important;
    line-height: 1.2 !important;
    letter-spacing: -1px;
}

.dha-welcome-title span {
    color: #00e676;
    display: inline;
}

.dha-welcome-desc {
    font-size: 14.5px !important;
    color: rgba(255,255,255,0.65) !important;
    margin: 0 !important;
    line-height: 1.55 !important;
}

/* CTA buttons */
.dha-welcome-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.dha-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0058be;
    color: #fff !important;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0,88,190,0.35);
}

.dha-btn-primary:hover {
    background: #004eab;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,88,190,0.45);
}

.dha-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.07);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2);
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.dha-btn-ghost:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.35);
}

/* Quick navigation pills */
.dha-pills-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px;
    position: relative;
    z-index: 2;
}

.dha-pills-wrapper::-webkit-scrollbar { display: none; }

.dha-pills-inner {
    display: flex;
    gap: 8px;
    padding: 12px 20px 20px;
    width: max-content;
}

.dha-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 20px;
    color: rgba(255,255,255,0.8) !important;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    backdrop-filter: blur(6px);
}

.dha-pill:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.28);
    color: #fff !important;
}

.dha-pill-live {
    background: rgba(239,68,68,0.14);
    border-color: rgba(239,68,68,0.28);
    color: #ff8a80 !important;
}

.dha-pill-live:hover {
    background: rgba(239,68,68,0.24);
    color: #ffb3ae !important;
}

.dha-pill-dot {
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
    animation: dhaLivePulse 1.5s infinite;
}

/* ── MODULE SYSTEM ───────────────────────────────────────────────────────── */
.dha-module {
    padding: 28px 0;
    background: var(--dmm-bg-main, #f8fafc);
}

.dha-module-white { background: #fff; }

.dha-module-dark {
    background: linear-gradient(160deg, #020b1e 0%, #00236f 100%);
    color: #fff;
}

.dha-module-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.dha-module-tag {
    display: inline-block;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #0058be;
    background: rgba(0,88,190,0.08);
    padding: 4px 10px;
    border-radius: 6px;
    border-left: 2px solid currentColor;
    margin-bottom: 6px;
}

.dha-tag-green { color: #00c853; background: rgba(0,200,83,0.1); border-left-color: #00c853; }
.dha-tag-blue  { color: #60a5fa; background: rgba(96,165,250,0.1); border-left-color: #60a5fa; }

.dha-module-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: clamp(1.25rem, 2.8vw, 1.7rem) !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin: 0 !important;
    letter-spacing: -0.5px;
    line-height: 1.2 !important;
}

.dha-title-white { color: #fff !important; }

.dha-see-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0058be !important;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    padding-bottom: 2px;
    transition: gap 0.2s ease;
}

.dha-see-all:hover { gap: 8px; }

.dha-module-dark .dha-see-all { color: #60a5fa !important; }

/* ── HORIZONTAL SCROLL ROWS ──────────────────────────────────────────────── */
/* Mobile-first: flex scroll row */
.dha-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 4px 20px 12px;
}

.dha-scroll-wrap::-webkit-scrollbar { display: none; }

.dha-cards-row {
    display: flex;
    gap: 16px;
    width: max-content;
}

.dha-scroll-card {
    width: 230px;
    flex-shrink: 0;
}

/* Desktop: convert to grid */
@media (min-width: 1025px) {
    .dha-scroll-wrap {
        overflow: visible;
        margin: 0;
        padding: 0;
    }
    .dha-cards-row {
        display: grid;
        gap: 20px;
        width: 100%;
    }
    .dha-live-row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .dha-courses-row { grid-template-columns: repeat(3, 1fr); }
    .dha-scroll-card { width: auto; }

    /* max 3 visible per row for live cards if few */
    .dha-row-count-1 { grid-template-columns: minmax(280px, 420px); }
    .dha-row-count-2 { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
}

/* ── LIVE CARD COMPONENT (dmm- classes kept) ─────────────────────────────── */
.dmm-live-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    overflow: hidden;
}

.dmm-live-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: transparent;
    transition: background 0.3s ease;
}

.dmm-live-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15,23,42,0.08);
    border-color: #cbd5e1;
}

.dmm-live-card:hover::before { background: linear-gradient(180deg, #0058be 0%, #00e676 100%); }

.dmm-live-card-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 2px 7px;
    border-radius: 5px;
    margin-bottom: 7px;
}

.dmm-live-card-badge.morning  { background: rgba(217,119,6,0.08);   color: #d97706; }
.dmm-live-card-badge.evening  { background: rgba(79,70,229,0.08);   color: #4f46e5; }
.dmm-live-card-badge.qa       { background: rgba(16,185,129,0.08);  color: #10b981; }
.dmm-live-card-badge.custom,
.dmm-live-card-badge.special  { background: rgba(124,58,237,0.08);  color: #7c3aed; }

.dmm-live-card-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #1e293b !important;
    margin: 0 0 8px !important;
    letter-spacing: -0.2px;
}

.dmm-live-card-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
    flex-grow: 1;
}

.dmm-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
}

.dmm-detail-item svg { color: #94a3b8; flex-shrink: 0; }

.dmm-live-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 1.5px solid #0058be;
    color: #0058be !important;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 7px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.dmm-live-card:hover .dmm-live-card-btn {
    background: #0058be;
    color: #fff !important;
}

.dmm-card-ordinal {
    position: absolute;
    top: -10px; right: 14px;
    font-size: 100px;
    font-weight: 900;
    color: rgba(0,35,111,0.035);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

/* Fallback banner */
.dmm-fallback-banner {
    position: relative;
    background: linear-gradient(135deg, #00236f 0%, #0058be 100%);
    border-radius: 20px;
    padding: 36px;
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.dmm-fallback-glow {
    position: absolute;
    top: -50%; right: -20%;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
}

.dmm-fallback-content { position: relative; z-index: 2; }

.dmm-fallback-content h3 {
    font-size: 22px !important; font-weight: 800 !important;
    color: #fff !important; margin: 0 0 8px !important;
}

.dmm-fallback-content p {
    font-size: 14px !important; color: rgba(255,255,255,0.75) !important;
    margin: 0 0 20px !important;
}

/* ── COURSE CARD COMPONENT ───────────────────────────────────────────────── */
.dmm-course-card {
    background: #fff;
    border: 1px solid #e8edf4;
    border-bottom: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}

.dmm-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,35,111,0.1);
    border-bottom-color: #0058be;
}

.dmm-course-image-wrap {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: #f1f5f9;
}

.dmm-course-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dmm-course-card:hover .dmm-course-img { transform: scale(1.05); }

.dmm-course-number {
    position: absolute;
    top: 10px; left: 10px;
    background: rgba(0,35,111,0.7);
    color: #fff;
    font-size: 10px; font-weight: 800;
    padding: 3px 8px;
    border-radius: 5px;
    backdrop-filter: blur(6px);
    z-index: 5;
}

.dmm-course-placeholder {
    width: 100%; height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.dmm-placeholder-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
}

.dmm-placeholder-icon {
    position: relative; z-index: 2;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}

.dmm-placeholder-text {
    position: relative; z-index: 2;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: rgba(255,255,255,0.55);
}

.dmm-course-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dmm-course-eyebrow {
    font-size: 9.5px !important; font-weight: 800 !important;
    text-transform: uppercase; letter-spacing: 2px;
    color: #0058be !important; display: block; margin-bottom: 5px !important;
}

.dmm-course-title {
    font-size: 14px !important; font-weight: 700 !important;
    line-height: 1.3 !important; color: #1e293b !important;
    margin: 0 0 6px !important; letter-spacing: -0.2px;
}

.dmm-course-title a { color: inherit !important; text-decoration: none !important; }

.dmm-course-excerpt {
    font-size: 11px !important; color: #64748b !important;
    margin: 0 0 10px !important; line-height: 1.5 !important;
}

.dmm-course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
    margin-top: auto;
}

.dmm-course-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px; font-weight: 700;
    color: #00c853;
}

.dmm-course-link {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 12.5px; font-weight: 700;
    color: #0058be !important;
    text-decoration: none !important;
    display: inline-flex; align-items: center; gap: 3px;
    transition: gap 0.2s ease;
}

.dmm-course-card:hover .dmm-course-link { gap: 6px; }

/* ── STATS STRIP ─────────────────────────────────────────────────────────── */
.dha-stats-strip {
    background: linear-gradient(135deg, #00236f 0%, #0058be 100%);
    padding: 24px 0;
}

.dha-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.dha-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.dha-stat-item:last-child { border-right: none; }

.dha-stat-num {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -2px;
}

.dha-stat-label {
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 5px;
    text-align: center;
}

/* ── VIDEO GRID ──────────────────────────────────────────────────────────── */
.dha-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.dha-video-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.dha-video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15,23,42,0.07);
}

.dha-video-featured { grid-row: unset; }

.dmm-video-featured-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: #00e676;
    color: #00236f;
    font-size: 9.5px; font-weight: 800;
    padding: 3px 9px;
    border-radius: 5px;
    z-index: 10;
}

.dmm-video-thumbnail-wrap {
    position: relative;
    height: 115px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.dmm-video-thumb {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.88;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.dmm-video-thumbnail-wrap:hover .dmm-video-thumb {
    transform: scale(1.04);
    opacity: 0.75;
}

.dmm-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 38px; height: 38px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(239,68,68,0.45);
    transition: all 0.3s ease;
}

.dmm-play-btn svg { margin-left: 2px; }

.dmm-video-thumbnail-wrap:hover .dmm-play-btn {
    transform: translate(-50%, -50%) scale(1.12);
}

.dmm-video-info { padding: 10px; }

.dmm-video-info h4 {
    font-size: 12px !important; font-weight: 700 !important;
    line-height: 1.3 !important; color: #1e293b !important;
    margin: 0 0 3px !important;
}

.dmm-video-info p {
    font-size: 10.5px !important; color: #64748b !important;
    margin: 0 !important; line-height: 1.45 !important;
}

/* ── CALCULATOR COMPONENT ────────────────────────────────────────────────── */
.dha-calc-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 32px;
}

.dha-calc-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.dmm-calc-bg-number {
    position: absolute;
    font-size: 280px;
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    right: -40px; bottom: -60px;
    pointer-events: none;
    z-index: 0;
    line-height: 1;
    letter-spacing: -8px;
}

.dmm-calculator-sliders {
    display: flex;
    flex-direction: column;
    gap: 28px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px;
}

.dmm-calc-group { display: flex; flex-direction: column; gap: 10px; }

.dmm-calc-label-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dmm-calc-label {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px; font-weight: 800;
    color: #fff;
    text-transform: uppercase; letter-spacing: 0.4px;
}

.dmm-calc-val {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 15px; font-weight: 800;
    color: #00e676;
    background: rgba(0,230,118,0.12);
    padding: 3px 10px;
    border-radius: 7px;
    min-width: 50px;
    text-align: center;
}

.dmm-calc-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%; height: 7px;
    border-radius: 10px;
    outline: none;
    background: rgba(255,255,255,0.1);
    transition: background 0.1s ease;
}

.dmm-calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #00e676;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,230,118,0.3);
    transition: transform 0.15s ease;
}

.dmm-calc-range::-webkit-slider-thumb:hover { transform: scale(1.15); }

.dmm-calculator-result {
    background: linear-gradient(135deg, #020b1e 0%, #00236f 100%);
    border-radius: 16px;
    padding: 28px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.dmm-calculator-result::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at top right, rgba(0,230,118,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.dmm-growth-meter-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative; z-index: 2;
}

.dmm-growth-circle-svg {
    width: 80px; height: 80px;
    transform: rotate(-90deg);
}

.dmm-growth-circle-bg  { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 8px; }

.dmm-growth-circle-fill {
    fill: none;
    stroke: #00e676;
    stroke-width: 8px;
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 60;
    transition: stroke-dashoffset 0.35s ease;
}

.dmm-growth-number-wrap { display: flex; flex-direction: column; }

.dmm-growth-score-val {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 44px; font-weight: 800;
    color: #fff; line-height: 1; letter-spacing: -2px;
}

.dmm-growth-score-val span { color: #00e676; }

.dmm-growth-score-lbl {
    font-size: 11px; color: rgba(255,255,255,0.55);
    text-transform: uppercase; font-weight: 700;
    letter-spacing: 1px; margin-top: 3px;
}

.dmm-growth-advice-box {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
    position: relative; z-index: 2;
}

.dmm-growth-advice-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px; font-weight: 800;
    color: #00e676; margin-bottom: 6px;
}

.dmm-growth-advice-text {
    font-size: 13px;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
}

.dmm-growth-advice-text strong { color: #fff; }

.dmm-growth-cta-btn {
    display: block;
    background: #00e676;
    color: #00236f !important;
    width: 100%;
    padding: 11px 16px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 13px; font-weight: 900;
    border-radius: 10px;
    text-align: center;
    text-decoration: none !important;
    position: relative; z-index: 2;
    transition: all 0.25s ease;
}

.dmm-growth-cta-btn:hover {
    background: #fff;
    transform: translateY(-1px);
}

/* ── PLANS SECTION ───────────────────────────────────────────────────────── */
/* Shortcode handles its own layout — just needs the module wrapper */
#plans .dha-container { padding-bottom: 0; }

/* ── TESTIMONIALS ────────────────────────────────────────────────────────── */
.dha-testimonials-wrap { max-width: 760px; margin: 0 auto; }

.dmm-testimonials-carousel {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
}

.dmm-testimonials-track {
    display: flex;
    width: 100%;
    will-change: transform;
}

.dmm-testimonial-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 36px 40px;
    box-sizing: border-box;
}

.dmm-testimonial-card { display: flex; flex-direction: column; }

.dmm-testimonial-card::before {
    content: '"';
    font-size: 100px; font-weight: 900;
    color: #00e676; opacity: 0.35;
    line-height: 0.85;
    margin-bottom: 10px;
}

.dmm-testimonial-rating {
    font-size: 15px; color: #fbbf24;
    margin-bottom: 14px; letter-spacing: 2px;
}

.dmm-testimonial-text {
    font-size: 17px !important; color: #fff !important;
    line-height: 1.7 !important; margin: 0 0 24px !important;
}

.dmm-testimonial-user { display: flex; align-items: center; gap: 12px; }

.dmm-user-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0058be 0%, #00236f 100%);
    color: #fff; font-weight: 800; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}

.dmm-testimonial-user h4 {
    font-size: 14px !important; font-weight: 800 !important;
    color: #fff !important; margin: 0 0 2px !important;
}

.dmm-testimonial-user span {
    font-size: 11px; color: rgba(255,255,255,0.45);
    text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px;
}

.dmm-carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.dmm-carousel-arrow {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.6);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.dmm-carousel-arrow:hover {
    background: #00e676;
    color: #00236f;
    border-color: #00e676;
}

.dmm-carousel-dots { display: flex; gap: 7px; }

.dmm-carousel-dot {
    width: 7px; height: 7px;
    background: rgba(255,255,255,0.2);
    border: none; border-radius: 50%;
    cursor: pointer; padding: 0;
    transition: all 0.25s ease;
}

.dmm-carousel-dot.active {
    width: 22px; border-radius: 10px;
    background: #00e676;
}

/* ── FAQ COMPONENT ───────────────────────────────────────────────────────── */
.dmm-faq-search-wrapper {
    max-width: 580px;
    margin: 0 auto 24px auto;
}

.dmm-faq-search-bar { position: relative; }

.dmm-faq-search-bar svg {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.dmm-faq-search-input {
    width: 100%;
    padding: 13px 16px 13px 48px;
    font-size: 14px;
    font-family: 'Source Sans 3', sans-serif;
    color: #1e293b;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.03);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.dmm-faq-search-input:focus {
    border-color: #0058be;
    box-shadow: 0 0 0 3px rgba(0,88,190,0.1);
    outline: none;
}

.dmm-faq-accordion {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dmm-faq-item {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.dmm-faq-item:hover { box-shadow: 0 4px 10px rgba(0,0,0,0.07); }

.dmm-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    padding: 18px 22px;
    text-align: left;
    cursor: pointer;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px; font-weight: 700;
    color: #1e293b;
    transition: color 0.25s ease;
}

.dmm-faq-trigger:hover { color: #0058be; }

.dmm-faq-icon {
    color: #94a3b8;
    transition: transform 0.3s ease, color 0.25s ease;
    flex-shrink: 0;
}

.dmm-faq-trigger:hover .dmm-faq-icon { color: #0058be; }

.dmm-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1);
    background: #f8fafc;
}

.dmm-faq-content p {
    font-size: 14px !important; color: #475569 !important;
    line-height: 1.65 !important;
    padding: 0 22px 20px 22px !important; margin: 0 !important;
}

.dmm-faq-num {
    font-size: 11px; font-weight: 900;
    color: #0058be; min-width: 26px; opacity: 0.5;
}

.dmm-faq-item.active {
    border-left: 3px solid #0058be;
    box-shadow: 0 4px 12px rgba(0,88,190,0.07);
}

.dmm-faq-item.active .dmm-faq-trigger { color: #0058be; }
.dmm-faq-item.active .dmm-faq-icon    { transform: rotate(180deg); color: #0058be; }

.dmm-faq-empty-state {
    display: none;
    text-align: center;
    padding: 40px;
    background: #f8fafc;
    border: 1px dashed #e2e8f0;
    border-radius: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.dmm-faq-empty-state svg { color: #94a3b8; margin-bottom: 10px; }

.dmm-faq-empty-state h4 {
    font-size: 16px; font-weight: 800; color: #475569; margin-bottom: 4px;
}

.dmm-faq-empty-state p { font-size: 13.5px; color: #94a3b8; }

/* ── ABOUT MODULE ────────────────────────────────────────────────────────── */
.dha-about-card {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: 48px;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-left: 4px solid #00e676;
    border-radius: 20px;
    padding: 36px;
}

.dha-about-stats-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.dha-about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.07);
}

.dha-about-stat-num {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -2px;
}

.dha-about-stat-lbl {
    font-size: 10.5px; font-weight: 700;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase; letter-spacing: 1.2px;
}

.dha-about-title {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 8px 0 16px !important;
    letter-spacing: -1px;
}

.dha-about-lead {
    font-size: 15.5px; color: #fff;
    font-weight: 600; line-height: 1.6;
    margin-bottom: 12px;
}

.dha-about-text {
    font-size: 14.5px;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin-bottom: 24px;
}

.dha-about-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.dha-wa-inline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px; font-weight: 700;
    color: #25d366 !important;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.dha-wa-inline-btn:hover { color: #1ebe5d !important; }

/* ── WHATSAPP BANNER ─────────────────────────────────────────────────────── */
.dha-wa-banner {
    background: linear-gradient(135deg, #020b1e 0%, #00236f 100%);
    padding: 32px 0;
    color: #fff;
}

.dha-wa-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.dha-wa-banner-text h3 {
    font-size: 22px !important; font-weight: 800 !important;
    color: #fff !important; margin: 0 0 4px !important; letter-spacing: -0.5px;
}

.dha-wa-banner-text p {
    font-size: 13.5px !important; color: rgba(255,255,255,0.65) !important;
    margin: 0 !important;
}

.dha-wa-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff !important;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 15px; font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(37,211,102,0.3);
    white-space: nowrap;
}

.dha-wa-banner-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37,211,102,0.4);
}

/* ── FLOATING WHATSAPP BUTTON ────────────────────────────────────────────── */
.dmm-floating-whatsapp {
    position: fixed;
    bottom: 28px; right: 24px;
    width: 56px; height: 56px;
    background: #25d366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    box-shadow: 0 8px 22px rgba(37,211,102,0.35);
    z-index: 9000;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    animation: dmmPulseBtn 2.5s infinite;
}

/* Sit above bottom nav on mobile */
@media (max-width: 1024px) {
    .dmm-floating-whatsapp {
        bottom: calc(var(--dmm-bottom-nav-height, 64px) + 16px);
    }
}

.dmm-floating-whatsapp:hover {
    transform: scale(1.1) rotate(6deg);
    background: #128c7e;
    box-shadow: 0 14px 30px rgba(37,211,102,0.5);
}

.dmm-floating-whatsapp-tooltip {
    position: absolute;
    right: 68px;
    background: #0f172a;
    color: #fff;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 12px; font-weight: 700;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0; visibility: hidden;
    transition: all 0.25s ease;
    transform: translateX(8px);
}

.dmm-floating-whatsapp:hover .dmm-floating-whatsapp-tooltip {
    opacity: 1; visibility: visible; transform: translateX(0);
}

/* ── EMPTY STATE ─────────────────────────────────────────────────────────── */
.dha-empty-state {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
}

.dha-empty-state svg { margin-bottom: 12px; color: #cbd5e1; }
.dha-empty-state p { font-size: 14px; }

/* ── DMMT BUTTON (reused by fallback banner) ─────────────────────────────── */
.dmm-btn {
    display: inline-flex;
    align-items: center; justify-content: center;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px; font-weight: 700;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.25s ease;
    text-decoration: none !important;
    cursor: pointer; border: none; outline: none;
}

.dmm-btn-primary {
    background: linear-gradient(135deg, #0058be 0%, #00236f 100%);
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(0,88,190,0.28);
}

.dmm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,88,190,0.38);
}

/* ── KEYFRAME ANIMATIONS ─────────────────────────────────────────────────── */
@keyframes dmmPulseBtn {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .dha-about-card {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .dha-calc-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .dha-video-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .dha-video-featured { grid-row: auto; }
    .dha-video-featured .dmm-video-thumbnail-wrap { height: 200px; }
}

@media (max-width: 768px) {
    .dha-module { padding: 22px 0; }
    .dha-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dha-stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .dha-stat-item:nth-child(2n) { border-right: none; }
    .dha-stat-item:nth-last-child(-n+2) { border-bottom: none; }
    .dha-wa-banner-inner { flex-direction: column; align-items: stretch; }
    .dha-wa-banner-btn  { text-align: center; justify-content: center; }
    .dmm-testimonial-slide { padding: 24px 20px; }
    .dmm-testimonial-text  { font-size: 15px !important; }
    .dha-calc-wrap { padding: 20px; }
    .dmm-calculator-sliders { padding: 22px; gap: 22px; }
}

@media (max-width: 480px) {
    .dha-welcome-title { letter-spacing: -0.5px; }
    .dha-about-stats-col { grid-template-columns: repeat(2, 1fr); }
    .dmm-growth-score-val { font-size: 34px !important; }
    .dmm-calc-bg-number { font-size: 160px; right: -40px; bottom: -30px; }
}

/* ── HOME PAGE PLAN CARDS — live-card style (scoped to .dha-home) ──────────── */
.dha-home .dmm-membership-wrap .dmm-section {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    margin: 0 -20px !important;
    padding: 4px 20px 12px !important;
}

.dha-home .dmm-membership-wrap .dmm-section::-webkit-scrollbar { display: none; }

.dha-home .dmm-plans-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    gap: 14px !important;
    margin-top: 20px !important;
    margin-bottom: 24px !important;
    grid-template-columns: unset !important;
}

.dha-home .dmm-plan-card {
    width: 230px !important;
    flex-shrink: 0 !important;
}

.dha-home .dmm-plan-card {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1) !important;
    position: relative !important;
    overflow: hidden !important;
    height: auto !important;
    text-align: left !important;
}

.dha-home .dmm-plan-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: transparent;
    transition: background 0.3s ease;
}

.dha-home .dmm-plan-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 32px rgba(15,23,42,0.08) !important;
    border-color: #cbd5e1 !important;
}

.dha-home .dmm-plan-card:hover::before {
    background: linear-gradient(180deg, #0058be 0%, #00e676 100%);
}

.dha-home .dmm-plan-card--featured {
    border: 1px solid #0058be !important;
}

.dha-home .dmm-plan-badge {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    align-self: flex-start !important;
    background: rgba(0,88,190,0.08) !important;
    color: #0058be !important;
    font-size: 9px !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    margin-bottom: 7px !important;
}

.dha-home .dmm-plan-card__content {
    padding: 0 !important;
}

.dha-home .dmm-plan-card__header {
    margin-bottom: 8px !important;
}

.dha-home .dmm-plan-title {
    font-size: 15px !important;
    color: #1e293b !important;
    margin: 0 0 10px 0 !important;
    letter-spacing: -0.2px !important;
}

.dha-home .dmm-plan-price {
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin-bottom: 10px !important;
}

.dha-home .dmm-price-original {
    flex-direction: row !important;
    margin-bottom: 0 !important;
    opacity: 1 !important;
}

.dha-home .dmm-price-value-old {
    font-size: 12px !important;
    color: #94a3b8 !important;
}

.dha-home .dmm-price-currency {
    font-size: 13px !important;
    margin-top: 0 !important;
    align-self: baseline !important;
}

.dha-home .dmm-price-current {
    gap: 2px !important;
}

.dha-home .dmm-price-value {
    font-size: 22px !important;
    color: #0058be !important;
    letter-spacing: -0.5px !important;
}

.dha-home .dmm-price-period {
    font-size: 11px !important;
}

.dha-home .dmm-plan-features-sections {
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 8px !important;
    gap: 0 !important;
    margin-bottom: 10px !important;
}

.dha-home .dmm-plan-feature-group { gap: 4px !important; }

.dha-home .dmm-feature-group-title {
    font-size: 10px !important;
    margin-bottom: 4px !important;
}

.dha-home .dmm-plan-features li {
    font-size: 11px !important;
    margin-bottom: 4px !important;
    gap: 6px !important;
}

.dha-home .dmm-feature-check {
    width: 16px !important;
    height: 16px !important;
}

.dha-home .dmm-offer-countdown { display: none !important; }

.dha-home .dmm-plan-card__footer {
    padding: 0 !important;
}

.dha-home .dmm-btn-choose-plan {
    min-height: unset !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
    gap: 5px !important;
    background: transparent !important;
    border: 1.5px solid #0058be !important;
    color: #0058be !important;
    border-radius: 7px !important;
    box-shadow: none !important;
}

.dha-home .dmm-plan-card:hover .dmm-btn-choose-plan,
.dha-home .dmm-btn-choose-plan:hover {
    background: #0058be !important;
    color: #fff !important;
    transform: none !important;
}

.dha-home .dmm-btn-know-more { display: none !important; }
