/* Main Page */

/* =========================================================
   WHY PAGE
   File: static/css/why.css
   ========================================================= */

.why-page {
    --why-blue: #3396D3;
    --why-orange: #E87F24;
    --why-dark-text: #111827;
    --why-body-text: #475569;
    --why-muted-text: #64748b;
    --why-white: #ffffff;

    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    isolation: isolate;
    background: #ffffff;
}

/* Fixed Top Gradient Layer */

.why-page::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 820px;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at -5% -10%,
            rgba(232, 127, 36, 0.42) 0%,
            rgba(232, 127, 36, 0.26) 20%,
            rgba(232, 127, 36, 0.11) 42%,
            transparent 68%
        ),
        radial-gradient(
            circle at 105% -8%,
            rgba(51, 150, 211, 0.42) 0%,
            rgba(51, 150, 211, 0.26) 21%,
            rgba(51, 150, 211, 0.11) 43%,
            transparent 69%
        ),
        radial-gradient(
            circle at 50% 16%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.76) 38%,
            transparent 70%
        ),
        linear-gradient(
            180deg,
            #fff4e8 0%,
            #f1fbff 38%,
            rgba(255, 255, 255, 0.96) 78%,
            rgba(255, 255, 255, 0) 100%
        );
}

.why-page::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 820px;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 18% 16%,
            rgba(232, 127, 36, 0.16) 0%,
            rgba(232, 127, 36, 0.07) 24%,
            transparent 48%
        ),
        radial-gradient(
            circle at 82% 14%,
            rgba(51, 150, 211, 0.17) 0%,
            rgba(51, 150, 211, 0.08) 25%,
            transparent 50%
        );
    filter: blur(10px);
    opacity: 0.95;
}

.why-page > section {
    position: relative;
    z-index: 1;
}

/* Hero */

.why-hero {
    width: 100%;
    min-height: 620px;
    padding: 120px 10% 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
}

.why-hero h1 {
    max-width: 1050px;
    margin-bottom: 24px;
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -3px;
    color: var(--why-dark-text);
}

.why-hero p {
    max-width: 820px;
    margin-bottom: 0;
    font-size: 21px;
    font-weight: 600;
    line-height: 2.1;
    color: var(--why-body-text);
}

/* Intro Cards */

.why-intro {
    width: 80%;
    max-width: 1250px;
    margin: -70px auto 110px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    position: relative;
    z-index: 3;
}

.why-intro-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-height: 330px;
    padding: 42px;
    border-radius: 34px;
    text-align: right;
    cursor: pointer;
    appearance: none;
    border: none;
    background:
        radial-gradient(
            circle at 92% 0%,
            rgba(51, 150, 211, 0.38) 0%,
            rgba(51, 150, 211, 0.20) 30%,
            rgba(51, 150, 211, 0.08) 54%,
            transparent 76%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(51, 150, 211, 0.10) 0%,
            transparent 50%
        ),
        linear-gradient(
            135deg,
            #f8fcff 0%,
            #ffffff 46%,
            #eef9ff 100%
        );
    box-shadow:
        0 24px 70px rgba(15, 23, 42, 0.08),
        0 18px 50px rgba(51, 150, 211, 0.11);
    backdrop-filter: blur(16px);
    transition: 0.3s ease;
}

.why-intro-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(
        135deg,
        rgba(51, 150, 211, 0.95) 0%,
        rgba(51, 150, 211, 0.55) 55%,
        rgba(51, 150, 211, 0.85) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.why-intro-card.alt {
    background:
        radial-gradient(
            circle at 92% 0%,
            rgba(232, 127, 36, 0.40) 0%,
            rgba(232, 127, 36, 0.21) 30%,
            rgba(232, 127, 36, 0.08) 54%,
            transparent 76%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(232, 127, 36, 0.11) 0%,
            transparent 50%
        ),
        linear-gradient(
            135deg,
            #fffaf5 0%,
            #ffffff 46%,
            #fff0e2 100%
        );
    box-shadow:
        0 24px 70px rgba(15, 23, 42, 0.08),
        0 18px 50px rgba(232, 127, 36, 0.12);
}

.why-intro-card.alt::before {
    background: linear-gradient(
        135deg,
        rgba(232, 127, 36, 0.98) 0%,
        rgba(232, 127, 36, 0.58) 55%,
        rgba(232, 127, 36, 0.88) 100%
    );
}

.why-intro-card > * {
    position: relative;
    z-index: 2;
}

.why-intro-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 30px 85px rgba(15, 23, 42, 0.12),
        0 20px 60px rgba(51, 150, 211, 0.16);
}

