/* ==========================================================================
   DiMoni Premium Landing Theme v2
   Layered after style.css. Fully custom components (dm-*) for the public
   landing pages; stock landing classes are only kept where main.js needs
   them (.preloader, .progress-wrap, .screenshot-slider, .page-header).
   ========================================================================== */

:root {
    /* Brand palette */
    --dm-ink: #06130e;
    --dm-ink-2: #0a1f16;
    --dm-ink-3: #10291d;
    --dm-mint: #5be0a0;
    --dm-emerald: #17c77f;
    --dm-teal: #1fb6a6;
    --dm-gold: #efb93f;
    --dm-surface: #f5faf7;
    --dm-surface-2: #ecf5f0;
    --dm-border: #e2ede7;
    --dm-text: #0f2119;
    --dm-text-muted: #56695f;
    --dm-on-dark: #e9f6ef;
    --dm-on-dark-muted: rgba(233, 246, 239, .6);
    --dm-gradient: linear-gradient(120deg, #5be0a0 0%, #1fb6a6 100%);
    --dm-gradient-soft: linear-gradient(120deg, rgba(91, 224, 160, .13), rgba(31, 182, 166, .13));
    --dm-radius: 1.25rem;
    --dm-radius-lg: 1.9rem;
    --dm-shadow-sm: 0 2px 10px rgba(6, 19, 14, .06);
    --dm-shadow: 0 18px 50px -16px rgba(6, 19, 14, .2);
    --dm-shadow-glow: 0 10px 40px -8px rgba(91, 224, 160, .45);
    --dm-font-display: 'Space Grotesk', 'Rubik', sans-serif;
    --dm-font-body: 'Inter', 'Rubik', sans-serif;

    /* Re-point stock theme + bootstrap tokens */
    --bs-primary: #17c77f;
    --bs-primary-rgb: 23, 199, 127;
    --bs-secondary: #0e2a1e;
    --bs-body-color: #0f2119;
    --bs-body-font-family: var(--dm-font-body);
    --title-color: #0f2119;
    --primary-color: #17c77f;
}

/* ---------- Base ---------- */

html { scroll-padding-top: 6rem; }

body {
    font-family: var(--dm-font-body);
    color: var(--dm-text);
    background: #fff;
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5, .cta-title, .widget__title {
    font-family: var(--dm-font-display);
    color: var(--dm-text);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.12;
}

p { color: var(--dm-text-muted); }

::selection { background: rgba(91, 224, 160, .35); color: var(--dm-ink); }

.text-primary { color: var(--dm-emerald) !important; }
.bg-primary { background: var(--dm-gradient) !important; }

/* Highlight spans produced by change_text_color_or_bg() */
h1 .text-primary, h2 .text-primary, .cta-title .text-primary {
    background: var(--dm-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--dm-mint) !important;
}

h1 .bg-primary, h2 .bg-primary, .cta-title .bg-primary, .page-header .bg-primary {
    background: var(--dm-gradient) !important;
    color: var(--dm-ink) !important;
    -webkit-text-fill-color: var(--dm-ink);
    border-radius: .45em;
    padding: 0 .26em .06em;
    display: inline-block;
    transform: rotate(-1.4deg);
    box-shadow: 0 10px 30px -10px rgba(91, 224, 160, .55);
}

/* ---------- Buttons ---------- */

.btn {
    font-family: var(--dm-font-display);
    font-weight: 600;
    letter-spacing: .01em;
    border-radius: 999px;
    padding: .72rem 1.7rem;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary, .btn-warning, .btn-secondary {
    background: var(--dm-gradient);
    border: 0;
    color: var(--dm-ink);
    box-shadow: 0 6px 22px -6px rgba(23, 199, 127, .55);
}

.btn-primary:hover, .btn-warning:hover, .btn-secondary:hover,
.btn-primary:focus, .btn-warning:focus, .btn-secondary:focus {
    background: linear-gradient(120deg, #6ff0b0 0%, #2cc9b8 100%);
    color: var(--dm-ink);
    transform: translateY(-2px);
    box-shadow: var(--dm-shadow-glow);
}

.btn-dark { background: var(--dm-ink); border: 0; color: #fff; }
.btn-dark:hover { background: var(--dm-ink-3); color: #fff; transform: translateY(-2px); }

.btn-outline-light, .dm-btn-ghost-dark {
    border: 1px solid rgba(233, 246, 239, .3);
    color: var(--dm-on-dark);
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover, .dm-btn-ghost-dark:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(233, 246, 239, .55);
    color: #fff;
}

/* Store badge buttons */
.dm-store-btn {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .62rem 1.3rem .62rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(233, 246, 239, .22);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.dm-store-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .13);
    border-color: rgba(91, 224, 160, .55);
    color: #fff;
}

.dm-store-btn i { font-size: 1.55rem; color: var(--dm-mint); }

.dm-store-btn small {
    display: block;
    font-size: .64rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--dm-on-dark-muted);
    line-height: 1.2;
}

.dm-store-btn strong {
    font-family: var(--dm-font-display);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
}

/* ---------- Preloader ---------- */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    align-items: center;
    justify-content: center;
    background: var(--dm-ink);
}

.preloader .spinner-grow { display: none; }

.preloader .dm-loader-mark {
    font-family: var(--dm-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.02em;
}

.preloader .dm-loader-mark span { color: var(--dm-mint); }

.preloader .dm-loader-bar {
    width: 120px;
    height: 3px;
    border-radius: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, .12);
    position: relative;
}

.preloader .dm-loader-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 40%;
    border-radius: 3px;
    background: var(--dm-gradient);
    animation: dmLoaderSlide 1.1s ease-in-out infinite;
}

@keyframes dmLoaderSlide {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(280%); }
}

/* ---------- Navigation (fully custom) ---------- */

.dm-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 1rem 0;
    transition: padding .3s ease, transform .35s cubic-bezier(.2, .7, .3, 1);
}

