* { box-sizing: border-box; }

:root {
    --bg: #020407;
    --bg-soft: #07111d;
    --panel: rgba(10, 17, 29, 0.78);
    --panel-strong: rgba(12, 20, 34, 0.92);
    --line: rgba(255, 255, 255, .12);
    --text: #f7fbff;
    --muted: rgba(225, 233, 244, .76);
    --blue: #1fc9df;
    --blue-strong: #12bfd5;
    --pink: rgba(204, 91, 140, .38);
    --shadow: 0 24px 80px rgba(0, 0, 0, .38);
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(circle at 52% 18%, rgba(20, 75, 165, .22), transparent 22%),
        radial-gradient(circle at 68% 16%, rgba(171, 73, 132, .18), transparent 14%),
        radial-gradient(circle at 25% 78%, rgba(0, 156, 255, .1), transparent 20%),
        linear-gradient(180deg, #010204 0%, #04070c 48%, #000 100%);
    color: var(--text);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .35) 42%, rgba(0, 0, 0, .82)),
        radial-gradient(circle at center, rgba(28, 77, 148, .18), transparent 42%);
    pointer-events: none;
    z-index: 0;
}

.page { min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
main { flex: 1; }

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 5, 10, .78);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header-inner,
.container,
.footer-inner {
    max-width: 1720px;
    margin: 0 auto;
    padding-left: 28px;
    padding-right: 28px;
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.logo img {
    width: 38px;
    height: 38px;
    display: block;
}

.logo span {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.05em;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-nav a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    font-size: 16px;
}

.header-nav a:hover { color: #fff; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-btn,
.btn-primary,
.btn-outline,
.floating-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.header-btn:hover,
.btn-primary:hover,
.btn-outline:hover,
.floating-btn:hover { transform: translateY(-2px); }

.header-btn {
    height: 46px;
    border-radius: 8px;
    padding: 0 18px;
    font-size: 15px;
}

.header-btn-muted {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .06);
}

.header-btn-primary {
    color: #071019;
    background: linear-gradient(135deg, var(--blue), #28d6ef);
    font-weight: 700;
}

.section {
    position: relative;
    padding: 92px 0;
}

.section-title {
    margin: 0 0 12px;
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.04em;
    color: #fff;
}

.section-desc {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
    font-size: 17px;
    color: var(--muted);
}

.hero {
    min-height: calc(100vh - 88px);
    padding: 38px 0 54px;
    display: flex;
    align-items: center;
}

.hero-inner {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-copy {
    position: relative;
    z-index: 3;
    width: min(100%, 1120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(114, 188, 255, .18);
    background: rgba(14, 26, 48, .52);
    color: #d6e9ff;
    font-size: 14px;
    align-self: flex-start;
    margin-bottom: 40px;
}

.hero-brand-mark {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
    margin: 0 0 26px;
    color: rgba(70, 121, 220, .58);
    font-size: clamp(4.6rem, 8vw, 8.6rem);
    font-weight: 700;
    letter-spacing: -.06em;
}

.hero-logo {
    width: clamp(76px, 8vw, 128px);
    height: clamp(76px, 8vw, 128px);
    display: block;
    filter: drop-shadow(0 0 32px rgba(61, 118, 255, .24));
}

.hero h1 {
    margin: 0;
    max-width: 1180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 18px;
    font-size: clamp(3.6rem, 6.4vw, 6rem);
    line-height: 1.02;
    letter-spacing: -.07em;
    font-weight: 800;
    color: #fff;
}

.hero h1 span {
    margin-right: 8px;
    display: inline-block;
    margin-right: 0;
}

.tagline {
    max-width: 980px;
    margin: 24px auto 0;
    font-size: 19px;
    color: var(--muted);
    line-height: 1.75;
}

.hero-buy-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 38px 0 22px;
    pointer-events: auto;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), #22d2ea);
    color: #041019;
    border-radius: 12px;
    box-shadow: 0 14px 44px rgba(31, 201, 223, .28);
    font-weight: 700;
}

.btn-buy {
    display: flex;
    width: 290px;
    max-width: 100%;
    height: 84px;
    padding: 0 34px;
    font-size: 20px;
    margin: 0;
    pointer-events: auto;
}

.btn-block { width: 100%; }

.btn-large {
    min-width: 260px;
    height: 62px;
    padding: 0 34px;
    font-size: 19px;
}

.btn-outline {
    color: #d6edf7;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .04);
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 10px 46px;
    width: min(100%, 760px);
    margin: 0 auto;
    justify-content: center;
    font-size: 16px;
    color: rgba(246, 249, 255, .9);
}

.hero-meta span {
    color: rgba(213, 223, 238, .68);
    margin-right: 4px;
}

.hero-visual {
    display: none;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 6% 10% 8% 12%;
    background:
        radial-gradient(circle at 42% 48%, rgba(30, 114, 255, .32), transparent 28%),
        radial-gradient(circle at 74% 18%, var(--pink), transparent 18%);
    filter: blur(42px);
}

.hero-screen {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    width: min(100%, 1040px);
    padding: 26px;
    border-radius: 30px;
    border: 1px solid rgba(120, 180, 255, .14);
    background:
        linear-gradient(180deg, rgba(7, 13, 23, .78), rgba(4, 9, 16, .84)),
        rgba(8, 12, 20, .76);
    box-shadow: var(--shadow);
    overflow: hidden;
    opacity: .58;
}

.hero-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(64, 151, 255, .18), transparent 30%),
        radial-gradient(circle at top right, rgba(199, 89, 143, .16), transparent 24%);
    pointer-events: none;
}

