
/* =========================================
   WHY NOOR — PREMIUM TRUST SECTION
========================================= */

.why-noor {
    --wn-bg: #F5FAFD;
    --wn-text: #102A43;
    --wn-muted: #526B7D;
    --wn-primary: #087FC4;
    --wn-border: #DCE8EF;
    --wn-card: #FFFFFF;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 100px 0;
    color: var(--wn-text);
    background:
        radial-gradient(
            circle at 0% 50%,
            rgba(8,127,196,.07),
            transparent 34%
        ),
        var(--wn-bg);
    font-family: "Inter", sans-serif;
}

.why-noor *,
.why-noor *::before,
.why-noor *::after {
    box-sizing: border-box;
}

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

/* =========================================
   LEFT ARTWORK
========================================= */

.why-noor-visual {
    position: relative;
    min-height: 485px;
    overflow: hidden;
    padding: 23px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    color: #FFFFFF;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(8,127,196,.22),
            transparent 42%
        ),
        linear-gradient(145deg, #123B58, #071C38 75%);
    box-shadow: 0 25px 65px rgba(16,42,67,.12);
}

.why-noor-visual::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: .25;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.why-noor-visual-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #C0D8E3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.why-noor-live-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #00C8E8;
    box-shadow: 0 0 0 5px rgba(0,200,232,.12);
    animation: whyNoorPulse 2.5s infinite;
}

/* Eye-inspired animated graphic */

.why-noor-eye-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 315px;
    margin: 8px 0;
}

.why-noor-orbit {
    position: absolute;
    left: 50%;
    top: 48%;
    aspect-ratio: 1;
    border: 1px solid rgba(0,200,232,.23);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.why-orbit-one {
    width: 210px;
    animation: whyNoorOrbit 28s linear infinite;
}

.why-orbit-two {
    width: 270px;
    border-style: dashed;
    border-color: rgba(0,200,232,.35);
    animation: whyNoorOrbitReverse 36s linear infinite;
}

.why-orbit-three {
    width: 325px;
    border-color: rgba(255,255,255,.10);
}

.why-noor-eye-core {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 138px;
    height: 138px;
    border: 1px solid rgba(0,200,232,.65);
    border-radius: 50%;
    color: #BDEFFF;
    background:
        radial-gradient(
            circle,
            rgba(8,127,196,.26),
            rgba(16,42,67,.35) 70%
        );
    box-shadow:
        0 0 35px rgba(8,127,196,.16),
        inset 0 0 30px rgba(8,127,196,.12);
    animation: whyNoorEyeFloat 4s ease-in-out infinite;
}

.why-noor-eye-core::before,
.why-noor-eye-core::after {
    position: absolute;
    inset: 10px;
    content: "";
    border: 1px solid rgba(0,200,232,.25);
    border-radius: 50%;
}

.why-noor-eye-core::after {
    inset: -8px;
    border-color: rgba(0,200,232,.15);
}

.why-noor-eye-core i {
    font-size: 61px;
    filter: drop-shadow(0 0 12px rgba(0,200,232,.4));
}

.why-noor-spark {
    position: absolute;
    z-index: 2;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #BDEFFF;
    box-shadow: 0 0 14px rgba(0,200,232,.9);
    animation: whyNoorSpark 3s ease-in-out infinite;
}

.why-spark-one {
    top: 24%;
    left: 27%;
}

.why-spark-two {
    top: 31%;
    right: 20%;
    animation-delay: -1s;
}

.why-spark-three {
    bottom: 25%;
    right: 29%;
    animation-delay: -2s;
}

.why-noor-focus-label {
    position: absolute;
    z-index: 3;
    bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 30px;
    color: #D9F9F5;
    background: rgba(10,29,42,.8);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.1px;
    backdrop-filter: blur(10px);
}

.why-noor-focus-label i {
    color: #00C8E8;
    font-size: 14px;
}

/* Artwork bottom label */

.why-noor-visual-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255,255,255,.14);
}

