/* ==========================================================================
   Dazzzle — public landing page (outer-home) redesign
   Loaded after dist/css/home.css so it intentionally overrides the legacy
   masthead / section styles. Hand-authored: this repo has no working asset
   build config, so edit this file directly.
   ========================================================================== */

:root {
    --dz-ink: #0b0710;
    --dz-ink-2: #140d1b;
    --dz-ink-3: #1d1428;
    --dz-line: rgba(255, 255, 255, 0.1);
    --dz-line-strong: rgba(255, 255, 255, 0.18);
    --dz-brand: #ca41bb;
    --dz-brand-lift: #f26fde;
    --dz-ember: #ff8a5b;
    --dz-gold: #f4c76b;
    --dz-cream: #fdf6fa;
    --dz-cream-2: #f5e7f2;
    --dz-fg: #ffffff;
    --dz-fg-muted: rgba(255, 255, 255, 0.64);
    --dz-fg-soft: rgba(255, 255, 255, 0.42);
    --dz-radius: 20px;
    --dz-radius-sm: 12px;
    --dz-shell: 1200px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body#page-top {
    font-family: "Poppins", "Varela", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--dz-ink);
    color: var(--dz-fg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body#page-top img {
    max-width: 100%;
}

.dz-shell {
    width: 100%;
    max-width: var(--dz-shell);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 992px) {
    .dz-shell {
        padding: 0 40px;
    }
}

/* Shared type scale ------------------------------------------------------- */

.dz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dz-fg-muted);
}

.dz-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dz-brand-lift);
    box-shadow: 0 0 0 4px rgba(242, 111, 222, 0.18);
    flex: none;
}

.dz-eyebrow--dark {
    color: rgba(11, 7, 16, 0.55);
}

.dz-display {
    margin: 0;
    font-weight: 700;
    font-size: clamp(2.4rem, 8vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.dz-h2 {
    margin: 0 0 18px;
    font-weight: 700;
    font-size: clamp(1.9rem, 4.6vw, 3rem);
    line-height: 1.06;
    letter-spacing: -0.025em;
}

.dz-serif {
    font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.dz-lede {
    margin: 0;
    max-width: 46ch;
    font-size: clamp(0.98rem, 1.6vw, 1.12rem);
    line-height: 1.65;
    color: var(--dz-fg-muted);
}

.dz-lede--dark {
    color: rgba(11, 7, 16, 0.62);
}

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

.dz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease,
        border-color 0.18s ease, color 0.18s ease;
}

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

.dz-btn:focus-visible {
    outline: 2px solid var(--dz-brand-lift);
    outline-offset: 3px;
}

.dz-btn--primary {
    background: linear-gradient(135deg, var(--dz-brand-lift) 0%, var(--dz-brand) 60%, #a52f9a 100%);
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(202, 65, 187, 0.85);
}

.dz-btn--primary:hover,
.dz-btn--primary:focus {
    color: #fff;
    box-shadow: 0 16px 38px -12px rgba(202, 65, 187, 0.95);
}

.dz-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--dz-line-strong);
    color: #fff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.dz-btn--ghost:hover,
.dz-btn--ghost:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
}

.dz-btn--ink {
    background: var(--dz-ink);
    color: #fff;
}

.dz-btn--ink:hover,
.dz-btn--ink:focus {
    background: #241732;
    color: #fff;
}

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

.dz-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

/* --------------------------------------------------------------------------
   Navigation
   Nav styling lives inline in resources/views/includes/outer-nav-bar.blade.php
   because that partial is also used by pages that do not load this file.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   SCREEN 1 — Hero
   -------------------------------------------------------------------------- */

.dz-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 140px 0 72px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

/* Scrim: keeps the photo readable and pulls it toward the brand violet */
.dz-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            100deg,
            rgba(11, 7, 16, 0.94) 0%,
            rgba(11, 7, 16, 0.78) 38%,
            rgba(11, 7, 16, 0.28) 68%,
            rgba(11, 7, 16, 0.5) 100%
        ),
        linear-gradient(to bottom, rgba(11, 7, 16, 0.55) 0%, rgba(11, 7, 16, 0) 32%, var(--dz-ink) 100%);
}

/* Soft brand bloom behind the copy */
.dz-hero::after {
    content: "";
    position: absolute;
    left: -12%;
    top: 12%;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(202, 65, 187, 0.38) 0%, rgba(202, 65, 187, 0) 68%);
    pointer-events: none;
}

.dz-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
    width: 100%;
}