.hero-screen-title {
    position: relative;
    color: rgba(205, 218, 238, .68);
    font-size: 15px;
}

.hero-screen-copy {
    position: relative;
    margin-top: 62px;
    font-size: clamp(3.2rem, 5vw, 5.2rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.05em;
    background: linear-gradient(90deg, #4ca3ff 0%, #3e76de 46%, #cd6485 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-screen-subtitle {
    position: relative;
    margin-top: 10px;
    font-size: clamp(2rem, 3.6vw, 3.7rem);
    line-height: 1.06;
    color: rgba(255, 255, 255, .08);
    font-weight: 700;
    letter-spacing: -.04em;
}

.hero-cards {
    position: relative;
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-card {
    min-height: 120px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    color: rgba(232, 239, 248, .82);
    font-size: 15px;
    line-height: 1.7;
}

.section-cards { background: rgba(255, 255, 255, .02); }

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.card,
.scenario-item,
.pricing-card,
.faq-list,
.query-box,
.query-table {
    background: rgba(11, 18, 30, .78);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
}

.card {
    border-radius: 18px;
    padding: 28px 24px;
    text-align: center;
}

.card-icon { font-size: 34px; display: block; margin-bottom: 16px; }
.card h3 { margin: 0 0 10px; font-size: 19px; color: #fff; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }

.section-scenarios { background: transparent; }
.scenario-list { max-width: 960px; margin: 0 auto; }
.scenario-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 16px;
    margin-bottom: 14px;
}

.scenario-item:last-child { margin-bottom: 0; }
.scenario-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 9px;
    background: linear-gradient(135deg, #30a3ff, #8c74ff);
    flex-shrink: 0;
}

.scenario-item strong { color: #fff; }
.scenario-item div { color: var(--muted); font-size: 15px; }

.pricing-cta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
}

.pricing-card { border-radius: 20px; overflow: hidden; }
.pricing-card-inner { padding: 34px 30px; position: relative; }
.pricing-label {
    position: absolute;
    right: 16px;
    top: 16px;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), #2ddcf3);
    color: #041019;
    font-size: 12px;
    font-weight: 700;
}

.pricing-card h3 { margin: 0 0 12px; color: #fff; font-size: 22px; }
.pricing-card p { margin: 0 0 22px; color: var(--muted); font-size: 15px; }

.section-faq { background: rgba(255, 255, 255, .015); }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 28px; }
.faq-list { border-radius: 18px; overflow: hidden; }
.faq-item { padding: 22px 24px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.faq-item:last-child { border-bottom: none; }
.faq-q { margin-bottom: 8px; font-size: 17px; font-weight: 700; color: #fff; }
.faq-a { color: var(--muted); font-size: 15px; }

.section-cta {
    text-align: center;
    background:
        linear-gradient(135deg, rgba(11, 59, 130, .58), rgba(14, 22, 41, .92)),
        rgba(6, 11, 19, .92);
}

.section-desc-light { color: rgba(255, 255, 255, .82); }

.footer {
    padding: 30px 0 44px;
    background: rgba(0, 0, 0, .3);
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-copy,
.footer-links { color: rgba(221, 229, 239, .72); font-size: 14px; text-align: center; }
.footer-links a { color: #7fd8e7; text-decoration: none; }
.footer-sep { margin: 0 8px; color: rgba(255, 255, 255, .24); }

.floating-actions {
    position: fixed;
    right: 26px;
    bottom: 18px;
    display: flex;
    gap: 12px;
    z-index: 90;
}

.floating-btn {
    height: 52px;
    padding: 0 18px;
    border-radius: 12px;
    color: #fff;
    background: rgba(31, 37, 52, .95);
    border: 1px solid rgba(255, 255, 255, .08);
}

.floating-btn-hot {
    background: linear-gradient(135deg, #ff0f46, #ff3838);
}

.bottom-floating-bar {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 18px;
    z-index: 89;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.bottom-floating-bar__content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 64px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(9, 15, 28, .92);
    border: 1px solid rgba(91, 130, 197, .18);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
    color: rgba(235, 242, 250, .92);
    font-size: 14px;
    pointer-events: auto;
    backdrop-filter: blur(16px);
}

.bottom-floating-bar__content strong {
    color: #fff;
    font-size: 15px;
}

.bottom-floating-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.bottom-floating-bar__btn:hover {
    transform: translateY(-1px);
}

.bottom-floating-bar__btn-primary {
    color: #041019;
    background: linear-gradient(135deg, var(--blue), #28d6ef);
    box-shadow: 0 14px 34px rgba(31, 201, 223, .2);
}

.bottom-floating-bar__btn-ghost {
    color: #dbe8f6;
    background: rgba(255, 255, 255, .02);
    border-color: rgba(94, 130, 188, .36);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal[aria-hidden="true"] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); backdrop-filter: blur(4px); }

.modal-box {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow: auto;
    border-radius: 20px;
    background: rgba(9, 16, 27, .97);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: var(--shadow);
}

.modal-header,
.modal-footer {
    padding: 18px 24px;
    border-color: rgba(255, 255, 255, .08);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.modal-header h3 { margin: 0; color: #fff; font-size: 19px; }
.modal-close { background: none; border: none; color: rgba(255,255,255,.8); font-size: 24px; cursor: pointer; }
.modal-body { padding: 24px; }
.modal-footer { display: flex; gap: 12px; justify-content: flex-end; border-top: 1px solid rgba(255, 255, 255, .08); }

.steps { display: flex; justify-content: space-between; margin-bottom: 24px; }
.step { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.44); font-size: 13px; }
.step .step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.72);
}

.step.active .step-num { background: var(--blue); color: #031019; }
.step.done .step-num { background: #2dccaa; color: #041019; }
.step-content.hidden { display: none; }
.step-desc, .pay-tip, .enterprise-qr-wrap .enterprise-qr-label, .query-loading, .query-empty { color: var(--muted); }

.option-list { display: flex; flex-wrap: wrap; gap: 10px; }
.option-btn,
.btn-secondary,
.input-phone,
.query-input {
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    color: #fff;
}

.option-btn {
    padding: 12px 18px;
    cursor: pointer;
}

.option-btn.selected {
    background: rgba(31, 201, 223, .15);
    border-color: rgba(31, 201, 223, .52);
}

.input-phone,
.query-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
}

.btn-next { width: 100%; margin-top: 10px; }
.btn-secondary { padding: 10px 20px; cursor: pointer; }
.pay-summary, .card-password-wrap, .enterprise-qr-wrap, .query-card-password, .query-enterprise-qr {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
}

.pay-summary, .card-password-wrap, .enterprise-qr-wrap, .query-card-password, .query-enterprise-qr { padding: 16px; }
.qrcode-wrap { display: flex; justify-content: center; align-items: center; min-height: 220px; margin: 20px 0; }
.qrcode-wrap canvas, .qrcode-wrap img, .enterprise-qr-wrap img, .query-enterprise-qr img { max-width: 180px; max-height: 180px; display: block; margin: 0 auto; }
.order-status, .query-error { color: #ff8d8d; }

.purchase-modal-box {
    max-width: 1060px;
    border-radius: 22px;
    background: #fff;
    color: #222;
}

.purchase-modal-header {
    background: #343130;
    color: #fff;
    border-bottom: none;
    padding: 22px 28px;
}

.purchase-modal-header h3 {
    color: #fff;
    font-size: 22px;
}

.purchase-modal-header .modal-close {
    color: rgba(255,255,255,.82);
    font-size: 30px;
}

.purchase-modal-body {
    color: #222;
    padding: 26px 28px 30px;
}

.purchase-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 20px;
    color: #333;
    font-size: 15px;
    font-weight: 700;
}

.purchase-step {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.purchase-step::after {
    content: "";
    height: 1px;
    background: #e9e9e9;
    flex: 1;
}

.purchase-step:last-child::after {
    display: none;
}

.purchase-step span {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #2f2f2f;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.purchase-notice {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #fff8ef;
    color: #f08b2b;
    font-size: 14px;
}

.purchase-product-card {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 10px;
    background: #f3eded;
}

.purchase-product-card img {
    width: 68px;
    height: 68px;
    display: block;
    flex-shrink: 0;
}

.purchase-product-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 20px;
}

.purchase-product-card p {
    margin: 0;
    color: #444;
    font-size: 14px;
    line-height: 1.7;
}

.purchase-group {
    margin-bottom: 18px;
}

.purchase-group h4 {
    margin: 0 0 14px;
    font-size: 18px;
    color: #232323;
}

.purchase-group h4::before {
    content: "|";
    color: #111;
    margin-right: 8px;
    font-weight: 800;
}

.purchase-options {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.purchase-option {
    position: relative;
    min-width: 150px;
    min-height: 58px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid #d4d7de;
    background: #fff;
    color: #222;
    font-size: 16px;
    cursor: pointer;
}

.purchase-option.selected {
    border-color: #222;
    box-shadow: inset 0 0 0 1px #222;
}

.purchase-options-wide .purchase-option {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 248px;
    min-height: 88px;
    padding: 16px 18px 12px;
}

.purchase-option-name {
    font-size: 16px;
    font-weight: 500;
}

.purchase-option-price {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.purchase-option-original {
    margin-top: 4px;
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.purchase-badge {
    position: absolute;
    top: -12px;
    left: 12px;
    padding: 3px 8px;
    border-radius: 6px;
    background: #20c9dd;
    color: #000;
    font-size: 12px;
}

.purchase-input {
    max-width: 560px;
    border-color: #d7dbe3;
    background: #fff;
    color: #222;
}

.purchase-payment-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 280px));
    gap: 14px;
}

.purchase-payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 76px;
    padding: 14px 42px 14px 15px;
    border: 1px solid #d7dbe3;
    border-radius: 12px;
    background: #fff;
    color: #222;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.purchase-payment-option[hidden] {
    display: none;
}

.purchase-payment-option:hover {
    border-color: #8ea3c7;
    background: #fbfdff;
}

.purchase-payment-option:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .22);
    outline-offset: 2px;
}

.purchase-payment-option.selected {
    border-color: #2563eb;
    background: #f6f9ff;
    box-shadow: inset 0 0 0 1px #2563eb;
}

.purchase-payment-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 10px;
    object-fit: cover;
}

.purchase-payment-icon-alipay {
    background: #1677ff;
    color: #fff;
    font-size: 23px;
    font-weight: 700;
}

.purchase-payment-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.purchase-payment-copy strong {
    color: #1e293b;
    font-size: 16px;
    line-height: 1.3;
}

.purchase-payment-copy small {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.purchase-payment-check {
    position: absolute;
    top: 10px;
    right: 12px;
    display: none;
    color: #2563eb;
    font-size: 17px;
    font-weight: 800;
}

.purchase-payment-option.selected .purchase-payment-check {
    display: block;
}

.purchase-pay-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
}

.purchase-pay-tip {
    color: #666;
    font-size: 14px;
}

.purchase-pay-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.purchase-amount {
    font-size: 18px;
    color: #222;
}

.purchase-amount strong {
    color: #ff1d1d;
    font-size: 22px;
}

.purchase-pay-btn {
    min-width: 290px;
    height: 70px;
    box-shadow: none;
}

.purchase-result {
    display: none !important;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #ececec;
}

.purchase-result.show {
    display: none !important;
}

.purchase-pay-guide {
    margin-top: 16px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.purchase-result .pay-summary,
.purchase-result .qrcode-wrap,
.purchase-result .pay-tip,
.purchase-result .order-status {
    color: #222;
}

.purchase-result .pay-summary {
    background: #f7f8fb;
    border: 1px solid #eceff4;
}

.purchase-result .qrcode-wrap {
    margin-top: 14px;
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid #eceff4;
    border-radius: 14px;
}

.purchase-result .order-status strong {
    color: #111;
}

.pay-dialog-box {
    max-width: 980px;
    border-radius: 24px;
    background: #fff;
}

.pay-dialog-body {
    padding: 0;
}

.pay-dialog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 360px;
    gap: 0;
}

.pay-dialog-info {
    padding: 34px 34px 30px;
}

.pay-dialog-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 20px;
}

.pay-dialog-row span {
    color: #6c6c6c;
    font-size: 16px;
    font-weight: 600;
}

.pay-dialog-row strong {
    color: #202020;
    font-size: 18px;
    line-height: 1.7;
}

.pay-dialog-row-block p {
    margin: 0;
    color: #3e3e3e;
    font-size: 16px;
    line-height: 1.8;
}

.pay-dialog-amount {
    color: #ff2a2a !important;
    font-size: 24px !important;
}

.pay-dialog-methods {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.pay-dialog-method {
    position: relative;
    width: 280px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid #dbe0e8;
    background: #fff;
}

.pay-dialog-method.is-active {
    border-color: #202020;
    box-shadow: inset 0 0 0 1px #202020;
}

.pay-dialog-method-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.pay-dialog-method::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 44px solid #1f1f1f;
    border-left: 44px solid transparent;
    border-top-right-radius: 12px;
}

.pay-dialog-method::before {
    content: "✓";
    position: absolute;
    top: 5px;
    right: 9px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    z-index: 1;
}

.pay-icon-image {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: block;
}

.pay-dialog-method strong {
    font-size: 20px;
    color: #111;
}

.pay-dialog-method span {
    color: #18b67a;
    font-size: 14px;
}

.pay-dialog-qr-area {
    padding: 34px 28px 30px;
    border-left: 1px solid #ededed;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    text-align: center;
}

.pay-dialog-qr-title {
    color: #2b2b2b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
}

.pay-dialog-qr-wrap {
    width: 260px;
    height: 260px;
    margin: 22px auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eceff4;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .08);
}

.pay-dialog-qr-wrap canvas,
.pay-dialog-qr-wrap img {
    max-width: 220px;
    max-height: 220px;
    display: block;
}

.pay-dialog-qr-tip {
    color: #8a8a8a;
    font-size: 14px;
}

.support-drawer {
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.support-drawer[aria-hidden="true"] {
    display: none;
}

.support-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .68);
    backdrop-filter: blur(5px);
}

