/* ==========================================================================
   Disciply Home Redesign — ad-creative inspired design system
   Deep navy bg, purple/pink gradients, script accents, capsule shapes.
   All classes are namespaced with .dh- and scoped under .dh-page.
   ========================================================================== */

/* Page-level overrides for the Purpose theme (scoped to pages containing .dh-page) */
body:has(.dh-page) {
    background-color: #0b0b1e;
}

/* Purpose gives sections a white background; keep them transparent inside the dark page */
.dh-page section {
    background-color: transparent;
}

/* Neutralize Purpose's rotated white footer wedge on the dark home page */
body:has(.dh-page) .footer-rotate {
    margin-top: 0;
    padding-top: 0;
}

body:has(.dh-page) .footer-rotate::before {
    display: none;
}

body:has(.dh-page) #footer-main .footer {
    background: linear-gradient(160deg, #1a1740 0%, #0b0b1e 78%) !important;
    border-top: 1px solid rgba(139, 92, 246, 0.25);
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
}

/* Header CTA: swap Purpose's warning button for the brand gradient pill */
body:has(.dh-page) #navbar-main .btn-warning {
    background: linear-gradient(90deg, #e935c1 0%, #7c3aed 100%);
    border: 0;
    color: #fff;
    box-shadow: 0 8px 20px rgba(233, 53, 193, 0.35);
}

body:has(.dh-page) #navbar-main .btn-warning:hover,
body:has(.dh-page) #navbar-main .btn-warning:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(233, 53, 193, 0.45);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    body:has(.dh-page) #navbar-main .container {
        max-width: calc(100% - 4rem);
    }

    body:has(.dh-page) #navbar-main .navbar-brand {
        margin-right: 1.75rem !important;
    }

    body:has(.dh-page) #navbar-main .nav-link {
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }

    body:has(.dh-page) #navbar-main .navbar-nav.ml-lg-auto {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    body:has(.dh-page) #navbar-main .navbar-nav.ml-lg-auto .nav-item {
        flex: 0 0 auto;
    }

    body:has(.dh-page) #navbar-main .navbar-nav.ml-lg-auto .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 6.75rem;
        min-height: 3rem;
        padding: 0.72rem 1rem;
        line-height: 1;
        white-space: nowrap;
    }
}

