/* =============================================================================
   mobile-mcs.css — MultiCode Scanner page styles
   Loaded conditionally for: /multicode-scanner
============================================================================= */

/* === HERO === */
.mcs-hero-section { min-height: 440px; padding: 70px 0; }
.mcs-hero-shape   { transform: translateY(0); opacity: 0.7; }
.mcs-hero-title   { font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 400; line-height: 1.1; color: var(--navbar-bg); }
.mcs-hero-title span { color: var(--primary-green); }
.mcs-hero-subtitle { font-size: 1.05rem; font-weight: 300; max-width: 600px; line-height: 1.8; color: var(--text-secondary); }
.mcs-hero-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1.25rem;
}
.mcs-hero-tag {
    background: rgba(123,185,62,0.12);
    color: var(--primary-green);
    border: 1px solid rgba(123,185,62,0.28);
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 100px;
}
.mcs-hero-figure {
    height: 540px;
    border-radius: var(--radius-small);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}

/* === SECTION LABEL === */
.mcs-section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-green);
}

/* === SECTION SUBTITLES & TEXT RHYTHM === */
.mcs-section-sub       { max-width: 580px; margin: 0 auto; }
.mcs-section-sub--wide { max-width: 1000px; margin: 0 auto; }
.mcs-heading-lh { line-height: 1.2; }
.mcs-lead-lh    { line-height: 1.75; }
.mcs-card-body  { line-height: 1.6; font-size: 0.875rem; }
.mcs-inline-link { font-weight: 500; text-decoration: none; }

/* === STORE BADGES (hero) === */
.mcs-store-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.25rem;
}
.mcs-badge-link {
    display: inline-block;
    background: var(--navbar-bg);
    border-radius: var(--radius-small);
    padding: 3px;
    line-height: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.mcs-badge-link:hover { opacity: 0.85; transform: translateY(-2px); }

/* === FEATURE CARDS === */
.mcs-feature-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mcs-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}
.mcs-feature-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--light-green);
    border: 1px solid rgba(123,185,62,0.25);
    border-radius: var(--radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.mcs-feature-card:hover .mcs-feature-icon-wrap {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #ffffff;
}
.mcs-feature-card--compact {
    padding: 1.5rem;
    align-items: center;
    text-align: center;
}
.mcs-feature-card--compact .mcs-feature-icon-wrap {
    margin-left: auto;
    margin-right: auto;
}

/* === BENEFIT SECTIONS === */
.mcs-benefit-figure {
    height: 440px;
    border-radius: var(--radius-small);
    overflow: hidden;
}

/* === BENEFIT CHECKLIST === */
.mcs-checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.mcs-check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.mcs-check-item i {
    color: var(--primary-green);
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* === REST API SECTION === */
.mcs-api-box {
    background: linear-gradient(135deg, var(--navbar-bg) 0%, #0d1a0b 100%);
    border-radius: var(--radius-small);
    padding: 3rem;
}
.mcs-api-visual { display: flex; flex-direction: column; gap: 1.25rem; }
.mcs-api-flow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}
.mcs-api-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-small);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    min-width: 90px;
}
.mcs-api-node i { font-size: 1.5rem; }
.mcs-api-node--scan   { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.15); }
.mcs-api-node--app    { background: var(--primary-green); color: #ffffff; box-shadow: 0 4px 16px rgba(123,185,62,0.4); }
.mcs-api-node--server { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.15); }
.mcs-api-arrow { color: var(--primary-green); font-size: 1rem; opacity: 0.6; }
.mcs-api-code {
    background: rgba(0,0,0,0.35);
    border-radius: var(--radius-small);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}
.mcs-code-header {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mcs-code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}
.mcs-code-label { font-size: 0.75rem; margin-left: 0.5rem; }
.mcs-code-body {
    margin: 0;
    padding: 1rem 1.25rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--primary-green);
    background: none;
    white-space: pre;
    overflow-x: auto;
}
.mcs-api-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mcs-api-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-small);
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
}
.mcs-api-tag i { color: var(--primary-green); font-size: 0.72rem; }

