/* HejBit Lead Magnet Landing Pages - Shared Styles
/* ---------------------------------------------------------- */

/* Lead Magnet Color Tokens */
.lm-page {
    --lm-bg: #0B1622;
    --lm-surface: #111E2D;
    --lm-surface2: #162233;
    --lm-border: rgba(255,255,255,0.10);
    --lm-border2: rgba(255,255,255,0.06);
    --lm-yellow: #F6C90E;
    --lm-yellow-bg: rgba(246,201,14,0.08);
    --lm-yellow-bd: rgba(246,201,14,0.25);
    --lm-white: #FFFFFF;
    --lm-white85: rgba(255,255,255,0.85);
    --lm-white55: rgba(255,255,255,0.55);
    --lm-white30: rgba(255,255,255,0.30);
    --lm-white10: rgba(255,255,255,0.10);

    background: var(--lm-bg);
    color: var(--lm-white);
    font-family: 'Space Grotesk', Poppins, Lato, sans-serif;
    font-weight: 300;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* NAV */
.lm-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--lm-border);
    background: rgba(11,22,34,0.95);
    position: sticky;
    top: 0;
    z-index: 100;
}

@media (min-width: 768px) {
    .lm-nav {
        padding: 16px 48px;
    }
}

.lm-nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.lm-nav-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.lm-nav-pill {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--lm-yellow);
    border: 1px solid var(--lm-yellow-bd);
    padding: 4px 10px;
    border-radius: 2px;
}

/* HERO */
.lm-hero {
    padding: 48px 24px 40px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--lm-border);
}

@media (min-width: 768px) {
    .lm-hero {
        padding: 72px 48px 60px;
    }
}

.lm-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--lm-border2) 1px, transparent 1px),
        linear-gradient(90deg, var(--lm-border2) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 0%, transparent 100%);
}

.lm-hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .lm-hero-inner {
        display: grid;
        grid-template-columns: 1fr 420px;
        gap: 48px;
        align-items: start;
    }
}

.lm-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--lm-yellow);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lm-eyebrow::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--lm-yellow);
    flex-shrink: 0;
}

.lm-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--lm-white);
}

.lm-hero-title mark {
    background: none;
    color: var(--lm-yellow);
}

.lm-hero-subhead {
    font-size: 15px;
    font-weight: 300;
    color: var(--lm-white55);
    line-height: 1.65;
    max-width: 580px;
    margin-bottom: 24px;
}

/* Benefits list */
.lm-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lm-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
    color: var(--lm-white85);
    line-height: 1.5;
}

.lm-benefits li::before {
    content: '✓';
    color: var(--lm-yellow);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* FORM */
.lm-form-card {
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    border-radius: 6px;
    padding: 28px 24px;
    margin-top: 32px;
}

@media (min-width: 1024px) {
    .lm-form-card {
        margin-top: 0;
    }
}

.lm-form-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--lm-white);
    margin-bottom: 20px;
}

.lm-field {
    margin-bottom: 16px;
}

.lm-field label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--lm-white55);
    margin-bottom: 6px;
}

.lm-field label .required {
    color: var(--lm-yellow);
}

