/* ===== Bassmah Landing - Sections Styles ===== */

/* ===== COUNTER ===== */

.counter-section {
    background: #fff;
    padding: 0;
    position: relative;
    border-top: 1px solid #e8ecf1;
    border-bottom: 1px solid #e8ecf1;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.counter-item {
    text-align: center;
    padding: 50px 20px;
    position: relative;
    border-left: 1px solid #e8ecf1;
}

.counter-item:last-child {
    border-left: none;
}

.counter-item .count-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-item:nth-child(1) .count-icon {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.counter-item:nth-child(2) .count-icon {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.counter-item:nth-child(3) .count-icon {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.counter-item:nth-child(4) .count-icon {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
}

.counter-item .count-icon img {
    width: 40px;
    height: 40px;
}

.counter-item .count-num {
    font-size: 52px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 4px;
    display: block;
}

.counter-item .count-label {
    font-size: 17px;
    color: var(--text-light);
    font-weight: 600;
}

.counter-cta {
    text-align: center;
    padding: 30px 20px 40px;
    border-top: 1px solid #e8ecf1;
}

.counter-cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 6px 25px rgba(66, 133, 244, 0.3);
    transition: var(--transition);
}

.counter-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(66, 133, 244, 0.4);
}

/* ===== PAIN ===== */

.pain-section {
    background: #fff;
    position: relative;
    overflow: hidden;
    color: var(--dark);
}

.pain-section::after {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.05), transparent);
    border-radius: 50%;
}

.pain-deco {
    position: absolute;
    z-index: 1;
    opacity: 0.08;
    pointer-events: none;
}

.pain-deco svg {
    width: 100%;
    height: 100%;
}

.pain-deco.pd-warning {
    width: 110px;
    height: 110px;
    top: 6%;
    right: 4%;
    animation: decoFloat1 7s ease-in-out infinite;
}

.pain-deco.pd-broken {
    width: 90px;
    height: 90px;
    bottom: 10%;
    left: 3%;
    animation: decoFloat2 6s ease-in-out infinite;
}

.pain-deco.pd-dislike {
    width: 80px;
    height: 80px;
    top: 45%;
    right: 7%;
    animation: decoFloat3 8s ease-in-out infinite;
}

.pain-deco.pd-close {
    width: 60px;
    height: 60px;
    top: 12%;
    left: 8%;
    animation: decoFloat2 5s ease-in-out infinite;
}

.pain-deco.pd-sad {
    width: 100px;
    height: 100px;
    bottom: 15%;
    right: 10%;
    animation: decoFloat1 6s ease-in-out infinite;
}

.pain-deco.pd-leak {
    width: 70px;
    height: 70px;
    top: 65%;
    left: 5%;
    animation: decoFloat3 7s ease-in-out infinite;
}

.pain-top {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.pain-top .section-title {
    color: var(--dark);
}

.pain-top .section-subtitle {
    color: var(--text-light);
}

.pain-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    margin-bottom: 40px;
}

.pain-step {
    background: #fff;
    border: 2px solid #fee2e2;
    border-radius: 24px;
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.pain-step:hover {
    transform: translateY(-6px);
    border-color: #e74c3c;
    box-shadow: var(--shadow-lg);
}

.pain-step-num {
    position: absolute;
    top: -14px;
    right: 24px;
    width: 36px;
    height: 36px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
}

.pain-step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-step-icon img {
    width: 50px;
    height: 50px;
}

.pain-step h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.pain-step p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.pain-arrow {
    position: absolute;
    top: 50%;
    left: -12px;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.15);
    font-size: 24px;
    display: none;
}

.pain-step:not(:first-child) .pain-arrow {
    display: block;
}

.pain-bottom {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #fecaca;
    border-radius: 20px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.pain-bottom-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pain-bottom-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.pain-bottom-text h4 {
    font-size: 19px;
    font-weight: 800;
    color: #991b1b;
    margin-bottom: 4px;
}

.pain-bottom-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* ===== SOLUTION ===== */

.solution-section {
    background: var(--light-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
}

.solution-top {
    text-align: center;
    margin-bottom: 60px;
}

.solution-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.solution-box {
    background: linear-gradient(145deg, #1a8f4a, #27ae60);
    border-radius: 28px;
    padding: 50px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    border-radius: 50%;
}

.solution-box::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
}

.solution-box h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    line-height: 1.5;
}

.solution-box h2 span {
    color: #fef3c7;
}

.solution-box > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    line-height: 2;
    margin-bottom: 10px;
    position: relative;
}

.solution-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    background: #fff;
    color: var(--accent);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    align-self: flex-start;
}

.solution-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    color: var(--dark);
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution-feature {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 16px;
    align-items: center;
    transition: var(--transition);
    border: 1px solid #e8ecf1;
}