.why-intro-card.alt:hover {
    box-shadow:
        0 30px 85px rgba(15, 23, 42, 0.12),
        0 20px 60px rgba(232, 127, 36, 0.17);
}

.why-intro-card:focus-visible {
    outline: 3px solid rgba(51, 150, 211, 0.35);
    outline-offset: 4px;
}

.why-intro-card.alt:focus-visible {
    outline-color: rgba(232, 127, 36, 0.35);
}

.why-intro-card[data-target="why-site"]:hover,
.why-intro-card[data-target="why-site"].is-selected {
    box-shadow:
        0 30px 85px rgba(15, 23, 42, 0.12),
        0 22px 65px rgba(51, 150, 211, 0.22);
}

.why-intro-card[data-target="why-site"]:hover::before,
.why-intro-card[data-target="why-site"].is-selected::before {
    background: linear-gradient(
        135deg,
        rgba(51, 150, 211, 1) 0%,
        rgba(51, 150, 211, 0.68) 55%,
        rgba(51, 150, 211, 0.95) 100%
    );
}

.why-intro-card[data-target="why-us"]:hover,
.why-intro-card[data-target="why-us"].is-selected {
    box-shadow:
        0 30px 85px rgba(15, 23, 42, 0.12),
        0 22px 65px rgba(232, 127, 36, 0.23);
}

.why-intro-card[data-target="why-us"]:hover::before,
.why-intro-card[data-target="why-us"].is-selected::before {
    background: linear-gradient(
        135deg,
        rgba(232, 127, 36, 1) 0%,
        rgba(232, 127, 36, 0.68) 55%,
        rgba(232, 127, 36, 0.95) 100%
    );
}

.why-intro-card span {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(51, 150, 211, 0.12);
    color: var(--why-blue);
    font-size: 14px;
    font-weight: 900;
}

.why-intro-card.alt span {
    background: rgba(232, 127, 36, 0.13);
    color: var(--why-orange);
}

.why-intro-card h2 {
    margin-bottom: 16px;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.55;
    color: var(--why-dark-text);
}

.why-intro-card p {
    margin-bottom: 26px;
    font-size: 17px;
    font-weight: 550;
    line-height: 2.05;
    color: var(--why-body-text);
}

.why-intro-card strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 16px;
    background: var(--why-blue);
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(51, 150, 211, 0.24);
}

.why-intro-card.alt strong {
    background: var(--why-orange);
    box-shadow: 0 14px 34px rgba(232, 127, 36, 0.25);
}

/* Hidden Sections */

.why-hidden-section {
    display: none;
}

.why-hidden-section.is-active {
    display: block;
    animation: whyFadeUp 0.45s ease both;
}

@keyframes whyFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section */

.why-section {
    width: 84%;
    max-width: 1280px;
    margin: 0 auto 110px;
    scroll-margin-top: 40px;
}

.why-section-heading {
    max-width: 900px;
    margin: 0 auto 54px;
    text-align: center;
}

.why-section-label {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
}

#why-site .why-section-label {
    background: rgba(51, 150, 211, 0.10);
    color: var(--why-blue);
    border: 1px solid rgba(51, 150, 211, 0.22);
}

#why-us .why-section-label {
    background: rgba(232, 127, 36, 0.11);
    color: var(--why-orange);
    border: 1px solid rgba(232, 127, 36, 0.24);
}

.why-section-heading h2 {
    margin-bottom: 16px;
    font-size: 46px;
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -1.5px;
    color: var(--why-dark-text);
}

.why-section-heading p {
    font-size: 19px;
    font-weight: 550;
    line-height: 2;
    color: var(--why-muted-text);
}

/* Modern Grid Reason Cards */

.why-grid {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    position: relative;
}

.why-grid::before {
    display: none;
    content: none;
}

