/* ============================================
   LANDING PAGE — Modern flat redesign
   Keeps the palette, Grid, Helvetica.
   Adds depth, breathing room, visual rhythm.
   ============================================ */

/* ---- Layout reset for landing ---- */

.landing-content {
    background-color: #FFFFFF;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---- Nav tweaks ---- */

.nav-grid .nav {
    padding: 16px 24px;
    align-items: center;
}

.nav-grid .nav .logo {
    padding: 0;
}

.nav-grid .nav .logo img.logo {
    width: auto;
    max-height: 40px;
    padding: 0;
}

.nav-grid .log-in {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.nav-grid .log-in a {
    color: #515151;
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-grid .log-in a:hover {
    color: #a3c765;
}

.nav-cta {
    background: #0b0b0b;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 10px 24px;
    border-radius: 50px;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: #333;
    color: #fff !important;
    transform: translateY(-1px);
}

/* ---- Hero ---- */

.landing-hero {
    background: linear-gradient(180deg, #f4f6fb 0%, #FFFFFF 100%);
    padding: 60px 24px 70px;
    text-align: center;
    max-width: none;
}

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

.landing-hero-title {
    font-family: helvetica, arial, sans-serif;
    font-size: clamp(1.8em, 4.8vw, 4.2em);
    font-weight: 700;
    color: #0b0b0b;
    line-height: 1.1;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.landing-hero-subtitle {
    font-size: 1.25em;
    font-weight: 500;
    color: #333;
    margin: 0 0 24px;
    line-height: 1.4;
}

.landing-hero-body {
    font-size: 1.05em;
    color: #666;
    line-height: 1.7;
    margin: 0 0 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Sections ---- */

.landing-section {
    padding: 64px 24px;
}

.landing-section-alt {
    background-color: #F9F9FA;
}

.landing-section-title {
    font-family: helvetica, arial, sans-serif;
    font-size: 2em;
    font-weight: 700;
    color: #0b0b0b;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    text-align: center;
}

.landing-body {
    font-size: 1.05em;
    color: #515151;
    line-height: 1.7;
    margin: 0 0 24px;
}

.landing-body a {
    color: #a3c765;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.landing-body a:hover {
    border-bottom-color: #a3c765;
}

.landing-muted {
    color: #999;
    font-size: 14px;
    text-align: center;
    margin: 0;
}

/* ---- CTA Buttons ---- */

.landing-cta-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 16px;
}

a.mps-button.landing-cta {
    border-radius: 50px;
    min-width: 200px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

a.mps-button.landing-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

a.mps-button.landing-cta-large {
    padding: 18px 48px;
    font-size: 18px;
    min-width: 260px;
}

/* ---- Pricing ---- */

.landing-pricing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 32px auto;
    max-width: 900px;
}

.landing-pricing-card {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.landing-pricing-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

a.landing-pricing-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.landing-pricing-banner {
    background: #F9F9FA;
    color: #515151;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 10px 24px;
    white-space: nowrap;
    border-bottom: 1px solid #e0e0e0;
}

.landing-pricing-banner-featured {
    background: #a3c765;
    color: #fff;
    border-bottom: none;
}

.landing-pricing-featured {
    border: 2px solid #a3c765;
    box-shadow: 0 4px 20px rgba(163, 199, 101, 0.15);
}

.landing-pricing-amount {
    font-size: 3em;
    font-weight: 700;
    color: #0b0b0b;
    display: block;
    line-height: 1;
    margin: 28px 0 8px;
    white-space: nowrap;
}

.landing-pricing-period {
    font-size: 0.35em;
    font-weight: 400;
    color: #999;
}

.landing-pricing-desc {
    font-size: 15px;
    color: #666;
    display: block;
    padding: 0 24px 28px;
    white-space: nowrap;
}

/* ---- Cards (override common.css for landing) ---- */

.landing-content .mps-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 28px 24px;
    background: #FFFFFF;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.landing-section-alt .mps-card {
    background: #FFFFFF;
}

.landing-content .mps-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

.landing-content .mps-card-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.landing-content .mps-card-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 8px;
}

.landing-content .mps-card-title a {
    color: #0b0b0b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-content .mps-card-title a:hover {
    color: #a3c765;
}

.landing-content .mps-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ---- Step cards ---- */

.landing-step-card {
    text-align: center;
}

.landing-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #a3c765;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ---- Comparison donut section ---- */

.landing-content .mps-comparison {
    margin: 32px 0;
}

.landing-content .mps-comparison-card {
    border-radius: 16px;
    padding: 32px 24px;
}

.donut-chart {
    display: block;
    margin: 0 auto 16px;
}

.donut-legend {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 12px;
    color: #666;
}

/* ---- Protection lists ---- */

.landing-two-lists {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
}

.landing-list-card {
    border-radius: 12px;
    padding: 28px 24px;
}

.landing-list-bad {
    background: #fef2f2;
    border: 1px solid #f5d5d5;
}

.landing-list-good {
    background: #f0f9e8;
    border: 1px solid #d5e8c0;
}

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

.landing-list-card li {
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

.landing-list-card li + li {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.landing-x {
    color: #c77765;
    margin-right: 8px;
}

.landing-check {
    color: #678731;
    margin-right: 8px;
}

.landing-list-detail {
    color: #666;
}

/* ---- Pricing Calculator ---- */

.calc-card {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 32px 24px;
    margin-bottom: 32px;
}

.calc-row {
    margin-bottom: 28px;
}

.calc-row:last-of-type {
    margin-bottom: 0;
}

.calc-label {
    font-size: 15px;
    font-weight: 600;
    color: #0b0b0b;
    display: block;
    margin-bottom: 4px;
}

.calc-hint {
    font-size: 13px;
    color: #999;
    margin: 0 0 12px;
    line-height: 1.4;
}

.calc-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
}

.calc-step-btn {
    width: 44px;
    height: 44px;
    border: 1px solid #e0e0e0;
    background: #F9F9FA;
    font-size: 20px;
    font-weight: 600;
    color: #515151;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.calc-step-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.calc-step-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.calc-step-btn:hover {
    background: #a3c765;
    color: #fff;
    border-color: #a3c765;
}

.calc-step-btn:active {
    background: #8ab34e;
    border-color: #8ab34e;
}

.calc-step-value {
    width: 56px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #0b0b0b;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
}

.calc-duration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.calc-dur-btn {
    padding: 14px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}

.calc-dur-btn:hover {
    border-color: #a3c765;
    transform: translateY(-1px);
}

.calc-dur-btn--active {
    border-color: #a3c765;
    background: #f0f9e8;
}

.calc-dur-btn--best {
    position: relative;
}

.calc-dur-period {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #0b0b0b;
    white-space: nowrap;
}

.calc-dur-discount {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #678731;
    margin-top: 2px;
    white-space: nowrap;
}

/* Quote breakdown */

.calc-quote {
    background: #F9F9FA;
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 28px;
}

.calc-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: #515151;
}

.calc-line--discount {
    color: #678731;
    font-weight: 600;
}

.calc-quote-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid #e0e0e0;
}

.calc-quote-total-label {
    font-size: 16px;
    font-weight: 600;
    color: #0b0b0b;
}

.calc-quote-total-amount {
    font-size: 2em;
    font-weight: 700;
    color: #0b0b0b;
}

.calc-quote-effective {
    text-align: right;
    font-size: 13px;
    color: #678731;
    font-weight: 500;
    margin-top: 4px;
    min-height: 18px;
}

/* What's included */

.calc-included {
    margin-top: 8px;
}

.calc-included-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #0b0b0b;
    margin: 0 0 16px;
    text-align: center;
}

.calc-included-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.calc-included-item {
    font-size: 15px;
    color: #333;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.calc-included-item .landing-check {
    margin-right: 8px;
}

/* ---- Final CTA ---- */

.landing-final-cta {
    background: linear-gradient(135deg, #f4f6fb 0%, #f0f3fa 100%);
    text-align: center;
    padding: 80px 24px;
}

.landing-final-cta .landing-section-title {
    font-size: 2.2em;
    margin-bottom: 28px;
}

/* ---- Responsive ---- */

@media (min-width: 800px) {
    .landing-hero {
        padding: 80px 40px 100px;
    }

    .landing-section {
        padding: 80px 40px;
    }

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

    .landing-pricing-amount {
        font-size: 2.4em;
    }

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

    .nav-grid .nav {
        padding: 16px 40px;
    }

    .calc-card {
        padding: 40px 32px;
    }

    .calc-duration-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .calc-included-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .landing-hero {
        padding: 100px 40px 120px;
    }

    .landing-section {
        padding: 100px 40px;
    }

    .landing-pricing-container {
        max-width: 1100px;
    }

    .landing-pricing {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1100px;
    }

    .landing-pricing-amount {
        font-size: 2.4em;
    }
}