@media (min-width: 992px) {
    .dz-hero {
        padding: 150px 0 90px;
    }

    .dz-hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 48px;
    }
}

.dz-hero__copy {
    max-width: 620px;
}

/* The h1 content is randomised in Blade, so the style has to flatter any of
   the eleven taglines — hence a fluid clamp rather than a fixed size. */
.dz-hero__copy h1 {
    margin: 0 0 20px;
    font-family: inherit;
    font-weight: 700;
    /* Capped fairly low: the longest of the eleven taglines must still fit
       above the fold on a 900px-tall laptop. */
    font-size: clamp(2.15rem, 4.6vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: #fff;
    background: none;
    -webkit-text-fill-color: currentColor;
    padding: 0;
    text-shadow: 0 2px 30px rgba(11, 7, 16, 0.6);
}

.dz-hero__copy h2 {
    margin: 0;
    max-width: 48ch;
    font-size: clamp(0.96rem, 1.5vw, 1.08rem);
    font-weight: 400;
    line-height: 1.68;
    color: var(--dz-fg-muted);
    text-shadow: none;
}

.dz-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.dz-hero__actions .dz-btn {
    padding: 17px 34px;
    font-size: 0.95rem;
}

/* Trust chips — deliberately qualitative, no invented member counts */
.dz-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.dz-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border: 1px solid var(--dz-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.76rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.dz-trust i {
    color: var(--dz-brand-lift);
    font-size: 0.8rem;
}

/* Hero device --------------------------------------------------------------
   A CSS-built phone so the hero shows the product, not just a stock photo. */

.dz-hero__device {
    position: relative;
    display: none;
    justify-content: center;
}

@media (min-width: 992px) {
    .dz-hero__device {
        display: flex;
    }
}

.dz-phone {
    position: relative;
    width: 278px;
    padding: 12px;
    border-radius: 46px;
    background: linear-gradient(160deg, #2c2038 0%, #120c1a 60%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.dz-phone__notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 22px;
    border-radius: 999px;
    background: #0b0710;
    z-index: 3;
}

.dz-phone__screen {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    background: #150e1e;
    aspect-ratio: 9 / 18;
}

/* Fallback for browsers without aspect-ratio */
@supports not (aspect-ratio: 9 / 18) {
    .dz-phone__screen {
        height: 560px;
    }
}

.dz-phone--tilt {
    transform: rotate(3deg);
}

/* Profile card inside the phone */
.dz-card-photo {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
}

.dz-card-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 7, 16, 0.15) 0%, rgba(11, 7, 16, 0) 40%, rgba(11, 7, 16, 0.9) 100%);
}

.dz-card-meta {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 84px;
    z-index: 2;
}

.dz-card-meta__name {
    margin: 0;
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.dz-card-meta__sub {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.72);
}

.dz-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.dz-card-tags span {
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.66rem;
    font-weight: 500;
    color: #fff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.dz-card-actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.dz-card-actions span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.95rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.dz-card-actions span.is-like {
    width: 58px;
    height: 58px;
    border-color: transparent;
    background: linear-gradient(135deg, var(--dz-brand-lift), var(--dz-brand));
    box-shadow: 0 12px 26px -8px rgba(202, 65, 187, 0.9);
    font-size: 1.25rem;
}

/* Floating "It's a match" pill next to the hero phone */
.dz-float-pill {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(20, 13, 27, 0.86);
    box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.dz-float-pill i {
    color: var(--dz-brand-lift);
}

.dz-float-pill--top {
    top: 8%;
    left: -34px;
}

/* Straddles the bottom bezel so it never covers the card's like/pass row */
.dz-float-pill--bottom {
    bottom: -20px;
    right: -20px;
}

.dz-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 2;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dz-fg-soft);
    text-decoration: none;
}

.dz-hero__scroll:hover,
.dz-hero__scroll:focus {
    color: #fff;
    text-decoration: none;
}

@media (min-width: 992px) {
    .dz-hero__scroll {
        display: inline-flex;
    }
}

/* --------------------------------------------------------------------------
   Search band
   -------------------------------------------------------------------------- */

#search.lw-search-section {
    position: relative;
    padding: 0;
    background: var(--dz-ink);
}

.dz-search {
    position: relative;
    z-index: 3;
    margin-top: -56px;
    padding: 34px 26px;
    border: 1px solid var(--dz-line);
    border-radius: 26px;
    background: linear-gradient(150deg, rgba(29, 20, 40, 0.98) 0%, rgba(15, 10, 21, 0.98) 100%);
    box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}

