/* ============================================================
   TerritoryIQ Marketing / Landing Page
   Built on top of variables.css + theme.css — same design tokens
   as the app (brand orange #d44c1e), extended with a dark,
   glassmorphism gradient treatment for the public-facing site.
   ============================================================ */

.mkt-body {
    margin: 0;
    background: var(--bg-page);
    overflow-x: hidden;
}

.mkt-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ---------- Scroll-reveal animation ---------- */

.mkt-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.mkt-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.mkt-challenges__list .mkt-reveal--stagger.is-visible,
.mkt-pricing__grid .mkt-reveal--stagger.is-visible,
.mkt-features__grid .mkt-reveal--stagger.is-visible,
.mkt-support__grid .mkt-reveal--stagger.is-visible {
    transition-delay: var(--mkt-reveal-delay, 0s);
}

.mkt-challenges__list .mkt-reveal--stagger:nth-child(1),
.mkt-pricing__grid .mkt-reveal--stagger:nth-child(1),
.mkt-features__grid .mkt-reveal--stagger:nth-child(1),
.mkt-support__grid .mkt-reveal--stagger:nth-child(1) { --mkt-reveal-delay: 0s; }

.mkt-challenges__list .mkt-reveal--stagger:nth-child(2),
.mkt-pricing__grid .mkt-reveal--stagger:nth-child(2),
.mkt-features__grid .mkt-reveal--stagger:nth-child(2),
.mkt-support__grid .mkt-reveal--stagger:nth-child(2) { --mkt-reveal-delay: 0.08s; }

.mkt-challenges__list .mkt-reveal--stagger:nth-child(3),
.mkt-pricing__grid .mkt-reveal--stagger:nth-child(3),
.mkt-features__grid .mkt-reveal--stagger:nth-child(3),
.mkt-support__grid .mkt-reveal--stagger:nth-child(3) { --mkt-reveal-delay: 0.16s; }

.mkt-challenges__list .mkt-reveal--stagger:nth-child(4),
.mkt-pricing__grid .mkt-reveal--stagger:nth-child(4),
.mkt-features__grid .mkt-reveal--stagger:nth-child(4) { --mkt-reveal-delay: 0.24s; }

.mkt-features__grid .mkt-reveal--stagger:nth-child(5) { --mkt-reveal-delay: 0.32s; }
.mkt-features__grid .mkt-reveal--stagger:nth-child(6) { --mkt-reveal-delay: 0.4s; }

.mkt-hero-in {
    opacity: 0;
    transform: translateY(20px);
    animation: mktHeroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mkt-hero-in--delay {
    animation-delay: 0.15s;
}

@keyframes mktHeroIn {
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mkt-reveal,
    .mkt-hero-in {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }
}

/* ---------- Top wrapper: nav + hero share one continuous gradient ---------- */

.mkt-top {
    position: relative;
    overflow: hidden;
    /* Base tones match the app's own dark surfaces (--surface-0/1/2 in variables.css)
       - a charcoal-navy, not black - with the brand orange layered on top as radial
       glows for the accent. */
    background:
        radial-gradient(ellipse 900px 600px at 15% -10%, rgba(212, 76, 30, 0.55), transparent 60%),
        radial-gradient(ellipse 700px 500px at 100% 0%, rgba(184, 64, 26, 0.35), transparent 55%),
        linear-gradient(180deg, #0d1017 0%, #12161f 45%, #0a0d13 100%);
}

/* ---------- Nav ---------- */

.mkt-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    /* No backdrop-filter here on purpose - blur/saturate would visually alter this
       strip of the shared .mkt-top gradient compared to the hero directly below it,
       creating a seam. Fully transparent with zero effect keeps it one continuous
       background. */
}

.mkt-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    max-width: 1200px;
    margin: 0 auto;
}

.mkt-nav__brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    color: var(--color-white);
}

.mkt-nav__brand img {
    height: 80px;
    width: auto;
}

.mkt-nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
    margin: 0;
    padding: 0;
}

.mkt-nav__links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
}

.mkt-nav__links a:hover {
    color: var(--color-white);
}