.why-card {
    position: relative;
    width: 100%;
    min-height: 190px;
    margin: 0;
    padding: 28px 26px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 0% 100%,
            rgba(15, 23, 42, 0.035) 0%,
            transparent 52%
        ),
        rgba(255, 255, 255, 0.94);
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    transition: 0.28s ease;
}

.why-card:nth-child(even) {
    margin: 0;
    border-radius: 28px;
}

#why-site .why-card {
    border: 1px solid rgba(51, 150, 211, 0.18);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(51, 150, 211, 0.14) 0%,
            rgba(51, 150, 211, 0.06) 36%,
            transparent 64%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(247, 252, 255, 0.96) 100%
        );
}

#why-us .why-card {
    border: 1px solid rgba(232, 127, 36, 0.20);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(232, 127, 36, 0.15) 0%,
            rgba(232, 127, 36, 0.065) 36%,
            transparent 64%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 249, 243, 0.96) 100%
        );
}

/* SVG Icon For Every Card */

.why-card::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 24px;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    z-index: 2;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2.75L13.46 7.33C13.67 7.98 14.18 8.49 14.83 8.7L19.25 10.1L14.83 11.5C14.18 11.71 13.67 12.22 13.46 12.87L12 17.25L10.54 12.87C10.33 12.22 9.82 11.71 9.17 11.5L4.75 10.1L9.17 8.7C9.82 8.49 10.33 7.98 10.54 7.33L12 2.75Z' fill='black'/%3E%3Cpath d='M18 15.25L18.64 17.02C18.75 17.31 18.97 17.53 19.26 17.64L21 18.25L19.26 18.86C18.97 18.97 18.75 19.19 18.64 19.48L18 21.25L17.36 19.48C17.25 19.19 17.03 18.97 16.74 18.86L15 18.25L16.74 17.64C17.03 17.53 17.25 17.31 17.36 17.02L18 15.25Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 28px 28px;
    mask-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2.75L13.46 7.33C13.67 7.98 14.18 8.49 14.83 8.7L19.25 10.1L14.83 11.5C14.18 11.71 13.67 12.22 13.46 12.87L12 17.25L10.54 12.87C10.33 12.22 9.82 11.71 9.17 11.5L4.75 10.1L9.17 8.7C9.82 8.49 10.33 7.98 10.54 7.33L12 2.75Z' fill='black'/%3E%3Cpath d='M18 15.25L18.64 17.02C18.75 17.31 18.97 17.53 19.26 17.64L21 18.25L19.26 18.86C18.97 18.97 18.75 19.19 18.64 19.48L18 21.25L17.36 19.48C17.25 19.19 17.03 18.97 16.74 18.86L15 18.25L16.74 17.64C17.03 17.53 17.25 17.31 17.36 17.02L18 15.25Z' fill='black'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 28px 28px;
}

#why-site .why-card::before {
    color: var(--why-blue);
    background-color: var(--why-blue);
}

#why-us .why-card::before {
    color: var(--why-orange);
    background-color: var(--why-orange);
}

.why-card::after {
    content: "";
    position: absolute;
    left: -54px;
    bottom: -58px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

#why-site .why-card::after {
    background: rgba(51, 150, 211, 0.08);
}

#why-us .why-card::after {
    background: rgba(232, 127, 36, 0.09);
}

.why-card span {
    position: relative;
    z-index: 2;
    flex: none;
    width: auto;
    height: auto;
    min-width: 52px;
    padding: 7px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.2px;
    box-shadow: none;
}

#why-site .why-card span {
    color: var(--why-blue);
    background: rgba(51, 150, 211, 0.11);
    border: 1px solid rgba(51, 150, 211, 0.18);
}

#why-us .why-card span {
    color: var(--why-orange);
    background: rgba(232, 127, 36, 0.12);
    border: 1px solid rgba(232, 127, 36, 0.20);
}

.why-card p {
    position: relative;
    z-index: 2;
    flex: 1;
    font-size: 17px;
    font-weight: 800;
    line-height: 2;
    color: #263648;
    text-align: right;
    padding-left: 48px;
}

.why-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 26px 65px rgba(15, 23, 42, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.why-card:nth-child(even):hover {
    transform: translateY(-7px);
}

#why-site .why-card:hover {
    border-color: rgba(51, 150, 211, 0.38);
    box-shadow:
        0 26px 65px rgba(15, 23, 42, 0.10),
        0 18px 45px rgba(51, 150, 211, 0.11);
}