.dm-nav.is-hidden { transform: translateY(-120%); }

.dm-nav .dm-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem .7rem .55rem 1.4rem;
    border-radius: 999px;
    background: rgba(8, 24, 17, .58);
    border: 1px solid rgba(233, 246, 239, .12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 10px 40px -18px rgba(6, 19, 14, .6);
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.dm-nav.is-scrolled { padding: .55rem 0; }

.dm-nav.is-scrolled .dm-nav-inner {
    background: rgba(6, 19, 14, .88);
    border-color: rgba(233, 246, 239, .15);
    box-shadow: 0 14px 44px -18px rgba(6, 19, 14, .75);
}

.dm-nav .dm-nav-logo img { width: 104px; height: auto; display: block; }

.dm-nav .dm-nav-links {
    display: flex;
    align-items: center;
    gap: .15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dm-nav .dm-nav-links a:not(.btn) {
    font-family: var(--dm-font-display);
    font-size: .92rem;
    font-weight: 500;
    color: var(--dm-on-dark-muted);
    padding: .5rem .95rem;
    border-radius: 999px;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
    display: inline-block;
}

.dm-nav .dm-nav-links a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .07); }

.dm-nav .dm-nav-links a.active {
    color: var(--dm-mint);
    background: rgba(91, 224, 160, .1);
}

.dm-nav .dm-nav-links .btn { padding: .55rem 1.35rem; margin-left: .4rem; }

.dm-nav .dm-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(233, 246, 239, .18);
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-size: 1.25rem;
}

@media (max-width: 991.98px) {
    .dm-nav .dm-nav-links { display: none; }
    .dm-nav .dm-nav-toggle { display: inline-flex; }
}

/* Mobile drawer */
.dm-drawer {
    position: fixed;
    inset: 0;
    z-index: 1040;
    pointer-events: none;
}

.dm-drawer .dm-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 12, 8, .6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .3s ease;
}

.dm-drawer .dm-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(20rem, 86vw);
    background: var(--dm-ink-2);
    border-left: 1px solid rgba(233, 246, 239, .1);
    padding: 1.4rem 1.6rem 2rem;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2, .7, .3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.dm-drawer.is-open { pointer-events: auto; }