.mkt-nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.mkt-nav__login {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

.mkt-nav__login:hover {
    color: var(--color-white);
}

.mkt-nav__cta {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    border-radius: var(--border-radius-lg);
    background: var(--color-primary);
    color: var(--color-white);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    box-shadow: 0 4px 14px rgba(212, 76, 30, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.mkt-nav__cta:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(212, 76, 30, 0.45);
    color: var(--color-white);
}

.mkt-nav__toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ---------- Hero ---------- */

.mkt-hero {
    position: relative;
    padding: var(--space-12) var(--space-6) 6rem;
    /* No overflow:hidden here - it lives on .mkt-top instead, so the ::before glow
       orb below (which pokes up above hero's own top edge, into the nav area) isn't
       clipped right at the nav/hero boundary. That clipping was the actual cause of
       the visible seam - the shared background itself was already continuous. */
}

.mkt-hero::before {
    /* soft glass orb, top-left - same brand orange as the background gradient below,
       just a touch brighter at the core, so this reads as one shade, not two */
    content: "";
    position: absolute;
    top: -140px;
    left: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(212, 76, 30, 0.4), rgba(212, 76, 30, 0.05) 70%);
    filter: blur(10px);
    pointer-events: none;
}

.mkt-hero::after {
    /* soft glass orb, bottom-right */
    content: "";
    position: absolute;
    bottom: -180px;
    right: -140px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.06), transparent 70%);
    filter: blur(6px);
    pointer-events: none;
}

.mkt-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-12);
    align-items: center;
}

.mkt-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: rgba(255, 205, 178, 0.95);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-5);
}

.mkt-hero__eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 8px 2px rgba(212, 76, 30, 0.7);
}

.mkt-hero__title {
    font-size: clamp(2.25rem, 4.2vw, 3.5rem);
    line-height: 1.08;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin: 0 0 var(--space-5);
    letter-spacing: -0.01em;
}

.mkt-hero__title em {
    font-style: normal;
    background: linear-gradient(90deg, #ff9a59, var(--color-primary) 60%, #ffb98a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mkt-hero__subtitle {
    font-size: var(--font-size-lg);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.68);
    max-width: 46ch;
    margin: 0 0 var(--space-8);
}

.mkt-hero__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.mkt-hero__cta-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.85rem 1.6rem;
    border-radius: var(--border-radius-lg);
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    box-shadow: 0 8px 24px rgba(212, 76, 30, 0.4);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.mkt-hero__cta-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 76, 30, 0.5);
    color: var(--color-white);
}

.mkt-hero__cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.85rem 1.4rem;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    color: var(--color-white);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.mkt-hero__cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: var(--color-white);
}

.mkt-hero__stats {
    display: flex;
    gap: var(--space-8);
}

.mkt-hero__stat-value {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    display: block;
}

.mkt-hero__stat-label {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- Hero visual: glass "product card" stack ---------- */

.mkt-hero__visual {
    position: relative;
    height: 460px;
}

.mkt-hero__panel {
    position: absolute;
    border-radius: var(--border-radius-xl);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    padding: var(--space-5);
}

.mkt-hero__panel--main {
    top: 0;
    left: 6%;
    width: 88%;
    height: 300px;
    z-index: 2;
}

.mkt-hero__panel--score {
    bottom: 10px;
    right: -4%;
    width: 220px;
    z-index: 3;
    background: rgba(212, 76, 30, 0.16);
    border-color: rgba(255, 154, 89, 0.35);
}

.mkt-hero__panel--signal {
    top: 30px;
    right: 0;
    width: 180px;
    z-index: 3;
}

.mkt-hero__panel-label {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 var(--space-2);
}

.mkt-hero__panel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mkt-hero__panel-row:last-child {
    border-bottom: none;
}

.mkt-hero__panel-company {
    font-size: var(--font-size-sm);
    color: var(--color-white);
    font-weight: var(--font-weight-medium);
}

.mkt-hero__panel-score {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: #ffb98a;
    background: rgba(212, 76, 30, 0.2);
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
}

.mkt-hero__panel-big-score {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    line-height: 1;
}

.mkt-hero__panel-caption {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-1);
}

.mkt-hero__panel-signal-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-success);
    margin-right: var(--space-2);
}

/* ---------- Sales Challenges ---------- */

.mkt-challenges {
    background: var(--surface-0);
    padding: 5.5rem 0;
}

.mkt-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-10);
}

.mkt-section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin: 0 0 var(--space-3);
}

.mkt-section-subtitle {
    font-size: var(--font-size-base);
    color: var(--color-gray-500);
    line-height: 1.6;
    margin: 0;
}

.mkt-challenges__track {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.mkt-challenges__list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

.mkt-challenge-card {
    background: var(--surface-1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-xl);
    padding: var(--space-6);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.mkt-challenge-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 76, 30, 0.35);
}

.mkt-challenge-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--border-radius-lg);
    background: var(--color-primary-light);
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
}

.mkt-challenge-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    margin: 0 0 var(--space-2);
}

