/* MedCoreOne Lab — public landing (Trezo tokens: primary #605DFF, body #F6F7F9) */

html {
    scroll-behavior: smooth;
    /* Sticky block = announcement + menu */
    scroll-padding-top: 8.5rem;
}

@media (min-width: 992px) {
    html {
        scroll-padding-top: 9.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.landing-page {
    --landing-primary: #605DFF;
    --landing-primary-hover: #4936f5;
    --landing-body: #64748b;
    --landing-heading: #3a4252;
    --landing-dark: #0a0e19;
    --landing-card-shadow: 0 4px 30px rgba(96, 93, 255, 0.1);
    background-color: #f6f7f9;
    color: var(--landing-body);
    font-family: "Inter", var(--bs-body-font-family), sans-serif;
}

/* Announcement + navbar stick together */
.landing-sticky-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background-color: #f6f7f9;
}

.landing-sticky-header--scrolled {
    box-shadow: 0 6px 28px rgba(10, 14, 25, 0.14);
}

.landing-topbar {
    background: var(--landing-dark);
    color: #fff;
    font-size: 0.8125rem;
    padding: 0.5rem 0;
}

/* Tight row: [New + sentence] then [Sign in] — all grouped near center */
.landing-topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.65rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.landing-topbar-cluster {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem 0.5rem;
    max-width: 100%;
}

.landing-topbar-text {
    flex: 0 1 auto;
    margin: 0;
    text-align: center;
    max-width: 42rem;
}

.landing-topbar-inline-cta {
    color: #93cce6;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.landing-topbar-inline-cta:hover {
    color: #b8e4f5;
}

@media (max-width: 575px) {
    .landing-topbar {
        font-size: 0.75rem;
        padding: 0.45rem 0;
    }

    .landing-topbar-inner {
        flex-direction: column;
        gap: 0.35rem;
    }

    .landing-topbar-cta {
        margin-left: 0;
        white-space: normal;
        text-align: center;
    }
}

.landing-topbar .badge-landing {
    background: #dde4ff;
    color: var(--landing-primary);
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    padding: 0.15rem 0.45rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    vertical-align: middle;
    flex-shrink: 0;
}

.landing-topbar-cta {
    color: #93cce6;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 0.15rem;
}

.landing-topbar-cta:hover {
    color: #b8e4f5;
    text-decoration: underline;
}

/* Inside .landing-sticky-header — not sticky alone */
.landing-nav-wrap {
    position: relative;
    z-index: 1;
    padding: 0.45rem 0 0.55rem;
    margin-bottom: 0;
    background-color: #f6f7f9;
}

.landing-sticky-header--scrolled .landing-navbar {
    box-shadow: 0 6px 24px rgba(10, 14, 25, 0.1);
}

.landing-navbar {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 10px;
    box-shadow: var(--landing-card-shadow);
    padding: 0.75rem 1.25rem;
    transition: box-shadow 0.2s ease;
}

.landing-navbar .navbar-brand img {
    height: 36px;
    width: auto;
}

/* Primary-tinted dividers — Trezo #605DFF at low opacity + standard border */
.landing-navbar .navbar-nav > .nav-item {
    position: relative;
}

@media (min-width: 992px) {
    .landing-navbar-nav.navbar-nav {
        gap: 0;
    }
}

@media (min-width: 992px) {
    .landing-navbar .navbar-nav > .nav-item:not(:last-child) {
        border-right: 1px solid rgba(96, 93, 255, 0.14);
        padding-right: 0.5rem;
        margin-right: 0.5rem;
    }

    .landing-navbar-actions {
        border-left: 1px solid rgba(96, 93, 255, 0.18);
        padding-left: 1rem;
        margin-left: 0.35rem;
        min-height: 2.5rem;
        align-self: center;
    }
}

@media (max-width: 991.98px) {
    .landing-navbar .navbar-nav > .nav-item {
        border-bottom: 1px solid #eceef2;
    }

    .landing-navbar .navbar-nav > .nav-item:last-child {
        border-bottom: none;
    }

    .landing-navbar-actions {
        border-top: 1px solid rgba(96, 93, 255, 0.12);
        margin-top: 0.35rem;
        padding-top: 0.85rem;
    }
}

.landing-nav-link {
    color: var(--landing-heading) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.35rem !important;
    transition: color 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 992px) {
    .landing-nav-link {
        border-bottom: 2px solid transparent !important;
        padding-bottom: 0.4rem !important;
    }

    .landing-nav-link:hover,
    .landing-nav-link:focus {
        color: var(--landing-primary) !important;
        border-bottom-color: rgba(96, 93, 255, 0.45) !important;
    }

    .landing-nav-link.landing-nav-link--active {
        color: var(--landing-primary) !important;
        font-weight: 600 !important;
        border-bottom-color: var(--landing-primary) !important;
    }

    .landing-nav-link.landing-nav-link--active:hover,
    .landing-nav-link.landing-nav-link--active:focus {
        border-bottom-color: var(--landing-primary) !important;
    }
}

.landing-nav-link:hover,
.landing-nav-link:focus {
    color: var(--landing-primary) !important;
}

/* Scroll-spy: current section (mobile + desktop) */
.landing-nav-link.landing-nav-link--active {
    color: var(--landing-primary) !important;
    font-weight: 600 !important;
}

@media (max-width: 991.98px) {
    .landing-nav-link.landing-nav-link--active {
        background-color: rgba(96, 93, 255, 0.08);
        border-radius: 6px;
    }
}

.landing-btn-login {
    color: var(--landing-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-transform: uppercase;
}

.landing-btn-login:hover {
    color: var(--landing-primary);
}

/* Navbar primary CTA — matches free-trial submit; Trezo primary, not green split button */
.landing-nav-cta-trial {
    letter-spacing: 0.1em;
    text-decoration: none;
    border: none;
}

.landing-nav-cta-trial:hover,
.landing-nav-cta-trial:focus {
    color: #fff;
    background-color: var(--landing-primary-hover);
    border-color: var(--landing-primary-hover);
}

.landing-hero {
    background: linear-gradient(165deg, #0a0e19 0%, #15203c 55%, #1a2744 100%);
    color: #fff;
    padding-top: 1rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .landing-hero {
        padding-top: 1.25rem;
        padding-bottom: 3rem;
    }
}

@media (min-width: 992px) {
    .landing-hero {
        padding-top: 1.5rem;
        padding-bottom: 3.5rem;
    }
}

.landing-hero-kicker {
    display: inline-block;
    background: var(--landing-primary);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.landing-hero h1 {
    color: #fff;
    font-weight: 100;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-size: clamp(2rem, 5vw, 3.75rem);
}

.landing-hero h1 strong {
    color: #fff;
    font-weight: 700;
}

/* Two-line hero: line 1 light, line 2 bold on one row; shrinks on narrow widths */
.landing-hero h1.hero-headline-split {
    font-size: clamp(1.35rem, 4.2vw, 3.75rem);
    line-height: 1.18;
}

.landing-hero h1.hero-headline-split .hero-headline-line1 {
    font-weight: 100;
}

.landing-hero h1.hero-headline-split .hero-headline-line2 {
    display: inline-block;
    max-width: 100%;
    margin-top: 0.12em;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 360px) {
    .landing-hero h1.hero-headline-split {
        font-size: clamp(1.2rem, 7.5vw, 3.75rem);
    }
}

@media (max-width: 340px) {
    .landing-hero h1.hero-headline-split .hero-headline-line2 {
        white-space: normal;
    }
}

.landing-hero-lead {
    color: #d0d1d3;
    font-size: 1rem;
    max-width: 36rem;
}

/* Hero art: desktop (lg+) only — sized to sit beside copy, not dominate */
.landing-hero > .container > .row {
    align-items: center;
}

.landing-hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.landing-hero-visual .hero-landing-image {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 560px);
    max-height: 340px;
    border-radius: 10px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

@media (min-width: 1200px) {
    .landing-hero-visual .hero-landing-image {
        max-width: min(100%, 640px);
        max-height: 380px;
    }
}

@media (min-width: 1400px) {
    .landing-hero-visual .hero-landing-image {
        max-width: min(100%, 700px);
        max-height: 420px;
    }
}

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

.landing-section-alt {
    background: #fff;
}

.landing-trial-card {
    border: 1px solid #eceef2 !important;
    box-shadow: 0 4px 24px rgba(96, 93, 255, 0.06);
}

/* Less air between pricing and free-trial on desktop (stacked section padding felt huge) */
@media (min-width: 992px) {
    #pricing.landing-section {
        padding-bottom: 2.5rem;
    }

    #free-trial.landing-section {
        padding-top: 2rem;
    }
}

.landing-section h2 {
    color: var(--landing-heading);
    font-weight: 600;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.landing-section .section-intro {
    max-width: 40rem;
}

.feature-card {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    border-color: rgba(96, 93, 255, 0.35);
    box-shadow: var(--landing-card-shadow);
}

.feature-card--upcoming {
    background: #fafbfc;
    border-style: dashed;
    border-color: #d8dce3;
}

.feature-card--upcoming .icon-wrap {
    background: rgba(100, 116, 139, 0.12);
    color: #64748b;
}

.feature-card--upcoming:hover {
    border-color: rgba(96, 93, 255, 0.28);
    box-shadow: none;
}

/* High contrast vs Trezo/Bootstrap — avoid black-on-black "Coming soon" pills */
.landing-coming-soon-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.25;
    color: #3b2fb8;
    background-color: #e8e6ff;
    border: 1px solid rgba(96, 93, 255, 0.45);
    border-radius: 999px;
    white-space: nowrap;
}

.feature-card .icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: rgba(96, 93, 255, 0.1);
    color: var(--landing-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--landing-heading);
    margin-bottom: 0.5rem;
}

.pricing-card {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--landing-primary);
    box-shadow: var(--landing-card-shadow);
}