.dh-page {
    --dh-bg: #0b0b1e;
    --dh-bg-2: #12122d;
    --dh-bg-3: #1a1740;
    --dh-card: rgba(255, 255, 255, 0.04);
    --dh-card-border: rgba(139, 92, 246, 0.22);
    --dh-purple: #8b5cf6;
    --dh-violet: #7c3aed;
    --dh-pink: #e935c1;
    --dh-text: #ffffff;
    --dh-muted: #a9a6c9;
    --dh-grad: linear-gradient(90deg, #e935c1 0%, #8b5cf6 100%);
    --dh-grad-soft: linear-gradient(135deg, rgba(233, 53, 193, 0.16) 0%, rgba(124, 58, 237, 0.16) 100%);

    background-color: var(--dh-bg);
    color: var(--dh-text);
    font-family: 'Plus Jakarta Sans', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

.dh-page ::selection {
    background: var(--dh-pink);
    color: #fff;
}

.dh-page h1,
.dh-page h2,
.dh-page h3,
.dh-page h4,
.dh-page h5 {
    color: var(--dh-text);
    font-family: 'Plus Jakarta Sans', 'Nunito', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dh-page p {
    color: var(--dh-muted);
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */

.dh-script {
    font-family: 'Kaushan Script', cursive;
    font-weight: 400;
    letter-spacing: 0;
    background: linear-gradient(90deg, #ff4fd8 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 0.15em;
}

.dh-grad-text {
    background: linear-gradient(90deg, #ff4fd8 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dh-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #ff4fd8;
    margin-bottom: 1rem;
}

.dh-lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--dh-muted);
}

/* Script underline flourish (like the ad underlines) */
.dh-underline {
    position: relative;
    display: inline-block;
}

.dh-underline::after {
    content: '';
    position: absolute;
    left: 2%;
    bottom: -0.32em;
    width: 96%;
    height: 0.14em;
    border-radius: 999px;
    background: var(--dh-grad);
    opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.dh-section {
    position: relative;
    padding: 5.5rem 0;
}

.dh-section--tint {
    background:
        radial-gradient(60rem 30rem at 85% 0%, rgba(124, 58, 237, 0.14) 0%, transparent 60%),
        var(--dh-bg-2);
}

.dh-section-head {
    max-width: 44rem;
    margin: 0 auto 3.25rem;
    text-align: center;
}

.dh-section-head h2 {
    font-size: clamp(1.75rem, 3.6vw, 2.6rem);
    line-height: 1.14;
    margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.dh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 999px;
    padding: 0.9rem 1.9rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.dh-btn:hover,
.dh-btn:focus {
    text-decoration: none;
    transform: translateY(-2px);
}

.dh-btn--primary {
    color: #fff;
    background: linear-gradient(90deg, #e935c1 0%, #7c3aed 100%);
    box-shadow: 0 12px 30px rgba(233, 53, 193, 0.35);
}

.dh-btn--primary:hover,
.dh-btn--primary:focus {
    color: #fff;
    box-shadow: 0 18px 38px rgba(233, 53, 193, 0.45);
}

.dh-btn--ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(167, 139, 250, 0.5);
}

.dh-btn--ghost:hover,
.dh-btn--ghost:focus {
    color: #fff;
    border-color: #a78bfa;
    background: rgba(139, 92, 246, 0.14);
}

.dh-btn__arrow {
    font-size: 0.85em;
    transition: transform 0.2s ease;
}

.dh-btn:hover .dh-btn__arrow {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Decorative elements (dots, slashes, triangles)
   -------------------------------------------------------------------------- */

.dh-dots {
    position: absolute;
    width: 7.5rem;
    height: 5rem;
    background-image: radial-gradient(rgba(167, 139, 250, 0.55) 1.5px, transparent 1.5px);
    background-size: 1.1rem 1.1rem;
    pointer-events: none;
    z-index: 0;
}

.dh-tri {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    pointer-events: none;
    z-index: 0;
}

.dh-tri--pink {
    border-width: 0 0 16px 16px;
    border-color: transparent transparent #e935c1 transparent;
    opacity: 0.85;
}

.dh-tri--purple {
    border-width: 0 0 14px 14px;
    border-color: transparent transparent #8b5cf6 transparent;
    opacity: 0.7;
}

.dh-slash {
    position: absolute;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(233, 53, 193, 0.85), rgba(124, 58, 237, 0.35));
    transform: rotate(-32deg);
    pointer-events: none;
    z-index: 0;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.dh-hero {
    position: relative;
    padding: 11rem 0 0;
    background:
        radial-gradient(52rem 34rem at 78% 18%, rgba(124, 58, 237, 0.28) 0%, transparent 62%),
        radial-gradient(40rem 26rem at 8% 88%, rgba(233, 53, 193, 0.12) 0%, transparent 60%),
        var(--dh-bg);
    overflow: hidden;
}

.dh-hero h1 {
    font-size: clamp(2.1rem, 4.3vw, 3.4rem);
    line-height: 1.16;
    margin-bottom: 2.25rem;
}

.dh-hero h1 .dh-script {
    font-size: 1.12em;
}

.dh-hero__lead {
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: 30rem;
    margin-bottom: 2.25rem;
}

/* Centered hero variant */
.dh-hero--center {
    padding: 10rem 0 0;
    text-align: center;
}

.dh-hero__center {
    max-width: 52rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dh-hero--center h1 {
    margin-bottom: 1.75rem;
}

.dh-hero--center .dh-hero__lead {
    max-width: 40rem;
    margin: 0 auto 2.25rem;
}

.dh-hero--center .dh-hero__ctas {
    justify-content: center;
    margin-bottom: 2.6rem;
}

.dh-hero--center .dh-hero__visual {
    width: 100%;
    max-width: 44rem;
    margin: 0 auto;
}

.dh-hero--center .dh-hero__video {
    margin: 0 auto;
    width: 100%;
    max-width: 44rem;
    aspect-ratio: 16 / 9;
}

.dh-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.dh-hero__domain {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: #ff4fd8;
}

/* Capsule-masked visual, echoing the ads' rounded diagonal shapes */
.dh-hero__visual {
    position: relative;
    z-index: 1;
}

.dh-hero__capsule-accent {
    position: absolute;
    border-radius: 12rem;
    background: var(--dh-grad-soft);
    border: 1px solid rgba(167, 139, 250, 0.28);
    z-index: 0;
    pointer-events: none;
}

/* Hero demo video card */
.dh-hero__video {
    position: relative;
    z-index: 1;
    display: block;
    width: min(30rem, 100%);
    margin-left: auto;
    aspect-ratio: 16 / 10;
    border-radius: 1.75rem;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(167, 139, 250, 0.36);
    background-image: url('/disciply-website/assets/img/spotlight/home-demo-video-card.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--dh-bg-3);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.46),
        0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dh-hero__video::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.dh-hero__video::after {
    z-index: 1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.dh-hero__video:hover,
.dh-hero__video:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-4px);
    border-color: #ff4fd8;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.56),
        0 0 0 1px rgba(233, 53, 193, 0.22);
}

/* --------------------------------------------------------------------------
   Feature strip (Group Chats / Challenges / Training / Track Growth)
   -------------------------------------------------------------------------- */

.dh-strip {
    position: relative;
    margin-top: 4.5rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(139, 92, 246, 0.18);
    background: rgba(255, 255, 255, 0.02);
}

.dh-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.dh-strip__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.5rem 1.25rem;
}

.dh-strip__item + .dh-strip__item {
    border-left: 1px solid rgba(139, 92, 246, 0.22);
}

.dh-strip__icon {
    font-size: 1.35rem;
    color: #a78bfa;
}

.dh-strip__title {
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
}

.dh-strip__text {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--dh-muted);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.dh-card {
    position: relative;
    height: 100%;
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
    background: var(--dh-card);
    border: 1px solid var(--dh-card-border);
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.dh-card:hover {
    transform: translateY(-4px);
    border-color: rgba(233, 53, 193, 0.45);
    background: rgba(255, 255, 255, 0.055);
}

.dh-card__icon {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    background: var(--dh-grad-soft);
    border: 1px solid rgba(167, 139, 250, 0.35);
    margin-bottom: 1.1rem;
}

.dh-card__icon i {
    background: linear-gradient(90deg, #ff4fd8 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dh-card h3,
.dh-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.dh-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Checklist / comparison lists
   -------------------------------------------------------------------------- */

.dh-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dh-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.55rem 0;
    color: var(--dh-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.dh-list li strong {
    color: #fff;
}

.dh-list__icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
}

.dh-list__icon--check {
    color: #fff;
    background: var(--dh-grad);
}

.dh-list__icon--minus {
    color: #ffb3e8;
    background: rgba(233, 53, 193, 0.14);
    border: 1px solid rgba(233, 53, 193, 0.4);
}

/* --------------------------------------------------------------------------
   Screenshot frames
   -------------------------------------------------------------------------- */

.dh-frame {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(167, 139, 250, 0.35);
    background: var(--dh-bg-3);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.dh-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.dh-phone {
    border-radius: 2.2rem;
    border: 1px solid rgba(167, 139, 250, 0.4);
    overflow: hidden;
    background: var(--dh-bg-3);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}

.dh-phone img {
    display: block;
    width: 100%;
    height: auto;
}

/* --------------------------------------------------------------------------
   Store buttons
   -------------------------------------------------------------------------- */

.dh-store-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.dh-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 1.3rem;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(167, 139, 250, 0.45);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.dh-store-btn:hover,
.dh-store-btn:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    border-color: #ff4fd8;
}

.dh-store-btn i {
    font-size: 1.4rem;
}

.dh-store-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.dh-store-btn small {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dh-muted);
}

.dh-store-btn strong {
    font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   Final CTA banner
   -------------------------------------------------------------------------- */

.dh-banner {
    position: relative;
    border-radius: 2rem;
    padding: 4rem 2.5rem;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(38rem 22rem at 12% 0%, rgba(233, 53, 193, 0.3) 0%, transparent 62%),
        radial-gradient(38rem 24rem at 90% 100%, rgba(124, 58, 237, 0.4) 0%, transparent 62%),
        var(--dh-bg-3);
    border: 1px solid rgba(167, 139, 250, 0.35);
}

.dh-banner h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.12;
    margin-bottom: 1rem;
}

.dh-banner .dh-lead {
    max-width: 34rem;
    margin: 0 auto 2rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .dh-section {
        padding: 4rem 0;
    }

    /* Decorative slashes get in the way of content on smaller screens */
    .dh-slash {
        display: none;
    }

    .dh-hero {
        padding-top: 8rem;
    }

    .dh-hero__video {
        margin: 3rem auto 0;
    }

    .dh-strip__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 0;
    }

    .dh-strip__item + .dh-strip__item {
        border-left: 0;
    }

    .dh-strip__item:nth-child(even) {
        border-left: 1px solid rgba(139, 92, 246, 0.22);
    }
}

@media (max-width: 575.98px) {
    .dh-hero {
        padding-top: 7rem;
    }

    .dh-hero__ctas .dh-btn {
        width: 100%;
    }

    .dh-strip__grid {
        grid-template-columns: 1fr;
    }

    .dh-strip__item:nth-child(even) {
        border-left: 0;
    }

    .dh-strip__item {
        border-bottom: 1px solid rgba(139, 92, 246, 0.16);
        padding-bottom: 1rem;
    }

    .dh-strip__item:last-child {
        border-bottom: 0;
    }

    .dh-banner {
        padding: 3rem 1.5rem;
    }
}

/* ==========================================================================
   Shared page components (About, Features, Pricing, Blog, Learn, Register,
   Terms, Privacy). Reuses the same tokens as the home design system.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page hero (compact hero for interior pages)
   -------------------------------------------------------------------------- */

.dh-page-hero {
    position: relative;
    padding: 10rem 0 4rem;
    overflow: hidden;
    background:
        radial-gradient(50rem 30rem at 82% 10%, rgba(124, 58, 237, 0.26) 0%, transparent 62%),
        radial-gradient(38rem 24rem at 6% 92%, rgba(233, 53, 193, 0.14) 0%, transparent 60%),
        var(--dh-bg);
    text-align: center;
}

.dh-page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 46rem;
    margin: 0 auto;
}

.dh-page-hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 1.15rem;
}

.dh-page-hero .dh-lead {
    font-size: 1.12rem;
    max-width: 38rem;
    margin: 0 auto;
}

.dh-page-hero--left {
    text-align: left;
}

.dh-page-hero--left .dh-page-hero__inner {
    margin: 0;
}

.dh-page-hero--left .dh-page-hero .dh-lead,
.dh-page-hero--left .dh-lead {
    margin: 0;
}

/* --------------------------------------------------------------------------
   Prose / legal typography (Terms, Privacy, Blog article body)
   -------------------------------------------------------------------------- */

.dh-prose {
    max-width: 52rem;
    margin: 0 auto;
    color: var(--dh-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.dh-prose > h2,
.dh-prose > h3,
.dh-prose > h4,
.dh-prose > h5 {
    color: #fff;
    margin: 2.25rem 0 0.85rem;
}

.dh-prose > h2 { font-size: 1.6rem; }
.dh-prose > h3 { font-size: 1.3rem; }
.dh-prose > h4 { font-size: 1.12rem; }
.dh-prose > h5 { font-size: 1rem; letter-spacing: 0.01em; }

.dh-prose p,
.dh-prose li {
    color: var(--dh-muted);
    margin-bottom: 0.9rem;
}

.dh-prose a {
    color: #c4a8ff;
    text-decoration: underline;
}

.dh-prose a:hover {
    color: #ff4fd8;
}

.dh-prose ul,
.dh-prose ol {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.dh-prose blockquote {
    border-left: 3px solid var(--dh-pink);
    padding: 0.5rem 0 0.5rem 1.25rem;
    margin: 1.5rem 0;
    color: #e6e3ff;
    font-style: italic;
}

.dh-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 1.5rem 0;
    border: 1px solid var(--dh-card-border);
}

.dh-prose hr {
    border: 0;
    border-top: 1px solid rgba(139, 92, 246, 0.22);
    margin: 2rem 0;
}

/* Effective-date / small meta line */
.dh-meta {
    color: var(--dh-muted);
    font-size: 0.92rem;
    letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.dh-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.dh-price {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 1.5rem;
    padding: 2.25rem 1.75rem;
    background: var(--dh-card);
    border: 1px solid var(--dh-card-border);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.dh-price:hover {
    transform: translateY(-4px);
    border-color: rgba(233, 53, 193, 0.4);
}

.dh-price--popular {
    background: var(--dh-grad-soft);
    border-color: rgba(167, 139, 250, 0.55);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
}

.dh-price__badge {
    position: absolute;
    top: -0.85rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 1rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--dh-grad);
    white-space: nowrap;
}

.dh-price__name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.dh-price__desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--dh-muted);
    margin-bottom: 1.25rem;
    min-height: 4.5rem;
}

.dh-price__pill {
    display: inline-block;
    padding: 0.28rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ddffef;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.34);
    margin-bottom: 1rem;
}

.dh-price__amount {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.dh-price__amount small {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dh-muted);
}

.dh-price__note {
    font-size: 0.8rem;
    color: var(--dh-muted);
    margin-bottom: 1.75rem;
}

.dh-price .dh-btn {
    margin-top: auto;
}

/* Comparison table */
.dh-table-wrap {
    overflow-x: auto;
    border-radius: 1.25rem;
    border: 1px solid var(--dh-card-border);
    background: var(--dh-card);
}

.dh-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.dh-table th,
.dh-table td {
    padding: 0.95rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid rgba(139, 92, 246, 0.14);
    color: var(--dh-muted);
    font-size: 0.92rem;
}

.dh-table thead th {
    color: #fff;
    font-weight: 800;
    font-size: 0.86rem;
    letter-spacing: 0.03em;
}

.dh-table th:first-child,
.dh-table td:first-child {
    text-align: left;
    color: #fff;
    font-weight: 600;
}

.dh-table tbody tr:last-child td {
    border-bottom: 0;
}

.dh-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.dh-check {
    color: #34d399;
}

.dh-dash {
    color: rgba(169, 166, 201, 0.5);
}

/* --------------------------------------------------------------------------
   Forms (Register, search)
   -------------------------------------------------------------------------- */

.dh-form-card {
    max-width: 40rem;
    margin: 0 auto;
    border-radius: 1.5rem;
    padding: 2.5rem;
    background: var(--dh-card);
    border: 1px solid var(--dh-card-border);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
}

.dh-field {
    margin-bottom: 1.1rem;
}

.dh-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #d6d3f0;
    margin-bottom: 0.4rem;
}

.dh-input {
    width: 100%;
    border-radius: 0.85rem;
    padding: 0.7rem 1rem;
    background: rgba(11, 11, 30, 0.6);
    border: 1px solid rgba(167, 139, 250, 0.32);
    color: #fff;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dh-input::placeholder {
    color: rgba(169, 166, 201, 0.7);
}

.dh-input:focus {
    outline: 0;
    border-color: #ff4fd8;
    box-shadow: 0 0 0 3px rgba(233, 53, 193, 0.18);
    background: rgba(11, 11, 30, 0.8);
    color: #fff;
}

.dh-page select.dh-input option {
    background: #12122d;
    color: #fff;
}

/* Input group with leading icon */
.dh-input-group {
    position: relative;
}

.dh-input-group .dh-input {
    padding-left: 2.75rem;
}

.dh-input-group__icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a78bfa;
    font-size: 0.9rem;
    pointer-events: none;
}

/* Pathway toggle (member vs org) */
.dh-pathways {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.dh-pathway {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(167, 139, 250, 0.32);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dh-pathway:hover {
    text-decoration: none;
    color: #fff;
    border-color: rgba(167, 139, 250, 0.6);
}

.dh-pathway.active {
    border-color: #ff4fd8;
    background: var(--dh-grad-soft);
}

.dh-pathway__icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dh-grad-soft);
    border: 1px solid rgba(167, 139, 250, 0.35);
    flex-shrink: 0;
}

.dh-pathway__icon i {
    background: linear-gradient(90deg, #ff4fd8, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dh-pathway__title {
    display: block;
    font-weight: 800;
    font-size: 0.92rem;
    line-height: 1.15;
}

.dh-pathway__subtitle {
    display: block;
    font-size: 0.74rem;
    color: var(--dh-muted);
}

.dh-pathway-or {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--dh-muted);
}

.dh-alert {
    border-radius: 0.9rem;
    padding: 0.85rem 1.1rem;
    background: var(--dh-grad-soft);
    border: 1px solid rgba(167, 139, 250, 0.35);
    color: #e6e3ff;
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
}

.dh-alert--danger {
    background: rgba(233, 53, 193, 0.1);
    border-color: rgba(233, 53, 193, 0.4);
    color: #ffd0f2;
}

.dh-btn--block {
    width: 100%;
}

.dh-link {
    color: #c4a8ff;
    text-decoration: none;
    font-weight: 600;
}

.dh-link:hover {
    color: #ff4fd8;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Blog cards & meta
   -------------------------------------------------------------------------- */

.dh-article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    background: var(--dh-card);
    border: 1px solid var(--dh-card-border);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.dh-article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(233, 53, 193, 0.4);
}

.dh-article-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.dh-article-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}

.dh-article-card__body h2,
.dh-article-card__body h3 {
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 0.65rem;
}

.dh-article-card__body h2 a,
.dh-article-card__body h3 a {
    color: #fff;
    text-decoration: none;
}

.dh-article-card__body h2 a:hover,
.dh-article-card__body h3 a:hover {
    color: #ff4fd8;
}

.dh-article-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 92, 246, 0.16);
}

.dh-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--dh-grad);
    flex-shrink: 0;
}

