/* ── Marketing Page ──────────────────────────────────────── */

/* ── Marketing Hero ── */
.mkt-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mkt-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.mkt-hero__scrim {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.54);
    z-index: 1;
}

/* Top gradient veil for navbar readability */
.mkt-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 180px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.mkt-hero__content {
    position: relative;
    z-index: 2;
    padding: 0 var(--pad-x);
    max-width: 860px;
}

.mkt-hero__label {
    display: block;
    color: var(--accent-light, #9B4FDE);
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.mkt-hero__title {
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    line-height: 0.95;
    margin-bottom: 32px;
}

.mkt-hero__sub {
    font-size: 1.05rem;
    font-weight: 200;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 520px;
}

/* ── Domains ── */
.domains {
    padding: 100px var(--pad-x);
    background: var(--pure-white);
}

.domains__intro {
    max-width: 700px;
    margin-bottom: 70px;
}

.domains__intro p {
    font-size: 1.1rem;
    font-weight: 200;
    line-height: 1.7;
    color: var(--grey-600);
}

.domains__intro p strong {
    color: var(--black);
    font-weight: 500;
}

.domains__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.domain-card {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: default;
}

.domain-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.domain-card:hover .domain-card__img {
    transform: scale(1.07);
}

.domain-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.1) 55%);
    transition: background 0.4s ease;
}

.domain-card:hover .domain-card__overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.25) 55%);
}

.domain-card__body {
    position: relative;
    z-index: 2;
    padding: 36px 36px 40px;
    color: #fff;
}

.domain-card__num {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    display: block;
    margin-bottom: 10px;
}

.domain-card__title {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 16px;
}

.domain-card__desc {
    font-size: 0.88rem;
    font-weight: 200;
    line-height: 1.65;
    color: rgba(255,255,255,0.7);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-out), opacity 0.45s ease;
    opacity: 0;
}

.domain-card:hover .domain-card__desc {
    max-height: 200px;
    opacity: 1;
}

/* ── Why it matters (stats) ── */
.why-matters {
    padding: 100px var(--pad-x);
    background: var(--black);
    color: var(--white);
}

.why-matters__header {
    margin-bottom: 70px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 70px;
}

.stat-item {
    padding: 48px 36px;
    background: var(--black);
}

.stat-item__value {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    margin-bottom: 10px;
}

.stat-item__label {
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    line-height: 1.4;
}

/* ── Process ── */
.process {
    padding: 100px var(--pad-x);
    background: var(--grey-100);
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 60px;
}

.process-step {
    padding: 40px 32px;
    background: var(--pure-white);
    border-top: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.process-step:hover {
    border-color: var(--black);
}

.process-step__num {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--grey-400);
    display: block;
    margin-bottom: 24px;
}

.process-step__title {
    font-size: 1.3rem;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 16px;
}

.process-step__desc {
    font-size: 0.85rem;
    font-weight: 200;
    line-height: 1.7;
    color: var(--grey-600);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .domains__grid {
        grid-template-columns: 1fr;
    }
    .domain-card {
        min-height: 380px;
    }
    .domain-card__desc {
        max-height: 200px;
        opacity: 1;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process__steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mkt-hero__content {
        padding: 0 var(--pad-x-sm);
    }
    .domains,
    .why-matters,
    .process {
        padding: 70px var(--pad-x-sm);
    }
}

@media (max-width: 560px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .process__steps {
        grid-template-columns: 1fr;
    }
}
