/* =========================================================
   SIRAVU — SUPPORT PAGE
   File: public/css/support.css
   Styles are scoped to .support-page to avoid affecting the
   rest of the website.
========================================================= */

.support-page {
    --support-green: #13a653;
    --support-green-dark: #0d9145;
    --support-text: #111827;
    --support-muted: #687386;
    --support-border: #dedfe3;

    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 38px 26px;
    background: #f4f4f5;
    color: var(--support-text);
    font-family: "Cairo", Arial, sans-serif;
}

.support-page *,
.support-page *::before,
.support-page *::after {
    box-sizing: border-box;
}

.support-page .support-card {
    width: 100%;
    max-width: 1160px;
    min-height: 690px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    direction: ltr;
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(20, 25, 35, 0.12);
}

.support-page .support-form-panel {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    padding: 56px clamp(30px, 5vw, 66px);
    background: #fff;
}

.support-page .support-form-inner {
    width: 100%;
    max-width: 470px;
}

.support-page .support-heading {
    margin-bottom: 30px;
    text-align: right;
}

.support-page .support-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--support-green-dark);
    font-size: 12px;
    font-weight: 800;
}

.support-page .support-eyebrow-dot,
.support-page .support-caption-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--support-green);
    box-shadow: 0 0 0 4px rgba(19, 166, 83, 0.12);
}

.support-page .support-heading h1 {
    margin: 0 0 9px;
    color: #080808;
    font-size: clamp(29px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.6px;
}

.support-page .support-heading p {
    margin: 0;
    color: #687386;
    font-size: 13px;
    line-height: 2;
}

.support-page .support-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.support-page .support-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-page .support-field label {
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.support-page .support-field input,
.support-page .support-field textarea {
    width: 100%;
    min-width: 0;
    border: 2px solid var(--support-border);
    border-radius: 15px;
    outline: none;
    background: #fff;
    color: #1f2937;
    font: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-page .support-field input {
    height: 55px;
    padding: 0 17px;
}

.support-page .support-field textarea {
    min-height: 145px;
    padding: 13px 17px;
    resize: vertical;
    line-height: 1.8;
}

.support-page .support-field input::placeholder,
.support-page .support-field textarea::placeholder {
    color: #9aa1ad;
    opacity: 1;
}

.support-page .support-field input:focus,
.support-page .support-field textarea:focus {
    border-color: var(--support-green);
    box-shadow: 0 0 0 4px rgba(19, 166, 83, 0.1);
}

.support-page .support-submit {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 2px;
    padding: 13px 20px;
    border: 0;
    border-radius: 14px;
    background: var(--support-green);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(19, 166, 83, 0.16);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.support-page .support-submit:hover {
    background: var(--support-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 11px 22px rgba(19, 166, 83, 0.22);
}

.support-page .support-submit:active {
    transform: translateY(0);
}

.support-page .support-submit-arrow {
    font-size: 17px;
    line-height: 1;
}

.support-page .support-form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: -8px 0 0;
    color: #9299a5;
    font-size: 10px;
    text-align: center;
}

.support-page .support-alert {
    margin-bottom: 20px;
    padding: 12px 15px;
    border-radius: 11px;
    font-size: 12px;
    line-height: 1.8;
}

.support-page .support-alert p {
    margin: 0 0 5px;
    font-weight: 800;
}

.support-page .support-alert ul {
    margin: 0;
    padding-right: 18px;
}

.support-page .support-alert-success {
    border: 1px solid #b8ebce;
    background: #effbf4;
    color: #13743a;
}

.support-page .support-alert-error {
    border: 1px solid #f5c6ce;
    background: #fff3f4;
    color: #a61b31;
}

/* Image side */
.support-page .support-image-panel {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    overflow: hidden;
    direction: rtl;
    padding: clamp(34px, 5vw, 62px);
    background-color: #4b5554;
    background-image: url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1500&q=85");
    background-position: center;
    background-size: cover;
    color: #fff;
}

.support-page .support-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(14, 22, 25, 0.18) 0%, rgba(14, 22, 25, 0.48) 45%, rgba(9, 16, 19, 0.86) 100%),
        linear-gradient(90deg, rgba(10, 18, 20, 0.14), rgba(10, 18, 20, 0.2));
}

.support-page .support-image-content,
.support-page .support-image-caption {
    position: relative;
    z-index: 1;
}

.support-page .support-image-content {
    width: 100%;
    max-width: 430px;
}

.support-page .support-image-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    backdrop-filter: blur(8px);
}

.support-page .support-image-icon svg {
    width: 27px;
    height: 27px;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-page .support-image-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #a8f0c2;
    font-size: 12px;
    font-weight: 800;
}

.support-page .support-image-content h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(32px, 4vw, 47px);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.7px;
}

.support-page .support-image-content > p {
    max-width: 390px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.83);
    font-size: 13px;
    line-height: 2;
}

.support-page .support-image-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-page .support-image-point {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 12px;
    font-weight: 600;
}

.support-page .support-point-check {
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 23px;
    border-radius: 50%;
    background: rgba(19, 166, 83, 0.95);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.support-page .support-image-caption {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 38px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    width: 100%;
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
}

.support-page .support-caption-dot {
    background: #8ce7ad;
    box-shadow: 0 0 0 4px rgba(140, 231, 173, 0.15);
}

/* Responsive */
@media (max-width: 900px) {
    .support-page {
        min-height: auto;
        padding: 28px 18px;
    }

    .support-page .support-card {
        max-width: 650px;
        grid-template-columns: 1fr;
    }

    .support-page .support-form-panel {
        order: 2;
        padding: 42px clamp(24px, 7vw, 56px);
    }

    .support-page .support-image-panel {
        order: 1;
        min-height: 360px;
        padding: 35px;
        background-position: center 42%;
    }

    .support-page .support-image-content h2 {
        font-size: 34px;
    }

    .support-page .support-image-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 17px;
    }

    .support-page .support-image-caption {
        margin-top: 25px;
    }
}

@media (max-width: 520px) {
    .support-page {
        padding: 14px 10px;
    }

    .support-page .support-card {
        border-radius: 17px;
    }

    .support-page .support-form-panel {
        padding: 30px 20px;
    }

    .support-page .support-heading {
        margin-bottom: 24px;
    }

    .support-page .support-heading h1 {
        font-size: 29px;
    }

    .support-page .support-heading p {
        font-size: 12px;
    }

    .support-page .support-form {
        gap: 18px;
    }

    .support-page .support-field input {
        height: 51px;
    }

    .support-page .support-field textarea {
        min-height: 125px;
    }

    .support-page .support-image-panel {
        min-height: 320px;
        padding: 27px 23px;
    }

    .support-page .support-image-content h2 {
        font-size: 30px;
    }

    .support-page .support-image-content > p {
        font-size: 12px;
    }

    .support-page .support-image-point {
        font-size: 11px;
    }

    .support-page .support-image-caption {
        margin-top: 22px;
    }
}