.solution-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.sf-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sf-icon.sf1 {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.sf-icon.sf2 {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.sf-icon.sf3 {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.sf-icon img {
    width: 30px;
    height: 30px;
}

.solution-feature h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.solution-feature p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== PILLARS ===== */

.pillar-section {
    position: relative;
    overflow: hidden;
}

.pillar-deco {
    position: absolute;
    z-index: 0;
    opacity: 0.12;
    pointer-events: none;
}

.pillar-deco svg {
    width: 100%;
    height: 100%;
}

.pillar-deco.pld-code {
    width: 100px;
    height: 100px;
    top: 8%;
    right: 4%;
    animation: decoFloat1 7s ease-in-out infinite;
}

.pillar-deco.pld-globe {
    width: 120px;
    height: 120px;
    bottom: 10%;
    left: 3%;
    animation: decoFloat2 8s ease-in-out infinite;
}

.pillar-deco.pld-gear {
    width: 80px;
    height: 80px;
    top: 50%;
    right: 6%;
    animation: decoFloat3 6s ease-in-out infinite;
}

.pillar-deco.pld-layers {
    width: 70px;
    height: 70px;
    top: 15%;
    left: 6%;
    animation: decoFloat1 9s ease-in-out infinite;
}

.pillar-deco.pld-shield {
    width: 90px;
    height: 90px;
    bottom: 18%;
    right: 10%;
    animation: decoFloat2 7s ease-in-out infinite;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pillar-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent);
}

.pillar-card:nth-child(1) {
    background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%);
}

.pillar-card:nth-child(2) {
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
}

.pillar-card:nth-child(3) {
    background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.pillar-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pillar-icon.icon-1 {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.pillar-icon.icon-2 {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.pillar-icon.icon-3 {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.pillar-icon img {
    width: 60px;
    height: 60px;
}

.pillar-num {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 38px;
    height: 38px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
}

.pillar-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.pillar-card .pillar-en {
    font-size: 15px;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.pillar-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== TIMELINE ===== */

.timeline-section {
    background: #fff;
    position: relative;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent), var(--gold));
}

.timeline {
    position: relative;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.timeline-item {
    position: relative;
    background: #fff;
    border-radius: 24px;
    border: 2px solid #e8ecf1;
    padding: 0;
    overflow: hidden;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.timeline-item:nth-child(1) {
    border-top: 4px solid var(--primary-light);
}

.timeline-item:nth-child(1):hover {
    border-color: var(--primary-light);
}

.timeline-item:nth-child(2) {
    border-top: 4px solid var(--accent);
}

.timeline-item:nth-child(2):hover {
    border-color: var(--accent);
}

.timeline-item:nth-child(3) {
    border-top: 4px solid var(--gold);
}

.timeline-item:nth-child(3):hover {
    border-color: var(--gold);
}

.timeline-dot {
    width: 100%;
    height: auto;
    border-radius: 0;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    z-index: 2;
    box-shadow: none;
}

.timeline-dot::after {
    content: attr(data-label);
    font-size: 18px;
    font-weight: 700;
}

.timeline-item:nth-child(1) .timeline-dot {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.timeline-item:nth-child(2) .timeline-dot {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.timeline-item:nth-child(3) .timeline-dot {
    background: linear-gradient(135deg, var(--gold), #e67e22);
}

.timeline-content {
    background: transparent;
    border-radius: 0;
    padding: 28px;
    transition: var(--transition);
    border: none;
    position: relative;
    box-shadow: none;
}

.timeline-content:hover {
    transform: none;
    box-shadow: none;
}

.timeline-empty {
    display: none;
}

.timeline-phase {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.timeline-days {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
}

.timeline-item:nth-child(1) .timeline-days {
    background: rgba(26, 82, 118, 0.1);
    color: var(--primary);
}

.timeline-item:nth-child(2) .timeline-days {
    background: rgba(39, 174, 96, 0.1);
    color: var(--accent);
}

.timeline-item:nth-child(3) .timeline-days {
    background: rgba(243, 156, 18, 0.1);
    color: var(--gold);
}

.timeline-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 18px;
    line-height: 1.4;
}

.timeline-content ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.timeline-content li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--text);
    line-height: 1.8;
    font-weight: 500;
}

.timeline-content li .check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.timeline-item:nth-child(1) .check {
    background: rgba(26, 82, 118, 0.1);
    color: var(--primary);
}

.timeline-item:nth-child(2) .check {
    background: rgba(39, 174, 96, 0.1);
    color: var(--accent);
}

.timeline-item:nth-child(3) .check {
    background: rgba(243, 156, 18, 0.1);
    color: var(--gold);
}

/* ===== Deco Float Keyframes ===== */

@keyframes decoFloat1 {
    0%, 100% {
        transform: translateY(0) rotate(-15deg);
    }
    50% {
        transform: translateY(-20px) rotate(-10deg);
    }
}

@keyframes decoFloat2 {
    0%, 100% {
        transform: translateY(0) rotate(10deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes decoFloat3 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-18px) rotate(8deg);
    }
}