.dm-drawer.is-open .dm-drawer-overlay { opacity: 1; }
.dm-drawer.is-open .dm-drawer-panel { transform: translateX(0); }

.dm-drawer .dm-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.6rem;
}

.dm-drawer .dm-drawer-head img { width: 96px; }

.dm-drawer .dm-drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(233, 246, 239, .18);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.dm-drawer nav a {
    display: block;
    font-family: var(--dm-font-display);
    font-size: 1.05rem;
    color: var(--dm-on-dark-muted);
    text-decoration: none;
    padding: .85rem 0;
    border-bottom: 1px solid rgba(233, 246, 239, .08);
    transition: color .2s ease, padding-left .2s ease;
}

.dm-drawer nav a:hover, .dm-drawer nav a.active { color: var(--dm-mint); padding-left: .3rem; }

.dm-drawer .btn { margin-top: 1.6rem; }

/* ---------- Hero ---------- */

.dm-hero {
    position: relative;
    overflow: hidden;
    background: var(--dm-ink);
    padding: clamp(8rem, 15vh, 11rem) 0 clamp(3rem, 6vw, 5rem);
    color: var(--dm-on-dark);
}

.dm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(50rem 32rem at 8% -12%, rgba(23, 199, 127, .24), transparent 60%),
        radial-gradient(44rem 30rem at 96% 4%, rgba(31, 182, 166, .18), transparent 60%),
        radial-gradient(36rem 26rem at 60% 118%, rgba(91, 224, 160, .14), transparent 60%);
    pointer-events: none;
}

.dm-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(233, 246, 239, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(233, 246, 239, .04) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: radial-gradient(70rem 44rem at 50% 0%, #000 25%, transparent 78%);
    mask-image: radial-gradient(70rem 44rem at 50% 0%, #000 25%, transparent 78%);
    pointer-events: none;
}

.dm-hero .container { position: relative; z-index: 2; }

.dm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .42rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(91, 224, 160, .35);
    background: rgba(91, 224, 160, .08);
    color: var(--dm-mint);
    font-family: var(--dm-font-display);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.dm-eyebrow .dm-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dm-mint);
    box-shadow: 0 0 0 4px rgba(91, 224, 160, .18);
    animation: dmPulse 2.2s ease-in-out infinite;
}

@keyframes dmPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(91, 224, 160, .18); }
    50% { box-shadow: 0 0 0 9px rgba(91, 224, 160, .05); }
}

.dm-hero-title {
    font-size: clamp(2.7rem, 5vw, 4.3rem);
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1.04;
    margin: 1.3rem 0 1.3rem;
}

.dm-hero-desc {
    font-size: 1.08rem;
    color: var(--dm-on-dark-muted);
    max-width: 32rem;
    line-height: 1.85;
}

.dm-hero .btn { padding: .85rem 1.9rem; font-size: .99rem; }

.dm-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.5rem;
    margin-top: 2rem;
}

.dm-trust-item {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--dm-on-dark-muted);
    font-size: .85rem;
}

.dm-trust-item i { color: var(--dm-mint); font-size: 1rem; }

/* Hero mini stats */
.dm-hero-stats {
    display: flex;
    gap: 2.4rem;
    margin-top: 2.4rem;
    padding-top: 1.9rem;
    border-top: 1px solid rgba(233, 246, 239, .12);
    flex-wrap: wrap;
}

.dm-hero-stat strong {
    font-family: var(--dm-font-display);
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1.15;
}

.dm-hero-stat strong em {
    font-style: normal;
    background: var(--dm-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dm-hero-stat small { color: var(--dm-on-dark-muted); font-size: .82rem; }

.dm-hero-stat .star-rating { color: var(--dm-gold); font-size: .72rem; letter-spacing: .08em; }

/* Hero phone showcase */
.dm-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 34rem;
}

.dm-showcase .dm-showcase-glow {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 30rem;
    max-width: 90%;
    aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(91, 224, 160, .3), rgba(31, 182, 166, .12) 55%, transparent 72%);
    filter: blur(10px);
    border-radius: 50%;
    pointer-events: none;
}