#why-us .why-card:hover {
    border-color: rgba(232, 127, 36, 0.40);
    box-shadow:
        0 26px 65px rgba(15, 23, 42, 0.10),
        0 18px 45px rgba(232, 127, 36, 0.12);
}

/* Bottom Image Banner */

.why-banner-section {
    width: min(80%, 1120px);
    margin: 0 auto 90px;
}

.why-banner-link {
    display: block;
    width: 100%;
    height: clamp(290px, 32vw, 430px);
    border-radius: 30px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: none;
    background: transparent;
    transition: 0.3s ease;
}

.why-banner-link:hover {
    transform: translateY(-5px);
}

.why-banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: none;
}

/* Responsive */

@media (max-width: 1100px) {
    .why-page::before,
    .why-page::after {
        height: 760px;
    }

    .why-intro,
    .why-section {
        width: 88%;
    }

    .why-hero h1 {
        font-size: 52px;
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 900px;
        gap: 20px;
    }

    .why-card {
        min-height: 175px;
    }

    .why-banner-section {
        width: min(86%, 980px);
    }

    .why-banner-link {
        height: clamp(260px, 34vw, 390px);
        border-radius: 28px;
    }
}

@media (max-width: 768px) {
    .why-page::before,
    .why-page::after {
        height: 720px;
    }

    .why-hero {
        min-height: auto;
        padding: 90px 20px 120px;
    }

    .why-hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .why-hero p {
        font-size: 17px;
    }

    .why-intro {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
        margin-top: -70px;
        margin-bottom: 70px;
    }

    .why-intro-card {
        min-height: auto;
        padding: 30px 24px;
        border-radius: 24px;
    }

    .why-intro-card::before {
        border-radius: 24px;
    }

    .why-intro-card h2 {
        font-size: 25px;
    }

    .why-intro-card p {
        font-size: 15.5px;
    }

    .why-section {
        width: calc(100% - 32px);
        margin-bottom: 80px;
    }

    .why-section-heading {
        margin-bottom: 36px;
    }

    .why-section-heading h2 {
        font-size: 32px;
        letter-spacing: -0.6px;
    }

    .why-section-heading p {
        font-size: 16px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        gap: 16px;
    }

    .why-card {
        min-height: auto;
        padding: 24px 22px;
        border-radius: 24px;
        gap: 16px;
    }

    .why-card:nth-child(even) {
        border-radius: 24px;
    }

    .why-card:hover,
    .why-card:nth-child(even):hover {
        transform: translateY(-4px);
    }

    .why-card::before {
        left: 20px;
        top: 22px;
        width: 36px;
        height: 36px;
        border-radius: 14px;
        -webkit-mask-size: 24px 24px;
        mask-size: 24px 24px;
    }

    .why-card span {
        font-size: 13px;
        min-width: 48px;
        padding: 6px 12px;
    }

    .why-card p {
        font-size: 15.8px;
        line-height: 2;
        padding-left: 42px;
    }

    .why-banner-section {
        width: calc(100% - 40px);
        margin-bottom: 70px;
    }

    .why-banner-link {
        height: clamp(220px, 52vw, 320px);
        border-radius: 24px;
    }

    .why-banner-img {
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 480px) {
    .why-page::before,
    .why-page::after {
        height: 660px;
    }

    .why-hero {
        padding: 70px 16px 110px;
    }

    .why-hero h1 {
        font-size: 32px;
    }

    .why-section-heading h2 {
        font-size: 28px;
    }

    .why-card {
        padding: 22px 20px;
        border-radius: 22px;
    }

    .why-card:nth-child(even) {
        border-radius: 22px;
    }

    .why-card::before {
        left: 18px;
        top: 20px;
        width: 34px;
        height: 34px;
        border-radius: 13px;
        -webkit-mask-size: 23px 23px;
        mask-size: 23px 23px;
    }

    .why-card p {
        font-size: 15px;
        padding-left: 40px;
    }

    .why-banner-section {
        width: calc(100% - 24px);
    }

    .why-banner-link {
        height: 230px;
        border-radius: 22px;
    }

    .why-banner-img {
        object-fit: cover;
        object-position: center;
    }
}