:root {
    --primary: #1ee89a;
    --primary-dark: #12c47a;
    --bg-dark: #07090c;
    --card-bg: #11151c;
    --border: rgba(215, 195, 154, 0.12);
    --text-dim: #8d959e;
    --gold: #d7c39a;
    --radius: 10px;
    --nav-h: 72px;
    --max: 1180px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }

html { scroll-behavior: smooth; }

body {
    background:
        radial-gradient(1100px 480px at 50% -100px, rgba(30, 232, 154, 0.08), transparent 55%),
        var(--bg-dark);
    color: #eef1f4;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { all: unset; cursor: pointer; }

.navbar {
    height: var(--nav-h);
    background: rgba(7, 9, 12, 0.78);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    gap: 20px;
}

.logo-group { display: flex; align-items: center; gap: 10px; }
.logo-text {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: #f7fafc;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    position: relative;
    top: -1px;
}
.logo-img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; list-style: none; gap: 8px; align-items: center; margin-left: auto; }
.nav-links a {
    text-decoration: none;
    color: #c5ccd3;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 6px;
    transition: 0.2s;
}
.nav-links a.active, .nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

.hero-section {
    min-height: 420px;
    padding: calc(var(--nav-h) + 56px) 0 110px;
    background:
        linear-gradient(180deg, rgba(7, 9, 12, 0.02) 0%, rgba(7, 9, 12, 0.25) 50%, var(--bg-dark) 100%),
        url('../images/bg2.jpg') center 28% / cover no-repeat;
    position: relative;
    z-index: 1;
}

.hero-container { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.breadcrumb { font-size: 12px; color: var(--text-dim); margin-bottom: 18px; letter-spacing: 0.04em; }
.hero-content { text-align: center; }
.hero-kicker {
    display: inline-flex;
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.12em;
    background: rgba(0, 0, 0, 0.28);
    margin-bottom: 14px;
}
.hero-content h1 { font-size: 42px; font-weight: 800; letter-spacing: 0.08em; text-shadow: 0 8px 30px rgba(0,0,0,.45); }
.hero-content p { color: var(--gold); font-size: 15px; margin-top: 12px; letter-spacing: 0.08em; }

.main-wrapper {
    max-width: var(--max);
    margin: -72px auto 80px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.card {
    background: linear-gradient(180deg, #151b23 0%, #10141a 100%);
    border: 1px solid var(--border);
    padding: 36px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.form-hint { color: var(--text-dim); font-size: 13px; margin: -4px 0 24px; line-height: 1.7; }

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.section-header .step {
    color: #062015;
    background: var(--primary);
    min-width: 28px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    border-radius: 4px;
}
.section-header h2,
.section-header .faq-section-title,
.section-header .map-update-title { font-size: 18px; font-weight: 700; margin: 0; letter-spacing: 0.04em; }

.input-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 36px; }
.input-group label { display: block; color: var(--gold); font-size: 13px; margin-bottom: 8px; font-weight: 600; }
.custom-input {
    width: 100%;
    background: #0a0d11;
    font-size: 16px;
    border: 1px solid rgba(255,255,255,.1);
    padding: 14px 16px;
    color: #fff;
    border-radius: 8px;
    outline: none;
    transition: 0.2s;
}
input.custom-input, select.custom-input { -webkit-appearance: none; appearance: none; }
select.custom-input { background-color: #0a0d11; }
.custom-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30, 232, 154, 0.15); }

.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 36px; }
.package-item {
    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.08);
    padding: 22px 14px 18px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    border-radius: 10px;
}
.package-item:hover { border-color: rgba(30, 232, 154, 0.45); transform: translateY(-2px); }
.package-item.active,
.package-item.selected,
.amount-option.active,
.amount-option.selected {
    border: 2px solid var(--primary);
    background: rgba(30, 232, 154, 0.18);
    box-shadow: 0 0 0 3px rgba(30, 232, 154, 0.22), 0 10px 22px rgba(18, 196, 122, 0.22);
    transform: translateY(-2px);
}
.package-item.active::before,
.package-item.selected::before {
    content: "已选";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    padding: 3px 9px;
    background: var(--primary);
    color: #062015;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 10px 0 8px 0;
}
.package-item.active:hover,
.package-item.selected:hover {
    border-color: var(--primary);
    background: rgba(30, 232, 154, 0.2);
}
.pkg-val { font-size: 22px; font-weight: 800; display: block; letter-spacing: 0.02em; }
.pkg-icon { display: block; margin: 8px auto 6px; width: 72px; height: auto; object-fit: contain; }
.pkg-discount {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 10px;
    color: #062015;
    font-size: 11px;
    font-weight: 700;
    background: var(--gold);
    border-radius: 0 10px 0 8px;
}
.pkg-price { display: block; margin-top: 4px; color: var(--text-dim); font-size: 14px; }
.package-item.active .pkg-val,
.package-item.selected .pkg-val { color: var(--primary); }
.package-item.active .pkg-price,
.package-item.selected .pkg-price { color: var(--primary); font-weight: 700; }

