 :root {
    --blue: #0052d9;
    --blue-dark: #003cab;
    --blue-light: #e8f2ff;
    --blue-bg: #f5f8ff;
    --purple: #6c5ce7;
    --purple-light: #f3f0ff;
    --orange: #f56c2d;
    --orange-light: #fff6f0;
    --green: #00a870;
    --green-light: #e8f8f2;
    --text: #1d2129;
    --text-secondary: #4e5969;
    --text-light: #86909c;
    --border: #e5e6eb;
    --border-light: #f2f3f5;
    --bg-page: #f7f8fa;
    --bg-card: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.04);
    --shadow: 0 2px 12px rgba(0,0,0,.06);
    --shadow-hover: 0 8px 30px rgba(0,0,0,.1);
    --radius: 10px;
    --radius-lg: 16px;
    --max-width: 1200px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Helvetica Neue", sans-serif;
    color: var(--text);
    background: var(--bg-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-size: 14px;
  }

  /* ═══════ HERO ═══════ */
  .hero {
    position: relative;
    text-align: center;
    padding: 72px 24px 80px;
    overflow: hidden;
    background: linear-gradient(160deg, #0a1a3a 0%, #0d2b6e 30%, #0052d9 60%, #1e6fff 100%);
  }
  .hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(30,111,255,.15), transparent),
                radial-gradient(circle 400px at 20% 80%, rgba(108,92,231,.08), transparent),
                radial-gradient(circle 400px at 80% 80%, rgba(0,210,255,.06), transparent);
    pointer-events: none;
  }
  .hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px;
    background: linear-gradient(to top, var(--bg-page), transparent);
    pointer-events: none;
  }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 100px;
    padding: 6px 20px;
    font-size: 12px; letter-spacing: 1px;
    color: rgba(255,255,255,.9);
    margin-bottom: 28px; position: relative; z-index: 1;
  }
  .hero-badge .dot {
    width: 6px; height: 6px; background: #34d399; border-radius: 50%;
    animation: dotBeat 1.5s infinite;
  }
  @keyframes dotBeat {
    0%, 100% { opacity: 1; } 50% { opacity: .4; }
  }

  .hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.25;
    position: relative; z-index: 1;
    max-width: 700px; margin: 0 auto;
    color: #fff;
  }
  .hero h1 .highlight {
    color: #66d9ff;
  }
  .hero-sub {
    font-size: 15px; color: rgba(255,255,255,.65); margin-top: 14px;
    position: relative; z-index: 1; max-width: 560px; margin-inline: auto;
  }

  .hero-stats {
    display: flex; gap: 48px; justify-content: center; flex-wrap: wrap;
    margin-top: 40px; position: relative; z-index: 1;
  }
  .hero-stat {
    text-align: center; min-width: 100px; transition: transform .25s;
  }
  .hero-stat:hover { transform: translateY(-2px); }
  .hero-stat .num {
    font-size: 28px; font-weight: 700; color: #fff;
  }
  .hero-stat .lbl { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }

  /* ═══════ NAV ═══════ */
  .nav-sticky {
    position: sticky; top: 0; z-index: 200;
    padding: 16px 24px;
  }
  .nav-inner {
    max-width: var(--max-width); margin: 0 auto;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
  }
  .nav-links {
    display: flex;
    gap: 4px;
  }
  .nav-link {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    padding: 11px 18px; font-size: 14px; font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none; white-space: nowrap;
    border-radius: 10px;
    transition: all .25s;
    letter-spacing: .2px;
    background: transparent;
  }
  .nav-link:hover { color: var(--text); background: rgba(0,0,0,.03); }
  .nav-link.active {
    color: #fff; font-weight: 600;
    background: linear-gradient(135deg, var(--blue), #1e6fff);
    box-shadow: 0 4px 16px rgba(0,82,217,.3);
  }

  /* ═══════ CONTAINER ═══════ */
  .container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

  /* ═══════ SECTION ═══════ */
  .section { padding: 56px 0 0; }

  .section-header {
    text-align: center; margin-bottom: 36px;
  }
  .section-header .label {
    display: inline-block; font-size: 12px; font-weight: 600;
    color: var(--blue); background: var(--blue-light);
    padding: 4px 14px; border-radius: 100px;
    margin-bottom: 14px; letter-spacing: .3px;
  }
  .section-header h2 {
    font-size: 30px; font-weight: 700; color: var(--text);
    letter-spacing: -.5px; line-height: 1.3;
  }
  .section-header h2 span { color: var(--blue); }
  .section-header .desc {
    font-size: 14px; color: var(--text-secondary); margin-top: 10px;
    max-width: 480px; margin-inline: auto;
  }

  /* ═══════ OVERVIEW ═══════ */
  .overview-section { padding: 44px 0 0; }
  .overview-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 40px;
    display: flex; gap: 28px; align-items: flex-start;
    flex-wrap: wrap;
  }
  .overview-icon {
    width: 60px; height: 60px; border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), #1e6fff);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; flex-shrink: 0; color: #fff;
    box-shadow: 0 8px 24px rgba(0,82,217,.2);
  }
  .overview-text { flex: 1; min-width: 260px; }
  .overview-text h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
  .overview-text p { color: var(--text-secondary); font-size: 14px; line-height: 1.9; }
  .overview-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
  .ov-tag {
    font-size: 12px; font-weight: 500; padding: 5px 14px;
    border-radius: 6px;
  }
  .ov-tag-cnnic { background: var(--blue-light); color: var(--blue); }
  .ov-tag-platform { background: var(--purple-light); color: var(--purple); }
  .ov-tag-deadline { background: var(--orange-light); color: var(--orange); }

  /* ═══════ ACTIVITY CARD ═══════ */
  .activity-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 36px;
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
  }
  .activity-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

  .activity-card-inner {
    display: flex; flex-wrap: wrap;
  }
  /* left accent bar */
  .activity-sidebar {
    width: 56px; flex-shrink: 0;
    display: flex; flex-direction: column; align-items: center;
    padding-top: 36px; gap: 8px;
  }
  .activity-number {
    width: 40px; height: 40px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700; color: #fff;
  }
  .act1 .activity-number { background: var(--orange); }
  .act2 .activity-number { background: var(--purple); }
  .act3 .activity-number { background: var(--blue); }
  .act4 .activity-number { background: var(--green); }

  .activity-body { flex: 1; min-width: 0; padding: 36px 36px 36px 36px; }

  .activity-body h3 {
    font-size: 22px; font-weight: 700; margin-bottom: 8px; color: var(--text);
  }
  .activity-body .meta {
    font-size: 14px; color: var(--text-light); margin-bottom: 18px;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  }
  .meta-badge {
    font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 6px;
  }
  .meta-badge.new { background: #e8f8f2; color: var(--green); }
  .meta-badge.hot { background: #ffece8; color: #e84a2d; }
  .meta-badge.all { background: var(--blue-light); color: var(--blue); }

  .activity-desc {
    color: var(--text-secondary); font-size: 14px; line-height: 1.9; margin-bottom: 22px;
  }

  .activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px; margin-bottom: 22px;
  }
  .grid-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px; border-radius: var(--radius);
    border: 1px solid var(--border-light);
    background: #fafbfc;
    transition: all .25s;
    position: relative; overflow: hidden;
  }
  .grid-item::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    opacity: 0; transition: opacity .25s;
  }
  .act4 .grid-item::before { background: linear-gradient(90deg, var(--green), #34d399); }
  .grid-item:hover::before { opacity: 1; }
  .grid-item:hover {
    border-color: #c5cdd8;
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    background: #fff;
    transform: translateY(-3px);
  }
  .grid-item-icon {
    width: 40px; height: 40px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
  }
  .act1 .grid-item-icon { background: var(--orange-light); }
  .act2 .grid-item-icon { background: var(--purple-light); }
  .act3 .grid-item-icon { background: var(--blue-light); }
  .act4 .grid-item-icon { background: var(--green-light); }

  .grid-item-text h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
  .grid-item-text p { font-size: 12px; color: var(--text-light); line-height: 1.6; }

  /* ── 活动二产品卡片（高版） ── */
  .product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-bottom: 24px;
  }
  .product-card {
    padding: 28px 24px; border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all .3s;
    position: relative; overflow: hidden;
  }
  .product-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    opacity: 0; transition: opacity .3s;
  }
  .act2 .product-card::before { background: linear-gradient(90deg, var(--purple), #a78bfa); }
  .act3 .product-card::before { background: linear-gradient(90deg, var(--blue), #1e6fff); }
  .product-card:hover {
    border-color: #c5cdd8;
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
    transform: translateY(-4px);
  }
  .product-card:hover::before { opacity: 1; }
  .product-card .pc-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 16px;
    background: var(--blue-light);
  }
  .product-card .pc-name {
    font-size: 17px; font-weight: 700; color: var(--text);
    margin-bottom: 6px;
  }
  .product-card .pc-price {
    font-size: 14px; color: var(--blue); font-weight: 700;
    margin-bottom: 16px;
  }
  .product-card .pc-features {
    list-style: none; padding: 0; margin: 0;
    border-top: 1px solid var(--border-light); padding-top: 14px;
  }
  .product-card .pc-features li {
    font-size: 14px; color: var(--text-secondary);
    line-height: 2.2; padding-left: 16px; position: relative;
  }
  .product-card .pc-features li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--blue); font-size: 11px; font-weight: 700;
  }
  @media (max-width: 768px) {
    .product-cards { grid-template-columns: 1fr; }
  }

  /* ── 步骤流程 ── */
  .step-flow {
    display: flex; align-items: flex-start; gap: 24px;
  }
  .step-item {
    flex: 1; text-align: center;
    padding: 24px 20px; border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: #fafbfc;
  }
  .step-label {
    font-size: 11px; font-weight: 600; color: var(--blue);
    background: var(--blue-light); display: inline-block;
    padding: 3px 12px; border-radius: 100px;
    margin-bottom: 8px; letter-spacing: .5px;
  }
  .step-title {
    font-size: 15px; font-weight: 700; color: var(--text);
    margin-bottom: 16px;
  }
  .step-arrow {
    display: flex; align-items: center;
    font-size: 28px; color: var(--text-light);
    padding-top: 48px; flex-shrink: 0;
  }
  .step-btns {
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  }
  @media (max-width: 768px) {
    .step-flow { flex-direction: column; align-items: stretch; }
    .step-arrow { padding-top: 0; justify-content: center; transform: rotate(90deg); }
  }

  .activity-cta-row {
    display: flex; gap: 12px; flex-wrap: wrap;
  }
  .btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 24px; border-radius: var(--radius);
    font-size: 14px; font-weight: 600;
    text-decoration: none; cursor: pointer;
    transition: all .25s; border: none;
    white-space: nowrap; letter-spacing: .2px;
  }
  .btn-primary { color: #fff; }
  .btn-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.12); }

  .act1 .btn-primary { background: var(--orange); }
  .act2 .btn-primary { background: var(--purple); }
  .act2 .btn-primary:hover { background: #5b4cdb; }
  .act3 .btn-primary { background: var(--blue); }
  .act3 .step-label { color: var(--blue); background: var(--blue-light); }
  .act4 .btn-primary { background: var(--green); }
  .act4 .activity-grid { grid-template-columns: repeat(3, 1fr); }

  .btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
  }
  .btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

  .activity-divider {
    margin: 0 0 20px -56px; height: 1px; background: var(--border-light);
    width: calc(100% + 56px);
  }

  .info-box {
    background: var(--blue-bg); border: 1px solid #d4e4ff;
    border-radius: var(--radius); padding: 16px 20px;
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; color: var(--blue-dark);
    margin-bottom: 18px; line-height: 1.8;
  }
  .info-box .info-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
  .info-box strong { color: var(--blue-dark); }

  /* labels for new/old user */
  .label-row {
    display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  }
  .label-tag {
    font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 6px;
    letter-spacing: .2px;
  }
  .label-new { background: var(--blue-light); color: var(--blue); }
  .label-old { background: var(--orange-light); color: var(--orange); }

  /* ── 权益左右并列 ── */
  .benefits-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; margin-bottom: 18px;
  }
  .benefits-col {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all .3s ease;
    position: relative; overflow: hidden;
  }
  .benefits-col::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    opacity: 0; transition: opacity .3s;
  }
  .act1 .benefits-col::before { background: linear-gradient(90deg, var(--orange), #ff9a56); }
  .benefits-col:hover::before { opacity: 1; }
  .benefits-col:hover {
    border-color: #c5cdd8;
    box-shadow: 0 6px 24px rgba(0,0,0,.1);
    transform: translateY(-3px);
  }
  .benefits-col h4 {
    font-size: 15px; font-weight: 700; margin-bottom: 14px;
    display: flex; align-items: center; gap: 8px;
    color: var(--text);
  }
  .benefits-col h4 .dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  }
  .benefits-col .dot.new-dot { background: var(--blue); }
  .benefits-col .dot.old-dot { background: var(--orange); }
  .benefits-col ul {
    list-style: none; padding: 0; margin: 0;
  }
  .benefits-col ul li {
    position: relative; padding-left: 18px; margin-bottom: 8px;
    font-size: 14px; color: var(--text-secondary); line-height: 1.7;
  }
  .benefits-col ul li::before {
    content: '✓'; position: absolute; left: 0; top: 0;
    font-size: 12px; font-weight: 700; color: var(--green);
  }

  /* ═══════ RULES ═══════ */
  .rules-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 36px 40px;
    margin: 36px 0 0;
  }
  .rules-section h4 {
    font-size: 18px; font-weight: 700; margin-bottom: 20px;
    color: var(--text); display: flex; align-items: center; gap: 8px;
  }
  .rules-section ul { list-style: none; }
  .rules-section li {
    font-size: 14px; color: var(--text-secondary); line-height: 2.2;
    padding-left: 20px; position: relative;
  }
  .rules-section li::before {
    content: ''; position: absolute; left: 0; top: 13px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--blue);
  }

  /* ═══════ BOTTOM CTA ═══════ */
  .cta-section {
    background: linear-gradient(135deg, #0a1a3a, #0d2b6e, #0052d9, #1e6fff);
    color: #fff;
    text-align: center;
    padding: 64px 24px;
    border-radius: var(--radius-lg);
    margin: 48px 0 48px;
    position: relative; overflow: hidden;
  }
  .cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(30,111,255,.15), transparent);
    pointer-events: none;
  }
  .cta-section h2 { font-size: 28px; font-weight: 700; color: #fff; position: relative; z-index: 1; }
  .cta-section p { color: rgba(255,255,255,.65); font-size: 15px; margin-top: 10px; max-width: 480px; margin-inline: auto; position: relative; z-index: 1; }
  .cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--blue); padding: 16px 40px;
    border-radius: var(--radius); font-size: 16px; font-weight: 700;
    text-decoration: none; margin-top: 28px;
    transition: all .25s; position: relative; z-index: 1;
  }
  .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
  .cta-btn-arrow { font-size: 18px; transition: transform .2s; }
  .cta-btn:hover .cta-btn-arrow { transform: translateX(4px); }

  /* ═══════ FOOTER ═══════ */
  .footer {
    text-align: center; padding: 24px 24px 48px;
    font-size: 12px; color: var(--text-light);
  }
  .footer p + p { margin-top: 4px; }

  /* ═══════ REVEAL ═══════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ═══════ RESPONSIVE ═══════ */
  @media (max-width: 768px) {
    .hero { padding: 48px 16px 56px; }
    .hero h1 { font-size: 24px; }
    .hero-stats { gap: 24px; }
    .hero-stat .num { font-size: 22px; }
    .section-header h2 { font-size: 24px; }
    .activity-sidebar { display: none; }
    .activity-body { padding: 28px 20px; }
    .activity-divider { margin: 0 0 16px 0; width: 100%; }
    .activity-grid { grid-template-columns: 1fr; }
    .benefits-row { grid-template-columns: 1fr; }
    .overview-card { padding: 28px 20px; }
    .btn { padding: 10px 18px; font-size: 14px; }
    .nav-sticky { padding: 10px 14px; }
    .nav-inner { padding: 10px 14px; border-radius: 12px; }
    .nav-links { gap: 4px; }
    .nav-link { padding: 8px 14px; font-size: 12px; border-radius: 8px; }
    .cta-section { padding: 48px 16px; border-radius: var(--radius); }
    .cta-section h2 { font-size: 22px; }
    .rules-section { padding: 28px 20px; }
    .container { padding: 0 16px; }
  }

  /* ═══════ MODAL ═══════ */
  .modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(10,26,58,.6);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .3s;
  }
  .modal-overlay.active {
    opacity: 1; pointer-events: auto;
  }
  /* 覆盖 Bootstrap .modal { display:none; position:fixed; ... } 冲突 */
  .modal-overlay .modal {
    display: block;
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    overflow: visible;
    outline: none;
    background: #fff; border-radius: var(--radius-lg);
    width: 460px; max-width: 94vw;
    padding: 40px 36px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    transform: translateY(16px);
    transition: transform .3s;
  }
  .modal-overlay.active .modal { transform: translateY(0); }
  .modal-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--blue-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; font-size: 30px;
  }
  .modal h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
  .modal p { font-size: 14px; color: var(--text-secondary); margin-bottom: 22px; line-height: 1.7; }
  .modal-actions {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  }
  .modal-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; font-size: 14px; font-weight: 600;
    border-radius: var(--radius); border: none; cursor: pointer;
    text-decoration: none; transition: all .25s;
    font-family: inherit;
  }
  .modal-btn-primary {
    background: var(--blue); color: #fff;
  }
  .modal-btn-primary:hover { background: var(--blue-dark); }
  .modal-btn-outline {
    background: #fff; color: var(--text-secondary);
    border: 1px solid var(--border);
  }
  .modal-btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
  .modal-btn-register {
    background: linear-gradient(135deg, var(--blue), #1e6fff);
    color: #fff; min-width: 160px; font-size: 15px; font-weight: 700;
  }
  .modal-btn-register:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(51,102,255,.3); }
  .modal-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none; font-size: 20px; color: var(--text-light);
    cursor: pointer; padding: 4px 8px; line-height: 1;
  }
  .modal-close:hover { color: var(--text); }
  .modal-body-step { display: none; }
  .modal-body-step.active { display: block; }

  .modal-input {
    width: 100%; padding: 12px 14px; font-size: 14px;
    border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 16px; outline: none; font-family: inherit;
    transition: border-color .2s; box-sizing: border-box;
  }
  .modal-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,111,255,.1); }
  .modal-query-btn {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff; font-size: 15px; font-weight: 600;
    padding: 11px 36px; border-radius: var(--radius);
  }
  .modal-query-btn:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(51,102,255,.3); }
  .modal-btn-jump {
    background: var(--blue); color: #fff; font-size: 15px; font-weight: 600;
    padding: 11px 28px;
  }
  .modal-btn-jump:hover { background: var(--blue-dark); }

  /* ── 域名注册弹窗 ── */
  .reg-modal {
    width: 520px; max-width: 94vw; padding: 0;
    text-align: left; overflow: hidden;
  }
  .reg-card-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 28px 32px 20px; border-bottom: 1px solid var(--border-light);
  }
  .reg-suffix {
    font-size: 28px; font-weight: 700; color: var(--text);
  }
  .reg-badge {
    font-size: 11px; font-weight: 600;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff; padding: 4px 14px; border-radius: 100px;
    letter-spacing: .3px;
  }
  .reg-subtitle {
    font-size: 14px; color: var(--text-light); margin-top: 4px;
  }
  .reg-body { padding: 24px 32px 8px; }
  .reg-input-group {
    display: flex; align-items: stretch; gap: 0;
    margin-bottom: 18px;
  }
  .reg-input-wrapper {
    flex: 1; position: relative; display: flex; align-items: center;
    border: 1px solid var(--border); border-radius: var(--radius) 0 0 var(--radius);
    background: #fff; min-width: 0;
  }
  .reg-input-wrapper:focus-within { border-color: #f56c2d; }
  .reg-domain-input {
    flex: 1; padding: 12px 16px; font-size: 15px;
    border: none; border-radius: var(--radius); outline: none;
    font-family: inherit; min-width: 0; background: transparent;
  }
  .reg-suffix-label {
    padding: 0 12px 0 0; font-size: 14px; font-weight: 600;
    color: var(--text); white-space: nowrap; flex-shrink: 0;
  }
  .reg-query-btn {
    background: #f56c2d; color: #fff;
    font-size: 14px; font-weight: 600; cursor: pointer;
    padding: 12px 22px; border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    white-space: nowrap; letter-spacing: .5px;
    transition: all .25s; font-family: inherit;
  }
  .reg-query-btn:hover { background: #e84a2d; }
  .reg-tips { margin-bottom: 18px; }
  .reg-tips p {
    font-size: 14px; color: var(--text-secondary);
    line-height: 2; padding-left: 4px;
  }
  .reg-price-box {
    background: linear-gradient(135deg, #fff7f0, #ffefe6);
    border: 1px solid #ffdcc4; border-radius: var(--radius);
    padding: 20px 24px; margin-bottom: 22px; text-align: center;
  }
  .reg-price-row {
    display: flex; align-items: baseline; justify-content: center; gap: 6px;
  }
  .reg-price-num { font-size: 36px; font-weight: 700; color: #e84a2d; line-height: 1; }
  .reg-price-unit { font-size: 14px; color: #e84a2d; font-weight: 600; }
  .reg-price-original { font-size: 14px; color: #bbb; text-decoration: line-through; margin-left: 10px; }
  .reg-apply-btn {
    width: 100%; padding: 14px; text-align: center;
    background: #f56c2d; color: #fff; font-size: 16px; font-weight: 700;
    border: none; border-radius: var(--radius); cursor: pointer;
    letter-spacing: 1px; transition: all .25s; font-family: inherit;
    margin-bottom: 8px;
  }
  .reg-apply-btn:hover { background: #e84a2d; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,108,45,.3); }

  @media (max-width: 640px) {
    .modal-overlay .modal { padding: 28px 20px 24px; }
    .modal-btn-register { min-width: 130px; font-size: 14px; }
  }