/* === FORMAT GROUPS === */
.mcs-format-group {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    padding: 1.75rem;
    height: 100%;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.mcs-format-group:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-md);
}
.mcs-format-group-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-green);
    margin-bottom: 1.1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}
.mcs-format-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mcs-format-list li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}
.mcs-format-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 500;
}
/* === TESTIMONIALS === */
.mcs-testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mcs-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}
.mcs-stars { color: #f4c430; font-size: 0.9rem; letter-spacing: 0.1em; }
.mcs-quote {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.75;
    font-style: italic;
    flex-grow: 1;
    border: none;
    padding: 0;
    background: none;
    margin: 0;
}
.mcs-reviewer { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.mcs-reviewer-avatar {
    width: 40px;
    height: 40px;
    background: var(--light-green);
    border: 1px solid rgba(123,185,62,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1rem;
    flex-shrink: 0;
}
.mcs-reviewer-name { display: block; font-weight: 500; font-size: 0.875rem; color: var(--text-primary); }
.mcs-reviewer-role { display: block; font-size: 0.8rem; color: var(--text-tertiary); }

/* === PHONE SCREENSHOT GALLERY === */
.mcs-screens-section { background: var(--primary-bg); overflow: hidden; }
.mcs-screens-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding-bottom: 2rem;
}
.mcs-screen-item {
    flex: 0 0 auto;
    width: 176px;
    border-radius: var(--radius-small);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mcs-screen-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 32px 72px rgba(0, 0, 0, 0.2);
}
.mcs-screen-item img { width: 100%; height: auto; display: block; }
.mcs-screen--low    { transform: translateY(28px); }
.mcs-screen--high   { transform: translateY(-20px); }
.mcs-screen--center { transform: translateY(0); width: 196px; box-shadow: 0 28px 72px rgba(123,185,62,0.22); }

/* === CTA SECTION === */
.mcs-cta-section  { background: linear-gradient(135deg, var(--navbar-bg) 0%, #0f1f0c 100%); padding: 5rem 1.5rem; }
.mcs-cta-title    { line-height: 1.15; }
.mcs-cta-subtitle { max-width: 1000px; margin: 0 auto 2.5rem; line-height: 1.7; }
.mcs-cta-divider  { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.5rem; padding-top: 1.5rem; }
.mcs-cta-note     { font-size: 0.85rem; margin-bottom: 0.75rem; }
.mcs-cta-link     { font-weight: 500; text-decoration: none; }
.mcs-cta-icon     { font-size: 0.75em; }
.mcs-cta-badges {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
.mcs-cta-badge-link {
    display: inline-block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.mcs-cta-badge-link:hover { opacity: 0.85; transform: translateY(-3px); }

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
    .hero-custom .mcs-hero-img-col {
        display: block !important;
        margin-top: 2rem;
    }
    .hero-custom .mcs-hero-img-col figure {
        height: auto !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    }
    .hero-custom .mcs-hero-img-col figure img {
        object-fit: contain !important;
        height: auto !important;
    }
    .mcs-hero-tags     { justify-content: center; }
    .mcs-store-badges  { justify-content: center; }
    .mcs-api-box       { padding: 2rem 1.5rem; }
    .mcs-api-flow      { gap: 0.5rem; }
    .mcs-api-node      { min-width: 72px; padding: 0.75rem; }
    .mcs-cta-badges    { flex-direction: column; align-items: center; }
}
@media screen and (min-width: 769px) and (max-width: 1023px) {
    .hero-custom .mcs-hero-img-col figure { height: 360px !important; }
}
@media screen and (max-width: 1023px) {
    .mcs-screens-row {
        overflow-x: auto;
        justify-content: flex-start;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .mcs-screens-row::-webkit-scrollbar { display: none; }
    .mcs-screen--low,
    .mcs-screen--high,
    .mcs-screen--center { transform: none; }
    .mcs-screen-item,
    .mcs-screen--center { width: 150px; }
}
@media screen and (max-width: 768px) {
    .mcs-screens-section { overflow: visible; }
    .mcs-screens-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        overflow-x: visible;
        padding-left: 0;
        padding-right: 0;
        gap: 1rem;
    }
    .mcs-screen-item,
    .mcs-screen--center { width: 100%; }
}
