/* Public marketing landing (root index.php) — BCIT red / white */

:root {
    --bc-red: #c41e3a;
    --bc-red-dark: #9a1830;
    --bc-red-light: #fdf2f4;
    --bc-text: #1a1a1a;
    --bc-muted: #5c5c5c;
    --bc-white: #ffffff;
    --bc-border: #e8e8e8;
}

.landing-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--bc-text);
    background: var(--bc-white);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

.landing-page * {
    box-sizing: border-box;
}

.bcitiny-staging-banner {
    background: #b45309;
    color: #fff;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom: 2px solid #92400e;
}

.bcitiny-staging-banner-url {
    font-weight: 400;
    opacity: 0.9;
    margin-left: 0.35rem;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.landing-nav .brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--bc-text);
    font-weight: 700;
    font-size: 1.25rem;
}

.landing-nav .brand img {
    height: 42px;
    width: auto;
}

.landing-nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.landing-btn {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.landing-btn:hover {
    transform: translateY(-1px);
}

.landing-btn-ghost {
    color: var(--bc-red);
    border: 2px solid var(--bc-red);
    background: transparent;
}

.landing-btn-ghost:hover {
    background: var(--bc-red-light);
}

.landing-btn-primary {
    background: var(--bc-red);
    color: var(--bc-white);
    border: 2px solid var(--bc-red);
}

.landing-btn-primary:hover {
    background: var(--bc-red-dark);
    border-color: var(--bc-red-dark);
}

.landing-btn-outline-light {
    color: var(--bc-white);
    border: 2px solid var(--bc-white);
    background: transparent;
}

.landing-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

.landing-hero {
    background: linear-gradient(135deg, var(--bc-red) 0%, var(--bc-red-dark) 100%);
    color: var(--bc-white);
    padding: 3rem 1.5rem 4rem;
    overflow-x: hidden;
}

.landing-hero-split {
    text-align: left;
}

.landing-hero-grid {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.landing-hero-copy {
    max-width: 520px;
    min-width: 0;
}

.landing-hero-copy h1 {
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.landing-hero-copy p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.landing-hero-split .landing-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
}

.landing-hero-trust {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    opacity: 0.88;
}

.landing-hero-visual {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.landing-browser-frame {
    background: var(--bc-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: 100%;
    max-width: 100%;
}

.landing-browser-frame img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.landing-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.landing-hero-inner.landing-hero-grid {
    max-width: 1100px;
}

.landing-hero h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.landing-hero p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.landing-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.landing-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.landing-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--bc-red);
    margin-bottom: 0.5rem;
}

.landing-section .section-lead {
    text-align: center;
    color: var(--bc-muted);
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.landing-audiences-section {
    padding-top: 3.5rem;
}

.landing-audiences-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bc-red);
    margin: -1.5rem auto 1.5rem;
}

.landing-audiences {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.landing-audience-card {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: 12px;
    padding: 1.5rem 1.35rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.landing-audience-icon {
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 0.65rem;
}

.landing-audience-card h3 {
    color: var(--bc-red);
    font-size: 1.05rem;
    margin: 0 0 0.75rem;
}

.landing-audience-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landing-audience-card li {
    position: relative;
    padding: 0.3rem 0 0.3rem 1.15rem;
    color: var(--bc-muted);
    font-size: 0.92rem;
}

.landing-audience-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--bc-red);
    font-weight: 700;
}

.landing-online-section {
    background: var(--bc-red-light);
    max-width: none;
    width: 100%;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.landing-online-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.landing-online-copy h2 {
    text-align: left;
    margin-bottom: 0.75rem;
}

.landing-online-copy .section-lead,
.landing-online-lead {
    text-align: left;
    margin: 0 0 1rem;
    max-width: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--bc-text);
}

.landing-online-intro {
    color: var(--bc-muted);
    margin: 0 0 1.5rem;
    max-width: 34rem;
}

.landing-online-features {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.landing-online-features-title {
    font-weight: 700;
    color: var(--bc-text);
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

.landing-online-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1.25rem;
}

.landing-online-checklist li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.5rem;
    color: var(--bc-muted);
    font-size: 0.95rem;
}

.landing-online-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bc-red);
    font-weight: 700;
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.landing-feature-card {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.landing-feature-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.landing-steps-section {
    background: var(--bc-red-light);
    max-width: none;
    width: 100%;
}

.landing-steps {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.landing-step {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.landing-step-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--bc-red);
    color: var(--bc-white);
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-step h3 {
    color: var(--bc-red);
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.landing-step p {
    color: var(--bc-muted);
    font-size: 0.95rem;
    margin: 0;
}

.landing-why-section {
    background: var(--bc-red-light);
    max-width: none;
    width: 100%;
}

.landing-faq {
    max-width: 720px;
    margin: 0 auto;
}

.landing-faq dt {
    font-weight: 700;
    color: var(--bc-red);
    font-size: 1.05rem;
    margin-top: 1.75rem;
}

.landing-faq dt:first-child {
    margin-top: 0;
}

.landing-faq dd {
    margin: 0.5rem 0 0;
    color: var(--bc-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.landing-why-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.landing-tour-section {
    padding-top: 3.5rem;
}

.landing-tour {
    max-width: 960px;
    margin: 0 auto;
}

.landing-tour-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.landing-tour-tab {
    border: 2px solid var(--bc-border);
    background: var(--bc-white);
    color: var(--bc-text);
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.landing-tour-tab:hover,
.landing-tour-tab:focus-visible {
    border-color: var(--bc-red);
    color: var(--bc-red);
    outline: none;
}

.landing-tour-tab.active {
    background: var(--bc-red);
    border-color: var(--bc-red);
    color: var(--bc-white);
}

.landing-tour-panel {
    display: none;
}

.landing-tour-panel.active {
    display: block;
}

.landing-tour-image-btn {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    position: relative;
    overflow: hidden;
}

.landing-tour-image-btn:hover .landing-tour-zoom-hint,
.landing-tour-image-btn:focus-visible .landing-tour-zoom-hint {
    opacity: 1;
}

.landing-tour-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--bc-white);
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.landing-tour-caption {
    text-align: center;
    color: var(--bc-muted);
    margin: 1rem 0 0;
    font-size: 1rem;
}

.landing-tour-cta {
    text-align: center;
    margin-top: 2rem;
}

.landing-cta-band-mid {
    margin-top: 0;
}

.landing-price-visual-btn {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0 0 1rem;
    border: none;
    background: transparent;
    cursor: zoom-in;
    border-radius: 8px;
    overflow: hidden;
}

.landing-price-visual {
    display: block;
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
    border: 1px solid var(--bc-border);
}

.landing-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.landing-lightbox:not([hidden]) {
    display: flex;
}

.landing-lightbox[hidden] {
    display: none !important;
}

.landing-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}

.landing-lightbox-dialog {
    position: relative;
    z-index: 1;
    max-width: min(96vw, 1100px);
    max-height: 92vh;
    margin: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-lightbox-image {
    max-width: 100%;
    max-height: calc(92vh - 80px);
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    background: var(--bc-white);
}

.landing-lightbox-caption {
    color: #ddd;
    text-align: center;
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
    max-width: 640px;
}

.landing-lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: transparent;
    border: none;
    color: var(--bc-white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.landing-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--bc-white);
    font-size: 2.5rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-lightbox-nav:hover,
.landing-lightbox-nav:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    outline: none;
}

.landing-lightbox-prev {
    left: 0.5rem;
}

.landing-lightbox-next {
    right: 0.5rem;
}

body.landing-lightbox-open {
    overflow: hidden;
}

.landing-feature-card h3 {
    color: var(--bc-red);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.landing-feature-card p {
    color: var(--bc-muted);
    font-size: 0.95rem;
    margin: 0;
}

.landing-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.landing-price-card {
    background: var(--bc-white);
    border: 2px solid var(--bc-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.landing-price-card.featured {
    border-color: var(--bc-red);
    box-shadow: 0 8px 24px rgba(196, 30, 58, 0.15);
    position: relative;
}

.landing-price-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bc-red);
    color: var(--bc-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.landing-price-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.landing-price-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bc-red);
    margin: 0.5rem 0;
}

.landing-price-card .price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--bc-muted);
}

.landing-price-desc {
    color: var(--bc-muted);
    font-size: 0.95rem;
    min-height: 2.75rem;
    margin: 0 0 0.25rem;
    text-align: center;
}

.landing-pricing-note {
    text-align: center;
    color: var(--bc-muted);
    font-size: 0.92rem;
    max-width: 640px;
    margin: 1.25rem auto 0;
}

.landing-pricing-note a {
    color: var(--bc-red);
    font-weight: 600;
}

.landing-pricing-wide {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.landing-hero-compact {
    padding: 3rem 1.5rem 2.5rem;
}

.landing-hero-compact .landing-hero-inner {
    text-align: center;
}

.landing-hero-compact h1 {
    margin-bottom: 0.75rem;
}

.landing-pricing-page {
    padding-top: 2rem;
}

.landing-price-annual,
.landing-price-trial {
    font-size: 0.85rem;
    color: var(--bc-muted);
    margin: -0.25rem 0 0.5rem;
}

.landing-compare-table-wrap {
    overflow-x: auto;
    margin-top: 1rem;
}

.landing-compare-table {
    width: 100%;
    min-width: 520px;
    margin: 0 auto;
}

.landing-compare-table th,
.landing-compare-table td {
    text-align: center;
    padding: 0.65rem 0.75rem;
}

.landing-compare-table th:first-child,
.landing-compare-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.landing-price-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    flex-grow: 1;
}

.landing-price-card li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--bc-muted);
    font-size: 0.9rem;
}

.landing-price-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bc-red);
    font-weight: 700;
}

