/* ============================================================
   Moving House 24/7 — Landing Page Styles
   Matches wireframe: hero, Features, Process, Benefits, Contact
   ============================================================ */

/* ---- Skip link (accessibility) ---- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #0f172a;
    color: #fff;
    padding: 0.8rem 1.6rem;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---- Landing nav ---- */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e2e8f0;
}
.landing-nav-inner {
    max-width: 112rem;
    margin: 0 auto;
    padding: 1.4rem 2.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.landing-brand {
    font-family: 'Raleway', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.landing-brand:hover { color: #2f85ae; }
.brand-highlight { color: #2f85ae; }
.brand-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: #64748b;
    display: block;
}
.landing-nav nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.landing-nav-link {
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.2s;
}
.landing-nav-link:hover,
.landing-nav-link:focus { color: #0f172a; }
.landing-nav-btn {
    font-size: 1.35rem;
    padding: 0.75rem 1.6rem;
    border-radius: 1rem;
}

/* ---- Shared layout ---- */
.lp-container {
    max-width: 112rem;
    margin: 0 auto;
    padding: 0 2.4rem;
}
.lp-eyebrow {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #475569;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 50px;
    padding: 0.4rem 1.4rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.lp-section-eyebrow {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 1.2rem;
}
.lp-section-heading {
    font-size: 3rem;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 3.6rem;
    font-family: 'Raleway', sans-serif;
}
.lp-eyebrow-light { color: #94a3b8; }
.lp-heading-light { color: #fff; }

/* ---- Buttons ---- */
.lp-btn-primary {
    display: inline-block;
    background: #0f172a;
    color: #fff !important;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 1.2rem 2.4rem;
    border-radius: 1.2rem;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: transform 0.15s, background 0.15s;
}
.lp-btn-primary:hover,
.lp-btn-primary:focus {
    background: #1e293b;
    color: #fff !important;
    transform: translateY(-2px);
}
.lp-btn-outline {
    display: inline-block;
    background: #fff;
    color: #334155 !important;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 1.2rem 2.4rem;
    border-radius: 1.2rem;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}
.lp-btn-outline:hover,
.lp-btn-outline:focus {
    background: #f8fafc;
    color: #0f172a !important;
    transform: translateY(-2px);
}
.lp-btn-block {
    display: block;
    text-align: center;
    margin-top: 1.6rem;
    border-radius: 1.2rem;
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.lp-hero {
    background: linear-gradient(135deg, #053a7a 0%, #082d60 50%, #0a2440 100%);
    padding: 7rem 0;
}
.lp-hero-grid {
    display: flex;
    flex-direction: column;
    max-width: 72rem;
    margin: 0 auto;
}
.lp-hero-heading {
    font-size: 4.8rem;
    font-weight: 600;
    color: #f1f5f9;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-family: 'Raleway', sans-serif;
}
.lp-hero-sub {
    font-size: 1.8rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 3.2rem;
    max-width: 56rem;
}
.lp-hero-actions {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 4rem;
}

/* Mini cards */
.lp-mini-cards {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
}
.lp-mini-card {
    flex: 1;
    min-width: 14rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2rem;
    padding: 1.6rem 2rem;
}
.lp-mini-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.4rem;
}
.lp-mini-sub {
    font-size: 1.2rem;
    color: #94a3b8;
    margin: 0;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.lp-features {
    background: #dbeafe;
    padding: 8rem 0;
}
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
}
.lp-feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.6rem;
    padding: 3.2rem 2.8rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.lp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.lp-feature-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 2rem;
    display: block;
}
.lp-feature-card h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1rem;
    font-family: 'Raleway', sans-serif;
}
.lp-feature-card p {
    font-size: 1.5rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   PROCESS SECTION (dark)
   ============================================================ */
.lp-process {
    background: #0f172a;
    padding: 8rem 0;
}
.lp-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4rem;
}
.lp-process-step {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.6rem;
    padding: 2.8rem 2.4rem;
}
.lp-process-num {
    font-size: 3.2rem;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 1.2rem;
    font-family: 'Raleway', sans-serif;
    line-height: 1;
}
.lp-process-step h4 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.8rem;
    font-family: 'Raleway', sans-serif;
}
.lp-process-step p {
    font-size: 1.4rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   ONBOARDING JOURNEY / TOUR SECTION
   ============================================================ */
.lp-tour {
    background: #f1f5f9;
    padding: 8rem 0;
}

/* Section heading override — less bottom margin so track sits closer */
.lp-tour .lp-section-heading { margin-bottom: 4.8rem; }

/* ---- Horizontal track ---- */
.lp-tour-track {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

/* ---- Connector arrow between stages ---- */
.lp-tour-connector {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 13rem; /* vertically center with the screen */
    color: #94a3b8;
    font-size: 2.4rem;
}
.lp-tour-connector::after {
    content: '→';
    font-size: 2.8rem;
    color: #38bdf8;
    line-height: 1;
}

/* ---- Single stage column ---- */
.lp-tour-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
}

/* ---- Step number pill ---- */
.lp-tour-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    background: #0f172a;
    color: #38bdf8;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 50%;
    font-family: 'Raleway', sans-serif;
    flex-shrink: 0;
}

/* ---- Browser-frame mock screen ---- */
.lp-mock-screen {
    width: 100%;
    max-width: 22rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.lp-mock-chrome {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.6rem 0.8rem;
}
.lp-mock-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    flex-shrink: 0;
}
.lp-dot-red    { background: #fc8181; }
.lp-dot-yellow { background: #fbd38d; }
.lp-dot-green  { background: #68d391; }
.lp-mock-url {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-left: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 15rem;
}

/* ---- Mock body shared ---- */
.lp-mock-body {
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 16rem;
}

/* ---- Generic skeleton bars ---- */
.lp-mock-bar {
    height: 0.8rem;
    background: #e2e8f0;
    border-radius: 4px;
}
.lp-bar-title      { width: 55%; height: 1rem; background: #cbd5e1; }
.lp-bar-wide       { width: 80%; }
.lp-bar-logo       { width: 5rem; height: 1rem; background: #cbd5e1; }
.lp-bar-nav        { width: 3.6rem; height: 0.7rem; background: #e2e8f0; }
.lp-bar-section-title { width: 40%; height: 0.9rem; background: #cbd5e1; margin-top: 0.4rem; }
.lp-bar-cell       { width: 5rem; }
.lp-bar-mid        { width: 4rem; }
.lp-bar-inv-label  { width: 40%; }
.lp-bar-inv-val    { width: 30%; background: #cbd5e1; }
.lp-val-big        { width: 40%; height: 1rem; background: #0f172a; }
.lp-bar-upload-hint { width: 65%; }

/* ---- Mock form field ---- */
.lp-mock-field {
    height: 2.2rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}
.lp-field-labeled {
    height: auto;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0;
}
.lp-mock-label {
    height: 0.7rem;
    width: 45%;
    background: #e2e8f0;
    border-radius: 3px;
}
.lp-mock-input {
    height: 2rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
}

/* ---- Two-column row inside mock ---- */
.lp-mock-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

/* ---- Textarea mock ---- */
.lp-mock-textarea-block {
    height: 3.6rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

/* ---- Action button mock ---- */
.lp-mock-action-btn {
    height: 2.4rem;
    background: #0f172a;
    border-radius: 8px;
    width: 80%;
    margin: 0.2rem auto 0;
}
.lp-btn-small { height: 2rem; width: 50%; }

/* ---- Mock button row (login card) ---- */
.lp-mock-btn-row { display: flex; justify-content: center; margin-top: 0.4rem; }

/* ---- Logo block in login card ---- */
.lp-mock-logo-row { display: flex; justify-content: center; margin-bottom: 0.6rem; }
.lp-mock-logo-block {
    width: 4rem;
    height: 1.2rem;
    background: #0f172a;
    border-radius: 4px;
}

/* ---- Centred login card inside mock ---- */
.lp-mock-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ---- Dashboard mock specifics ---- */
.lp-mock-dashboard { padding: 0; gap: 0; }
.lp-mock-dash-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid #e2e8f0;
    background: #0f172a;
}
.lp-mock-nav-links { display: flex; gap: 0.6rem; }
.lp-mock-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.8rem;
}
.lp-mock-stat {
    height: 3.6rem;
    border-radius: 8px;
}
.lp-stat-blue  { background: #dbeafe; }
.lp-stat-green { background: #dcfce7; }
.lp-stat-amber { background: #fef9c3; }

.lp-mock-table-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.8rem;
    border-top: 1px solid #f1f5f9;
}

/* ---- Status chip mocks ---- */
.lp-mock-status-chip {
    height: 1.4rem;
    border-radius: 50px;
    flex-shrink: 0;
    width: 5rem;
}
.lp-chip-confirmed { background: #bfdbfe; }
.lp-chip-pending   { background: #fef9c3; }
.lp-chip-awaiting  { background: #fde68a; }

/* ---- Section title bar spacer inside dashboard ---- */
.lp-mock-dashboard .lp-bar-section-title { margin-left: 0.8rem; }

/* ---- Invoice card mock ---- */
.lp-mock-invoice-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.lp-mock-inv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ---- Upload zone mock ---- */
.lp-mock-upload-zone {
    background: #f0f9ff;
    border: 1.5px dashed #93c5fd;
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

/* ---- Caption below mock ---- */
.lp-tour-caption { text-align: center; max-width: 20rem; }
.lp-tour-caption h4 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.6rem;
    font-family: 'Raleway', sans-serif;
}
.lp-tour-caption p {
    font-size: 1.35rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ---- CTA below the track ---- */
.lp-tour-cta {
    display: flex;
    justify-content: center;
    margin-top: 5.6rem;
}

/* ---- Responsive ---- */
@media (max-width: 1000px) {
    .lp-tour-track {
        grid-template-columns: 1fr 1fr;
        gap: 3.2rem;
    }
    .lp-tour-connector { display: none; }
}
@media (max-width: 600px) {
    .lp-tour-track {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   BENEFITS SECTION
   ============================================================ */
.lp-benefits {
    background: #fff;
    padding: 8rem 0;
}
.lp-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.lp-benefits-text .lp-section-heading { margin-bottom: 0; }
.lp-benefits-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
}
.lp-benefit-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1.2rem;
    padding: 2.4rem 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.lp-contact {
    background: #f8fafc;
    padding: 8rem 0;
}
.lp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.lp-contact-text .lp-section-heading { margin-bottom: 1.6rem; }
.lp-contact-text p {
    font-size: 1.6rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}
.lp-contact-cta {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    padding: 3.2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.lp-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.lp-contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.5rem;
    color: #334155;
}
.lp-contact-info-item span:first-child {
    font-size: 2rem;
    flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.landing-footer {
    background: #0f172a;
    color: rgba(255,255,255,0.6);
    padding: 3.2rem 2.4rem;
    text-align: center;
}
.landing-footer-inner {
    max-width: 112rem;
    margin: 0 auto;
}
.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
    font-family: 'Raleway', sans-serif;
}
.footer-copy { font-size: 1.3rem; margin-bottom: 0.6rem; }
.landing-footer a { color: rgba(255,255,255,0.6); font-size: 1.3rem; }
.landing-footer a:hover { color: #38bdf8; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .lp-process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .lp-features-grid { grid-template-columns: 1fr; }
    .lp-benefits-grid { grid-template-columns: 1fr; gap: 3.2rem; }
    .lp-contact-grid  { grid-template-columns: 1fr; gap: 3.2rem; }
    .lp-hero-heading  { font-size: 3.6rem; }
}

@media (max-width: 480px) {
    .lp-hero-heading  { font-size: 2.8rem; }
    .lp-hero-actions  { flex-direction: column; align-items: stretch; }
    .lp-process-grid  { grid-template-columns: 1fr; }
    .lp-benefits-cards { grid-template-columns: 1fr; }

    /* Nav: keep brand + buttons on one row, hide text links */
    .landing-nav-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        padding: 1rem 1.2rem;
        gap: 0.6rem;
    }
    .landing-brand {
        flex-direction: row;
        align-items: center;
        gap: 0.4rem;
        font-size: 1.5rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    /* Hide text nav links and Contact Us button on mobile — keep only Login */
    .landing-nav-link {
        display: none;
    }
    .landing-nav a.lp-btn-primary,
    .landing-nav a.lp-btn-outline {
        display: none;
    }
    /* Show only the last button (Login / Dashboard / Logout) */
    .landing-nav nav > a:last-child {
        display: inline-flex !important;
    }
    .landing-nav nav {
        gap: 0.5rem;
        flex-wrap: nowrap;
        flex-shrink: 1;
        min-width: 0;
    }
    .landing-nav-btn {
        font-size: 1.15rem;
        padding: 0.6rem 0.8rem;
        white-space: nowrap;
        flex-shrink: 1;
    }
}