.dh-badge {
    display: inline-block;
    padding: 0.28rem 0.8rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--dh-grad-soft);
    border: 1px solid rgba(167, 139, 250, 0.4);
}

.dh-badge--tag {
    color: #c4a8ff;
    background: rgba(139, 92, 246, 0.12);
}

/* Pagination (Bootstrap override inside dh-page) */
.dh-page .pagination .page-link {
    background: var(--dh-card);
    border-color: var(--dh-card-border);
    color: #d6d3f0;
}

.dh-page .pagination .page-item.active .page-link {
    background: var(--dh-violet);
    border-color: var(--dh-violet);
    color: #fff;
}

.dh-page .pagination .page-link:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Team members (About)
   -------------------------------------------------------------------------- */

.dh-team {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
    border-radius: 1.25rem;
    background: var(--dh-card);
    border: 1px solid var(--dh-card-border);
}

.dh-team__name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.15rem;
}

.dh-team__role {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ff4fd8;
    margin-bottom: 0.85rem;
}

.dh-team__bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--dh-muted);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Learn-specific
   -------------------------------------------------------------------------- */

.dh-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #d6d3f0;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(167, 139, 250, 0.32);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dh-chip:hover,
.dh-chip:focus {
    text-decoration: none;
    color: #fff;
    border-color: #ff4fd8;
    transform: translateY(-1px);
}

.dh-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--dh-muted);
    margin-bottom: 1.5rem;
}

.dh-breadcrumb a {
    color: #c4a8ff;
    text-decoration: none;
}

.dh-breadcrumb a:hover {
    color: #ff4fd8;
}

.dh-breadcrumb__sep {
    color: rgba(169, 166, 201, 0.5);
}

.dh-video-frame {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(167, 139, 250, 0.4);
    aspect-ratio: 16 / 9;
    background: var(--dh-bg-3);
}

.dh-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */

.dh-divider {
    border: 0;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    margin: 3rem 0;
}

.dh-text-center { text-align: center; }

/* --------------------------------------------------------------------------
   Page-component responsive
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .dh-page-hero {
        padding: 8.5rem 0 3rem;
    }

    .dh-price-grid {
        grid-template-columns: 1fr;
        max-width: 26rem;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .dh-pathways {
        grid-template-columns: 1fr;
    }

    .dh-pathway-or {
        text-align: center;
    }

    .dh-form-card {
        padding: 1.75rem 1.25rem;
    }
}

