/* ========================================
   WHY NEXUS PAGE — Styles
   ======================================== */

/* ---- Hero ---- */
.why-hero {
    position: relative;
    padding: 140px 0 60px;
    overflow: hidden;
}

.why-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(0, 108, 53, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, #0A0A0F 0%, #0F0F18 100%);
    z-index: 0;
}

.why-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.why-hero__title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 12px;
    animation: fadeInUp 0.7s ease both;
}

.why-hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-gray);
    animation: fadeInUp 0.7s ease 0.1s both;
}

/* ==============================================================
   COMPETITOR COMPARISON
   ============================================================== */
.why-compare {
    background: var(--color-bg-dark);
    padding: 80px 0 100px;
}

.why-compare__title {
    text-align: center;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 40px;
}

.why-compare__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.why-compare__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 700px;
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.why-compare__table th,
.why-compare__table td {
    padding: 20px 24px;
    text-align: start;
    font-size: 0.92rem;
    vertical-align: middle;
}

.why-compare__table th {
    background: rgba(255, 255, 255, 0.04);
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.06);
}

.why-compare__th-competitor {
    color: var(--color-text-white);
}

.why-compare__th-problem {
    color: #ef4444;
}

.why-compare__th-solution {
    color: #22c55e;
}

.why-compare__table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background var(--transition-base);
}

.why-compare__table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.why-compare__table tbody tr:last-child {
    border-bottom: none;
}

.why-compare__competitor {
    color: var(--color-text-white);
}

.why-compare__comp-name {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.why-compare__comp-sub {
    display: block;
    font-family: var(--font-en);
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.why-compare__problem {
    color: var(--color-text-gray);
}

.why-compare__solution {
    color: var(--color-text-gray);
}

.why-compare__x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 700;
    margin-inline-end: 10px;
    flex-shrink: 0;
}

.why-compare__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    font-size: 0.75rem;
    font-weight: 700;
    margin-inline-end: 10px;
    flex-shrink: 0;
}

/* ==============================================================
   SOVEREIGNTY
   ============================================================== */
.why-sov {
    position: relative;
    background: var(--color-bg-section);
    padding: 100px 0;
    overflow: hidden;
}

.why-sov__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 40%, rgba(0, 108, 53, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.why-sov .container {
    position: relative;
    z-index: 1;
}

.why-sov__label {
    display: inline-block;
    background: rgba(0, 108, 53, 0.12);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: var(--border-radius-pill);
    margin-bottom: 20px;
}

.why-sov__title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 16px;
}

.why-sov__desc {
    font-size: 1.05rem;
    color: var(--color-text-gray);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 40px;
}

.why-sov__points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 56px;
    max-width: 700px;
}

.why-sov__point {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 18px 20px;
    border: 1px solid rgba(0, 108, 53, 0.1);
    font-size: 0.92rem;
    color: var(--color-text-gray);
    transition: all var(--transition-base);
}

.why-sov__point:hover {
    border-color: rgba(0, 108, 53, 0.25);
    transform: translateY(-2px);
}

.why-sov__point-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Saudi Map Visual */
.why-sov__visual {
    display: flex;
    justify-content: center;
}

.why-sov__map {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.why-sov__shield {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 108, 53, 0.1);
    border: 2px solid rgba(0, 108, 53, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: shieldPulse 3s ease-in-out infinite;
}

@keyframes shieldPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 108, 53, 0.2);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(0, 108, 53, 0);
    }
}

.why-sov__map-label {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
}

.why-sov__pulse {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1px solid rgba(0, 108, 53, 0.08);
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
}

/* ==============================================================
   OMNILINGUAL
   ============================================================== */
.why-omni {
    background: var(--color-bg-dark);
    padding: 100px 0;
    text-align: center;
}

.why-omni__label {
    font-family: var(--font-en);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--color-accent-teal);
    margin-bottom: 32px;
}

.why-omni__hero-stat {
    margin-bottom: 16px;
}

