/* Marketing-focused main page prototype (/main-page).
   Palette aligned with the landing brand blue (#3399ff / #1a8cfa, see
   .btn-buy and menu in style.css): navy #1c2a45, muted #6c7a95,
   light bg #eaf4ff. Deliberately squarish corners (5-6px). */

/* ---------- Hero ---------- */

.main-page .mp-hero {
    padding-top: 20px;
}

/* Push the laptop image down so the manually shown tooltip above it
   clears the menu bar. */
.main-page .mp-hero .main-slider {
    margin-top: 45px;
}

.main-page .mp-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    color: #1a8cfa;
    margin-bottom: 14px;
}

.main-page .mp-hero-title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: #1c2a45;
    margin-bottom: 18px;
}

.main-page .mp-hero-lead {
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 26px;
    /* style.css paints .process-content p with a gradient (background-clip:
       text); reset it so the lead renders in a single solid color. */
    background: none;
    -webkit-text-fill-color: #44536f;
    color: #44536f;
}

.main-page .mp-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.main-page .mp-btn {
    padding: 12px 26px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: all .2s ease-in-out;
}

.main-page .mp-btn-primary {
    background: #1a8cfa;
    border: 1px solid #1a8cfa;
    color: #fff;
}

.main-page .mp-btn-primary:hover,
.main-page .mp-btn-primary:focus {
    background: #1477d6;
    border-color: #1477d6;
    color: #fff;
}

.main-page .mp-btn-outline {
    background: transparent;
    border: 1px solid #3399ff;
    color: #1a8cfa;
}

.main-page .mp-btn-outline:hover,
.main-page .mp-btn-outline:focus {
    background: #eaf4ff;
    color: #1a8cfa;
}

.main-page .mp-trust-row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0 0 20px;
    padding: 0;
}

.main-page .mp-trust-row li {
    font-size: 13px;
    color: #6c7a95;
    white-space: nowrap;
}

.main-page .mp-trust-row li i {
    color: #3399ff;
    margin-right: 6px;
}

/* ---------- Segments ---------- */

.main-page .mp-segments {
    padding: 60px 0 30px;
}

.main-page .mp-segment-card {
    background: #fff;
    border: 1px solid #dce3f0;
    border-radius: 6px;
    padding: 34px 32px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(28, 42, 69, .06);
    display: flex;
    flex-direction: column;
}

.main-page .mp-segment-eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    font-weight: 600;
    color: #1a8cfa;
    margin-bottom: 10px;
}

.main-page .mp-segment-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1c2a45;
    margin-bottom: 12px;
}

.main-page .mp-segment-card p {
    color: #44536f;
    line-height: 1.65;
    margin-bottom: 18px;
}

.main-page .mp-checklist {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.main-page .mp-checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #44536f;
    line-height: 1.55;
}

.main-page .mp-checklist li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #3399ff;
}

.main-page .mp-segment-link {
    margin-top: auto;
    font-weight: 600;
    color: #1a8cfa;
}

.main-page .mp-segment-link i {
    font-size: 12px;
    margin-left: 4px;
    transition: margin-left .2s ease-in-out;
}

.main-page .mp-segment-link:hover {
    color: #1477d6;
}

.main-page .mp-segment-link:hover i {
    margin-left: 8px;
}

/* ---------- Why Flowyer ---------- */

.main-page .mp-why {
    padding: 30px 0 40px;
}

.main-page .mp-why-card {
    background: #fff;
    border: 1px solid #e6ebf5;
    border-radius: 6px;
    padding: 26px 22px;
    margin-bottom: 24px;
    text-align: center;
}

.main-page .mp-why-card i {
    font-size: 28px;
    color: #3399ff;
    margin-bottom: 14px;
}

.main-page .mp-why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1c2a45;
    margin-bottom: 10px;
}