.mkt-challenge-card__text {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    line-height: 1.6;
    margin: 0;
}

.mkt-challenges__arrow {
    /* Hidden on desktop - the grid below already shows all 4 cards at once, so
       there's nothing to scroll to. Only shown (and only functional) once the list
       switches to a horizontally-scrolling row on smaller screens, in the
       Responsive section below. */
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.mkt-challenges__arrow:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* ---------- Pricing ---------- */

.mkt-pricing {
    background: var(--surface-1);
    padding: 5.5rem 0;
}

.mkt-pricing__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    align-items: stretch;
}

.mkt-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(160deg, rgba(212, 76, 30, 0.16), rgba(37, 99, 235, 0.12) 60%, var(--surface-2) 100%),
        var(--surface-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-xl);
    padding: var(--space-6);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.mkt-price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 76, 30, 0.35);
}

.mkt-price-card--featured {
    border: 2px solid var(--color-primary);
}

.mkt-price-card__star {
    position: absolute;
    top: -14px;
    right: -14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 1rem;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(212, 76, 30, 0.45);
}

.mkt-price-card__name {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 var(--space-3);
}

.mkt-price-card__price {
    font-size: 2.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin: 0;
    line-height: 1;
}

.mkt-price-card__price span {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-regular);
    color: var(--color-gray-500);
}

.mkt-price-card__credits {
    font-size: var(--font-size-sm);
    color: #ff9a68;
    margin: var(--space-2) 0 var(--space-5);
}

.mkt-price-card__features {
    list-style: none;
    margin: 0 0 var(--space-6);
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.mkt-price-card__features li {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    padding-left: 1.4rem;
    position: relative;
}

.mkt-price-card__features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.mkt-price-card__cta {
    display: block;
    text-align: center;
    padding: 0.65rem 1rem;
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    background: var(--surface-1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.mkt-price-card__cta:hover {
    border-color: var(--color-primary);
}

.mkt-price-card__cta--primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.mkt-price-card__cta--primary:hover {
    background: var(--color-primary-dark);
}

/* ---------- Features ---------- */

.mkt-features {
    background: linear-gradient(160deg, #1a0f08 0%, #2b1409 35%, #120a12 70%, #0a0710 100%);
    padding: 7rem 0 8rem;
    overflow: hidden;
}

.mkt-features__grid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-top: 2.5rem;
}

.mkt-feature-card {
    position: relative;
    flex: 0 0 240px;
    width: 240px;
    min-height: 320px;
    background: linear-gradient(165deg, rgba(212, 76, 30, 0.16), rgba(20, 14, 28, 0.95) 55%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: var(--space-6) var(--space-5) var(--space-6);
    margin-left: -64px;
    z-index: 1;
    cursor: default;
    box-shadow: -12px 0 24px rgba(0, 0, 0, 0.35);
    transform-origin: bottom center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease,
        background 0.45s ease,
        border-color 0.45s ease;
}

.mkt-feature-card:first-child {
    margin-left: 0;
}

.mkt-feature-card:hover {
    transform: translateY(-18px) scale(1.05) rotate(-2deg);
    z-index: 10;
    background: linear-gradient(165deg, rgba(212, 76, 30, 0.4), rgba(28, 16, 12, 0.97) 60%);
    border-color: rgba(212, 76, 30, 0.5);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 76, 30, 0.2);
}

.mkt-feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.08);
    font-size: 1.4rem;
    margin-bottom: var(--space-4);
}

.mkt-feature-card__title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    margin: 0 0 var(--space-2);
    line-height: 1.3;
}

.mkt-feature-card__text {
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    line-height: 1.6;
    margin: 0;
}

/* ---------- Showcase ---------- */

.mkt-showcase {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 700px 450px at 15% 10%, rgba(212, 76, 30, 0.22), transparent 60%),
        radial-gradient(ellipse 700px 450px at 85% 90%, rgba(37, 99, 235, 0.2), transparent 60%),
        linear-gradient(180deg, #0a0d13 0%, #10131c 50%, #0a0d13 100%);
    padding: 6.5rem 0 8rem;
}

.mkt-showcase__lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.mkt-showcase__lines svg {
    width: 100%;
    height: 100%;
}

.mkt-showcase .mkt-container {
    position: relative;
    z-index: 1;
}

.mkt-showcase__frame {
    position: relative;
    max-width: 980px;
    margin: 3.5rem auto 0;
}

.mkt-showcase__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 12px 32px rgba(212, 76, 30, 0.18);
}

/* ---------- Support / Contact pages ---------- */

.mkt-top--page {
    padding-bottom: 3rem;
}

