/*
 * Repair Tracker — marketing / landing pages
 */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
    --mkt-font: "Plus Jakarta Sans", system-ui, sans-serif;
    --mkt-primary: #2563eb;
    --mkt-primary-dark: #1d4ed8;
    --mkt-primary-soft: #eff6ff;
    --mkt-text: #0f172a;
    --mkt-text-muted: #64748b;
    --mkt-border: #e2e8f0;
    --mkt-bg: #ffffff;
    --mkt-bg-alt: #f8fafc;
    --mkt-gradient: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
}

body.marketing-page {
    font-family: var(--mkt-font);
    color: var(--mkt-text);
    background: var(--mkt-bg);
    -webkit-font-smoothing: antialiased;
}

/* ── Navbar ───────────────────────────────────────────── */

.mkt-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--mkt-border);
}

.mkt-nav .navbar-brand {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--mkt-text) !important;
    letter-spacing: -0.02em;
}

.mkt-nav .brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: var(--mkt-gradient);
    color: #fff;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.mkt-nav .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--mkt-text-muted) !important;
}

.mkt-nav .nav-link:hover {
    color: var(--mkt-text) !important;
}

.mkt-btn {
    font-weight: 600;
    border-radius: 0.625rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    transition: transform 0.15s, box-shadow 0.15s;
}

.mkt-btn:active {
    transform: scale(0.98);
}

.mkt-btn-primary {
    background: var(--mkt-gradient);
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.mkt-btn-primary:hover {
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.mkt-btn-outline {
    border: 1px solid var(--mkt-border);
    color: var(--mkt-text);
    background: #fff;
}

.mkt-btn-outline:hover {
    background: var(--mkt-bg-alt);
    color: var(--mkt-text);
    border-color: #cbd5e1;
}

.mkt-btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.75rem;
}

/* ── Hero ───────────────────────────────────────────── */

.mkt-hero {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 4rem;
    background: var(--mkt-bg-alt);
}

.mkt-hero .container {
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .mkt-hero {
        padding: 5rem 0 6rem;
    }
}

/* Decorative glow — desktop only (avoids lopsided tint on mobile) */
.mkt-hero::before {
    display: none;
}

@media (min-width: 992px) {
    .mkt-hero::before {
        display: block;
        content: "";
        position: absolute;
        top: -40%;
        right: -20%;
        width: 60%;
        height: 120%;
        background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
        pointer-events: none;
    }
}

.mkt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    background: var(--mkt-primary-soft);
    color: var(--mkt-primary);
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.mkt-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .mkt-hero h1 {
        font-size: 3.25rem;
    }
}

.mkt-hero .lead {
    font-size: 1.05rem;
    color: var(--mkt-text-muted);
    max-width: 32rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.mkt-hero-visual {
    position: relative;
    margin-top: 2.5rem;
}

@media (min-width: 992px) {
    .mkt-hero-visual {
        margin-top: 0;
    }
}

.mkt-mockup {
    background: #fff;
    border: 1px solid var(--mkt-border);
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    overflow: hidden;
}

.mkt-mockup-bar {
    display: flex;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    background: var(--mkt-bg-alt);
    border-bottom: 1px solid var(--mkt-border);
}

.mkt-mockup-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #cbd5e1;
}

.mkt-mockup-body {
    padding: 1.25rem;
}

.mkt-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mkt-stat-box {
    background: var(--mkt-bg-alt);
    border-radius: 0.75rem;
    padding: 0.85rem;
    text-align: center;
}

.mkt-stat-box .num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--mkt-primary);
}

.mkt-stat-box .lbl {
    font-size: 0.65rem;
    color: var(--mkt-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mkt-job-preview {
    background: #fff;
    border: 1px solid var(--mkt-border);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.mkt-job-preview:last-child {
    margin-bottom: 0;
}

/* ── Sections ───────────────────────────────────────── */

.mkt-section {
    padding: 4rem 0;
}

.mkt-section-alt {
    background: var(--mkt-bg-alt);
}

.mkt-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    text-align: center;
}

.mkt-section-sub {
    color: var(--mkt-text-muted);
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2.5rem;
}

.mkt-feature-card {
    background: #fff;
    border: 1px solid var(--mkt-border);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mkt-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.mkt-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: var(--mkt-primary-soft);
    color: var(--mkt-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.mkt-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mkt-feature-card p {
    font-size: 0.9rem;
    color: var(--mkt-text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ── Steps ──────────────────────────────────────────── */

.mkt-step {
    text-align: center;
    padding: 1rem;
}

.mkt-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--mkt-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.mkt-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.mkt-step p {
    font-size: 0.875rem;
    color: var(--mkt-text-muted);
    margin-bottom: 0;
}

/* ── Pricing ────────────────────────────────────────── */

.mkt-pricing-card {
    max-width: 24rem;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--mkt-primary);
    border-radius: 1.25rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
}

.mkt-pricing-card .price {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mkt-text);
}

.mkt-pricing-card .price span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--mkt-text-muted);
}

.mkt-pricing-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.mkt-pricing-list li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--mkt-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mkt-pricing-list li i {
    color: #059669;
}

/* ── CTA band ───────────────────────────────────────── */

.mkt-cta {
    background: var(--mkt-gradient);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.mkt-cta h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.mkt-cta p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.mkt-cta .mkt-btn-outline {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.mkt-cta .mkt-btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ── Footer ─────────────────────────────────────────── */

.mkt-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 2rem;
    font-size: 0.875rem;
}

.mkt-footer a {
    color: #cbd5e1;
    text-decoration: none;
}

.mkt-footer a:hover {
    color: #fff;
}

.mkt-footer-brand {
    font-weight: 800;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.mkt-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mkt-footer-links li {
    margin-bottom: 0.5rem;
}

/* ── Legal pages ────────────────────────────────────── */

.mkt-legal {
    max-width: 42rem;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.mkt-legal h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.mkt-legal .updated {
    color: var(--mkt-text-muted);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.mkt-legal h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.mkt-legal p,
.mkt-legal li {
    color: var(--mkt-text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.mkt-legal ul {
    padding-left: 1.25rem;
}

.mkt-legal a {
    color: var(--mkt-primary);
}
