/* -------------------------------------------------------------------------
   飞速NAS 站点样式（首页 / 注册 / 登录 / 个人中心共用）
   ---------------------------------------------------------------------- */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    line-height: 1.5;
    scroll-behavior: smooth;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #e2e8f0; }
::-webkit-scrollbar-thumb { background: #3b82f6; border-radius: 10px; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------------- 导航栏 ---------------- */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eef2ff;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 14px 24px;
    gap: 16px;
}
.logo-area {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.logo {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tagline {
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    border-left: 2px solid #cbd5e1;
    padding-left: 12px;
    margin-left: 4px;
}
.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}
.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #1e293b;
    transition: color 0.2s;
}
.nav-links a:hover { color: #2563eb; }
.nav-links a.is-active { color: #2563eb; font-weight: 600; }

.btn-outline-light {
    border: 1px solid #cbd5e1;
    padding: 8px 20px;
    border-radius: 40px;
    background: white;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}
.btn-outline-light:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b !important;
}
.btn-sm { padding: 6px 16px !important; font-size: 0.88rem; }

.nav-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: 40px;
    background: #f1f5f9;
    max-width: 180px;
}
.nav-user-name {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.avatar-xs {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

/* ---------------- 按钮 ---------------- */
.btn-primary {
    background: #2563eb;
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    font-family: inherit;
    font-size: 1rem;
}
.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    color: #fff;
}
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-secondary {
    background: transparent;
    border: 1px solid #cbd5e1;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none;
    color: #1e293b;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}
.btn-secondary:hover { background: #f1f5f9; border-color: #94a3b8; }
.btn-block { width: 100%; padding: 13px 24px; }

/* ---------------- Hero ---------------- */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
}
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-content { flex: 1.2; }
.hero-badge {
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #0f172a, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 24px;
}
.hero-content p { font-size: 1.2rem; color: #334155; max-width: 550px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-image { flex: 1; text-align: center; }

/* ---------------- 特色 ---------------- */
.features { padding: 80px 0; background: white; }
.section-title { text-align: center; font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; }
.section-desc { text-align: center; color: #475569; max-width: 650px; margin: 0 auto 56px auto; font-size: 1.1rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.feature-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #eef2ff;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1); border-color: #b9d0f8; }
.feature-icon { font-size: 3rem; color: #2563eb; margin-bottom: 24px; }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 12px; font-weight: 700; }
.feature-card p { color: #475569; }

/* ---------------- 性能 ---------------- */
.speed-showcase { background: #0f172a; color: white; padding: 80px 0; }
.speed-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 60px; }
.speed-stats { flex: 1; }
.speed-stats h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 20px; }
.stat-number { font-size: 3.5rem; font-weight: 800; color: #38bdf8; line-height: 1; }
.stat-item { margin: 32px 0; }
.speed-desc { color: #cbd5e1; margin-top: 12px; }
.speed-visual {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 48px;
    padding: 32px;
    text-align: center;
    backdrop-filter: blur(4px);
}
.speed-visual i { font-size: 5rem; color: #38bdf8; }

/* ---------------- 型号 ---------------- */
.models { padding: 80px 0; background: #f8fafc; }
.model-cards { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
.model-card {
    background: white;
    border-radius: 32px;
    flex: 1;
    min-width: 260px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.25s;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}
.model-card.popular { border-top: 4px solid #2563eb; transform: scale(1.02); box-shadow: 0 20px 30px -12px rgba(37, 99, 235, 0.15); }
.model-name { font-size: 1.8rem; font-weight: 800; }
.model-price { font-size: 2rem; font-weight: 800; color: #0f172a; margin: 16px 0; }
.model-spec { list-style: none; margin: 24px 0; text-align: left; padding-left: 16px; }
.model-spec li { margin: 12px 0; display: flex; align-items: center; gap: 10px; }
.model-spec i { color: #2563eb; width: 20px; }

/* ---------------- 评价 ---------------- */
.testimonials { padding: 80px 0; background: white; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 40px; }
.testimonial { background: #f1f5f9; border-radius: 28px; padding: 28px; }
.testimonial p { font-size: 1rem; margin-bottom: 20px; font-style: italic; color: #1e293b; }
.user { display: flex; align-items: center; gap: 12px; }
.user img { width: 48px; height: 48px; background: #2563eb; border-radius: 50%; object-fit: cover; }
.user-info strong { display: block; }

/* ---------------- CTA ---------------- */
.cta { background: linear-gradient(105deg, #1e293b 0%, #0f172a 100%); padding: 70px 0; text-align: center; }
.cta h2 { color: white; font-size: 2rem; margin-bottom: 20px; }
.cta p { color: #cbd5e6; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------------- 页脚 ---------------- */
.footer { background: #0f172a; padding: 48px 0 32px; color: #94a3b8; border-top: 1px solid #1e293b; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-links h4 { color: #e2e8f0; margin-bottom: 12px; font-size: 1rem; }
.footer-links a { color: #cbd5e1; text-decoration: none; transition: color 0.2s; line-height: 2; }
.footer-links a:hover { color: white; }
.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.icp { font-family: monospace; letter-spacing: 0.5px; }

/* -------------------------------------------------------------------------
   提示条
   ---------------------------------------------------------------------- */
.flash-wrap { margin-top: 20px; }
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 16px;
    font-size: 0.95rem;
    margin-bottom: 12px;
    border: 1px solid transparent;
    animation: alert-in 0.25s ease-out;
}
@keyframes alert-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.alert i { margin-top: 2px; }
.alert-success { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.alert-error { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.alert-info { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.alert-warning { background: #fffbeb; color: #b45309; border-color: #fde68a; }

/* -------------------------------------------------------------------------
   登录 / 注册
   ---------------------------------------------------------------------- */
.auth-section {
    padding: 64px 0 80px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
    min-height: calc(100vh - 260px);
    display: flex;
    align-items: center;
}
.auth-layout {
    display: flex;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
    width: 100%;
}
.auth-intro { flex: 1; min-width: 300px; }
.auth-intro h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    background: linear-gradient(to right, #0f172a, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.auth-intro p { color: #475569; font-size: 1.05rem; max-width: 440px; margin-bottom: 28px; }
.auth-points { list-style: none; display: grid; gap: 14px; }
.auth-points li { display: flex; align-items: center; gap: 10px; color: #334155; }
.auth-points i { color: #2563eb; width: 20px; }

.auth-card {
    flex: 0 0 440px;
    max-width: 440px;
    background: #fff;
    border-radius: 32px;
    padding: 40px 36px;
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.15);
    border: 1px solid #eef2ff;
}
.auth-card h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; }
.auth-card .sub { color: #64748b; font-size: 0.92rem; margin-bottom: 26px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: #334155; margin-bottom: 7px; }
.form-group label .req { color: #dc2626; }
.input-wrap { position: relative; }
.input-wrap > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    font-size: 0.96rem;
    font-family: inherit;
    color: #0f172a;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input.has-icon { padding-left: 44px; }
.form-input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
.form-input::placeholder { color: #94a3b8; }
textarea.form-input { resize: vertical; min-height: 96px; line-height: 1.6; }
select.form-input { cursor: pointer; }

.field-error { color: #dc2626; font-size: 0.82rem; margin-top: 6px; }
.field-error i { margin-right: 2px; }
.form-hint { color: #94a3b8; font-size: 0.8rem; margin-top: 6px; }
input[type="password"].form-input { padding-right: 46px; }
.pwd-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1;
}
.pwd-toggle:hover { color: #2563eb; background: #f1f5f9; }

.form-row { display: flex; gap: 12px; }
.form-row > .form-group { flex: 1; }

.form-actions { margin-top: 24px; }
.form-foot { text-align: center; margin-top: 22px; color: #64748b; font-size: 0.9rem; }
.form-foot a { color: #2563eb; font-weight: 600; text-decoration: none; }
.form-foot a:hover { text-decoration: underline; }

.check-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.88rem; margin-bottom: 6px; }
.check-row label { display: flex; align-items: center; gap: 8px; color: #475569; cursor: pointer; font-weight: 500; }
.check-row a { color: #2563eb; text-decoration: none; }

/* -------------------------------------------------------------------------
   个人中心
   ---------------------------------------------------------------------- */
.subpage-head {
    background: linear-gradient(120deg, #eef2ff 0%, #ecfeff 100%);
    padding: 44px 0 40px;
    border-bottom: 1px solid #e2e8f0;
}
.subpage-head h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.subpage-head p { color: #475569; }

.profile-wrap { padding: 40px 0 72px; }
.profile-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
@media (max-width: 900px) {
    .profile-grid { grid-template-columns: 1fr; }
}

.card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e8edf7;
    box-shadow: 0 10px 24px -16px rgba(15, 23, 42, 0.18);
    padding: 28px;
}
.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.card-title i { color: #2563eb; }
.card-sub { color: #94a3b8; font-size: 0.85rem; margin-bottom: 20px; }
.card + .card { margin-top: 24px; }

.profile-card { text-align: center; padding-bottom: 24px; }
.avatar-box {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    box-shadow: 0 12px 24px -12px rgba(37, 99, 235, 0.55);
}
.avatar-box img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: 1.25rem; font-weight: 700; }
.profile-sub { color: #64748b; font-size: 0.88rem; margin-top: 2px; }
.profile-badges { display: flex; justify-content: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: #eff6ff;
    color: #1d4ed8;
}
.badge-green { background: #ecfdf5; color: #047857; }
.badge-gray { background: #f1f5f9; color: #475569; }
.badge-amber { background: #fffbeb; color: #b45309; }

.avatar-form { margin-top: 20px; }
.avatar-form input[type="file"] {
    width: 100%;
    font-size: 0.82rem;
    color: #475569;
    padding: 8px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
}
.avatar-form input[type="file"]::file-selector-button {
    border: none;
    background: #e2e8f0;
    color: #1e293b;
    padding: 5px 12px;
    border-radius: 8px;
    margin-right: 10px;
    cursor: pointer;
    font-family: inherit;
}
.avatar-form .btn-secondary { margin-top: 10px; padding: 8px 20px; font-size: 0.85rem; }

.info-list { margin-top: 22px; display: grid; gap: 12px; text-align: left; }
.info-list div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.88rem; }
.info-list dt { color: #64748b; }
.info-list dd { color: #0f172a; font-weight: 600; text-align: right; word-break: break-all; }

.profile-main { min-width: 0; }

.tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tab-link {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}
.tab-link:hover { border-color: #bfdbfe; color: #2563eb; }
.tab-link.is-active { background: #2563eb; color: #fff; border-color: #2563eb; }

.danger-zone { border-color: #fecaca; background: #fff8f8; }
.danger-zone .card-title i { color: #dc2626; }

.muted-note {
    font-size: 0.85rem;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 16px;
    line-height: 1.6;
}

/* -------------------------------------------------------------------------
   空状态 / 404 等
   ---------------------------------------------------------------------- */
.empty-state {
    text-align: center;
    padding: 70px 20px;
    color: #64748b;
}
.empty-state i { font-size: 3rem; color: #cbd5e1; margin-bottom: 18px; display: block; }
.empty-state p { margin-bottom: 18px; }

/* -------------------------------------------------------------------------
   响应式
   ---------------------------------------------------------------------- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .nav-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .nav-links { gap: 16px; width: 100%; }
    .hero-grid { flex-direction: column; }
    .section-title { font-size: 1.8rem; }
    .speed-stats h2 { font-size: 1.7rem; }
    .auth-card { flex: 1 1 100%; max-width: 100%; padding: 30px 22px; }
    .auth-intro h1 { font-size: 1.9rem; }
    .auth-section { padding: 36px 0 50px; }
    .subpage-head h1 { font-size: 1.5rem; }
    .card { padding: 22px 18px; }
    .form-row { flex-direction: column; gap: 0; }
}

/* =========================================================================
   购买页 / 订单（新增，沿用原蓝色系与圆角语言）
   ========================================================================= */

.badge-blue { background: #eff6ff; color: #1d4ed8; }

.row-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.btn-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: all 0.2s;
}
.btn-mini:hover { border-color: #2563eb; color: #2563eb; }
.btn-mini.danger { color: #dc2626; border-color: #fecaca; background: #fff7f7; }
.btn-mini.danger:hover { border-color: #dc2626; background: #fef2f2; }

.buy-wrap { padding: 40px 0 72px; }

.buy-model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.buy-model-card {
    position: relative;
    padding: 34px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}
.buy-model-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(15, 23, 42, 0.28); }
.buy-model-card.is-popular { border-top: 4px solid #2563eb; }

.buy-flag {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.buy-model-icon { font-size: 2.6rem; color: #2563eb; margin-bottom: 16px; }
.buy-model-name { font-size: 1.4rem; font-weight: 800; color: #0f172a; }
.buy-model-sub { color: #64748b; font-size: 0.85rem; margin-top: 4px; }
.buy-model-price { font-size: 2rem; font-weight: 800; color: #2563eb; margin: 14px 0 6px; }
.buy-model-desc { color: #475569; font-size: 0.92rem; line-height: 1.7; margin-bottom: 22px; }
.buy-model-card .btn-primary,
.buy-model-card .btn-secondary { margin-top: auto; }

.buy-note { margin-top: 28px; }

.buy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 28px;
    align-items: start;
}
.buy-extra { margin-top: 26px; }

.buy-info { padding: 32px; }
.buy-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    border-radius: 28px;
    background: linear-gradient(145deg, #eef2ff, #ffffff);
    font-size: 3.6rem;
    color: #2563eb;
    margin-bottom: 22px;
}
.buy-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #fff;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}
.buy-name { font-size: 1.7rem; font-weight: 800; color: #0f172a; }
.buy-sub { color: #64748b; font-size: 0.9rem; margin-top: 4px; }
.buy-price { margin: 16px 0 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.buy-price strong { font-size: 2rem; font-weight: 800; color: #2563eb; }
.buy-price span { color: #94a3b8; font-size: 0.82rem; }
.buy-summary { color: #475569; line-height: 1.8; margin-bottom: 20px; }
.buy-spec-title { font-weight: 700; color: #0f172a; margin-bottom: 12px; }
.buy-spec-title i { color: #2563eb; margin-right: 6px; }
.buy-spec { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.buy-spec li { display: flex; gap: 10px; align-items: flex-start; color: #334155; font-size: 0.92rem; }
.buy-spec i { color: #2563eb; margin-top: 4px; }
.buy-delivery {
    background: #f8fafc;
    border-radius: 16px;
    padding: 12px 16px;
    color: #475569;
    font-size: 0.88rem;
    margin-bottom: 20px;
}
.buy-delivery i { color: #2563eb; margin-right: 6px; }

.buy-form-card { padding: 32px; }
.buy-total {
    height: 44px;
    display: flex;
    align-items: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 16px;
    padding: 0 16px;
}
.buy-form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}
.buy-foot-price { color: #64748b; font-size: 0.92rem; }
.buy-foot-price strong { color: #2563eb; font-size: 1.4rem; margin-left: 6px; }
.buy-myorder { text-align: center; margin-top: 24px; color: #64748b; font-size: 0.92rem; }
.buy-myorder a { color: #2563eb; font-weight: 600; text-decoration: none; }

/* 我的订单 */
.order-list { display: grid; gap: 16px; }
.order-card {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 18px 20px;
    background: #fff;
}
.order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e2e8f0;
}
.order-no {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.86rem;
    color: #0f172a;
    font-weight: 600;
    margin-right: 10px;
}
.order-no i { color: #94a3b8; margin-right: 4px; }
.order-time { color: #94a3b8; font-size: 0.82rem; }
.order-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}
.order-item-name { font-weight: 700; color: #0f172a; }
.order-item-sub { color: #94a3b8; font-size: 0.82rem; margin-top: 4px; }
.order-amount { font-size: 1.2rem; font-weight: 800; color: #2563eb; }
.order-meta { display: grid; gap: 8px; font-size: 0.85rem; color: #475569; }
.order-meta > div { display: flex; gap: 10px; }
.order-meta dt { color: #94a3b8; flex: 0 0 60px; }
.order-meta dd { margin: 0; word-break: break-all; }
.order-reply { color: #1d4ed8; }
.order-actions { margin-top: 14px; display: flex; justify-content: flex-end; }

@media (max-width: 900px) {
    .buy-grid { grid-template-columns: 1fr; }
    .buy-info, .buy-form-card { padding: 24px; }
}

/* 次级/幽灵按钮：与 primary、secondary 同一套圆角与节奏，去掉默认链接下划线 */
.btn-ghost {
    display: inline-block;
    background: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 40px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    color: #1e293b;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-ghost:hover { background: #f1f5f9; border-color: #94a3b8; text-decoration: none; }
.btn-ghost:active { transform: translateY(1px); }