.dm-showcase .dm-showcase-ring {
    position: absolute;
    top: 4%;
    left: 50%;
    transform: translateX(-50%);
    width: 34rem;
    max-width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px dashed rgba(91, 224, 160, .25);
    animation: dmSpin 40s linear infinite;
    pointer-events: none;
}

@keyframes dmSpin { to { transform: translateX(-50%) rotate(360deg); } }

.dm-phone-hero {
    position: relative;
    z-index: 2;
    width: clamp(230px, 24vw, 285px);
    border-radius: 2.6rem;
    padding: .55rem;
    background: linear-gradient(160deg, #2e4a3b, #101f18 60%);
    border: 1px solid rgba(233, 246, 239, .22);
    box-shadow: 0 40px 90px -28px rgba(0, 0, 0, .75), 0 0 0 6px rgba(255, 255, 255, .03);
}

.dm-phone-hero::before {
    content: "";
    position: absolute;
    top: .95rem;
    left: 50%;
    transform: translateX(-50%);
    width: 34%;
    height: 1.35rem;
    background: #060d0a;
    border-radius: 999px;
    z-index: 3;
}

.dm-phone-hero img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2.1rem;
}

/* Floating glass chips */
.dm-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem 1.1rem;
    border-radius: 1.1rem;
    background: rgba(14, 33, 24, .78);
    border: 1px solid rgba(233, 246, 239, .16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 45px -18px rgba(0, 0, 0, .6);
    animation: dmFloat 6s ease-in-out infinite;
}

.dm-chip .dm-chip-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dm-gradient);
    color: var(--dm-ink);
    font-size: 1.1rem;
}

.dm-chip .dm-chip-icon--gold { background: linear-gradient(120deg, #f5d06a, #ef9f3f); }

.dm-chip strong {
    font-family: var(--dm-font-display);
    color: #fff;
    font-size: .95rem;
    display: block;
    line-height: 1.25;
    white-space: nowrap;
}

.dm-chip small { color: var(--dm-on-dark-muted); font-size: .74rem; white-space: nowrap; }

.dm-chip--balance { top: 9%; left: 0; animation-delay: 0s; }
.dm-chip--sent { bottom: 16%; right: 0; animation-delay: 1.6s; }
.dm-chip--qr { bottom: 4%; left: 6%; animation-delay: 3.1s; }

@keyframes dmFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@media (max-width: 1199.98px) {
    .dm-chip--balance { left: -2%; }
    .dm-chip--sent { right: -2%; }
}

@media (max-width: 991.98px) {
    .dm-showcase { margin-top: 3rem; min-height: auto; }
}

@media (max-width: 575.98px) {
    .dm-chip--qr { display: none; }
    .dm-chip--balance { left: -4px; top: 6%; }
    .dm-chip--sent { right: -4px; }
    .dm-chip { padding: .6rem .85rem; }
    .dm-chip strong { font-size: .85rem; }
}

/* Capability ticker */
.dm-ticker {
    position: relative;
    z-index: 3;
    background: var(--dm-ink-2);
    border-top: 1px solid rgba(233, 246, 239, .08);
    border-bottom: 1px solid rgba(233, 246, 239, .08);
    overflow: hidden;
    padding: 1.05rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.dm-ticker-track {
    display: flex;
    gap: 3.5rem;
    width: max-content;
    animation: dmTicker 32s linear infinite;
}

.dm-ticker:hover .dm-ticker-track { animation-play-state: paused; }

.dm-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-family: var(--dm-font-display);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--dm-on-dark-muted);
    white-space: nowrap;
}

.dm-ticker-item i { color: var(--dm-mint); }

@keyframes dmTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Section scaffolding ---------- */

.dm-section { padding: clamp(4.2rem, 9vw, 7rem) 0; }
.dm-section--tight { padding: clamp(3rem, 7vw, 5rem) 0; }
.dm-section--surface { background: var(--dm-surface); }
.dm-section--dark { background: var(--dm-ink); color: var(--dm-on-dark); }

.dm-section-head { max-width: 46rem; margin: 0 auto 3.4rem; text-align: center; }
.dm-section-head--left { margin: 0 0 2.4rem; text-align: left; }

.dm-kicker {
    display: inline-block;
    font-family: var(--dm-font-display);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--dm-emerald);
    margin-bottom: .9rem;
}

