/* --- SOLUTIONS PAGE SPECIFIC STYLES --- */

/* HERO */
.page-hero {
    background: linear-gradient(135deg, #0B1F3A 0%, #1a3a5c 60%, #0d2d4a 100%);
    color: white;
    padding: 6rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background:
        radial-gradient(circle at 15% 60%, rgba(62,213,152,0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0,194,255,0.10) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero .badge {
    display: inline-block;
    background: rgba(62,213,152,0.15);
    border: 1px solid rgba(62,213,152,0.4);
    color: var(--accent-green);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.page-hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.page-hero h1 span {
    color: var(--accent-green);
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 640px;
    margin: 0 auto;
}

/* TABS */
.tab-nav {
    background: white;
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 92px;
    z-index: 90;
}

.tab-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    gap: 0;
}

.tab-btn {
    padding: 1.2rem 2.5rem;
    border: none;
    background: none;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--accent-green);
}

.tab-icon {
    font-size: 1.1rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* SECTION HELPER CLASSES */
.section-alt {
    background: var(--light);
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 0.8rem;
    text-align: left;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: left;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 640px;
    margin-bottom: 3rem;
    text-align: left;
}

/* STATS */
.overview-hero {
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.overview-hero .section-label {
    display: block;
    text-align: center;
}

.overview-hero .section-title {
    font-size: 2.5rem;
    text-align: center;
}

.overview-hero .section-sub {
    margin: 0 auto 2rem;
    text-align: center;
}

.stat-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-item .num {
    font-family: 'Roboto', sans-serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
}

.stat-item .num span {
    color: var(--accent-green);
}

.stat-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* FEATURE SPLITS */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    text-align: left;
}

.feature-split.reverse {
    direction: rtl;
}

.feature-split.reverse > * {
    direction: ltr;
}

.feature-text h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.feature-text p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* MOCK SCREEN (WEB DASHBOARD) */
.mock-screen {
    background: var(--primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(11,31,58,0.2);
    text-align: left;
}

.mock-topbar {
    background: #0d2640;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mock-dot.red { background: #ff5f57; }
.mock-dot.yellow { background: #febc2e; }
.mock-dot.green { background: #28c840; }

.mock-url {
    flex: 1;
    background: #1a3a5c;
    border-radius: 4px;
    padding: 0.25rem 0.8rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
}

.mock-body {
    padding: 1.5rem;
}

.mock-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 0.6rem;
}

.mock-row:nth-child(odd) {
    background: rgba(255,255,255,0.05);
}

.mock-badge {
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-new { background: rgba(62,213,152,0.2); color: var(--accent-green); }
.badge-order { background: rgba(0,194,255,0.2); color: var(--accent-blue); }
.badge-dispatch { background: rgba(255,165,0,0.2); color: #ffa500; }
.badge-done { background: rgba(100,200,100,0.2); color: #64c864; }

.mock-text {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    flex: 1;
}

.mock-sub {
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
}

.mock-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.mock-title {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
}

.mock-btn {
    background: var(--accent-green);
    color: var(--primary);
    border: none;
    padding: 0.35rem 0.9rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: default;
}

/* PHONE MOCKUP (MOBILE APP) */
.phone-wrap {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.phone-frame {
    width: 200px;
    background: var(--primary);
    border-radius: 24px;
    padding: 0.8rem;
    box-shadow: 0 16px 48px rgba(11,31,58,0.25);
    text-align: left;
}

.phone-screen {
    background: #0d2640;
    border-radius: 16px;
    min-height: 340px;
    padding: 1rem;
    position: relative;
}

.phone-notch {
    width: 60px;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    margin: 0 auto 1rem;
}

.phone-title {
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.phone-item {
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.5rem;
}

.phone-item-title {
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
}

.phone-item-sub {
    color: rgba(255,255,255,0.5);
    font-size: 0.62rem;
    margin-top: 0.15rem;
}

.phone-status {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.ps-waiting { background: rgba(255,165,0,0.2); color: #ffa500; }
.ps-confirmed { background: rgba(62,213,152,0.2); color: var(--accent-green); }
.ps-progress { background: rgba(0,194,255,0.2); color: var(--accent-blue); }

/* CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feat-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
    text-align: left;
}

.feat-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 8px 24px rgba(62,213,152,0.1);
    transform: translateY(-3px);
}

.feat-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.icon-green { background: rgba(62,213,152,0.12); }
.icon-blue { background: rgba(0,194,255,0.12); }
.icon-navy { background: rgba(11,31,58,0.08); }

.feat-card h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.feat-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* WORKFLOW STEPS */
.workflow {
    display: flex;
    gap: 0;
    position: relative;
    counter-reset: step;
}

.workflow::before {
    content: '';
    position: absolute;
    top: 28px; left: 28px;
    width: calc(100% - 56px);
    height: 2px;
    background: #3fd598;
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
    color: var(--primary);
}

.step-circle img {
    transition: all 0.3s;
}

.step:hover .step-circle {
    background: var(--accent-green);
    transform: scale(1.1);
    color: #fff;
}

.step:hover .step-circle img {
    filter: brightness(0) invert(1);
}

.step h4 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.step p {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* ORDER STAGES (CAROUSEL TRACK) */
.stages-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.stage {
    flex: 1;
    min-width: 140px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.stage:hover {
    border-color: var(--accent-green);
}

.stage-num {
    width: 28px;
    height: 28px;
    background: var(--accent-green);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 auto 0.6rem;
}

.stage-icon {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.stage h5 {
    font-size: 0.8rem;
    color: var(--primary);
}

.stage p {
    font-size: 0.72rem;
    color: var(--gray);
    margin-top: 0.3rem;
    margin-bottom: 0;
}

.stage-arrow {
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-green);
    font-size: 1.2rem;
    z-index: 2;
}

/* ACCOUNTING CARDS */
.accounting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.acc-card {
    background: var(--primary);
    border-radius: 14px;
    padding: 2rem;
    color: white;
    text-align: left;
}

.acc-card .acc-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.acc-card h4 {
    font-size: 1rem;
    color: var(--accent-green);
    margin-bottom: 0.6rem;
}

.acc-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
}

.acc-card ul {
    list-style: none;
    margin-top: 1rem;
}

.acc-card ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.acc-card ul li::before {
    content: '→';
    color: var(--accent-green);
}

.acc-card ul li:last-child {
    border-bottom: none;
}

/* CTA BAND BUTTONS */
.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a5c 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
}

.cta-band h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-band h2 span {
    color: var(--accent-green);
}

.cta-band p {
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    margin: 0 auto 2rem;
}

.btn-group {
    display: flex;
    gap: var(--button-gap);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.4);
    color: white;
}

.btn-outline:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* RESPONSIVENESS */
@media (max-width: 992px) {
    .feature-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .feature-split.reverse {
        direction: ltr;
    }
    .cards-grid {
        grid-template-columns: 1fr 1fr;
    }
    .accounting-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-hero h1 {
        font-size: 2.4rem;
    }
    .tab-nav-inner {
        padding: 0 1rem;
    }
    .tab-btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    .stat-row {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 3.5rem 1rem 3rem;
    }
    .page-hero h1 {
        font-size: 1.9rem;
    }
    .page-hero p {
        font-size: 1rem;
    }
    .tab-nav {
        top: 70px;
    }
    .tab-nav-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 0.8rem;
        gap: 0;
        justify-content: flex-start !important;
    }
    .tab-nav-inner::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .accounting-grid {
        grid-template-columns: 1fr;
    }
    .workflow {
        flex-wrap: wrap;
        justify-content: center;
    }
    .workflow::before {
        display: none;
    }
    .step {
        min-width: 140px;
        max-width: 200px;
        margin-bottom: 1.5rem;
    }
    .stat-row {
        gap: 1.5rem;
    }
    .stat-item .num {
        font-size: 2rem;
    }
    .feature-text h3 {
        font-size: 1.3rem;
    }
    .mock-screen {
        border-radius: 10px;
    }
    .phone-frame {
        width: 170px;
    }
    .phone-screen {
        min-height: 280px;
    }
    .overview-hero .section-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .cta-band {
        padding: 3.5rem 1rem;
    }
    .cta-band h2 {
        font-size: 1.7rem;
    }
    .stages-track {
        padding: 0.5rem 0;
    }
    .stage {
        min-width: 120px;
    }
    .stage-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 3rem 0.8rem 2.5rem;
    }
    .page-hero h1 {
        font-size: 1.55rem;
    }
    .page-hero p {
        font-size: 0.92rem;
    }
    .page-hero .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.9rem;
    }
    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
    }
    .tab-icon {
        font-size: 0.95rem;
    }
    .feat-card {
        padding: 1.5rem;
    }
    .acc-card {
        padding: 1.5rem;
    }
    .overview-hero .section-title {
        font-size: 1.6rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .stat-item .num {
        font-size: 1.7rem;
    }
    .phone-wrap {
        gap: 1rem;
    }
    .phone-frame {
        width: 150px;
        border-radius: 18px;
        padding: 0.6rem;
    }
    .phone-screen {
        min-height: 240px;
        padding: 0.7rem;
        border-radius: 12px;
    }
    .step-circle {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }
    .step h4 {
        font-size: 0.82rem;
    }
    .cta-band h2 {
        font-size: 1.4rem;
    }
    .cta-band p {
        font-size: 0.9rem;
    }
    .mock-body {
        padding: 1rem;
    }
    .mock-row {
        padding: 0.5rem;
        gap: 0.6rem;
    }
    .mock-text {
        font-size: 0.72rem;
    }
}

/* ── MULTI-CUSTOMER 2-COLUMN CARDS GRID WITH INLINE ICONS ── */
.mcust-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem 1.5rem !important;
}

.mcust-cards-grid .feat-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 1.2rem !important;
    padding: 1.8rem !important;
}

.mcust-cards-grid .feat-card-icon {
    width: 25px !important;
    height: 25px !important;
    font-size: 25px !important;
    line-height: 25px !important;
    margin-bottom: 0 !important;
    background: none !important;
    border-radius: 0 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    color: var(--accent-green) !important;
}

.mcust-cards-grid .feat-card-icon img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain !important;
}

.mcust-cards-grid .feat-card p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    color: var(--dark-gray) !important;
}

@media (max-width: 768px) {
    .mcust-cards-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── FLOATING GLOW ANIMATIONS FOR MULTI-CUSTOMER SECTION ── */
#solutions-3pl-mcust {
    position: relative !important;
    overflow: hidden !important;
    background-color: #fafbfc !important;
}

#solutions-3pl-mcust .container {
    position: relative;
    z-index: 2;
}

#solutions-3pl-mcust::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(62, 213, 152, 0.15) 0%, transparent 70%);
    filter: blur(55px);
    z-index: 1;
    pointer-events: none;
    animation: floatGlowGreen3PL 20s infinite alternate ease-in-out;
}

#solutions-3pl-mcust::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(28, 72, 180, 0.12) 0%, transparent 70%);
    filter: blur(55px);
    z-index: 1;
    pointer-events: none;
    animation: floatGlowBlue3PL 24s infinite alternate ease-in-out;
}

@keyframes floatGlowGreen3PL {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(50px, 30px) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translate(-30px, 50px) scale(0.95);
        opacity: 0.75;
    }
}

@keyframes floatGlowBlue3PL {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-40px, -50px) scale(1.05);
        opacity: 1;
    }
    100% {
        transform: translate(30px, 20px) scale(0.9);
        opacity: 0.7;
    }
}