.support-panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(480px, 100%);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(8, 14, 24, .98), rgba(4, 8, 15, .98));
    border-left: 1px solid rgba(255, 255, 255, .08);
    box-shadow: -18px 0 44px rgba(0, 0, 0, .28);
}

.support-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 22px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.support-panel-header h3 {
    margin: 0;
    color: #fff;
    font-size: 24px;
}

.support-panel-header p {
    margin: 8px 0 0;
    color: rgba(225, 233, 244, .7);
    font-size: 14px;
}

.support-close {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, .76);
    font-size: 34px;
    cursor: pointer;
}

.support-session-tip {
    padding: 12px 22px 0;
    color: rgba(127, 216, 231, .9);
    font-size: 13px;
}

.support-messages {
    flex: 1;
    padding: 18px 22px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.support-empty {
    margin: auto 0;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    color: rgba(225, 233, 244, .72);
    text-align: center;
    font-size: 14px;
}

.support-message {
    display: flex;
}

.support-message.is-user {
    justify-content: flex-end;
}

.support-message.is-admin {
    justify-content: flex-start;
}

.support-bubble {
    max-width: 88%;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
}

.support-message.is-user .support-bubble {
    background: linear-gradient(135deg, rgba(31, 201, 223, .26), rgba(35, 151, 217, .22));
    border-color: rgba(31, 201, 223, .28);
}

.support-role {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
}

.support-content {
    color: #fff;
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}

.support-time {
    margin-top: 8px;
    color: rgba(255, 255, 255, .44);
    font-size: 12px;
}

.support-form {
    padding: 18px 22px 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .02);
}