.dm-section--dark .dm-kicker { color: var(--dm-mint); }

.dm-section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: .9rem; }

.dm-section--dark .dm-section-head h2, .dm-section--dark h2 { color: #fff; }
.dm-section--dark .dm-section-head p { color: var(--dm-on-dark-muted); }

/* ---------- Bento feature grid ---------- */

.dm-bento { display: grid; gap: 1.6rem; grid-template-columns: repeat(12, 1fr); }

.dm-bento-card {
    position: relative;
    border-radius: var(--dm-radius-lg);
    border: 1px solid var(--dm-border);
    background: #fff;
    padding: 2.3rem 2.1rem 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 24rem;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.dm-bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(23, 199, 127, .45);
    box-shadow: var(--dm-shadow);
}

.dm-bento-card--7 { grid-column: span 7; }
.dm-bento-card--5 { grid-column: span 5; }

.dm-bento-card--dark {
    background: var(--dm-ink-2);
    border-color: rgba(233, 246, 239, .12);
}

.dm-bento-card--dark h3 { color: #fff; }
.dm-bento-card--dark p { color: var(--dm-on-dark-muted); }

.dm-bento-card--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(24rem 16rem at 85% 0%, rgba(91, 224, 160, .16), transparent 65%);
    pointer-events: none;
}

.dm-bento-num {
    font-family: var(--dm-font-display);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--dm-emerald);
    margin-bottom: .9rem;
}

.dm-bento-card--dark .dm-bento-num { color: var(--dm-mint); }

.dm-bento-card h3 { font-size: 1.45rem; margin-bottom: .6rem; position: relative; }
.dm-bento-card p { font-size: .96rem; max-width: 26rem; position: relative; }

.dm-bento-shot {
    margin: 1.6rem auto 0;
    width: min(310px, 82%);
    border-radius: 1.5rem 1.5rem 0 0;
    border: 1px solid var(--dm-border);
    border-bottom: 0;
    overflow: hidden;
    box-shadow: 0 -14px 40px -22px rgba(6, 19, 14, .45);
    aspect-ratio: 5 / 4.4;
    position: relative;
    transition: transform .35s ease;
}

.dm-bento-card:hover .dm-bento-shot { transform: translateY(-8px); }

.dm-bento-card--dark .dm-bento-shot { border-color: rgba(233, 246, 239, .16); }

.dm-bento-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

@media (max-width: 991.98px) {
    .dm-bento-card--7, .dm-bento-card--5 { grid-column: span 12; min-height: auto; }
}

/* ---------- Screenshot gallery (dark band) ---------- */

.dm-shots { position: relative; overflow: hidden; }

.dm-shots::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(40rem 26rem at 88% 0%, rgba(23, 199, 127, .14), transparent 60%),
        radial-gradient(36rem 24rem at 8% 100%, rgba(31, 182, 166, .12), transparent 60%);
    pointer-events: none;
}

.dm-shots .screenshot-slider { position: relative; z-index: 1; }

.dm-shots .swiper-slide {
    width: auto;
    opacity: .4;
    transition: opacity .4s ease, transform .4s ease;
    transform: scale(.9);
}

.dm-shots .swiper-slide-active { opacity: 1; transform: scale(1); }

.dm-shots .screenshot-image-wrapper {
    border-radius: 1.7rem;
    padding: .4rem;
    background: linear-gradient(160deg, rgba(233, 246, 239, .22), rgba(233, 246, 239, .05));
    border: 1px solid rgba(233, 246, 239, .16);
    box-shadow: 0 26px 55px -22px rgba(0, 0, 0, .55);
}