.why-noor-visual-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 11px;
    color: #8AF4E9;
    background: rgba(8,127,196,.16);
    font-size: 20px;
}

.why-noor-visual-bottom > div:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
}

.why-noor-visual-bottom span {
    color: #9FBCCB;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.why-noor-visual-bottom strong {
    color: #FFFFFF;
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 750;
}

.why-noor-visual-arrow {
    color: #00C8E8;
    font-size: 20px;
}

.why-noor-side-index {
    position: absolute;
    top: 48%;
    right: -18px;
    color: rgba(255,255,255,.32);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2px;
    transform: rotate(90deg);
}

/* =========================================
   RIGHT CONTENT
========================================= */

.why-noor-content {
    padding-left: 14px;
}

.why-noor-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--wn-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.why-noor-eyebrow > span {
    width: 27px;
    height: 2px;
    background: var(--wn-primary);
}

.why-noor-content h2 {
    margin: 0;
    color: var(--wn-text);
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.17;
}

.why-noor-content h2 span {
    color: var(--wn-primary);
}

.why-noor-intro {
    max-width: 590px;
    margin: 20px 0 26px;
    color: var(--wn-muted);
    font-size: 15px;
    line-height: 1.9;
}

/* Benefit rows */

.why-noor-benefits {
    border-top: 1px solid var(--wn-border);
}

.why-noor-benefit {
    display: grid;
    grid-template-columns: 28px 48px minmax(0, 1fr) 25px;
    align-items: center;
    gap: 14px;
    padding: 19px 0;
    border-bottom: 1px solid var(--wn-border);
    transition: padding .25s ease;
}

.why-noor-benefit:hover {
    padding-right: 5px;
    padding-left: 5px;
}

.why-noor-benefit-number {
    align-self: start;
    padding-top: 4px;
    color: #8298A7;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.why-noor-benefit-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #D6EAF6;
    border-radius: 12px;
    color: var(--wn-primary);
    background: #E1F4FF;
    font-size: 23px;
    transition:
        transform .3s ease,
        color .3s ease,
        background .3s ease;
}

.why-noor-benefit:hover .why-noor-benefit-icon {
    transform: translateY(-3px);
    color: #FFFFFF;
    background: var(--wn-primary);
}

.why-noor-benefit-copy h3 {
    margin: 0 0 6px;
    color: var(--wn-text);
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    font-weight: 750;
    line-height: 1.4;
}

.why-noor-benefit-copy p {
    margin: 0;
    color: var(--wn-muted);
    font-size: 13px;
    line-height: 1.75;
}

.why-noor-benefit-arrow {
    color: #8298A7;
    font-size: 17px;
    transition: color .25s ease, transform .25s ease;
}

.why-noor-benefit:hover .why-noor-benefit-arrow {
    color: var(--wn-primary);
    transform: translate(2px, -2px);
}

/* CTA */

.why-noor-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 28px;
}

.why-noor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    min-height: 53px;
    padding: 0 19px;
    border-radius: 8px;
    color: #FFFFFF;
    background: var(--wn-text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}

.why-noor-button:hover {
    transform: translateY(-2px);
    color: #FFFFFF;
    background: var(--wn-primary);
}

.why-noor-button i {
    font-size: 17px;
}

.why-noor-cta-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wn-muted);
    font-size: 11px;
    font-weight: 600;
}

.why-noor-cta-note i {
    color: var(--wn-primary);
    font-size: 17px;
}

/* =========================================
   ANIMATIONS
========================================= */

[data-why-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

[data-why-reveal].why-noor-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes whyNoorOrbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes whyNoorOrbitReverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes whyNoorEyeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes whyNoorPulse {
    0%, 100% {
        box-shadow: 0 0 0 5px rgba(0,200,232,.12);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0,200,232,.03);
    }
}

