/* =============================================
   设计系统 - 全站统一变量
   ============================================= */
:root {
    --bg: #0f172a;
    --panel: #ffffff;
    --panel-soft: #f8fafc;
    --panel-blue: #f0f7ff;
    --text: #0f172a;
    --text-soft: #1e293b;
    --muted: #64748b;
    --line: #e2e8f0;
    --line-soft: #f1f5f9;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-glow: rgba(37, 99, 235, 0.18);
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.14);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    background: #f0f6ff;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; }
p { margin-top: 0; }

.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

/* =============================================
   Header & Nav
   ============================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    transition: box-shadow var(--transition);
}
.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
}

.topbar {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff, #eff6ff);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.16);
    flex-shrink: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.28);
}

.brand-text {
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    white-space: nowrap;
}


.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-link {
    padding: 8px 14px;
    border-radius: 999px;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    transition: background var(--transition), color var(--transition), transform var(--transition);
    white-space: nowrap;
}
.nav-link:hover {
    background: #eff6ff;
    color: var(--primary);
    transform: translateY(-1px);
}
.nav-link.is-active {
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.30);
}

/* =============================================
   Page Layout
   ============================================= */
.page-wrap { padding: 40px 0 80px; }

.hero {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 28px;
    align-items: stretch;
}
.split-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 24px;
    align-items: start;
}
.two-column-panel { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; }
.inventory-layout  { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 24px; }

/* =============================================
   Cards
   ============================================= */
.card, .empty-box {
    background: var(--panel);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card {
    padding: 28px;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.large-card { padding: 36px; }

.highlight-card {
    background: linear-gradient(145deg, #f0f7ff 0%, #ffffff 100%);
    border-color: rgba(191, 219, 254, 0.6);
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(37, 99, 235, 0.14);
    border-color: rgba(147, 197, 253, 0.7);
}

.product-card-inner {
    padding: 22px 22px 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.product-card-footer {
    padding: 0 22px 22px;
    margin-top: auto;
}

/* =============================================
   Hero Section
   ============================================= */
.hero-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.hero-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-badge-sep {
    color: #93c5fd;
    font-weight: 800;
}

.hero-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 16px;
    border: 1px solid rgba(248, 113, 113, 0.25);
    background: linear-gradient(135deg, rgba(254, 242, 242, 0.96), rgba(255, 255, 255, 0.98));
    color: #b91c1c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
    box-shadow: 0 10px 24px rgba(248, 113, 113, 0.08);
}

.hero-notice-dot {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14);
}


.eyebrow {
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 12px;
}

.hero h1, .section-header h1, .auth-card h1, .success-box h1 {
    margin: 8px 0 14px;
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

h2 { margin-top: 0; font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; letter-spacing: -0.01em; }
h3 { margin-top: 0; font-size: 18px; font-weight: 700; }

.hero-text { font-size: 16px; line-height: 1.8; color: var(--muted); margin-bottom: 24px; }

.hero-actions, .action-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-sub-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.hero-sub-actions .text-link {
    font-size: 14px;
}

.hero-sub-sep {
    color: #cbd5e1;
    font-weight: 700;
}


/* =============================================
   Buttons
   ============================================= */
.btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    transition: transform var(--transition), opacity var(--transition), background var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover {
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.38);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary);
    border: 1.5px solid #bfdbfe;
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--panel-soft); color: var(--text); }

.btn-small, .btn-sm { padding: 7px 12px; border-radius: 10px; font-size: 13px; }
.btn-danger-soft { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.btn-danger-soft:hover { background: #fecaca; }

.full { width: 100%; }

/* =============================================
   Card Grid & Product Cards
   ============================================= */
.card-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    margin: 0;
}

.product-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #475569;
    font-size: 13px;
    padding-top: 10px;
    border-top: 1px solid var(--line-soft);
    margin-top: 4px;
}

.meta-item { display: flex; align-items: center; gap: 4px; }

.product-card-divider {
    height: 1px;
    background: var(--line-soft);
    margin: 0;
}