@media (min-width: 768px) {
    .dz-search {
        padding: 38px 40px;
    }
}

.dz-search__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 22px;
}

.dz-search__head h2 {
    margin: 0;
    font-size: clamp(1.25rem, 2.6vw, 1.65rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
}

.dz-search__head p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--dz-fg-soft);
}

.dz-search .dz-field-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .dz-search .dz-field-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
        align-items: end;
    }
}

.dz-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.dz-field > label {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dz-fg-soft);
}

/* Selects: overrides the legacy .lw-search-section input/select rules */
#search .dz-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: auto;
    padding: 15px 42px 15px 18px;
    border: 1px solid var(--dz-line-strong);
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.05);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 16px;
    box-shadow: none !important;
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

[dir="rtl"] #search .dz-select {
    padding: 15px 18px 15px 42px;
    background-position: left 16px center;
}

#search .dz-select:focus {
    border-color: var(--dz-brand-lift);
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
}

/* Native option lists render on the OS surface — keep them legible */
#search .dz-select option {
    background-color: #16101f;
    color: #fff;
}

.dz-search__submit {
    padding: 16px 34px;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .dz-search__submit {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   SCREEN 2 — Get the app
   -------------------------------------------------------------------------- */

.dz-app {
    position: relative;
    padding: 90px 0;
    background: var(--dz-cream);
    color: var(--dz-ink);
    overflow: hidden;
}

@media (min-width: 992px) {
    .dz-app {
        padding: 120px 0;
    }
}

.dz-app::before {
    content: "";
    position: absolute;
    right: -140px;
    top: -140px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(202, 65, 187, 0.16) 0%, rgba(202, 65, 187, 0) 70%);
    pointer-events: none;
}

.dz-app__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}

@media (min-width: 992px) {
    .dz-app__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 64px;
    }
}

.dz-app h2 {
    color: var(--dz-ink);
}

.dz-app h2 .dz-serif {
    color: var(--dz-brand);
}

.dz-app__list {
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 18px;
}

.dz-app__list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.dz-app__list i {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-top: 2px;
    border-radius: 12px;
    background: rgba(202, 65, 187, 0.1);
    color: var(--dz-brand);
    font-size: 0.92rem;
}

.dz-app__list h3 {
    margin: 0 0 3px;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--dz-ink);
}

.dz-app__list p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(11, 7, 16, 0.6);
}

/* Store badges ------------------------------------------------------------ */

.dz-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.dz-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 22px 11px 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: var(--dz-ink);
    color: #fff;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.dz-store:hover,
.dz-store:focus {
    transform: translateY(-2px);
    background: #241732;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 16px 34px -16px rgba(11, 7, 16, 0.7);
}

.dz-store:focus-visible {
    outline: 2px solid var(--dz-brand);
    outline-offset: 3px;
}

.dz-store > i {
    font-size: 1.6rem;
    line-height: 1;
}

.dz-store__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

[dir="rtl"] .dz-store__text {
    text-align: right;
}

.dz-store__text small {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.dz-store__text strong {
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* On the dark footer variant the badge inverts */
.dz-stores--onDark .dz-store {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--dz-line-strong);
}

.dz-stores--onDark .dz-store:hover,
.dz-stores--onDark .dz-store:focus {
    background: rgba(255, 255, 255, 0.12);
}

.dz-app__note {
    margin: 18px 0 0;
    font-size: 0.78rem;
    color: rgba(11, 7, 16, 0.5);
}

.dz-app__note a {
    color: var(--dz-brand);
    font-weight: 600;
    text-decoration: underline;
}

/* App-section device pair */

.dz-app__devices {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 460px;
}

.dz-app__devices .dz-phone {
    width: 250px;
}

.dz-app__devices .dz-phone--back {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-78%, -50%) rotate(-7deg);
    z-index: 1;
    opacity: 0.96;
}

.dz-app__devices .dz-phone--front {
    position: relative;
    z-index: 2;
    transform: translateX(22%) rotate(4deg);
}

@media (max-width: 575.98px) {
    .dz-app__devices {
        min-height: 420px;
    }

    .dz-app__devices .dz-phone {
        width: 206px;
    }

    .dz-app__devices .dz-phone--back {
        transform: translate(-72%, -50%) rotate(-7deg);
    }

    .dz-app__devices .dz-phone--front {
        transform: translateX(18%) rotate(4deg);
    }
}

