/* ============================================================
   Merchant Signup Page  –  .ms-* scoped styles
   ============================================================ */

/* ── Hero ── */
.ms-hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ms-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 0;
}
.ms-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 100%);
    z-index: 1;
}
.ms-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px;
    max-width: 680px;
}
.ms-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.ms-hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin: 0 0 32px;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.ms-hero-btn {
    display: inline-block;
    padding: 15px 48px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: #FF4856;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 4px 18px rgba(255,72,86,0.35);
}
.ms-hero-btn:hover {
    background: #e63946;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,72,86,0.5);
}

/* ── Logo bar ── */
.ms-logo-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 18px 28px;
}
.ms-logo-bar .main-logo {
    display: inline-block;
    background: url(/Themes/Snak/Content/images/Snak-and-city-salmon-violet.png) no-repeat 50% 50%;
    background-size: cover;
    background-origin: content-box;
    height: 50px;
    width: 160px;
}

/* ── Section shared ── */
.ms-section {
    padding: 64px 24px;
}
.ms-section-white { background: #fff; }
.ms-section-light { background: #f7f8fa; }
.ms-section-dark  { background: #1a1a2e; color: #fff; }

.ms-section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px;
    color: inherit;
}
.ms-section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #777;
    margin: 0 0 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
.ms-section-dark .ms-section-subtitle { color: rgba(255,255,255,0.65); }

/* ── Feature Cards Grid ── */
.ms-features {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
}
.ms-feature-card {
    flex: 1 1 300px;
    max-width: 340px;
    background: #fff;
    border-radius: 14px;
    padding: 36px 28px 32px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform .25s, box-shadow .25s;
}
.ms-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.ms-section-light .ms-feature-card {
    background: #fff;
}
.ms-feature-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
    background: #FF4856;
}
.ms-feature-icon.ms-icon-blue   { background: #3b82f6; }
.ms-feature-icon.ms-icon-green  { background: #10b981; }
.ms-feature-icon.ms-icon-orange { background: #f59e0b; }
.ms-feature-icon.ms-icon-purple { background: #8b5cf6; }
.ms-feature-icon.ms-icon-teal   { background: #14b8a6; }

.ms-feature-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1a1a2e;
}
.ms-feature-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: #666;
    margin: 0;
}

/* ── Why Section (2 col) ── */
.ms-why {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}
.ms-why-media {
    flex: 1 1 420px;
    max-width: 520px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.ms-why-media img {
    width: 100%;
    height: auto;
    display: block;
}
.ms-why-media a {
    display: block;
    position: relative;
}
.ms-why-media a::after {
    content: '\f04b';
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: #fff;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,72,86,0.85);
    border-radius: 50%;
    transition: background .2s, transform .2s;
}
.ms-why-media a:hover::after {
    background: rgba(255,72,86,1);
    transform: translate(-50%, -50%) scale(1.08);
}
.ms-why-text {
    flex: 1 1 400px;
}
.ms-why-title {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 20px;
    color: #1a1a2e;
}
.ms-why-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 16px;
}
.ms-why-text p:last-child {
    margin-bottom: 0;
}

/* ── Steps Section ── */
.ms-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
    justify-content: center;
}
.ms-step {
    flex: 1 1 240px;
    max-width: 280px;
    text-align: center;
    padding: 20px;
}
.ms-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #FF4856;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 22px;
    font-weight: 800;
    color: #FF4856;
}
.ms-step-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
}
.ms-step-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin: 0;
}
.ms-steps-cta {
    text-align: center;
    margin-top: 40px;
}
.ms-steps-cta .ms-hero-btn {
    font-size: 15px;
    padding: 13px 40px;
}

/* ── About Section ── */
.ms-about {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.ms-about-title {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 20px;
    color: #1a1a2e;
}
.ms-about p {
    font-size: 15.5px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 16px;
}

/* ── FAQ ── */
.ms-faq {
    max-width: 800px;
    margin: 0 auto;
}
.ms-faq-title {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 36px;
    color: #1a1a2e;
}
.ms-faq-item {
    border-bottom: 1px solid #e5e7eb;
}
.ms-faq-item:first-child {
    border-top: 1px solid #e5e7eb;
}
.ms-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 4px;
    cursor: pointer;
    transition: color .2s;
    gap: 16px;
}
.ms-faq-q:hover {
    color: #FF4856;
}
.ms-faq-q-text {
    font-size: 16px;
    font-weight: 600;
    color: inherit;
    margin: 0;
}
.ms-faq-q-icon {
    font-size: 18px;
    color: #999;
    transition: transform .3s, color .3s;
    flex-shrink: 0;
}
.ms-faq-item.ms-faq-open .ms-faq-q-icon {
    transform: rotate(45deg);
    color: #FF4856;
}
.ms-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.ms-faq-a-inner {
    padding: 0 4px 18px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #666;
}

/* ── Final CTA ── */
.ms-cta {
    position: relative;
    padding: 80px 24px;
    text-align: center;
    background: #1a1a2e;
    overflow: hidden;
}
.ms-cta-bg {
    position: absolute;
    inset: 0;
    background: url(/Themes/Snak/Content/images/dark.jpg) center / cover no-repeat;
    opacity: 0.35;
}
.ms-cta-content {
    position: relative;
    z-index: 1;
}
.ms-cta-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 28px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .ms-hero { min-height: 400px; }
    .ms-hero-title { font-size: 28px; }
    .ms-hero-sub { font-size: 15px; }
    .ms-hero-btn { padding: 13px 36px; font-size: 15px; }

    .ms-section { padding: 48px 20px; }
    .ms-section-title { font-size: 26px; }

    .ms-feature-card {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .ms-why { gap: 28px; }
    .ms-why-media { max-width: 100%; }
    .ms-why-title { font-size: 24px; }

    .ms-step { flex: 1 1 100%; max-width: 100%; }

    .ms-faq-title { font-size: 24px; }
    .ms-cta-title { font-size: 24px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .ms-feature-card {
        flex: 1 1 calc(50% - 28px);
        max-width: calc(50% - 14px);
    }
}

/* ── Overrides for page-level inherited styles ── */
.ms-page * {
    box-sizing: border-box;
}
.ms-page {
    text-align: left;
    color: #333;
}
.ms-page a {
    text-decoration: none;
}