.mkt-page-hero {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-6) 2rem;
    text-align: center;
}

.mkt-page-hero__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin: var(--space-4) 0 var(--space-4);
}

.mkt-page-hero__subtitle {
    font-size: var(--font-size-base);
    color: var(--color-gray-500);
    line-height: 1.7;
    margin: 0;
}

.mkt-page-body {
    background: var(--surface-0);
    padding: 5.5rem 0 7rem;
}

.mkt-container--narrow {
    max-width: 960px;
}

.mkt-support__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.mkt-support-card {
    background: var(--surface-1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-xl);
    padding: var(--space-6);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.mkt-support-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 76, 30, 0.35);
}

.mkt-support-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    margin: 0 0 var(--space-2);
}

.mkt-support-card__text {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    line-height: 1.6;
    margin: 0 0 var(--space-4);
}

.mkt-support-card__link,
.mkt-support-card__inline-link {
    color: #ff9a68;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

.mkt-support-card__link:hover,
.mkt-support-card__inline-link:hover {
    text-decoration: underline;
}

.mkt-support__cta {
    text-align: center;
    margin-top: 3.5rem;
}

.mkt-support__cta p {
    color: var(--color-gray-500);
    font-size: var(--font-size-base);
    margin: 0 0 var(--space-5);
}

.mkt-contact-form {
    margin-top: 4.5rem;
    background: var(--surface-1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-xl);
    padding: var(--space-8);
}

.mkt-contact-form__success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    border-radius: var(--border-radius-lg);
    padding: var(--space-4) var(--space-5);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-6);
}

.mkt-contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

.mkt-contact-form__field {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.mkt-contact-form__field--full {
    grid-column: 1 / -1;
}

.mkt-contact-form__field label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
}

.mkt-contact-form__optional {
    font-weight: var(--font-weight-regular);
    color: var(--color-gray-500);
}

.mkt-contact-form__field input,
.mkt-contact-form__field textarea {
    background: var(--surface-2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 0.7rem 0.9rem;
    color: var(--color-white);
    font-size: var(--font-size-sm);
    font-family: inherit;
    resize: vertical;
}

.mkt-contact-form__field input:focus,
.mkt-contact-form__field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.mkt-contact-form__field input::placeholder,
.mkt-contact-form__field textarea::placeholder {
    color: var(--color-gray-400);
}

.mkt-contact-form__error {
    font-size: var(--font-size-xs);
    color: #f87171;
}

.mkt-contact-form button[type="submit"] {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ---------- Footer ---------- */

.mkt-footer {
    background: #070911;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4.5rem 0 2rem;
}

.mkt-footer__top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    align-items: start;
    gap: var(--space-8);
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mkt-footer__brand .mkt-nav__brand {
    padding: 0;
    margin-bottom: var(--space-4);
}

.mkt-footer__brand .mkt-nav__brand img {
    height: 34px;
}

.mkt-footer__tagline {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    line-height: 1.7;
    max-width: 320px;
    margin: 0;
}

.mkt-footer__heading {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 var(--space-4);
}

.mkt-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.mkt-footer__col a {
    color: var(--color-gray-500);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mkt-footer__col a:hover {
    color: var(--color-primary);
}

.mkt-footer__bottom {
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.mkt-footer__bottom p {
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    margin: 0;
}

.mkt-footer__legal a {
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mkt-footer__legal a:hover {
    color: var(--color-primary);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .mkt-nav__links,
    .mkt-nav__login {
        display: none;
    }

    .mkt-nav__toggle {
        display: block;
    }

    .mkt-hero__inner {
        grid-template-columns: 1fr;
    }

    .mkt-hero__visual {
        height: 340px;
        margin-top: var(--space-8);
    }

    .mkt-challenges__list {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .mkt-challenges__list::-webkit-scrollbar {
        display: none;
    }

    .mkt-challenge-card {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }

    .mkt-challenges__arrow {
        display: flex;
    }

    .mkt-pricing__grid {
        grid-template-columns: 1fr 1fr;
    }

    .mkt-features__grid {
        grid-template-columns: 1fr 1fr;
    }

    .mkt-support__grid {
        grid-template-columns: 1fr;
    }

    .mkt-contact-form__grid {
        grid-template-columns: 1fr;
    }

    .mkt-footer__top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .mkt-footer__top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .mkt-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mkt-hero__stats {
        gap: var(--space-6);
    }

    .mkt-pricing__grid {
        grid-template-columns: 1fr;
    }

    .mkt-features__grid {
        grid-template-columns: 1fr;
    }
}