/* Chat mock inside the second phone */

.dz-chat {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #1a1224 0%, #100a17 100%);
    padding: 54px 14px 16px;
}

.dz-chat__head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dz-chat__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex: none;
}

.dz-chat__head strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
}

.dz-chat__head small {
    display: block;
    font-size: 0.6rem;
    color: #6fd68a;
}

.dz-chat__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
}

.dz-bubble {
    max-width: 82%;
    padding: 9px 13px;
    border-radius: 16px;
    font-size: 0.72rem;
    line-height: 1.45;
}

.dz-bubble--them {
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.88);
}

.dz-bubble--me {
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    background: linear-gradient(135deg, var(--dz-brand-lift), var(--dz-brand));
    color: #fff;
}

.dz-chat__match {
    margin: 4px auto 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(202, 65, 187, 0.16);
    border: 1px solid rgba(242, 111, 222, 0.32);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dz-brand-lift);
}

/* --------------------------------------------------------------------------
   Premium
   -------------------------------------------------------------------------- */

#premium.premium-section {
    position: relative;
    padding: 90px 0;
    background: var(--dz-ink);
    text-align: left;
}

@media (min-width: 992px) {
    #premium.premium-section {
        padding: 120px 0;
    }
}

.dz-premium {
    position: relative;
    overflow: hidden;
    padding: 44px 28px;
    border: 1px solid rgba(244, 199, 107, 0.22);
    border-radius: 28px;
    background: radial-gradient(120% 140% at 0% 0%, rgba(244, 199, 107, 0.14) 0%, rgba(244, 199, 107, 0) 55%),
        linear-gradient(150deg, rgba(29, 20, 40, 0.98) 0%, rgba(13, 9, 18, 0.98) 100%);
}

@media (min-width: 992px) {
    .dz-premium {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 48px;
        align-items: center;
        padding: 56px 52px;
    }
}

.dz-premium__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(244, 199, 107, 0.34);
    border-radius: 999px;
    background: rgba(244, 199, 107, 0.1);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dz-gold);
}

.dz-premium h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #fff;
}

.dz-premium__benefits {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 576px) {
    .dz-premium__benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .dz-premium__benefits {
        margin-top: 0;
    }
}

.dz-premium__benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--dz-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.83rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.82);
}

.dz-premium__benefits i {
    flex: none;
    color: var(--dz-gold);
    font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   SCREEN 3 — How it works + editorial features
   -------------------------------------------------------------------------- */

#features.features-section {
    padding: 90px 0;
    background: var(--dz-ink-2);
}

@media (min-width: 992px) {
    #features.features-section {
        padding: 120px 0;
    }
}

.dz-section-head {
    max-width: 620px;
    margin-bottom: 46px;
}

.dz-section-head h2 {
    color: #fff;
}

/* Always break before the serif clause so headings wrap predictably */
.dz-section-head h2 .dz-serif {
    display: block;
    color: var(--dz-brand-lift);
}

.dz-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .dz-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.dz-step {
    position: relative;
    padding: 28px 24px;
    border: 1px solid var(--dz-line);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.dz-step:hover {
    transform: translateY(-3px);
    border-color: rgba(242, 111, 222, 0.34);
}

.dz-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: rgba(202, 65, 187, 0.14);
    border: 1px solid rgba(242, 111, 222, 0.26);
    color: var(--dz-brand-lift);
    font-size: 0.98rem;
}

.dz-step h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #fff;
}

.dz-step p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--dz-fg-muted);
}

.dz-step__index {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.22);
}

[dir="rtl"] .dz-step__index {
    right: auto;
    left: 22px;
}

/* Editorial split rows */

.dz-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
    margin-top: 22px;
}

@media (min-width: 992px) {
    .dz-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px;
        margin-top: 32px;
    }

    .dz-split--flip .dz-split__media {
        order: 2;
    }
}

.dz-split__media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: var(--dz-ink-3);
}

.dz-split__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

@media (min-width: 992px) {
    .dz-split__media img {
        min-height: 380px;
    }
}

.dz-split__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(202, 65, 187, 0.18) 0%, rgba(11, 7, 16, 0.35) 100%);
    pointer-events: none;
}

.dz-split__body h3 {
    margin: 0 0 12px;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: #fff;
}

.dz-split__body p {
    margin: 0;
    max-width: 44ch;
    font-size: 0.95rem;
    line-height: 1.68;
    color: var(--dz-fg-muted);
}