/* =============================================
   Badges
   ============================================= */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-muted   { background: #e2e8f0; color: #475569; }
.badge-primary { background: #dbeafe; color: #1e40af; }
.badge-danger  { background: #fee2e2; color: #991b1b; }

/* =============================================
   Stats & Details
   ============================================= */
.stat-grid { display: grid; gap: 16px; }
.two-col   { grid-template-columns: repeat(2, 1fr); }
.three-col { grid-template-columns: repeat(3, 1fr); margin: 24px 0; }
.four-col  { grid-template-columns: repeat(4, 1fr); margin: 24px 0; }
.compact   { gap: 12px; }

.stat-card {
    padding: 20px 22px;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--shadow-sm);
}

.stat-card strong, .highlight-card strong, .detail-item strong {
    display: block;
    margin-top: 6px;
    font-size: 22px;
    font-weight: 800;
}

.stat-value {
    display: block;
    margin-top: 6px;
    font-size: 24px;
    line-height: 1.15;
    color: var(--text);
}


.detail-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.detail-item {
    padding: 16px;
    border-radius: 16px;
    background: var(--panel-soft);
    border: 1px solid var(--line);
    transition: border-color var(--transition), background var(--transition);
}
.detail-item:hover {
    background: #f0f7ff;
    border-color: #bfdbfe;
}

.stat-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* =============================================
   Section Headers
   ============================================= */
.section-header {
    margin: 32px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.section-header.tight { margin: 0 0 20px; }
.section-header h2, .section-header h1 { margin-bottom: 4px; }
.section-header p { color: var(--muted); font-size: 14px; margin: 0; }

/* =============================================
   Home Trust Section
   ============================================= */
.home-proof {
    display: grid;
    gap: 20px;
}

.trust-card-grid {
    margin-top: 0;
}

.trust-card {
    position: relative;
    padding-top: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-color: rgba(191, 219, 254, 0.48);
}

.trust-card-primary {
    background: linear-gradient(145deg, #eff6ff 0%, #ffffff 100%);
    border-color: rgba(96, 165, 250, 0.5);
}

.trust-card h3 {
    margin-bottom: 8px;
}

.trust-card .status-note {
    margin-bottom: 0;
}

.trust-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 22px;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.42);
}

/* =============================================
   Home Quick Strip
   ============================================= */
.home-quick-strip {
    display: grid;
    gap: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-color: rgba(191, 219, 254, 0.65);
}

.home-quick-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-soft);
}

.home-quick-head h2 {
    margin: 0;
}

.home-quick-head p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.home-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-quick-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.home-quick-item:hover {
    transform: translateY(-2px);
    border-color: rgba(147, 197, 253, 0.9);
    background: linear-gradient(145deg, #ffffff, #f8fbff);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.10);
}

.home-quick-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.4);
    font-size: 22px;
}

.home-quick-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.home-quick-copy strong {
    color: var(--text);
    font-size: 15px;
}

.home-quick-copy span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.home-quick-arrow {
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

/* =============================================
   Home Guide Entry
   ============================================= */

.guide-entry-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 48%, #dbeafe 180%);
    border-color: rgba(96, 165, 250, 0.48);
}

.guide-entry-banner::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.guide-entry-main,
.guide-entry-side {
    position: relative;
    z-index: 1;
}

.guide-entry-banner .eyebrow {
    color: rgba(191, 219, 254, 0.96);
}

.guide-entry-banner h2 {
    margin: 0 0 10px;
    color: #fff;
}

.guide-entry-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.8;
}

.guide-entry-list {
    display: grid;
    gap: 12px;
}

.guide-entry-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
}

.guide-entry-item strong {
    display: block;
    margin: 0 0 4px;
    color: #fff;
}

.guide-entry-item .status-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.guide-entry-index {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

/* =============================================
   Guide Page
   ============================================= */
.guide-hero-card {
    background: linear-gradient(145deg, #eff6ff 0%, #ffffff 100%);
    border-color: rgba(96, 165, 250, 0.42);
}

.guide-sales-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 48%, #dbeafe 140%);
    border-color: rgba(96, 165, 250, 0.5);
}

.guide-sales-hero::after {
    content: "";
    position: absolute;
    inset: -90px -60px auto auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.16), rgba(59, 130, 246, 0));
    pointer-events: none;
}

.guide-sales-hero > * {
    position: relative;
    z-index: 1;
}

.guide-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.guide-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.guide-stat-card {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(191, 219, 254, 0.85);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 40px rgba(148, 163, 184, 0.14);
    backdrop-filter: blur(10px);
}

.guide-stat-card strong {
    font-size: 22px;
    line-height: 1.1;
    color: var(--text);
}

.guide-stat-card span {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}

.guide-side-summary {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.guide-sales-side {
    border-color: rgba(191, 219, 254, 0.78);
    box-shadow: 0 22px 46px rgba(148, 163, 184, 0.16);
}

.guide-side-list,
.guide-query-list,
.guide-support-list {
    display: grid;
    gap: 12px;
}

.guide-side-item,
.guide-query-item,
.guide-support-item,
.guide-note-card,
.guide-step-card,
.guide-promise-card {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    background: #fff;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.guide-side-item strong,
.guide-query-item strong,
.guide-support-item strong,
.guide-note-card h3,
.guide-step-card h3,
.guide-promise-card h3 {
    display: block;
    margin: 0;
}

.guide-side-item .status-note,
.guide-query-item .status-note,
.guide-support-item .status-note,
.guide-note-card .status-note {
    margin-bottom: 0;
}

.guide-checklist {
    border-radius: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(191, 219, 254, 0.75);
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.98));
}

.guide-checklist ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