.dm-shots .screenshot-image-wrapper img {
    width: 225px;
    max-width: 60vw;
    border-radius: 1.35rem;
    display: block;
}

.dm-shots .slide-center-frame { display: none; }

.dm-shots .swiper-pagination-bullet { background: rgba(233, 246, 239, .4); opacity: 1; }
.dm-shots .swiper-pagination-bullet-active { background: var(--dm-mint); width: 22px; border-radius: 4px; }

/* ---------- Why choose us (split layout) ---------- */

.dm-why-sticky { position: sticky; top: 7rem; }

.dm-why-card {
    height: 100%;
    border-radius: var(--dm-radius);
    border: 1px solid var(--dm-border);
    background: #fff;
    padding: 1.7rem 1.6rem;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.dm-why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(23, 199, 127, .45);
    box-shadow: var(--dm-shadow);
}

.dm-why-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dm-gradient-soft);
    border: 1px solid rgba(23, 199, 127, .22);
    margin-bottom: 1.1rem;
}

.dm-why-icon img { width: 30px; height: 30px; object-fit: contain; }

.dm-why-card h3 { font-size: 1.06rem; margin-bottom: .5rem; }
.dm-why-card p { font-size: .89rem; margin: 0; }

/* ---------- Agent CTA ---------- */

.dm-agent-cta {
    position: relative;
    border-radius: var(--dm-radius-lg);
    overflow: hidden;
    background: var(--dm-ink-2);
    padding: clamp(2.8rem, 6vw, 4.6rem) clamp(1.7rem, 5vw, 4.2rem);
    color: #fff;
}

.dm-agent-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(32rem 22rem at 92% 8%, rgba(91, 224, 160, .26), transparent 60%),
        radial-gradient(26rem 20rem at 4% 96%, rgba(31, 182, 166, .2), transparent 60%);
    pointer-events: none;
}

.dm-agent-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(233, 246, 239, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(233, 246, 239, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(54rem 32rem at 82% 50%, #000 20%, transparent 80%);
    mask-image: radial-gradient(54rem 32rem at 82% 50%, #000 20%, transparent 80%);
    pointer-events: none;
}

.dm-agent-cta > .row { position: relative; z-index: 1; }

.dm-agent-cta .cta-title {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    margin-bottom: 1.2rem;
}

.dm-agent-note { color: var(--dm-on-dark-muted); max-width: 30rem; }

.dm-agent-perks {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.5rem;
    margin-top: 1.3rem;
}

.dm-agent-perks span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--dm-on-dark-muted);
    font-size: .86rem;
}

.dm-agent-perks i { color: var(--dm-mint); }

/* ---------- How it works ---------- */

.dm-step {
    position: relative;
    text-align: center;
    padding: 0 1rem;
}

.dm-step-num {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--dm-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dm-ink);
    background: var(--dm-gradient);
    box-shadow: 0 12px 30px -10px rgba(23, 199, 127, .6);
    position: relative;
    z-index: 1;
}

.dm-step-line {
    position: absolute;
    top: 32px;
    left: calc(50% + 48px);
    right: calc(-50% + 48px);
    border-top: 2px dashed rgba(23, 199, 127, .35);
}

.dm-step h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.dm-step p { font-size: .92rem; max-width: 20rem; margin: 0 auto 1.5rem; }

.dm-step-shot {
    width: min(230px, 78%);
    margin: 0 auto;
    aspect-ratio: 9 / 11;
    border-radius: 1.4rem 1.4rem 0 0;
    border: 1px solid var(--dm-border);
    border-bottom: 0;
    overflow: hidden;
    box-shadow: 0 -12px 36px -22px rgba(6, 19, 14, .4);
    transition: transform .35s ease;
}

.dm-step:hover .dm-step-shot { transform: translateY(-8px); }

.dm-step-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