.dz-split__rule {
    width: 46px;
    height: 3px;
    margin: 22px 0 0;
    border: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--dz-brand-lift), var(--dz-brand));
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

#testimony.testimony-section {
    padding: 90px 0;
    background: var(--dz-ink);
    text-align: left;
}

@media (min-width: 992px) {
    #testimony.testimony-section {
        padding: 120px 0;
    }
}

/* Neutralise the legacy #demo split-background + caption rules */
#testimony #demo {
    max-width: none;
    margin: 0;
    background: none;
}

#testimony .carousel-caption {
    position: static;
    z-index: auto;
    padding: 0;
    color: inherit;
    text-align: left;
    font-size: inherit;
    font-style: normal;
    font-weight: 400;
    line-height: inherit;
}

#testimony .carousel-caption img {
    width: auto;
    border-radius: 0;
    margin-top: 0;
}

.dz-quote {
    padding: 34px 28px;
    border: 1px solid var(--dz-line);
    border-radius: 24px;
    background: linear-gradient(150deg, rgba(29, 20, 40, 0.96) 0%, rgba(14, 9, 20, 0.96) 100%);
}

@media (min-width: 768px) {
    .dz-quote {
        padding: 48px 52px;
    }
}

.dz-quote__mark {
    display: block;
    margin-bottom: 14px;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 3rem;
    line-height: 0.6;
    color: var(--dz-brand-lift);
    opacity: 0.7;
}

.dz-quote p {
    margin: 0;
    font-size: clamp(1rem, 2.1vw, 1.3rem);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.9);
}

.dz-quote__by {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--dz-line);
}

.dz-quote__by img {
    width: 52px !important;
    height: 52px;
    border-radius: 50% !important;
    object-fit: cover;
    flex: none;
    margin-top: 0 !important;
}

.dz-quote__by strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.dz-quote__by span {
    display: block;
    margin-top: 2px;
    font-size: 0.78rem;
    color: var(--dz-fg-soft);
}

/* Carousel controls repositioned below the card */
#testimony .dz-carousel-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

#testimony .carousel-control-prev,
#testimony .carousel-control-next {
    position: static;
    width: 46px;
    height: 46px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--dz-line-strong);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    opacity: 1;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

#testimony .carousel-control-prev:hover,
#testimony .carousel-control-next:hover,
#testimony .carousel-control-prev:focus,
#testimony .carousel-control-next:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.34);
    opacity: 1;
}

#testimony .carousel-control-prev i,
#testimony .carousel-control-next i {
    padding: 0;
    background-color: transparent;
    color: #fff;
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Contact + footer
   -------------------------------------------------------------------------- */

#contact.contact-section {
    padding: 90px 0 0;
    background: var(--dz-ink-2);
}

.dz-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .dz-contact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.dz-contact-card {
    padding: 26px 24px;
    border: 1px solid var(--dz-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.dz-contact-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 11px;
    background: rgba(202, 65, 187, 0.13);
    color: var(--dz-brand-lift);
    font-size: 0.9rem;
}

.dz-contact-card h4 {
    margin: 0 0 6px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dz-fg-soft);
}

.dz-contact-card p,
.dz-contact-card a {
    margin: 0;
    font-size: 0.95rem;
    color: #fff;
    word-break: break-word;
}

.dz-contact-card a:hover {
    color: var(--dz-brand-lift);
}

.dz-social {
    display: flex;
    gap: 10px;
    margin-top: 34px;
}

.dz-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--dz-line-strong);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.dz-social a:hover,
.dz-social a:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
}

body#page-top footer {
    padding: 56px 0 40px;
    margin-top: 90px;
    background: var(--dz-ink);
    border-top: 1px solid var(--dz-line);
    text-align: left;
}

.dz-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

@media (min-width: 768px) {
    .dz-footer {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 40px;
    }
}

.dz-footer__cta h3 {
    margin: 0 0 8px;
    font-size: clamp(1.2rem, 2.6vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.dz-footer__cta p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--dz-fg-soft);
}

.dz-footer__base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid var(--dz-line);
    font-size: 0.8rem;
    color: var(--dz-fg-soft);
}

.dz-footer__base a {
    color: var(--dz-fg-soft);
}

.dz-footer__base a:hover {
    color: #fff;
}

.dz-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .dz-btn,
    .dz-step,
    .dz-store,
    #mainNav {
        transition: none;
    }

    .dz-btn:hover,
    .dz-step:hover,
    .dz-store:hover {
        transform: none;
    }
}
