/**
 * Custom Redesign CSS for Pleet Sections
 * Targets: Core Advantages & About Modern
 * Version: 2.0 (Redesign)
 */

/* ==================== Variables & Utils ==================== */
:root {
    --pleet-orange: #ec6a00;
    --pleet-dark: #111827;
    --pleet-gray: #4b5563;
    --pleet-light-bg: #f3f4f6;
    --pleet-white: #ffffff;
    --pleet-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --pleet-hover-shadow: 0 20px 40px -10px rgba(236, 106, 0, 0.15);
}

/* ==================== Section 1: Core Advantages (Features) ==================== */
.section-home-strength {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Header Area */
.strength-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.head-main {
    max-width: 650px;
}

.head-main .eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--pleet-orange);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
    background: rgba(236, 106, 0, 0.08);
    padding: 6px 12px;
    border-radius: 4px;
}

.head-main h2 {
    font-size: 42px;
    line-height: 1.2;
    color: var(--pleet-dark);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.head-main p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--pleet-gray);
}

.strength-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--pleet-orange);
    padding-bottom: 4px;
    border-bottom: 2px solid rgba(236, 106, 0, 0.3);
    transition: all 0.3s ease;
}

.strength-link:hover {
    border-bottom-color: var(--pleet-orange);
    color: #d05d00;
}

/* Grid Layout */
.strength-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

/* Card Design */
.strength-card {
    background: var(--pleet-light-bg);
    padding: 40px 32px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

.strength-card:hover {
    transform: translateY(-12px);
    background: var(--pleet-white);
    box-shadow: var(--pleet-hover-shadow);
    border-color: rgba(236, 106, 0, 0.1);
}

/* Decorative Numbering for Cards */
.strength-card::before {
    content: '';
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    font-family: Arial, sans-serif;
    line-height: 1;
    transition: color 0.3s;
}

.strength-card:nth-child(1)::before {
    content: '01';
}

.strength-card:nth-child(2)::before {
    content: '02';
}

.strength-card:nth-child(3)::before {
    content: '03';
}

.strength-card:nth-child(4)::before {
    content: '04';
}

.strength-card:hover::before {
    color: rgba(236, 106, 0, 0.08);
}

.strength-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--pleet-dark);
    margin-bottom: 16px;
    padding-left: 0;
    border-left: none;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.strength-card h3::before {
    content: none !important;
}

.strength-card .strength-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: var(--pleet-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(1px);
}

.strength-card .strength-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.strength-card:hover .strength-icon {
    color: #d75f00;
}

.strength-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pleet-gray);
    flex-grow: 1;
}

/* Stats Strip */
.strength-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #e5e7eb;
    padding-top: 60px;
}

.strip-item {
    padding-right: 0;
    text-align: center;
}

.strip-item .num {
    font-size: 48px;
    font-weight: 800;
    color: var(--pleet-dark);
    line-height: 1;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.strip-item .num span {
    color: var(--pleet-dark);
    /* Keep number dark for premium feel */
}

.strip-item .num::after {
    /* Optional accent dot */
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--pleet-orange);
    border-radius: 50%;
    margin-left: 5px;
    margin-bottom: 8px;
}

.strip-item .label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7280;
    font-weight: 600;
}

/* Homepage industry solutions uses a unified light palette */
.section2.solution-stage {
    background: #ffffff;
}

.solution-stage .solutiontabs li {
    background: #f5f7fb;
    border-color: #d8e0ea;
    color: #0f172a;
}

.solution-stage .solutiontabs li em {
    color: #98a2b3;
    opacity: 1;
}

.solution-stage .solutiontabs li::after {
    background: linear-gradient(120deg, rgba(236, 106, 0, 0.18), rgba(236, 106, 0, 0));
}

.solution-stage .solutiontabs li.active,
.solution-stage .solutiontabs li:hover {
    background: linear-gradient(135deg, rgba(236, 106, 0, 0.16), rgba(236, 106, 0, 0.05));
    border-color: rgba(236, 106, 0, 0.4);
    box-shadow: 0 14px 30px rgba(236, 106, 0, 0.12);
}

.solution-stage .solutiontabs ul.solutions-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 2px 6px;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.solution-stage .solutiontabs ul.solutions-tabs::-webkit-scrollbar {
    display: none;
}

.solution-stage .solutiontabs li {
    flex: 1 1 0;
    min-width: 150px;
    scroll-snap-align: start;
}

.solution-stage .solution-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dce5ef;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.solution-stage .solution-item:hover {
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.16);
}

.solution-stage .solution-media::after {
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0));
}

.solution-media-tag {
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
}