@keyframes whyNoorSpark {
    0%, 100% {
        opacity: .4;
        transform: scale(.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {
    .why-noor {
        padding: 75px 0;
    }

    .why-noor-visual {
        max-width: 560px;
        min-height: 440px;
        margin: 0 auto;
    }

    .why-noor-eye-art {
        min-height: 280px;
    }

    .why-noor-content {
        padding-left: 0;
    }

    .why-noor-content h2 {
        font-size: clamp(36px, 5vw, 48px);
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 575.98px) {
    .why-noor {
        padding: 55px 0;
    }

    .why-noor-visual {
        min-height: 390px;
        padding: 17px;
        border-radius: 14px;
    }

    .why-noor-visual-top {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .why-noor-eye-art {
        min-height: 250px;
    }

    .why-orbit-one {
        width: 155px;
    }

    .why-orbit-two {
        width: 205px;
    }

    .why-orbit-three {
        width: 245px;
    }

    .why-noor-eye-core {
        width: 110px;
        height: 110px;
    }

    .why-noor-eye-core i {
        font-size: 49px;
    }

    .why-noor-focus-label {
        bottom: 0;
        font-size: 8px;
    }

    .why-noor-visual-bottom strong {
        font-size: 16px;
    }

    .why-noor-content h2 {
        font-size: clamp(34px, 8vw, 43px);
        letter-spacing: -1.3px;
    }

    .why-noor-eyebrow {
        font-size: 10px;
    }

    .why-noor-intro {
        font-size: 14px;
        line-height: 1.85;
    }

    .why-noor-benefit {
        grid-template-columns: 22px 42px minmax(0, 1fr) 18px;
        gap: 10px;
        padding: 17px 0;
    }

    .why-noor-benefit-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        font-size: 21px;
    }

    .why-noor-benefit-copy h3 {
        font-size: 17px;
    }

    .why-noor-benefit-copy p {
        font-size: 12px;
        line-height: 1.7;
    }

    .why-noor-benefit-number {
        font-size: 11px;
    }

    .why-noor-benefit-arrow {
        font-size: 15px;
    }

    .why-noor-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .why-noor-button {
        width: 100%;
        min-height: 52px;
        justify-content: space-between;
        font-size: 13px;
    }
}

@media (max-width: 374px) {
    .why-noor-visual {
        min-height: 360px;
        padding: 13px;
    }

    .why-noor-eye-art {
        min-height: 225px;
    }

    .why-noor-benefit {
        grid-template-columns: 19px 36px minmax(0, 1fr);
        gap: 9px;
    }

    .why-noor-benefit-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .why-noor-benefit-arrow {
        display: none;
    }

    .why-noor-benefit-copy h3 {
        font-size: 16px;
    }

    .why-noor-benefit-copy p {
        font-size: 12px;
    }
}

/* =========================================
   DARK THEME SUPPORT
========================================= */

html[data-theme="dark"] .why-noor {
    --wn-bg: #071321;
    --wn-text: #EDF7FB;
    --wn-muted: #B2C5CF;
    --wn-border: #23415A;
    --wn-card: #0D2033;

    background:
        radial-gradient(
            circle at 0% 50%,
            rgba(8,127,196,.10),
            transparent 34%
        ),
        var(--wn-bg);
}

html[data-theme="dark"] .why-noor-benefit-icon {
    border-color: rgba(8,127,196,.22);
    color: #67D9F4;
    background: #123B58;
}

html[data-theme="dark"] .why-noor-benefit:hover .why-noor-benefit-icon {
    color: #FFFFFF;
    background: var(--wn-primary);
}

html[data-theme="dark"] .why-noor-button {
    color: #FFFFFF;
    background: #123B58;
}

html[data-theme="dark"] .why-noor-button:hover {
    background: var(--wn-primary);
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .why-noor *,
    .why-noor *::before,
    .why-noor *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-why-reveal] {
        opacity: 1;
        transform: none;
    }
}
