/* ============================================
   全新联系我们区块样式 v2.0
   前缀: nova-
   风格: 深色科技风 + 霓虹光效
============================================ */

.nova-contact {
    position: relative;
    padding: 100px 0 120px;
    background: #050b14;
    overflow: hidden;
    color: #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---- 背景层 ---- */
.nova-contact__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.nova-contact__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 103, 241, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 103, 241, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.nova-contact__glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
}

.nova-contact__glow--tl {
    top: -200px;
    left: -100px;
    background: radial-gradient(circle, #1267f1, transparent 70%);
}

.nova-contact__glow--br {
    bottom: -200px;
    right: -100px;
    background: radial-gradient(circle, #27c5ff, transparent 70%);
}

/* ---- 内容容器 ---- */
.nova-contact__wrap {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- 头部 ---- */
.nova-contact__head {
    text-align: center;
    margin-bottom: 64px;
}

.nova-contact__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #27c5ff;
    margin-bottom: 12px;
    padding: 6px 16px;
    border: 1px solid rgba(39, 197, 255, 0.25);
    border-radius: 30px;
    background: rgba(39, 197, 255, 0.06);
}

.nova-contact__title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.nova-contact__lead {
    font-size: 16px;
    color: rgba(226, 232, 240, 0.6);
    margin: 0;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ---- 主体布局 ---- */
.nova-contact__body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

/* ---- 左侧信息面板 ---- */
.nova-contact__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nova-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: all 0.35s ease;
    backdrop-filter: blur(10px);
}

.nova-info-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(18, 103, 241, 0.3);
    transform: translateX(6px);
    box-shadow: 0 8px 32px rgba(18, 103, 241, 0.12);
}

.nova-info-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(18, 103, 241, 0.2), rgba(39, 197, 255, 0.15));
    border: 1px solid rgba(18, 103, 241, 0.2);
    color: #27c5ff;
    flex-shrink: 0;
}

.nova-info-card__icon svg {
    width: 20px;
    height: 20px;
}

.nova-info-card__body {
    flex: 1;
    min-width: 0;
}

.nova-info-card__body h4 {
    font-size: 13px;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.5);
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nova-info-card__body p {
    font-size: 14px;
    color: rgba(226, 232, 240, 0.75);
    margin: 0;
    line-height: 1.6;
}

.nova-info-card__highlight {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.nova-info-card__highlight:hover {
    color: #27c5ff;
}

.nova-info-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #07c160;
    background: rgba(7, 193, 96, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(7, 193, 96, 0.2);
}

/* 微信卡片特殊布局 */
.nova-info-card--wechat {
    position: relative;
    padding-bottom: 80px;
}

.nova-info-card--wechat .nova-info-card__qrcode {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #fff;
    padding: 4px;
}

.nova-info-card--wechat .nova-info-card__qrcode img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* ---- 右侧表单面板 ---- */
.nova-form-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.nova-form-panel__title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
}

.nova-form-panel__sub {
    font-size: 14px;
    color: rgba(226, 232, 240, 0.45);
    margin: 0 0 32px 0;
}

/* ---- 表单 ---- */
.nova-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nova-form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nova-form__label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.6);
}

.nova-form__required {
    color: #ef4444;
}

.nova-form__input,
.nova-form__textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.25s ease;
    outline: none;
    box-sizing: border-box;
}

.nova-form__input::placeholder,
.nova-form__textarea::placeholder {
    color: rgba(226, 232, 240, 0.25);
}

.nova-form__input:focus,
.nova-form__textarea:focus {
    border-color: rgba(18, 103, 241, 0.5);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(18, 103, 241, 0.1);
}

.nova-form__textarea {
    height: 110px;
    resize: vertical;
    line-height: 1.6;
}

.nova-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nova-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 28px;
    margin-top: 8px;
    background: linear-gradient(135deg, #1267f1, #27c5ff);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nova-form__submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.nova-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(18, 103, 241, 0.35);
}

.nova-form__submit:hover::before {
    opacity: 1;
}

.nova-form__submit svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.nova-form__submit:hover svg {
    transform: translateX(3px);
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
    .nova-contact__body {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nova-contact__info {
        order: 2;
    }

    .nova-contact__form {
        order: 1;
    }

    .nova-info-card--wechat {
        padding-bottom: 22px;
    }

    .nova-info-card--wechat .nova-info-card__qrcode {
        position: static;
        transform: none;
        margin-top: 12px;
        margin-left: 60px;
    }
}

@media (max-width: 640px) {
    .nova-contact {
        padding: 60px 0 80px;
    }

    .nova-contact__wrap {
        padding: 0 16px;
    }

    .nova-contact__head {
        margin-bottom: 40px;
    }

    .nova-contact__title {
        font-size: 28px;
    }

    .nova-contact__lead {
        font-size: 14px;
    }

    .nova-form-panel {
        padding: 24px;
        border-radius: 16px;
    }

    .nova-form-panel__title {
        font-size: 18px;
    }

    .nova-form__row {
        grid-template-columns: 1fr;
    }

    .nova-info-card {
        padding: 18px;
    }

    .nova-info-card__highlight {
        font-size: 16px;
    }

    .nova-info-card--wechat .nova-info-card__qrcode {
        margin-left: 0;
        width: 64px;
        height: 64px;
    }
}