.solution-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.panel-tag {
    background: rgba(236, 106, 0, 0.12);
    color: #ec6a00;
}

.panel-title {
    color: #0f172a;
}

.panel-desc {
    color: #667085;
}

.panel-btn {
    background: #ec6a00;
    border-color: #ec6a00;
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(236, 106, 0, 0.18);
}

.panel-btn:hover {
    background: #ff7a1a;
    border-color: #ff7a1a;
    box-shadow: 0 18px 36px rgba(236, 106, 0, 0.24);
}

@media (max-width: 1200px) {
    .solution-stage .solutiontabs li {
        min-width: 168px;
        flex: 0 0 168px;
    }
}

@media (max-width: 768px) {
    .solution-stage .solutiontabs ul.solutions-tabs {
        gap: 10px;
    }

    .solution-stage .solutiontabs li {
        min-width: 148px;
        flex: 0 0 148px;
    }
}


/* ==================== Section 3: About Modern ==================== */
.section3 {
    background: #fdfdfd;
    padding: 100px 0;
}

/* Header */
.about-modern-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--pleet-orange);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.about-modern-header .section-title {
    font-size: 38px;
    color: var(--pleet-dark);
    font-weight: 800;
    margin: 0;
}

/* Content Layout */
.about-modern-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-modern-text {
    flex: 1;
}

.about-lead {
    font-size: 20px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 30px;
    font-weight: 500;
}

.about-bullets {
    margin-bottom: 40px;
    list-style: none;
    padding: 0;
    display: grid;
    gap: 16px;
}

.about-bullets li {
    font-size: 16px;
    color: var(--pleet-gray);
    line-height: 1.6;
    padding-left: 30px;
    position: relative;
}

.about-bullets li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--pleet-white);
    background: var(--pleet-orange);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.playico {
    width: 60px;
    height: 60px;
    background: var(--pleet-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(236, 106, 0, 0.3);
    transition: transform 0.3s;
}

.playico:hover {
    transform: scale(1.1);
}

.playico img {
    width: 20px;
    filter: brightness(100);
}

.about-link-btn {
    font-size: 16px;
    font-weight: 600;
    color: var(--pleet-dark);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    transition: all 0.3s;
}

.about-link-btn:hover {
    border-color: var(--pleet-orange);
    color: var(--pleet-orange);
    background: #fff5eb;
}

/* Media & Stats */
.about-modern-media {
    flex: 1;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--pleet-shadow);
    min-height: 480px;
}

.about-modern-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-mini-stats {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.mini-stat {
    text-align: center;
}

.mini-stat .num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--pleet-orange);
    line-height: 1.1;
    margin-bottom: 4px;
}

.mini-stat .label {
    font-size: 12px;
    color: var(--pleet-gray);
    font-weight: 600;
    text-transform: uppercase;
}

/* ==================== Responsive ==================== */
@media (max-width: 1200px) {
    .section-home-strength .w,
    .section3 .w,
    .section-whyus .w,
    .section5 .w {
        padding: 0 24px;
    }

    .strength-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .head-main h2 {
        font-size: 36px;
    }

    .about-modern-content {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 50px;
    }

    .about-modern-media {
        width: 100%;
        max-width: none;
        align-self: stretch;
        min-height: 400px;
    }
}

