.seaai-contact-page {
    background:
        radial-gradient(circle at 18% 24%, rgba(36, 112, 255, 0.07), transparent 28%),
        radial-gradient(circle at 82% 34%, rgba(20, 196, 108, 0.08), transparent 30%),
        #ffffff;
    color: #07162d;
}

.seaai-contact-hero {
    min-height: calc(100vh - 150px);
    padding: 72px 20px 48px;
}

.seaai-contact-inner {
    width: min(100%, 1180px);
    margin: 0 auto;
    text-align: center;
}

.seaai-contact-inner h1 {
    margin: 0;
    color: #07162d;
    font-size: 72px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

.seaai-contact-lede {
    max-width: 760px;
    margin: 28px auto 58px;
    color: #58647a;
    font-size: 24px;
    line-height: 1.6;
    letter-spacing: 0;
}

.seaai-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 56px;
    margin: 0 auto;
    max-width: 980px;
}

.seaai-contact-card {
    appearance: none;
    display: flex;
    min-height: 420px;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 52px 34px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    color: #07162d;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 24px 70px rgba(18, 37, 71, 0.08);
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.seaai-contact-card:hover,
.seaai-contact-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 30px 84px rgba(18, 37, 71, 0.13);
    outline: none;
}

.seaai-contact-card-email {
    border-color: #d8e7ff;
    background: linear-gradient(135deg, rgba(245, 249, 255, 0.92), rgba(255, 255, 255, 0.88));
}

.seaai-contact-card-wechat {
    border-color: #cfefe3;
    background: linear-gradient(135deg, rgba(243, 255, 250, 0.94), rgba(255, 255, 255, 0.88));
    font: inherit;
}

.seaai-contact-icon {
    display: grid;
    width: 148px;
    height: 148px;
    place-items: center;
    margin-bottom: 34px;
    border-radius: 50%;
}

.seaai-contact-icon svg {
    display: block;
    width: 82px;
    height: 82px;
}

.seaai-contact-icon-email {
    background: #e8f0ff;
}

.seaai-contact-icon-email svg rect {
    fill: #1268f3;
    stroke: none;
}

.seaai-contact-icon-email svg path {
    fill: none;
    stroke: #ffffff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 5;
}

.seaai-contact-icon-wechat {
    background: #dff8ec;
}

.seaai-contact-icon-wechat svg path {
    fill: #19c66b;
}

.seaai-contact-icon-wechat svg circle {
    fill: #ffffff;
}

.seaai-contact-card-title {
    display: block;
    color: #07162d;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: 0;
}

.seaai-contact-card-value {
    display: block;
    margin-top: 22px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.seaai-contact-card-email .seaai-contact-card-value {
    color: #1268f3;
}

.seaai-contact-card-wechat .seaai-contact-card-value {
    color: #17b864;
}

.seaai-contact-card-note {
    display: block;
    margin-top: 28px;
    color: #58647a;
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: 0;
}

.seaai-contact-thanks {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin: 64px 0 0;
    color: #526078;
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: 0;
}

.seaai-contact-thanks svg {
    display: block;
    width: 34px;
    height: 34px;
}

.seaai-contact-thanks path {
    fill: none;
    stroke: #1268f3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.seaai-contact-modal[hidden] {
    display: none;
}

.seaai-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: grid;
    place-items: center;
    padding: 24px;
}

.seaai-contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 22, 45, 0.54);
    backdrop-filter: blur(8px);
}

.seaai-contact-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 30px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
    text-align: center;
}

.seaai-contact-modal-panel h2 {
    margin: 0;
    color: #07162d;
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: 0;
}

.seaai-contact-modal-panel p {
    margin: 10px 0 20px;
    color: #58647a;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
}

.seaai-contact-modal-panel img {
    display: block;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 18px;
    border-radius: 8px;
    object-fit: cover;
}

.seaai-contact-modal-panel strong {
    display: block;
    color: #17b864;
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: 0;
}

.seaai-contact-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f0f3f8;
    color: #07162d;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.seaai-contact-modal-close:hover,
.seaai-contact-modal-close:focus-visible {
    background: #e2e8f2;
    outline: 2px solid #1268f3;
    outline-offset: 2px;
}

.seaai-contact-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .seaai-contact-hero {
        padding-top: 52px;
    }

    .seaai-contact-inner h1 {
        font-size: 48px;
    }

    .seaai-contact-lede {
        margin-bottom: 36px;
        font-size: 20px;
    }

    .seaai-contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 520px;
    }

    .seaai-contact-card {
        min-height: 340px;
        padding: 38px 24px;
    }
}

@media (max-width: 520px) {
    .seaai-contact-hero {
        padding: 40px 16px 34px;
    }

    .seaai-contact-inner h1 {
        font-size: 38px;
    }

    .seaai-contact-lede {
        font-size: 17px;
    }

    .seaai-contact-card {
        min-height: 300px;
        padding: 32px 18px;
    }

    .seaai-contact-icon {
        width: 112px;
        height: 112px;
        margin-bottom: 26px;
    }

    .seaai-contact-icon svg {
        width: 64px;
        height: 64px;
    }

    .seaai-contact-card-title {
        font-size: 28px;
    }

    .seaai-contact-card-value {
        font-size: 21px;
    }

    .seaai-contact-card-note,
    .seaai-contact-thanks {
        font-size: 18px;
    }

    .seaai-contact-thanks {
        gap: 12px;
        margin-top: 42px;
    }
}