.lm-field input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--lm-border);
    border-radius: 4px;
    color: var(--lm-white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 400;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lm-field input::placeholder {
    color: var(--lm-white30);
}

.lm-field input:focus {
    outline: none;
    border-color: var(--lm-yellow);
    box-shadow: 0 0 0 2px rgba(246,201,14,0.15);
}

.lm-submit {
    width: 100%;
    padding: 12px 24px;
    background: var(--lm-yellow);
    color: var(--lm-bg);
    border: none;
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.15s ease;
    margin-top: 4px;
}

.lm-submit:hover {
    opacity: 0.9;
}

.lm-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.lm-trust {
    margin-top: 14px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.3px;
    color: var(--lm-white30);
    text-align: center;
    line-height: 1.5;
}

/* Form states */
.lm-form-success,
.lm-form-error {
    padding: 16px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.lm-form-success {
    background: rgba(246,201,14,0.08);
    border: 1px solid var(--lm-yellow-bd);
    color: var(--lm-white85);
    display: none;
}

.lm-form-error {
    background: rgba(240,82,48,0.08);
    border: 1px solid rgba(240,82,48,0.25);
    color: #f05230;
    display: none;
    margin-top: 12px;
}

.lm-form-success a,
.lm-form-error a {
    color: var(--lm-yellow);
    text-decoration: underline;
}

/* PREVIEW SECTION */
.lm-preview {
    padding: 48px 24px;
    border-bottom: 1px solid var(--lm-border);
}

@media (min-width: 768px) {
    .lm-preview {
        padding: 60px 48px;
    }
}

.lm-preview-inner {
    max-width: 900px;
    margin: 0 auto;
}

.lm-preview-heading {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--lm-yellow);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.lm-preview-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--lm-border);
}

.lm-preview-content {
    position: relative;
}

.lm-preview-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, var(--lm-bg));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
    z-index: 2;
}

.lm-preview-fade span {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--lm-yellow);
    background: var(--lm-bg);
    padding: 6px 16px;
    border: 1px solid var(--lm-yellow-bd);
    border-radius: 2px;
}

/* SOCIAL PROOF */
.lm-social-proof {
    padding: 36px 24px;
    border-bottom: 1px solid var(--lm-border);
    text-align: center;
}

@media (min-width: 768px) {
    .lm-social-proof {
        padding: 48px;
    }
}

.lm-social-proof-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .lm-social-proof-inner {
        flex-direction: row;
        justify-content: center;
        gap: 32px;
    }
}

.lm-social-proof span {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--lm-white30);
}

.lm-social-proof .lm-divider {
    display: none;
}

@media (min-width: 768px) {
    .lm-social-proof .lm-divider {
        display: block;
        width: 1px;
        height: 14px;
        background: var(--lm-border);
    }
}

/* DARK FOOTER (matches page-hejbit) */
.page-hejbit-ngo .mp-footer,
.page-hejbit-framework .mp-footer,
.page-hejbit-checklist .mp-footer {
    background: var(--mp-hejbit-bg-dark, #0B1622) !important;
    color: var(--mp-color-white, #fff) !important;
}

.page-hejbit-ngo .mp-footer hr,
.page-hejbit-framework .mp-footer hr,
.page-hejbit-checklist .mp-footer hr {
    border-color: var(--mp-hejbit-yellow, #FFE100) !important;
    border-width: 2px;
    max-width: 80%;
    margin-top: 40px;
    margin-bottom: 48px;
}

.page-hejbit-ngo .mp-footer-title,
.page-hejbit-ngo .mp-footer-nav a,
.page-hejbit-ngo .mp-footer-text,
.page-hejbit-framework .mp-footer-title,
.page-hejbit-framework .mp-footer-nav a,
.page-hejbit-framework .mp-footer-text,
.page-hejbit-checklist .mp-footer-title,
.page-hejbit-checklist .mp-footer-nav a,
.page-hejbit-checklist .mp-footer-text {
    color: var(--mp-color-white, #fff) !important;
}

.page-hejbit-ngo .mp-footer-social-icon,
.page-hejbit-framework .mp-footer-social-icon,
.page-hejbit-checklist .mp-footer-social-icon {
    filter: none !important;
    color: var(--mp-color-white, #fff) !important;
    fill: var(--mp-color-white, #fff) !important;
}

.page-hejbit-ngo .mp-footer-socials a:hover .mp-footer-social-icon,
.page-hejbit-framework .mp-footer-socials a:hover .mp-footer-social-icon,
.page-hejbit-checklist .mp-footer-socials a:hover .mp-footer-social-icon {
    filter: brightness(1.2) !important;
    color: var(--mp-hejbit-yellow, #FFE100) !important;
    fill: var(--mp-hejbit-yellow, #FFE100) !important;
}