.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pay-item { cursor: pointer; }
.pay-item input { display: none; }
.pay-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.22);
    border-radius: 10px;
    transition: 0.2s;
}
.pay-icon { width: 24px; height: 24px; margin-right: 12px; }
.pay-item input:checked + .pay-box {
    border-color: var(--primary);
    background: rgba(30, 232, 154, 0.1);
    box-shadow: inset 0 0 0 1px rgba(30, 232, 154, 0.2);
}

.amount-option.selected { border-color: var(--primary); background: rgba(30, 232, 154, 0.08); transform: translateY(-2px); }
.payment-option.selected { border-color: var(--primary); background: rgba(30, 232, 154, 0.1); }

.submit-btn {
    width: 100%;
    margin-top: 32px;
    padding: 16px 20px;
    background: linear-gradient(180deg, #2af0a6 0%, #12c47a 100%);
    color: #062015;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.1em;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(18, 196, 122, 0.28);
    transition: 0.2s;
}
.submit-btn:hover { background: #fff; }

.info-section { display: grid; grid-template-columns: 280px 1fr; gap: 20px; margin-bottom: 8px; }
.side-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 20px;
    border-radius: var(--radius);
}
.side-card .side-card-title,
.side-card h3.side-card-title {
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--gold);
    border-left: 3px solid var(--primary);
    padding-left: 10px;
}
.faq-item { margin-bottom: 14px; }
.faq-item h4 { font-size: 13px; color: #e6eaee; margin-bottom: 4px; }
.faq-item p { font-size: 13px; color: var(--text-dim); line-height: 1.65; }

.faq-section { margin-bottom: 8px; }
.faq-content { display: grid; gap: 14px; }
.faq-content .faq-item {
    background: rgba(0,0,0,.22);
    border: 1px solid var(--border);
    padding: 20px 22px;
    border-radius: 8px;
    margin-bottom: 0;
}
.faq-content .faq-item h3 { color: var(--primary); margin-bottom: 10px; font-size: 16px; }
.faq-content .faq-item p { color: #c5ccd4; line-height: 1.75; font-size: 14px; }

.map-update-section { margin: 8px 0 24px; }
.map-update-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.map-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #0e0e0e;
    border: 1px solid var(--border);
}
.map-card-media { position: relative; }
.map-card-media img { width: 100%; height: 220px; object-fit: cover; display: block; transform: scale(1); transition: 0.35s; }
.map-card:hover img { transform: scale(1.04); }
.map-card-overlay {
    position: absolute;
    inset: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.12));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.map-card-overlay h3 { font-size: 15px; margin-bottom: 6px; color: #fff; }
.map-card-overlay p { font-size: 12px; line-height: 1.6; color: #ccc; }

.footer {
    padding: 48px 20px 40px;
    text-align: center;
    color: #6d757d;
    border-top: 1px solid var(--border);
    background: #05070a;
    font-size: 13px;
}
.footer-tagline { color: var(--gold); font-size: 14px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.12em; }
.footer-links { margin-bottom: 20px; }
.footer-links a { color: #8a929a; }
.footer-links a:hover { color: var(--primary); }
.footer-sep { margin: 0 10px; color: #3a4148; user-select: none; }
.footer-copy { margin-bottom: 6px; color: #8a929a; }
.footer-legal { margin-bottom: 6px; color: #6d757d; font-size: 12px; }
.footer-icp { margin-top: 12px; font-size: 12px; color: #6d757d; }

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
}
.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 10% auto;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow);
    animation: modalFadeIn 0.28s ease-out;
    overflow: hidden;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: none; }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(30, 232, 154, 0.05);
}
#confirmTitle, #reviewHeading { color: #fff; font-size: 18px; font-weight: 700; margin: 0; }
.close-btn { color: #888; font-size: 28px; font-weight: bold; cursor: pointer; }
.close-btn:hover { color: var(--primary); }
.modal-body { padding: 22px 24px; }
.confirm-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.confirm-item:last-child { border-bottom: none; }
.confirm-item label { color: var(--text-dim); font-size: 14px; }
.confirm-item span { color: #fff; font-size: 14px; font-weight: 600; }
.modal-footer {
    display: flex;
    gap: 12px;
    padding: 18px 24px;
    border-top: 1px solid var(--border);
}
.cancel-btn, .confirm-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.cancel-btn { background: #222830; color: #ccc; border: 1px solid #333; }
.cancel-btn:hover { background: #2c333c; color: #fff; }
.confirm-btn { background: linear-gradient(180deg, #2af0a6 0%, #12c47a 100%); color: #062015; }
.confirm-btn:hover { background: #fff; }

@media (max-width: 992px) {
    .hero-section { min-height: 340px; }
    .info-section { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .logo-text { font-size: 16px; letter-spacing: 0.12em; }

    .nav-links { display: flex; gap: 0; }
    .nav-links li:not(:last-child) { display: none; }
    .package-grid { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 28px; letter-spacing: 0.04em; }
    .card { padding: 22px 16px; }
    .map-update-grid { grid-template-columns: 1fr; }
    .map-card-media img { height: 200px; }
    .modal-content { width: 95%; margin: 18% auto; }
    .modal-header, .modal-body, .modal-footer { padding: 15px 18px; }
}
