﻿/* =====================================================
   RESUME TARGET - PROCESS PAGES MOBILE OPTIMIZATION
   /asset/css/templates/process-pages-mobile.css
   v20260123 - Mobile-first conversion optimization
   
   STRATEGY: Reduce scroll depth, prioritize CTA visibility
   - Hide decorative visuals on mobile
   - Collapse redundant sections
   - Simplify comparisons to key points
   - Keep hero + 1 value section + CTA visible quickly
   ===================================================== */

/* =====================================================
   MOBILE BREAKPOINT: 767px and below
   ===================================================== */
@media (max-width: 767px) {
    
    /* -------------------------------------------------
       HEADER - HIDE TOP BAR ON MOBILE
       The navy bar with Outplacement/Client Login wastes space
       These links are now in the mobile menu
       ------------------------------------------------- */
    
    .site-header .top-bar {
        display: none !important;
    }
    
    /* -------------------------------------------------
       HERO SECTION - STREAMLINED
       ------------------------------------------------- */
    
    /* Hide hero visual mockups on mobile - they take too much space */
    .hero-compact .hero-visual,
    .hero-compact .hero-chat,
    .hero-compact .portal-mockup-card,
    .hero-compact .progress-tracker-visual,
    .hero-compact .chat-window,
    .hero-compact .files-preview,
    .hero-compact .resume-preview-card {
        display: none !important;
    }
    
    /* Tighter hero padding */
    .hero-compact {
        padding: 32px 0 40px;
    }
    
    /* Smaller hero title */
    .hero-compact h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    /* Shorter hero subtitle */
    .hero-sub {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    /* Hide hero pills on mobile - they add clutter */
    .hero-pills {
        display: none !important;
    }
    
    /* Stack hero buttons vertically, full width */
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    /* Hide secondary button on mobile (like "Listen to Interview") */
    .hero-buttons .btn-outline {
        display: none;
    }
    
    /* Eyebrow smaller */
    .eyebrow {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    /* -------------------------------------------------
       TAGLINE SECTIONS - CONDENSED
       ------------------------------------------------- */
    
    .tagline-section {
        padding: 24px 0 12px;
    }
    
    .tagline-section h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .tagline-section p {
        font-size: 15px;
    }
    
    .tagline-callout {
        padding: 32px 0;
    }
    
    .tagline-callout h2 {
        font-size: 22px;
        padding: 0 16px;
    }
    
    .tagline-callout p {
        font-size: 15px;
        padding: 0 16px;
    }
    
    /* -------------------------------------------------
       FEATURE ROWS - SIMPLIFIED
       ------------------------------------------------- */
    
    .feature-row {
        padding: 32px 0 40px;
    }
    
    /* Hide feature visuals on mobile */
    .feature-row .feature-visual,
    .feature-row .compare-stack,
    .feature-row .flow-list,
    .feature-row .connection-visual {
        display: none !important;
    }
    
    .feature-text h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .feature-text p {
        font-size: 15px;
    }
    
    .feature-label {
        font-size: 10px;
        margin-bottom: 8px;
    }
    
    /* -------------------------------------------------
       METHOD SECTION - HIDE ON MOBILE
       The 4-step visual doesn't work well on mobile
       ------------------------------------------------- */
    
    .method-section {
        display: none !important;
    }
    
    /* -------------------------------------------------
       QUESTIONS GRID - SHOW ONLY 2 ON MOBILE
       ------------------------------------------------- */
    
    .questions-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Hide extra question cards, show only first 2 */
    .questions-grid .question-card:nth-child(n+3) {
        display: none;
    }
    
    .question-card {
        padding: 16px;
        font-size: 14px;
    }
    
    /* -------------------------------------------------
       TIME CARDS - SIMPLIFIED
       Show only 3 key ones on mobile
       ------------------------------------------------- */
    
    .time-cards {
        gap: 8px;
        justify-content: center;
    }
    
    .time-card {
        width: calc(33.333% - 6px);
        min-width: 90px;
        padding: 12px 8px;
    }
    
    .time-card .time {
        font-size: 24px;
    }
    
    .time-card .unit {
        font-size: 12px;
    }
    
    .time-card .desc {
        font-size: 10px;
    }
    
    /* Hide the middle time cards, show only Student, Professional, Executive */
    .time-card:nth-child(2),
    .time-card:nth-child(4) {
        display: none;
    }
    
    /* -------------------------------------------------
       SECTION ALT - TIGHTER
       ------------------------------------------------- */
    
    .section-alt {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
    /* -------------------------------------------------
       WORKFLOW STEPS - COLLAPSED VIEW
       ------------------------------------------------- */
    
    .workflow-section {
        padding: 40px 0;
    }
    
    .workflow-steps {
        gap: 16px;
    }
    
    .workflow-step {
        padding: 20px;
        gap: 16px;
    }
    
    .workflow-step-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .workflow-step-content h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .workflow-step-content p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    /* Hide chat previews inside workflow steps on mobile */
    .workflow-step .chat-preview {
        display: none;
    }
    
    .workflow-detail {
        font-size: 12px;
    }
    
    /* -------------------------------------------------
       PORTAL SECTION - HIDE MOCKUP
       ------------------------------------------------- */
    
    .portal-section {
        padding: 40px 0;
    }
    
    .portal-grid {
        display: block;
    }
    
    /* Hide portal mockup visual on mobile */
    .portal-mockup,
    .portal-mockup-wrapper {
        display: none !important;
    }
    
    .portal-content h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .portal-content > p {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .portal-features {
        gap: 16px;
    }
    
    .portal-feature {
        gap: 12px;
    }
    
    .portal-feature-icon {
        width: 36px;
        height: 36px;
    }
    
    .portal-feature h4 {
        font-size: 14px;
    }
    
    .portal-feature p {
        font-size: 13px;
    }
    
    /* -------------------------------------------------
       TIMELINE - SIMPLIFIED VERTICAL
       ------------------------------------------------- */
    
    .timeline-horizontal {
        gap: 0;
    }
    
    .timeline-h-item {
        padding: 12px;
        min-width: auto;
    }
    
    .timeline-h-day {
        font-size: 10px;
    }
    
    .timeline-h-content strong {
        font-size: 13px;
    }
    
    .timeline-h-content span {
        font-size: 11px;
    }
    
    .timeline-h-connector {
        height: 16px;
    }
    
    /* Hide rush note on mobile */
    .rush-note {
        display: none;
    }
    
    /* -------------------------------------------------
       VISUAL TIMELINE - SIMPLIFIED
       ------------------------------------------------- */
    
    .visual-timeline {
        display: none !important;
    }
    
    /* -------------------------------------------------
       WRITER GRID - SHOW ONLY 2 ON MOBILE
       ------------------------------------------------- */
    
    .writer-grid {
        gap: 16px;
    }
    
    .writer-card {
        padding: 24px;
    }
    
    /* Show only first 2 writer cards */
    .writer-grid .writer-card:nth-child(n+3) {
        display: none;
    }
    
    .writer-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }
    
    .writer-card h3 {
        font-size: 16px;
    }
    
    .writer-card p {
        font-size: 14px;
    }
    
    /* -------------------------------------------------
       GUARANTEE BOX - STREAMLINED
       ------------------------------------------------- */
    
    .guarantee-box {
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    .guarantee-box .guarantee-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }
    
    .guarantee-box h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .guarantee-box p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    /* Hide guarantee details on mobile */
    .guarantee-details {
        display: none;
    }
    
    /* -------------------------------------------------
       STATS ROW - COMPACT
       ------------------------------------------------- */
    
    .stats-row {
        gap: 24px;
        padding: 20px;
        flex-wrap: wrap;
    }
    
    .stat-num {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* -------------------------------------------------
       INFO CARDS - STACK & SIMPLIFY
       ------------------------------------------------- */
    
    .info-cards {
        gap: 16px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .info-card h4 {
        font-size: 14px;
    }
    
    .info-card p {
        font-size: 14px;
    }
    
    /* -------------------------------------------------
       SCENARIO GRID - SIMPLIFIED
       ------------------------------------------------- */
    
    .scenario-grid {
        gap: 16px;
    }
    
    .scenario-card {
        padding: 20px;
    }
    
    .scenario-card h4 {
        font-size: 14px;
    }
    
    .scenario-card p {
        font-size: 14px;
    }
    
    /* -------------------------------------------------
       CTA SECTION - MOBILE OPTIMIZED
       ------------------------------------------------- */
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-section h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .cta-section p {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .cta-section .btn-primary {
        width: 100%;
        max-width: 280px;
    }
    
    .cta-note {
        font-size: 12px;
        margin-top: 16px;
    }
    
    /* -------------------------------------------------
       PROCESS NAV - HIDE ON MOBILE
       Prev/Next navigation adds unnecessary scroll
       ------------------------------------------------- */
    
    .process-nav {
        display: none !important;
    }
    
    /* -------------------------------------------------
       ATS PAGE SPECIFICS
       ------------------------------------------------- */
    
    /* Hide the full comparison, show simplified version */
    .resume-visual-compare {
        display: none !important;
    }
    
    /* ATS flow - show simplified */
    .ats-flow {
        gap: 12px;
    }
    
    .ats-step {
        padding: 12px 16px;
        min-width: auto;
        width: 100%;
    }
    
    .ats-step-num {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .ats-step-content strong {
        font-size: 13px;
    }
    
    .ats-step-content span {
        font-size: 11px;
    }
    
    .ats-arrow {
        font-size: 18px;
    }
    
    /* Deliverables grid - single column */
    .deliverables-grid {
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .deliverable-card {
        padding: 24px;
    }
    
    .deliverable-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 16px;
    }
    
    .deliverable-card h4 {
        font-size: 18px;
    }
    
    .deliverable-card > p {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .deliverable-details li {
        font-size: 13px;
    }
    
    /* Format options - simpler */
    .format-options {
        padding: 20px;
    }
    
    .format-options h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .format-badge {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    /* Content problems - compact */
    .content-problems {
        gap: 12px;
        margin-top: 20px;
    }
    
    .problem-item {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .problem-num {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .problem-item strong {
        font-size: 14px;
    }
    
    .problem-item span {
        font-size: 13px;
    }
    
    /* Interview reminder - compact */
    .interview-reminder {
        padding: 24px 20px;
    }
    
    .interview-reminder h4 {
        font-size: 18px;
    }
    
    .interview-reminder p {
        font-size: 14px;
    }
    
    /* Page comparison - hide complex visual */
    .page-comparison {
        display: none !important;
    }
    
    /* -------------------------------------------------
       TIMELINE - COMPACT
       ------------------------------------------------- */
    
    .timeline {
        max-width: 100%;
    }
    
    .timeline-item {
        gap: 16px;
        padding-bottom: 24px;
    }
    
    .timeline-marker {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .timeline-content h3 {
        font-size: 16px;
    }
    
    .timeline-content p {
        font-size: 14px;
    }
    
    /* -------------------------------------------------
       INFO BOX - COMPACT
       ------------------------------------------------- */
    
    .info-section {
        padding: 24px 0;
    }
    
    .info-box {
        padding: 20px;
    }
    
    .info-box h4 {
        font-size: 14px;
    }
    
    .info-box p {
        font-size: 14px;
    }
    
    /* -------------------------------------------------
       FEATURE CHECKLIST - COMPACT
       ------------------------------------------------- */
    
    .feature-checklist {
        margin-top: 16px;
        gap: 10px;
    }
    
    .feature-checklist li {
        font-size: 14px;
        gap: 10px;
    }
    
    .feature-checklist .check {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}

/* =====================================================
   EXTRA SMALL MOBILE: 375px and below
   ===================================================== */
@media (max-width: 375px) {
    
    .hero-compact h1 {
        font-size: 24px;
    }
    
    .hero-sub {
        font-size: 15px;
    }
    
    .tagline-section h2,
    .tagline-callout h2 {
        font-size: 20px;
    }
    
    .feature-text h2 {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .cta-section h2 {
        font-size: 20px;
    }
    
    .guarantee-box h2 {
        font-size: 18px;
    }
    
    .time-card {
        min-width: 80px;
        padding: 10px 6px;
    }
    
    .time-card .time {
        font-size: 20px;
    }
    
    .time-card .desc {
        font-size: 9px;
    }
}

/* =====================================================
   STICKY MOBILE CTA - OPTIONAL
   Add .sticky-mobile-cta class to body to enable
   ===================================================== */
@media (max-width: 767px) {
    
    .sticky-mobile-cta .mobile-sticky-cta {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 16px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 12px;
        align-items: center;
    }
    
    .sticky-mobile-cta .mobile-sticky-cta .cta-text {
        flex: 1;
        font-size: 13px;
        font-weight: 600;
        color: #1f295e;
    }
    
    .sticky-mobile-cta .mobile-sticky-cta .btn-primary {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    /* Add padding to body to account for sticky CTA */
    .sticky-mobile-cta .process-page {
        padding-bottom: 80px;
    }
}

/* Hide mobile sticky CTA by default (needs to be added to HTML) */
.mobile-sticky-cta {
    display: none;
}
/* Hide blue top bar on mobile for process pages */
.top-bar {
    display: none !important;
}