/* styles extracted from index.html */

.hero-bg {
    background-image: url('https://ai-public.mastergo.com/ai/img_res/90d2aa7f18526a72e75a3695c6c75290.jpg');
    background-size: cover;
    background-position: center right;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

i {
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield; /* 标准属性，提升兼容性 */
}

/* 平滑锚点滚动 */
html {
    scroll-behavior: smooth;
}

/* 为带 id 的区块增加滚动偏移，避免被粘性 header 遮挡（根据 header 高度可调整） */
section[id] {
    scroll-margin-top: 88px;
}

/* 联系提示弹窗样式 */
.contact-modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.contact-modal__box {
    background: #fff;
    color: #111827;
    padding: 1.25rem;
    border-radius: 0.75rem;
    width: min(520px, calc(100% - 40px));
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
}
.contact-modal__title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.contact-modal__message {
    color: #4b5563;
    margin-bottom: 1rem;
}
.contact-modal__close {
    background: #2563eb;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}