.guide-checklist li {
    margin-bottom: 7px;
    font-size: 14px;
    color: #334155;
    line-height: 1.72;
}

.guide-sales-strip {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #dbeafe 180%);
    border-color: rgba(96, 165, 250, 0.42);
}

.guide-sales-strip .eyebrow,
.guide-sales-strip h2,
.guide-sales-strip p {
    position: relative;
    z-index: 1;
}

.guide-sales-strip .eyebrow {
    color: rgba(191, 219, 254, 0.95);
}

.guide-sales-strip h2 {
    color: #fff;
}

.guide-sales-strip p {
    color: rgba(255, 255, 255, 0.82);
}

.guide-promise-grid,
.guide-step-grid,
.guide-note-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.guide-promise-grid,
.guide-step-grid {
    margin-top: 20px;
}

.guide-promise-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(191, 219, 254, 0.6);
}

.guide-promise-card::after {
    content: "";
    position: absolute;
    inset: auto -28px -36px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0));
    pointer-events: none;
}

.guide-promise-card > * {
    position: relative;
    z-index: 1;
}

.guide-promise-kicker,
.guide-step-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.guide-promise-card h3 {
    margin-top: 12px;
    color: var(--text);
}

.guide-promise-card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.78;
}

.guide-step-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.guide-step-card h3 {
    margin-top: 14px;
}

.guide-step-card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.guide-step-tip {
    display: block;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(191, 219, 254, 0.9);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
}

.guide-step-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.guide-note-card,
.guide-panel-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.guide-panel-card {
    border-color: rgba(226, 232, 240, 0.92);
}

.guide-support-card {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.guide-final-cta {
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.7), rgba(255, 255, 255, 0.98));
    border-color: rgba(96, 165, 250, 0.36);
}

/* =============================================
   FAQ
   ============================================= */
.faq-section {

    background: linear-gradient(145deg, #f8fbff, #ffffff);
    border-color: rgba(191, 219, 254, 0.65);
}


.faq-header {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-soft);
    align-items: flex-start;
}

.faq-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.faq-header-actions {
    flex-shrink: 0;
    justify-content: flex-end;
}

.faq-list {

    display: grid;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.faq-item:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.10);
    transform: translateY(-1px);
}

.faq-item[open] {
    border-color: #93c5fd;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.12);
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #eff6ff;
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    transition: transform var(--transition), background var(--transition), color var(--transition);
}

.faq-item[open] .faq-toggle {
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

.faq-answer {
    padding: 0 20px 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.faq-answer a {
    font-weight: 700;
}

.faq-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(96, 165, 250, 0.28);
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.72), rgba(255, 255, 255, 0.98));
}

.faq-cta p {
    margin: 0;
}

.faq-cta-actions {
    flex-shrink: 0;
    justify-content: flex-end;
}


/* =============================================
   Forms
   ============================================= */

.form-grid { display: grid; gap: 18px; }
.two-col-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.full-span { grid-column: 1 / -1; }

label span {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-soft);
}

input, textarea, select {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    background: white;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    font-size: 15px;
}

textarea { resize: vertical; }

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