@media (max-width: 992px) {
    .about-modern-content {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .section-home-strength .w,
    .section3 .w,
    .section-whyus .w,
    .section5 .w {
        padding: 0 20px;
    }

    .section-home-strength {
        padding: 60px 0;
    }

    .strength-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .head-main h2 {
        font-size: 30px;
    }

    .strength-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .about-modern-header {
        align-items: flex-start;
        text-align: left;
    }

    .about-modern-header .section-title {
        font-size: 32px;
    }

    .about-modern-content {
        gap: 36px;
        align-items: stretch;
    }

    .about-mini-stats {
        position: relative;
        inset: auto;
        width: auto;
        margin: -38px 16px 0;
        flex-direction: column;
        gap: 18px;
        align-items: center;
        text-align: center;
        padding: 22px 20px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
    }

    .about-modern-media {
        width: 100%;
        max-width: none;
        min-height: 0;
        overflow: visible;
        border-radius: 0;
        box-shadow: none;
        align-self: stretch;
    }

    .about-modern-media img {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        border-radius: 18px;
        box-shadow: var(--pleet-shadow);
    }

    .mini-stat {
        align-items: center;
        width: 100%;
    }

    .mini-stat .num {
        font-size: clamp(28px, 8vw, 36px);
    }
}

@media (max-width: 500px) {
    .section-home-strength .w,
    .section3 .w,
    .section-whyus .w,
    .section5 .w {
        padding: 0 16px;
    }

    .about-modern-content {
        gap: 32px;
    }

    .about-mini-stats {
        margin: -34px 12px 0;
        padding: 20px 18px;
    }
}

@media (max-width: 500px) {
    .strength-grid {
        grid-template-columns: 1fr;
    }

    .strength-strip {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==================== Section 4: Why Us (Redesign) ==================== */
.section-whyus {
    padding: 100px 0;
    background: #ffffff;
}

.whyus-card {
    background: #f0f5fa;
    /* Light premium blue-grey */
    border-radius: 24px;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}

.whyus-heading {
    margin-bottom: 50px;
    max-width: 800px;
}

.whyus-kicker {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--pleet-orange);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.whyus-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--pleet-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.whyus-intro {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

.whyus-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pleet-dark);
}

.whyus-more .arrow {
    color: var(--pleet-orange);
    transition: transform 0.25s ease;
}

.whyus-more:hover .arrow {
    transform: translateX(4px);
}

/* List Layout */
.whyus-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.whyus-list li {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-right: 108px;
    min-height: 140px;
}

.whyus-list li .idx,
.whyus-list li .item-copy {
    position: relative;
    z-index: 1;
}

.whyus-bg-icon {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 104px;
    height: 104px;
    color: #c98a4d;
    opacity: 0.16;
    pointer-events: none;
    z-index: 0;
}

.whyus-bg-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.whyus-list .idx {
    font-size: 24px;
    font-weight: 700;
    color: rgba(236, 106, 0, 0.4);
    font-family: 'Outfit', sans-serif;
    /* Or generic sans */
    margin-bottom: 10px;
    display: block;
}

.item-copy h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--pleet-dark);
    margin-bottom: 12px;
}

.item-copy p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--pleet-gray);
}

.home-case-list {
    gap: 24px;
}

.home-case-list li {
    padding-right: 0;
    min-height: 0;
}

.home-case-link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
    padding: 16px;
    background: #fff;
    border: 1px solid #d7e1ec;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(31, 42, 61, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
}

.home-case-link:hover {
    transform: translateY(-6px);
    border-color: rgba(236, 106, 0, 0.28);
    box-shadow: 0 26px 60px rgba(31, 42, 61, 0.14);
}

.home-case-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #dfe8f2 0%, #f3f7fb 100%);
}

.home-case-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 21, 38, 0.08) 0%, rgba(12, 21, 38, 0.42) 100%);
}

.home-case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-case-link .idx {
    position: absolute;
    top: 16px;
    left: 16px;
    margin-bottom: 0;
    z-index: 1;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: rgba(236, 106, 0, 0.8);
    font-size: 20px;
    line-height: 1;
}

.home-case-link .item-copy {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 12px 10px;
}

.home-case-meta {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    position: absolute;
    left: 16px;
    bottom: 16px;
    margin-bottom: 0;
    border-radius: 999px;
    background: rgba(255, 247, 241, 0.92);
    color: var(--pleet-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(12, 21, 38, 0.12);
}

.home-case-link h4 {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 12px;
}

.home-case-link p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.8em;
}

.home-case-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pleet-dark);
}

.home-case-action .arrow {
    color: var(--pleet-orange);
    transition: transform 0.25s ease;
}

.home-case-link:hover .home-case-action .arrow {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 992px) {
    .whyus-card {
        padding: 40px 30px;
    }

    .whyus-list {
        gap: 40px;
    }

    .home-case-list {
        gap: 20px;
    }

    .home-case-link {
        padding: 14px;
    }

    .home-case-link .item-copy {
        padding: 18px 8px 8px;
    }
}

@media (max-width: 768px) {
    .whyus-list {
        grid-template-columns: 1fr;
    }

    .whyus-list li {
        padding-right: 84px;
        min-height: 128px;
    }

    .whyus-bg-icon {
        width: 80px;
        height: 80px;
        opacity: 0.14;
    }

    .whyus-title {
        font-size: 30px;
    }

    .whyus-intro {
        font-size: 16px;
    }

    .whyus-more {
        margin-top: 20px;
    }

    .home-case-link {
        min-height: 0;
    }

    .home-case-link h4 {
        font-size: 20px;
    }

    .home-case-link p {
        min-height: 0;
    }
}

/* Desktop Enhanced Layout */
@media (min-width: 992px) {
    .whyus-content-grid {
        display: flex;
        align-items: flex-start;
        gap: 80px;
    }

    .whyus-heading {
        flex: 0 0 320px;
        position: sticky;
        top: 100px;
        margin-bottom: 0;
    }

    .whyus-list {
        flex: 1;
        grid-template-columns: repeat(2, 1fr);
    }
}