.main-page .mp-why-card p {
    font-size: 14px;
    color: #6c7a95;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---------- Videos ---------- */

.main-page .mp-videos {
    padding: 10px 0 30px;
}

.main-page .mp-video-caption {
    font-size: 15px;
    font-weight: 600;
    color: #1c2a45;
    text-align: center;
    margin-top: 12px;
}

.main-page .mp-videos-more {
    font-weight: 600;
    color: #1a8cfa;
}

.main-page .mp-videos-more:hover {
    color: #1477d6;
}

.main-page .mp-videos-more i {
    font-size: 12px;
    margin-left: 4px;
}

/* ---------- Hungarian development and support ---------- */

.main-page .mp-local {
    padding: 50px 0 20px;
}

.main-page .mp-local-card {
    background: #fff;
    border: 1px solid #e6ebf5;
    border-radius: 6px;
    padding: 26px 24px;
    margin-bottom: 24px;
}

.main-page .mp-local-card i {
    font-size: 26px;
    color: #3399ff;
    margin-bottom: 14px;
}

.main-page .mp-local-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1c2a45;
    margin-bottom: 10px;
}

/* Testimonial avatar (was <h2>) and author name/office (were <h4>) demoted to
   non-heading <div>s so they leave the SEO heading outline. These rules
   replicate the shared .testimonial-section styles verbatim (incl. inherited
   heading font-size and margin) so the rendering is pixel-identical. */
.main-page .testimonial-section.card-body .mp-tavatar {
    color: #ffffff;
    width: 80px;
    height: 80px;
    background: linear-gradient(275.55deg, #1a8cfa 0%, #71bafb 100%);
    font-weight: 700;
    font-size: 1.875rem;
    border-radius: 20px;
    margin: 0 0 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-page .testimonial-section.card-body .mp-tname {
    font-size: 24px;
    line-height: 1.2;
    color: #3e5463;
    font-weight: 500;
    padding-top: 30px;
    padding-bottom: 10px;
    margin: 0 0 0.5rem;
}

@media (max-width: 991.98px) {
    .main-page .testimonial-section.card-body .mp-tname {
        font-size: 20px;
    }
}

.main-page .mp-local-card p {
    font-size: 14px;
    color: #6c7a95;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---------- Developer quote ---------- */

.main-page .mp-quote {
    padding: 50px 0 50px;
}

.main-page .mp-quote blockquote {
    margin: 0;
}

.main-page .mp-quote blockquote p {
    font-size: 21px;
    line-height: 1.55;
    font-style: italic;
    color: #1c2a45;
    margin-bottom: 14px;
}

.main-page .mp-quote blockquote p span {
    color: #1a8cfa;
    font-weight: 600;
}

.main-page .mp-quote blockquote footer {
    font-size: 14px;
    color: #6c7a95;
}

/* ---------- Closing CTA band (on the blue banner) ---------- */

.main-page .mp-cta-band .main-subscribe-content h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 14px;
    text-align: center;
}

.main-page .mp-cta-band .main-subscribe-content p {
    color: #fff;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 28px;
    text-align: center;
}

.main-page .mp-cta-band .mp-cta-row {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* The decorative vector layers are absolutely positioned over the band;
   let clicks pass through them so the CTA buttons stay clickable. */
.main-page .mp-cta-band .subscribe-vector-left,
.main-page .mp-cta-band .subscribe-vector-bottom,
.main-page .mp-cta-band .subscribe-vector-right {
    pointer-events: none;
}

.main-page .mp-btn-band-primary {
    background: #fff;
    border: 1px solid #fff;
    color: #1a8cfa;
}

.main-page .mp-btn-band-primary:hover,
.main-page .mp-btn-band-primary:focus {
    background: #eaf4ff;
    border-color: #eaf4ff;
    color: #1477d6;
}

.main-page .mp-btn-band-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .7);
    color: #fff;
}

.main-page .mp-btn-band-outline:hover,
.main-page .mp-btn-band-outline:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
    .main-page .mp-hero-title {
        font-size: 34px;
    }

    .main-page .mp-cta-band .main-subscribe-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 575.98px) {
    .main-page .mp-hero-title {
        font-size: 28px;
    }

    .main-page .mp-hero-lead {
        font-size: 15px;
    }

    /* Buttons keep their natural width on mobile (the CTA row centres them);
       full-width stretched them edge to edge in the closing band. */
    .main-page .mp-btn {
        text-align: center;
    }

    .main-page .mp-segment-card {
        padding: 26px 20px;
    }

    .main-page .mp-trust-row li {
        white-space: normal;
    }
}