@media (max-width: 991.98px) {
    .dm-step-line { display: none; }
    .dm-step { margin-bottom: 2.5rem; }
}

/* ---------- Download band ---------- */

.dm-download {
    position: relative;
    overflow: hidden;
    background: var(--dm-ink);
    border-radius: var(--dm-radius-lg);
    color: #fff;
    padding: clamp(2.8rem, 6vw, 4.8rem) clamp(1.7rem, 5vw, 4.4rem);
}

.dm-download::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(38rem 26rem at 12% 0%, rgba(23, 199, 127, .24), transparent 60%),
        radial-gradient(32rem 24rem at 95% 55%, rgba(31, 182, 166, .18), transparent 60%);
    pointer-events: none;
}

.dm-download > .row { position: relative; z-index: 1; }

.dm-download h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.dm-download p { color: var(--dm-on-dark-muted); font-size: 1.02rem; }

.dm-download-frame {
    border-radius: 1.6rem;
    overflow: hidden;
    border: 1px solid rgba(233, 246, 239, .18);
    box-shadow: 0 34px 70px -26px rgba(0, 0, 0, .65);
    transform: rotate(2.2deg);
    transition: transform .4s ease;
    aspect-ratio: 16 / 11;
}

.dm-download-frame:hover { transform: rotate(0deg) scale(1.015); }

.dm-download-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ---------- Stats band ---------- */

.dm-stats-band {
    background: var(--dm-surface);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-lg);
    padding: clamp(2rem, 4.5vw, 3.2rem) clamp(1.5rem, 4vw, 3.2rem);
}

.dm-stat { text-align: center; }