.support-input,
.support-textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    outline: none;
}

.support-input {
    height: 48px;
    padding: 0 14px;
    margin-bottom: 12px;
}

.support-textarea {
    min-height: 120px;
    padding: 14px;
    resize: vertical;
    font: inherit;
}

.support-input::placeholder,
.support-textarea::placeholder {
    color: rgba(225, 233, 244, .42);
}

.support-actions {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.support-form-tip {
    color: rgba(225, 233, 244, .56);
    font-size: 13px;
}

.support-send-btn {
    min-width: 144px;
    height: 52px;
    box-shadow: none;
}

.section-order-query { background: transparent; }
.query-box { max-width: 560px; margin: 0 auto; padding: 32px; border-radius: 18px; }
.query-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.query-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 14px; }
.query-table th, .query-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; }
.query-table th { color: rgba(226,236,246,.72); background: rgba(255,255,255,.03); }
.query-table td { color: #fff; }

@media (max-width: 1180px) {
    .hero-inner {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-copy {
        width: min(100%, 920px);
    }
    .hero-buy-wrap {
        width: auto;
        margin: 0 0 18px;
    }
    .hero-visual {
        position: relative;
        inset: auto;
        min-height: 460px;
    }
    .hero-screen {
        left: auto;
        top: auto;
        right: 0;
        bottom: 0;
        transform: none;
        width: min(100%, 760px);
        opacity: 1;
    }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .header-inner {
        min-height: auto;
        padding-top: 18px;
        padding-bottom: 18px;
        flex-wrap: wrap;
    }

    .header-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .hero-badge {
        align-self: center;
        margin-bottom: 24px;
    }
    .hero-brand-mark { margin-top: 0; }
    .hero h1 {
        font-size: clamp(3rem, 9vw, 4.8rem);
    }
    .hero-meta { grid-template-columns: 1fr; }
    .hero-cards,
    .pricing-cta { grid-template-columns: 1fr; }
    .purchase-steps { grid-template-columns: 1fr; }
    .purchase-step::after { display: none; }
    .purchase-pay-area { flex-direction: column; align-items: stretch; }
    .purchase-pay-right { flex-direction: column; align-items: stretch; }
    .purchase-pay-btn { width: 100%; min-width: 0; }
    .pay-dialog-grid { grid-template-columns: 1fr; }
    .pay-dialog-qr-area { border-left: none; border-top: 1px solid #ededed; }
    .support-panel { width: 100%; }
    .support-actions { flex-direction: column; align-items: stretch; }
    .support-send-btn { width: 100%; }
}

@media (max-width: 640px) {
    .purchase-payment-methods {
        grid-template-columns: 1fr;
    }

    .header-inner,
    .container,
    .footer-inner,
    .container-narrow,
    .hero-inner { padding-left: 18px; padding-right: 18px; }

    .header-actions {
        width: 100%;
        gap: 10px;
    }

    .header-btn {
        flex: 1;
        min-width: 0;
    }

    .hero {
        min-height: auto;
        padding-top: 18px;
    }

    .btn-buy {
        width: 100%;
        min-width: 0;
        height: 70px;
    }

    .hero-buy-wrap {
        margin: 0 0 18px;
    }

    .hero-visual { min-height: 380px; }
    .hero-screen { padding: 18px; border-radius: 22px; }
    .card-grid { grid-template-columns: 1fr; }

    .floating-actions {
        left: 18px;
        right: 18px;
        bottom: 104px;
    }

    .floating-btn {
        flex: 1;
        min-width: 0;
    }

    .page {
        padding-bottom: 168px;
    }

    .bottom-floating-bar {
        left: 12px;
        right: 12px;
        bottom: 14px;
    }

    .bottom-floating-bar__content {
        width: 100%;
        border-radius: 22px;
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px;
    }

    .bottom-floating-bar__content span {
        width: 100%;
        text-align: center;
    }

    .bottom-floating-bar__btn {
        flex: 1;
        min-width: 0;
    }

    .pay-dialog-info,
    .pay-dialog-qr-area {
        padding: 22px 18px;
    }

    .pay-dialog-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pay-dialog-method {
        width: 100%;
    }

    .pay-dialog-qr-wrap {
        width: 220px;
        height: 220px;
    }

    .pay-dialog-qr-wrap canvas,
    .pay-dialog-qr-wrap img {
        max-width: 180px;
        max-height: 180px;
    }
}

/* Compact hero keeps the offer and purchase action visible together. */
.gemini-refined .hero { min-height: 0; padding: 64px 0 56px; }
.gemini-refined .hero-inner { max-width: 1180px; min-height: 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; padding: 0 28px; }
.gemini-refined .hero-copy { width: 100%; align-items: flex-start; text-align: left; }
.gemini-refined .hero-badge { margin: 0 0 24px; padding: 6px 12px; font-size: 12px; }
.gemini-refined .hero-brand-mark { font-size: 25px; letter-spacing: -.02em; color: #c4d9ff; gap: 10px; margin: 0 0 20px; }
.gemini-refined .hero-logo { width: 32px; height: 32px; border-radius: 7px; filter: none; }
.gemini-refined .hero h1 { display: block; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.35; letter-spacing: -.025em; font-weight: 650; }
.gemini-refined .hero h1 span { color: #a8c5ff; }
.gemini-refined .tagline { font-size: 16px; line-height: 1.9; margin: 20px 0 0; max-width: 510px; color: #b7c0ce; }
.gemini-refined .hero-buy-wrap { justify-content: flex-start; margin: 26px 0; }
.gemini-refined .btn-buy { width: auto; min-width: 220px; height: 54px; font-size: 16px; padding: 0 26px; border-radius: 10px; box-shadow: none; }
.gemini-refined .hero-meta { width: 100%; grid-template-columns: 1fr; gap: 8px; margin: 0; font-size: 13px; line-height: 1.7; }
.gemini-refined .hero-visual { display: block; position: relative; width: 100%; min-height: 0; opacity: 1; transform: none; inset: auto; pointer-events: none; }
.gemini-refined .hero-screen { left: auto; top: auto; opacity: 1; position: relative; width: 100%; min-height: 0; transform: none; padding: 30px; border-radius: 20px; background: #101d30; border: 1px solid #31445e; box-shadow: 0 20px 60px #0003; }
.gemini-refined .hero-screen-copy { margin-top: 26px; font-size: 28px; line-height: 1.5; color: #e2ebff; background: none; letter-spacing: -.02em; }
.gemini-refined .hero-screen-subtitle { font-size: 15px; line-height: 1.6; color: #adbed6; font-weight: 400; letter-spacing: 0; }
.gemini-refined .hero-card { font-size: 14px; padding: 16px; }
.gemini-refined .section { padding: 60px 0; }
.gemini-refined .section-title { font-size: 28px; letter-spacing: -.02em; }
.gemini-refined .bottom-floating-bar__content { border-radius: 14px; padding: 10px 16px; }
.gemini-refined a:focus-visible, .gemini-refined button:focus-visible { outline: 2px solid #99dfff; outline-offset: 4px; }
@media (max-width: 760px) {
  .gemini-refined .hero { padding: 32px 0; }
  .gemini-refined .hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 22px; }
  .gemini-refined .hero h1 { font-size: 36px; }
  .gemini-refined .hero-badge { margin-bottom: 18px; }
  .gemini-refined .hero-screen { padding: 24px; }
  .gemini-refined .hero-screen-copy { font-size: 24px; }
  .gemini-refined .section { padding: 40px 0; }
  .gemini-refined .bottom-floating-bar__content { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .gemini-refined *, .gemini-refined *::before, .gemini-refined *::after { animation: none !important; transition: none !important; }
}