.pricing-card .price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--landing-heading);
}

.pricing-card .price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--landing-body);
}

.landing-pricing-tier-label {
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
}

.landing-pricing-currency {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--landing-primary);
    margin-bottom: 0.2rem;
}

.landing-pricing-amount-block .price {
    line-height: 1.15;
}

.landing-pricing-amount-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.landing-pricing-or {
    align-self: center;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #5f6b76;
    line-height: 1;
}

.landing-pricing-subtitle {
    font-size: 0.9375rem;
    line-height: 1.5;
}

.landing-pricing-benefits {
    font-size: 1.0625rem;
    line-height: 1.55;
    font-weight: 500;
    color: var(--landing-heading);
}

.landing-pricing-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(236, 238, 242, 0.9);
}

.landing-pricing-benefits li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.landing-pricing-check {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.1rem;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--landing-primary);
}

.landing-footer {
    background: var(--landing-dark);
    color: #94a3b8;
    padding: 3rem 0 2rem;
    font-size: 0.875rem;
}

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

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

.landing-footer-credit a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.landing-about-credit {
    border-color: rgba(148, 163, 184, 0.35) !important;
}

.landing-footer .footer-brand {
    color: #fff;
    font-weight: 600;
    font-size: 1.125rem;
}

.legal-block {
    font-size: 0.9375rem;
    line-height: 1.65;
}

.legal-block h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--landing-heading);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.navbar-toggler.landing-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler.landing-toggler:focus {
    box-shadow: none;
}

#landingNav .offcanvas-body {
    padding-top: 1rem;
}