.dm-stat .dm-stat-value {
    font-family: var(--dm-font-display);
    font-size: clamp(2.4rem, 4.4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.05;
    background: var(--dm-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dm-stat p { font-size: .9rem; margin: .5rem 0 0; }

.dm-stat + .dm-stat { border-left: 1px solid var(--dm-border); }

@media (max-width: 767.98px) {
    .dm-stat + .dm-stat { border-left: 0; border-top: 1px solid var(--dm-border); padding-top: 1.4rem; margin-top: 1.4rem; }
}

/* ---------- Testimonials ---------- */

.dm-testimonial {
    position: relative;
    border-radius: var(--dm-radius-lg);
    border: 1px solid var(--dm-border);
    background: #fff;
    padding: 2.1rem 2rem;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.dm-testimonial:hover {
    transform: translateY(-5px);
    border-color: rgba(23, 199, 127, .4);
    box-shadow: var(--dm-shadow);
}

.dm-testimonial .dm-quote-mark {
    font-family: var(--dm-font-display);
    font-size: 3.6rem;
    line-height: .5;
    color: rgba(23, 199, 127, .3);
    display: block;
    margin-bottom: 1.2rem;
}

.dm-testimonial .star-rating { color: var(--dm-gold); font-size: .82rem; margin-bottom: .85rem; }

.dm-testimonial blockquote {
    font-size: 1rem;
    color: var(--dm-text);
    line-height: 1.75;
    margin-bottom: 1.6rem;
}

.dm-testimonial-author { display: flex; align-items: center; gap: .9rem; }

.dm-testimonial-author img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--dm-surface-2);
}

.dm-testimonial-author strong {
    font-family: var(--dm-font-display);
    font-size: .95rem;
    display: block;
    color: var(--dm-text);
}

.dm-testimonial-author small {
    color: var(--dm-text-muted);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .09em;
}

/* ---------- Newsletter ---------- */

.newsletter-area { padding: 0 0 clamp(3rem, 7vw, 5rem); }

.dm-newsletter {
    border-radius: var(--dm-radius-lg);
    background: var(--dm-ink-2);
    border: 1px solid rgba(233, 246, 239, .1);
    padding: clamp(2rem, 4.5vw, 3.2rem);
    position: relative;
    overflow: hidden;
}

.dm-newsletter::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(26rem 16rem at 85% 20%, rgba(91, 224, 160, .18), transparent 65%);
    pointer-events: none;
}

.dm-newsletter > * { position: relative; z-index: 1; }

.dm-newsletter h3 { color: #fff; font-size: 1.5rem; }
.dm-newsletter p { color: var(--dm-on-dark-muted); margin: 0; }

.dm-newsletter .newsletter-form .form-control {
    border-radius: 999px;
    border: 1px solid rgba(233, 246, 239, .18);
    background: rgba(255, 255, 255, .06);
    padding: .35rem .35rem .35rem .5rem;
    backdrop-filter: blur(8px);
}

.dm-newsletter .newsletter-form input { color: #fff !important; font-size: .95rem; }
.dm-newsletter .newsletter-form input::placeholder { color: rgba(233, 246, 239, .45); }
.dm-newsletter .newsletter-form .btn { padding: .6rem 1.5rem; }

/* ---------- Footer ---------- */

section.bg-white.pt-5 { background: var(--dm-ink) !important; }

.footer { background: transparent; }

.footer .footer-main {
    background: transparent;
    padding: clamp(3rem, 7vw, 5rem) 0 2.5rem;
    border-top: 1px solid rgba(233, 246, 239, .08);
}

.footer .footer-bg { display: none; }

.footer .widget__about p { color: var(--dm-on-dark-muted); font-size: .95rem; }

.footer .widget__title {
    color: #fff;
    font-size: 1.02rem;
    margin-bottom: 1.2rem;
    letter-spacing: .02em;
}

.footer .widget__links a {
    color: var(--dm-on-dark-muted);
    font-size: .93rem;
    transition: color .2s ease;
}

.footer .widget__links a:hover, .footer .widget__links a.active { color: var(--dm-mint); }

.footer .widget__socials { display: flex; gap: .7rem; }

.footer .widget__socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(233, 246, 239, .16);
    background: rgba(255, 255, 255, .04);
    color: var(--dm-on-dark-muted);
    font-size: 1rem;
    transition: all .25s ease;
}

.footer .widget__socials a:hover {
    background: var(--dm-gradient);
    border-color: transparent;
    color: var(--dm-ink);
    transform: translateY(-3px);
}

.footer .footer-bottom {
    background: rgba(0, 0, 0, .25);
    border-top: 1px solid rgba(233, 246, 239, .07);
    padding: 1.2rem 0;
}

.footer .footer-bottom p, .footer .footer-bottom span { color: var(--dm-on-dark-muted); font-size: .85rem; }

/* ---------- Inner page headers (about, contact, faq, blog, legal) ---------- */

.page-header {
    position: relative;
    padding: clamp(8rem, 16vh, 11rem) 0 clamp(3.4rem, 7vw, 5rem);
}

.overflow-hidden.bg-img {
    background: var(--dm-ink) !important;
    background-image:
        radial-gradient(42rem 26rem at 12% 0%, rgba(23, 199, 127, .2), transparent 60%),
        radial-gradient(36rem 24rem at 88% 20%, rgba(31, 182, 166, .16), transparent 60%) !important;
}

.page-header h2 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.page-header p { color: var(--dm-on-dark-muted) !important; }

/* Generic cards / forms on inner pages */

.rounded-10 { border-radius: var(--dm-radius) !important; }

.form-control {
    border-radius: .9rem;
    border-color: var(--dm-border);
    padding: .7rem 1rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-control:focus {
    border-color: var(--dm-emerald);
    box-shadow: 0 0 0 .25rem rgba(23, 199, 127, .12);
}

/* Scroll progress button */
.progress-wrap { box-shadow: inset 0 0 0 2px rgba(23, 199, 127, .2); border-radius: 50%; }
.progress-wrap::after { color: var(--dm-emerald); }
.progress-wrap svg.progress-circle path { stroke: var(--dm-emerald); }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
    .dm-ticker-track, .dm-chip, .dm-showcase-ring, .preloader .dm-loader-bar::after { animation: none; }
    .dm-bento-card, .dm-why-card, .dm-step-shot, .dm-testimonial, .dm-download-frame { transition: none; }
}