.why-omni__number {
    font-family: var(--font-en);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--color-text-white);
    line-height: 1;
    display: block;
}

.why-omni__stat-text {
    font-size: 1.2rem;
    color: var(--color-text-gray);
    display: block;
    margin-top: 8px;
}

.why-omni__context {
    font-size: 1rem;
    color: var(--color-text-gray);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 56px;
}

.why-omni__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.why-omni__col {
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 28px 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.why-omni__col-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-accent-teal);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(20, 184, 166, 0.15);
}

.why-omni__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.why-omni__tag {
    background: rgba(20, 184, 166, 0.08);
    color: var(--color-text-gray);
    border: 1px solid rgba(20, 184, 166, 0.12);
    border-radius: var(--border-radius-pill);
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.why-omni__tag:hover {
    background: rgba(20, 184, 166, 0.15);
    border-color: rgba(20, 184, 166, 0.25);
    color: var(--color-text-white);
}

.why-omni__tag--en {
    font-family: var(--font-en);
}

/* ==============================================================
   GOLDEN HARVEST
   ============================================================== */
.why-harvest {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.why-harvest__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
        var(--color-bg-section);
    z-index: 0;
}

.why-harvest .container {
    position: relative;
    z-index: 1;
}

.why-harvest__inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.why-harvest__label {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.why-harvest__sub {
    font-size: 1.05rem;
    color: var(--color-text-gray);
    margin-bottom: 40px;
}

.why-harvest__stat {
    margin-bottom: 8px;
}

.why-harvest__number {
    font-family: var(--font-en);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1;
    display: block;
}

.why-harvest__stat-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-text-white);
}

.why-harvest__stat-label {
    font-size: 1.1rem;
    color: var(--color-text-gray);
    margin-bottom: 24px;
}

.why-harvest__desc {
    font-size: 1rem;
    color: var(--color-text-gray);
    line-height: 1.8;
    margin-bottom: 32px;
}

.why-harvest__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius-pill);
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.why-harvest__badge svg {
    stroke: var(--color-secondary);
}

/* ==============================================================
   SUCCESS STORIES
   ============================================================== */
.why-stories {
    background: var(--color-bg-dark);
    padding: 100px 0;
}

.why-stories__title {
    text-align: center;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 48px;
}

.why-stories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-story {
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all var(--transition-base);
}

.why-story:hover {
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.why-story__emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 16px;
}

.why-story__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.why-story__row {
    margin-bottom: 14px;
}

.why-story__label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.why-story__row p {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    line-height: 1.5;
    margin: 0;
}

.why-story__results {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.why-story__result {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--border-radius-pill);
}

.why-story__result--up {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.why-story__result--down {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

/* ---- CTA ---- */
.why-cta {
    background: linear-gradient(135deg, #006C35 0%, #004d28 50%, #006C35 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.why-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.why-cta__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.why-cta__title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 32px;
}

.why-cta__btn {
    background: var(--color-text-white);
    color: #006C35;
    border-color: var(--color-text-white);
    border-radius: var(--border-radius-pill);
    font-size: 1.05rem;
    font-weight: 600;
}

.why-cta__btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .why-sov__points {
        grid-template-columns: 1fr;
    }

    .why-omni__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .why-stories__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .why-hero {
        padding: 120px 0 40px;
    }

    .why-compare {
        padding: 60px 0 80px;
    }

    .why-compare__table th,
    .why-compare__table td {
        padding: 14px 16px;
        font-size: 0.85rem;
    }

    .why-sov {
        padding: 70px 0;
    }

    .why-omni {
        padding: 70px 0;
    }

    .why-harvest {
        padding: 70px 0;
    }

    .why-stories {
        padding: 70px 0;
    }

    .why-cta {
        padding: 60px 0;
    }
}

@media (max-width: 380px) {

    .why-compare__table th,
    .why-compare__table td {
        padding: 12px 10px;
        font-size: 0.8rem;
    }
}