.landing-price-card .landing-btn {
    width: 100%;
    margin-top: auto;
}

.landing-cta-band {
    background: var(--bc-red-light);
    text-align: center;
    padding: 3rem 1.5rem;
}

.landing-cta-band h2 {
    color: var(--bc-text);
    margin-bottom: 1rem;
}

.landing-footer {
    background: #111;
    color: #aaa;
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.9rem;
}

.landing-footer a {
    color: var(--bc-white);
    text-decoration: none;
}

.landing-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .landing-nav-actions .landing-btn-ghost {
        display: none;
    }

    .landing-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .landing-hero-copy {
        max-width: none;
    }

    .landing-hero-split .landing-hero-cta {
        justify-content: center;
    }

    .landing-hero-visual {
        max-width: 100%;
    }

    .landing-steps {
        grid-template-columns: 1fr;
    }

    .landing-audiences {
        grid-template-columns: 1fr;
    }

    .landing-online-grid {
        grid-template-columns: 1fr;
    }

    .landing-online-copy h2,
    .landing-online-copy .section-lead,
    .landing-online-lead {
        text-align: center;
    }

    .landing-online-intro {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .landing-online-copy .landing-btn {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }

    .landing-online-checklist {
        grid-template-columns: 1fr;
    }

    .landing-lightbox-prev {
        left: 0.25rem;
    }

    .landing-lightbox-next {
        right: 0.25rem;
    }

    .landing-lightbox-close {
        top: -2rem;
        right: 0.25rem;
    }
}

@media (max-width: 900px) {
    .landing-hero-grid {
        grid-template-columns: 1fr;
    }

    .landing-audiences {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-online-grid {
        grid-template-columns: 1fr;
    }

    .landing-hero-copy {
        text-align: center;
        max-width: none;
        margin: 0 auto;
    }

    .landing-hero-split .landing-hero-cta {
        justify-content: center;
    }

    .landing-hero-visual {
        margin: 0 auto;
        max-width: 640px;
    }
}