input::placeholder { color: #94a3b8; }

/* =============================================
   Tips Box / Alerts
   ============================================= */
.tips-box, .delivery-box, .flash {
    border-radius: 16px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    background: var(--panel-soft);
}

.tips-box {
    background: linear-gradient(135deg, #f8fbff, #f0f7ff);
    border-color: rgba(191, 219, 254, 0.7);
}

.tips-box ul { margin: 10px 0 0; padding-left: 18px; }
.tips-box li { margin-bottom: 6px; font-size: 14px; color: #334155; line-height: 1.7; }
.tips-box strong { color: var(--text); font-size: 14px; }

.flash-list { display: grid; gap: 10px; margin-bottom: 20px; }
.flash-success { background: linear-gradient(135deg, #ecfdf5, #f0fdf4); color: #166534; border-color: #bbf7d0; }
.flash-error   { background: linear-gradient(135deg, #fef2f2, #fff5f5); color: #991b1b; border-color: #fecaca; }

/* =============================================
   Content / Delivery
   ============================================= */
.delivery-box pre, .delivery-preview, .mono {
    font-family: "Fira Code", Consolas, "Courier New", monospace;
}
.delivery-box pre, .delivery-preview {
    white-space: pre-wrap;
    word-break: break-all;
    background: #0f172a;
    color: #e2e8f0;
    padding: 18px;
    border-radius: 14px;
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.7;
}
.delivery-preview { margin: 0; max-width: 320px; }
.delivery-preview-card { min-width: 280px; max-width: 360px; }
.delivery-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.delivery-preview-card.is-collapsible .delivery-preview {
    max-height: 168px;
    overflow: hidden;
}
.delivery-preview-card.is-expanded .delivery-preview {
    max-height: none;
}
.delivery-toggle-btn {
    border: 0;
    background: none;
    padding: 0;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.delivery-toggle-btn:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.release-progress-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}
.release-progress-bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), #38bdf8);
    transition: width var(--transition);
}
.release-progress-meta {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}
.release-progress-success .release-progress-bar > span {
    background: linear-gradient(90deg, #16a34a, #4ade80);
}
.release-progress-failed .release-progress-bar > span {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}


/* =============================================
   Tables
   ============================================= */
.table-wrap { overflow-x: auto; border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 780px; }
th, td { padding: 14px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: middle; }
th { color: #475569; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; background: #f8fafc; }
tbody tr { transition: background var(--transition); }
tbody tr:hover { background: #f8fbff; }
tbody tr:last-child td { border-bottom: 0; }

.compact-table table { min-width: 100%; }

/* =============================================
   Order List
   ============================================= */
.order-list { display: grid; gap: 14px; }
.order-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

/* =============================================
   Empty States
   ============================================= */
.empty-box {
    padding: 36px 28px;
    color: var(--muted);
    text-align: center;
}
.empty-box strong {
    display: block;
    color: var(--text);
    font-size: 16px;
    margin-bottom: 8px;
}
.empty-box p { margin: 4px 0; font-size: 14px; line-height: 1.7; }
.empty-box.small { padding: 18px; }

/* =============================================
   Auth / Member pages
   ============================================= */
.auth-wrap {
    min-height: calc(100vh - 200px);
    display: grid;
    place-items: center;
    padding: 40px 0;
}
.auth-card { width: min(480px, 100%); }
.auth-card h1 { font-size: 28px; margin-bottom: 6px; }
.auth-subtitle { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

.form-card.wide { max-width: 960px; }
.success-box { max-width: 960px; margin: 0 auto; }

/* =============================================
   Tickets / Support
   ============================================= */
.stats-row { display: grid; gap: 16px; }
.five-col { grid-template-columns: repeat(5, 1fr); margin: 24px 0; }
.section-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mono-text { font-family: "Fira Code", Consolas, "Courier New", monospace; }
.ticket-status-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(191, 219, 254, 0.8);
    background: linear-gradient(145deg, #eff6ff, #ffffff);
}
.ticket-status-meta {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    text-align: right;
}
.ticket-thread { display: grid; gap: 14px; }
.ticket-message {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.ticket-message.is-admin {
    border-color: #bfdbfe;
    background: linear-gradient(145deg, #eff6ff, #ffffff);
}
.ticket-message.is-user {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
}
.ticket-message-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
}
.ticket-message-head strong {
    color: var(--text);
    font-size: 14px;
}
.ticket-message-body {
    color: var(--text);
    line-height: 1.9;
    word-break: break-word;
}
.ticket-side-card {
    position: sticky;
    top: 96px;
}

/* =============================================
   Utility Classes
   ============================================= */
.wrap { flex-wrap: wrap; }
.right-align { text-align: right; }
.text-center { text-align: center; }
.checkbox-row { display: flex; align-items: center; gap: 8px; justify-content: flex-start; }
.checkbox-row input { width: auto; flex-shrink: 0; }
.compact-detail-grid { margin-top: 20px; }
.top-gap { margin-top: 22px; }
.top-gap-sm { margin-top: 10px; }
.top-gap-lg { margin-top: 36px; }
.narrow-wrap { min-height: auto; }
.wider-card { width: min(560px, 100%); }
.inline-alert { margin-top: 16px; }
.security-banner { margin-bottom: 24px; }
.text-link { color: var(--primary); font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-button {
    border: 0;
    background: none;
    padding: 0;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
}
.link-button:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.muted { color: var(--muted); }
.description { color: var(--muted); line-height: 1.8; }
.hero-text, .muted, .section-header p, .description, .order-item p, .stat-label { color: var(--muted); }

/* =============================================
   Toolbar & Admin Forms
   ============================================= */
.toolbar-form { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.toolbar-field { min-width: 220px; }
.grow-field { flex: 1; }
.toolbar-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.checkbox-cell { width: 72px; }
.table-checkbox { width: 18px; height: 18px; }
.muted-note { color: var(--muted); font-size: 13px; }
.status-note { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.6; }

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.page-summary {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}
.pagination-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 9px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.page-link:hover {
    border-color: #93c5fd;
    background: #eff6ff;
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37,99,235,0.12);
}
.page-link.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 10px 22px rgba(37,99,235,0.22);
}
.page-link.is-disabled {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}
.inline-page-jump {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.inline-page-jump label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}
.inline-page-jump input {
    width: 96px;
}


/* =============================================
   File Upload
   ============================================= */
.file-upload-box {
    padding: 20px;
    border: 2px dashed #bfdbfe;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff, #fff);
    transition: border-color var(--transition), background var(--transition);
}
.file-upload-box:hover { border-color: #93c5fd; background: #f0f7ff; }
.file-upload-box input[type="file"] { margin-top: 8px; padding: 10px 12px; }

.inventory-import-note {
    display: grid; gap: 8px; padding: 16px 18px;
    border-radius: 16px; border: 1px solid var(--line);
    background: #f8fafc; color: var(--muted); font-size: 13px; line-height: 1.7;
}
.inventory-import-note strong { color: var(--text); font-size: 14px; }

/* =============================================
   Rich Text Editor
   ============================================= */
.editor-shell { display: grid; gap: 12px; }
.editor-toolbar, .editor-mode-row, .rich-editor-stage { display: none; }
.editor-shell.is-ready .editor-toolbar { display: flex; gap: 8px; flex-wrap: wrap; }
.editor-shell.is-ready .editor-mode-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.editor-shell.is-ready .rich-editor-stage { display: block; }
.editor-shell.is-ready textarea { display: none; }
.editor-shell.is-ready.is-source-mode textarea { display: block; }
.editor-shell.is-ready.is-source-mode .rich-editor-stage { display: none; }
.editor-tool-btn {
    appearance: none; border: 1px solid #cbd5e1; background: #fff; color: #334155;
    border-radius: 10px; padding: 8px 12px; font-weight: 700; cursor: pointer;
    transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.editor-tool-btn:hover { transform: translateY(-1px); border-color: #93c5fd; background: #eff6ff; color: var(--primary); }
.rich-editor-input {
    min-height: 360px; padding: 16px 18px; border: 1.5px solid var(--line);
    border-radius: 16px; background: #fff; box-shadow: inset 0 1px 4px rgba(15,23,42,0.04);
}
.rich-editor-input:focus { outline: none; border-color: #93c5fd; box-shadow: 0 0 0 4px rgba(37,99,235,0.08); }
.rich-editor-input:empty::before { content: attr(data-placeholder); color: #94a3b8; }

/* =============================================
   Timeline
   ============================================= */
.timeline-list { display: grid; gap: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.timeline-item { display: flex; align-items: flex-start; gap: 10px; }

/* =============================================
   QR / Pay
   ============================================= */
.qr-help-layout {
    display: grid; grid-template-columns: minmax(200px, 240px) 1fr; gap: 24px; align-items: center;
}
.qr-box {
    min-height: 220px; display: grid; place-items: center;
    border-radius: 20px; background: var(--panel-soft);
    border: 2px dashed #bfdbfe; padding: 18px;
    transition: border-color var(--transition);
}
.qr-box:hover { border-color: #93c5fd; }
.qr-box img, .qr-box canvas {
    display: block; width: 200px; height: 200px; max-width: 100%;
    background: #fff; padding: 8px; border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15,23,42,0.10);
}
.qr-tip-list { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.9; font-size: 14px; }
.qr-empty { color: var(--muted); text-align: center; line-height: 1.7; }

/* =============================================
   Content / Notice
   ============================================= */
.notice-box { background: linear-gradient(145deg, #eff6ff, #ffffff); border-color: rgba(191,219,254,0.6); }
.notice-box-success { border-color: #bbf7d0; background: linear-gradient(145deg, #ecfdf5, #ffffff); }
.notice-box-success, .notice-box-success .muted, .notice-box-success .status-note { color: #166534; }
.notice-box-warning { border-color: #fde68a; background: linear-gradient(145deg, #fffbeb, #ffffff); }
.notice-box-warning, .notice-box-warning .muted, .notice-box-warning .status-note { color: #92400e; }
.notice-box-danger { border-color: #fecaca; background: linear-gradient(145deg, #fef2f2, #ffffff); }
.notice-box-danger, .notice-box-danger .muted, .notice-box-danger .status-note { color: #991b1b; }
.notice-board { background: linear-gradient(145deg, #eff6ff, #ffffff); border-color: rgba(191,219,254,0.6); }


.content-stack { display: grid; gap: 0; }
.compact-stack { gap: 10px; }
.content-list-item {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-soft);
}
.content-list-item:last-child { border-bottom: 0; padding-bottom: 0; }
.content-list-side { min-width: 130px; }

/* =============================================
   Articles
   ============================================= */
.article-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.article-card { display: flex; flex-direction: column; gap: 10px; }
.article-card h2, .article-card h3 { margin-bottom: 0; }
.article-excerpt { color: var(--muted); line-height: 1.8; font-size: 14px; }
.article-detail-card { max-width: 960px; margin: 0 auto; }
.article-body { color: #1e293b; line-height: 1.9; font-size: 15px; white-space: normal; word-break: break-word; }
.article-body > :first-child { margin-top: 0; }
.article-body > :last-child { margin-bottom: 0; }
.article-body p, .article-body ul, .article-body ol, .article-body blockquote,
.article-body pre, .article-body table, .article-body h2, .article-body h3,
.article-body h4, .article-body h5, .article-body h6 { margin-bottom: 16px; }
.article-body h1, .article-body h2, .article-body h3,
.article-body h4, .article-body h5, .article-body h6 { line-height: 1.35; color: #0f172a; }
.article-body h1 { font-size: 32px; } .article-body h2 { font-size: 26px; }
.article-body h3 { font-size: 20px; } .article-body h4 { font-size: 17px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li + li { margin-top: 6px; }
.article-body a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { margin-left: 0; padding: 14px 18px; border-left: 4px solid #93c5fd; background: #eff6ff; border-radius: 12px; color: #1e3a8a; }
.article-body pre, .article-body code { font-family: "Fira Code", Consolas, "Courier New", monospace; }
.article-body pre { overflow-x: auto; padding: 16px; border-radius: 14px; background: #0f172a; color: #e2e8f0; }
.article-body code { padding: 2px 6px; border-radius: 6px; background: #e2e8f0; color: #0f172a; }
.article-body pre code { padding: 0; background: transparent; color: inherit; }
.article-body img { display: block; max-width: 100%; height: auto; border-radius: 16px; margin: 20px auto; box-shadow: var(--shadow-md); }
.article-body table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.article-body th, .article-body td { padding: 11px 14px; border: 1px solid var(--line); }
.article-body th { background: #eff6ff; color: #1e3a8a; }
.rich-content hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

/* =============================================
   Domain Registration
   ============================================= */
.domain-check-gate {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(191, 219, 254, 0.72);
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    box-shadow: var(--shadow-sm);
}

.domain-check-gate.is-pending {
    border-color: rgba(251, 191, 36, 0.48);
    background: linear-gradient(135deg, #fffbeb, #ffffff);
}

.domain-check-gate.is-verified {
    border-color: rgba(74, 222, 128, 0.56);
    background: linear-gradient(135deg, #ecfdf5, #ffffff);
}

.domain-check-gate-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 900;
    color: #92400e;
    background: rgba(245, 158, 11, 0.14);
}

.domain-check-gate.is-verified .domain-check-gate-icon {
    color: #166534;
    background: rgba(34, 197, 94, 0.14);
}

.domain-check-gate-copy {
    display: grid;
    gap: 6px;
}

.domain-check-gate-copy strong {
    display: block;
    margin: 0;
    font-size: 15px;
    color: var(--text);
}

.domain-check-gate-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.domain-price-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.domain-price-summary-item {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(191, 219, 254, 0.7);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.domain-price-summary-item span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.domain-price-summary-item strong {
    display: block;
    margin-top: 6px;
    font-size: 20px;
    line-height: 1.15;
    color: var(--text);
}

.domain-price-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.domain-price-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(191, 219, 254, 0.88);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--shadow-sm);
}

.domain-price-chip-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.domain-price-chip-name {
    display: block;
    max-width: 100%;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
    word-break: break-word;
}

.domain-price-chip strong {
    display: block;
    margin: 0;
    font-size: 16px;
    color: var(--primary);
}

.domain-check-result {
    display: grid;
    gap: 12px;
}

.domain-check-summary {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.domain-step-grid {
    margin-top: 0;
}

.member-zone-nav {
    margin-top: 12px;
}


/* =============================================
   Category Chips
   ============================================= */
.product-section-head {
    align-items: flex-end;
}


.product-section-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }

.category-nav { margin-top: 0; margin-bottom: 20px; }
.category-section + .category-section { margin-top: 28px; }
.category-card-grid { margin-top: 0; }
.chip-link {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
    border-radius: 999px; background: white; border: 1.5px solid var(--line);
    color: #475569; font-weight: 600; font-size: 14px;
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.chip-link:hover {
    background: #eff6ff; border-color: #bfdbfe; color: var(--primary);
    transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.12);
}
.chip-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
    background: #e2e8f0; color: #475569; font-size: 12px; font-weight: 700;
}
.chip-link-active { background: #eff6ff; border-color: #93c5fd; color: var(--primary); }
.chip-link-active .chip-count { background: #dbeafe; color: var(--primary); }

/* =============================================
   Delivery Box
   ============================================= */
.delivery-box-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.delivery-box-highlight {
    border-color: #86efac;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12), var(--shadow);
    animation: delivery-glow 1.8s ease-in-out 2;
}
.delivery-box-highlight h2 { color: #166534; }

/* =============================================
   Toast
   ============================================= */
.floating-toast {
    position: fixed; right: 24px; bottom: 24px; z-index: 200;
    max-width: min(380px, calc(100% - 32px)); padding: 14px 18px;
    border-radius: 16px; color: #fff; background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.24);
    opacity: 0; transform: translateY(16px); pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
    font-size: 14px; font-weight: 600; line-height: 1.5;
}
.floating-toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-toast.success { background: linear-gradient(135deg, #16a34a, #15803d); }
.floating-toast.info    { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.floating-toast.warning { background: linear-gradient(135deg, #d97706, #b45309); }
.floating-toast.error   { background: linear-gradient(135deg, #dc2626, #b91c1c); }


/* =============================================
   Captcha
   ============================================= */
.captcha-row { display: flex; gap: 12px; align-items: center; flex-wrap: nowrap; }
.captcha-input { flex: 1; min-width: 80px; }
.captcha-img {
    height: 46px; width: 130px;
    border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer;
    flex-shrink: 0; display: block; background: #f1f5f9; user-select: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.captcha-img:hover { border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(37,99,235,0.10); }

/* =============================================
   VIP Price
   ============================================= */
.muted-price { color: #94a3b8; font-size: 0.85em; font-weight: 400; text-decoration: line-through; margin-left: 6px; }

/* =============================================
   Hero — 首页专属
   ============================================= */
.hero-left { display: flex; flex-direction: column; justify-content: center; gap: 0; }

.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}
.trust-icon { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }

.hero-right { display: flex; align-items: center; justify-content: flex-end; }

.hero-side-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.4;
    color: #fff;
}

.hero-side-text {
    margin: 12px 0 0;
    color: rgba(255,255,255,0.80);
    font-size: 14px;
    line-height: 1.8;
}

.hero-stats-card {

    background: linear-gradient(145deg, #1e3a8a, #1d4ed8);
    border-radius: 28px;
    padding: 32px;
    color: white;
    width: 100%;
    box-shadow: 0 32px 80px rgba(37, 99, 235, 0.38);
    position: relative;
    overflow: hidden;
}
.hero-stats-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.hero-stat-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px 16px;
}
.hero-stat-item { text-align: center; flex: 1; }
.hero-stat-number { font-size: 36px; font-weight: 900; line-height: 1; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 4px; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.18); flex-shrink: 0; }

.hero-payment-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.payment-badge {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.22);
    font-size: 13px;
    font-weight: 700;
    color: white;
}

.hero-guide {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 18px;
}
.guide-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}
.step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
}

/* 商品分类标题 */
.category-label {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}
.category-label h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: var(--text);
}

/* =============================================
   Purchase Card (product.php right column)
   ============================================= */
.purchase-card { position: sticky; top: 88px; }

/* =============================================
   Product Detail Page
   ============================================= */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: #cbd5e1; }
.breadcrumb-current { color: var(--text); font-weight: 600; }

.product-detail-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 24px;
    align-items: start;
}

.product-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line-soft);
}

.product-price-block { text-align: right; flex-shrink: 0; }
.price-main { font-size: 38px; font-weight: 900; color: var(--primary); line-height: 1; letter-spacing: -0.03em; }
.price-sub { margin-top: 6px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

.product-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.spec-item {
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--panel-soft);
    border: 1px solid var(--line);
    transition: border-color var(--transition), background var(--transition);
}
.spec-item:hover { background: #f0f7ff; border-color: #bfdbfe; }
.spec-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 4px; }
.spec-value { font-size: 14px; font-weight: 700; color: var(--text); }

.product-guide-callout {
    margin-bottom: 20px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(96, 165, 250, 0.28);
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.75), rgba(255, 255, 255, 0.98));
}

.product-guide-callout h3 {
    margin: 12px 0 8px;
    font-size: 18px;
}

.product-guide-callout p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.product-guide-callout .action-row {
    gap: 12px;
}

/* =============================================
   Admin Shell
   ============================================= */
.admin-shell-bar { padding-top: 20px; }

.admin-shell {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.7fr);
    gap: 18px; align-items: center;
    padding: 20px 24px; border-radius: 24px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94));
    color: #e2e8f0; box-shadow: 0 24px 54px rgba(15, 23, 42, 0.18);
}
.admin-shell .eyebrow, .admin-shell .muted-note { color: rgba(226, 232, 240, 0.75); }
.admin-shell-copy strong { display: block; font-size: 17px; line-height: 1.5; }

.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.admin-tab {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 14px; min-height: 40px; border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.08); color: #e2e8f0; font-weight: 700; font-size: 13px;
    transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.admin-tab:hover { transform: translateY(-1px); background: rgba(255,255,255,0.14); border-color: rgba(191,219,254,0.42); }
.admin-tab.is-active { background: linear-gradient(135deg, #60a5fa, #2563eb); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(37,99,235,0.26); }

.admin-page { background: linear-gradient(180deg, #eaf1ff 0%, #f4f8ff 260px, #f8fafc 100%); }
.admin-page-wrap { padding-top: 24px; }
.admin-page .admin-header {
    margin-top: 0; padding: 28px 30px; border-radius: 24px;
    background: linear-gradient(145deg, #ffffff, #eef4ff);
    border: 1px solid rgba(191, 219, 254, 0.9);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.08);
}
.admin-page .card { border-radius: 20px; box-shadow: 0 10px 30px rgba(15,23,42,0.06); }
.admin-page .stat-card, .admin-page .detail-item { background: linear-gradient(180deg, #ffffff, #f8fbff); }
.admin-page .table-wrap { border: 1px solid rgba(226,232,240,0.9); border-radius: 18px; background: #fff; overflow: hidden; }
.admin-page table { min-width: 860px; }
.admin-page thead th { position: sticky; top: 0; z-index: 1; background: #f8fafc; font-weight: 800; }
.admin-page tbody tr:hover { background: #f8fbff; }
.admin-page .toolbar-form, .admin-page .form-grid { gap: 18px; }
.admin-page .inline-form-tight { min-width: auto; }
.admin-actions-compact { align-items: flex-start; }

.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.inline-form { min-width: 160px; display: grid; gap: 10px; }

/* =============================================
   Footer
   ============================================= */
.site-footer {
    margin-top: 60px;
    padding: 40px 0 30px;
    background: #0f172a;
    color: rgba(226, 232, 240, 0.7);
    font-size: 14px;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.24);
    flex-shrink: 0;
}

.footer-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.28);
}

.footer-brand {
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(226,232,240,0.6); font-weight: 600; transition: color var(--transition); }
.footer-links a:hover { color: #60a5fa; }
.footer-copy { font-size: 12px; margin-top: 20px; text-align: center; color: rgba(226,232,240,0.4); }

/* =============================================
   Animations
   ============================================= */
@keyframes delivery-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.06), var(--shadow); }
    50%       { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.16), var(--shadow); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.4s ease forwards; }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 980px) {
    .hero, .split-layout, .two-column-panel, .inventory-layout,
    .two-col-form, .three-col, .four-col, .five-col, .qr-help-layout, .admin-shell,
    .product-detail-layout, .guide-entry-banner {
        grid-template-columns: 1fr;
    }


    .topbar { min-height: 60px; }
    .brand-mark { width: 44px; height: 44px; border-radius: 14px; }
    .brand-text { font-size: 20px; }

    .hero-actions, .action-row, .section-header,
    .order-item, .panel-head, .delivery-box-head, .panel-actions, .content-list-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .pagination-bar, .pagination-wrap, .inline-page-jump {
        align-items: flex-start;
        justify-content: flex-start;
    }
    .product-top { flex-direction: row; } /* 商品卡片保持横排 */
    .meta-row { flex-direction: row; align-items: center; }
    .nav, .admin-tabs { justify-content: flex-start; }
    .right-align { text-align: left; }
    .admin-shell { padding: 18px; }

    .admin-page .admin-header { padding: 22px; }
    .purchase-card { position: static; }
    .ticket-side-card { position: static; }
    .ticket-status-card { flex-direction: column; }
    .ticket-status-meta { text-align: left; }
    .detail-grid { grid-template-columns: 1fr 1fr; }
    .product-spec-grid { grid-template-columns: 1fr 1fr; }
    .faq-cta, .faq-cta-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .faq-header-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .home-quick-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .home-quick-grid {
        grid-template-columns: 1fr;
    }
    .product-section-badges {
        justify-content: flex-start;
    }

    .guide-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .guide-sales-strip .section-header {
        gap: 18px;
    }

    .large-card { padding: 24px; }

    .card { padding: 20px; }
    .footer-inner { flex-direction: column; gap: 16px; }
    .hero-stats-card { padding: 24px; }
    .hero-stat-number { font-size: 28px; }
    .product-info-header { flex-direction: column; gap: 12px; }
    .product-price-block { text-align: left; }
    .price-sub { justify-content: flex-start; }
    .price-main { font-size: 30px; }
}

@media (max-width: 600px) {
    .nav { gap: 2px; }
    .nav-link { padding: 7px 11px; font-size: 13px; }
    .page-wrap { padding: 24px 0 60px; }
    .hero h1 { font-size: 24px; }
    .chip-row { gap: 6px; }
    .chip-link { padding: 7px 13px; font-size: 13px; }
    .card-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; gap: 10px; }
    .product-spec-grid { grid-template-columns: 1fr; }
    .guide-stat-grid,
    .guide-promise-grid,
    .guide-step-grid,
    .guide-note-grid {
        grid-template-columns: 1fr;
    }
    .guide-sales-hero::after {
        width: 180px;
        height: 180px;
        inset: -50px -30px auto auto;
    }
    .site-footer { padding: 30px 0 20px; }
    .hero-trust { gap: 14px; }
    .hero-stat-list { padding: 14px 10px; }
    .hero-stat-number { font-size: 24px; }
    .domain-check-gate {
        flex-direction: column;
    }
    .domain-check-gate-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }
    .domain-price-summary,
    .domain-price-list {
        grid-template-columns: 1fr;
    }
}

