/* ==========================================================================
   YuanOwn Cloud · 首页 v3（云服务器平台风格）
   ========================================================================== */

/* ---------- Hero ---------- */
.v2-hero { background: #fff; border-bottom: 1px solid #EEF0F3; padding: 52px 0 60px; }
.v2-hero-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 56px; align-items: center; }
.v2-hero-eyebrow { font-size: 13px; font-weight: 600; color: #2563EB; letter-spacing: 0.3px; margin-bottom: 14px; }
.v2-hero-title { font-size: 38px; line-height: 1.25; font-weight: 700; color: #111827; margin-bottom: 14px; letter-spacing: 0; }
.v2-hero-desc { font-size: 16px; line-height: 1.7; color: #667085; margin-bottom: 20px; max-width: 480px; }
.v2-hero-price { font-size: 28px; font-weight: 700; color: #111827; margin-bottom: 20px; }
.v2-hero-price-unit { font-size: 16px; font-weight: 500; color: #667085; }
.v2-hero-actions { display: flex; gap: 12px; }
.v2-hero-trust { display: flex; align-items: stretch; }
.v2-trust-card { width: 100%; padding: 30px 32px; border: 1px solid #DDE3EA; border-radius: 12px; background: linear-gradient(135deg, #F8FAFF 0%, #FFFFFF 100%); box-shadow: 0 10px 28px -12px rgba(16,24,40,0.16); }
.v2-trust-kicker { color: #2563EB; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.v2-trust-card h2 { margin: 0 0 10px; color: #111827; font-size: 22px; line-height: 1.35; }
.v2-trust-card p { margin: 0; color: #667085; font-size: 14px; line-height: 1.7; }
.v2-trust-card ul { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.v2-trust-card li { color: #344054; font-size: 14px; }
.v2-trust-card li::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; background: #ECFDF3; color: #067647; font-size: 12px; font-weight: 700; }

/* ---------- 控制台预览卡片 ---------- */
.v2-console { background: #fff; border: 1px solid #DDE3EA; border-radius: 8px; box-shadow: 0 10px 28px -12px rgba(16,24,40,0.2); overflow: hidden; }
.v2-console-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F9FAFB; border-bottom: 1px solid #EEF0F3; }
.v2-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.v2-dot-red { background: #F04438; }
.v2-dot-yellow { background: #F79009; }
.v2-dot-green { background: #12B76A; }
.v2-console-title { margin-left: 8px; font-size: 11px; color: #98A2B3; }
.v2-console-body { padding: 16px; }
.v2-instance-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.v2-instance-name { display: flex; align-items: center; gap: 8px; }
.v2-instance-id { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; font-weight: 600; color: #111827; }
.v2-instance-status { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #067647; background: #ECFDF3; border: 1px solid #A6F4C5; padding: 2px 8px; border-radius: 999px; }
.v2-dot-online { width: 5px; height: 5px; border-radius: 50%; background: #12B76A; display: inline-block; }
.v2-instance-region { font-size: 12px; color: #667085; }
.v2-instance-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.v2-spec { background: #F9FAFB; border: 1px solid #EEF0F3; border-radius: 6px; padding: 8px; text-align: center; }
.v2-spec-label { display: block; font-size: 10px; color: #98A2B3; margin-bottom: 2px; }
.v2-spec-val { font-size: 12px; font-weight: 600; color: #111827; }
.v2-instance-net { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #F9FAFB; border-radius: 6px; margin-bottom: 12px; font-size: 12px; }
.v2-net-label { color: #98A2B3; }
.v2-net-ip { font-family: 'JetBrains Mono', ui-monospace, monospace; color: #111827; font-weight: 500; }
.v2-chart-svg { width: 100%; height: 50px; display: block; }

/* ---------- 通用按钮 ---------- */
.v2-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.v2-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; transition: all .15s ease; cursor: pointer; border: 1px solid transparent; }
.v2-btn-primary { background: #2563EB; color: #fff; }
.v2-btn-primary:hover { background: #1D4ED8; color: #fff !important; }
.v2-btn-ghost { background: #fff; color: #2563EB; border-color: #E5E7EB; }
.v2-btn-ghost:hover { border-color: #2563EB; background: #EFF4FF; }

/* ---------- 区块标题 ---------- */
.v2-section-head { text-align: center; margin-bottom: 36px; }
.v2-section-head h2 { font-size: 28px; font-weight: 600; color: #111827; margin-bottom: 8px; letter-spacing: -0.3px; }
.v2-section-head p { font-size: 15px; color: #667085; }

/* ---------- 热门云服务器 ---------- */
.v2-products { padding: 56px 0 40px; }
.v2-tabs { display: flex; justify-content: center; gap: 2px; width: max-content; margin: 0 auto 28px; padding: 3px; border: 1px solid #E5E7EB; border-radius: 8px; background: #F9FAFB; }
.v2-tab { padding: 7px 18px; border-radius: 6px; font-size: 14px; font-weight: 500; color: #667085; background: transparent; border: none; cursor: pointer; transition: all .15s ease; }
.v2-tab:hover { color: #111827; background: #fff; }
.v2-tab.is-active { background: #fff; color: #2563EB; box-shadow: 0 1px 2px rgba(16,24,40,0.08); }
.v2-product-grid { display: none; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.v2-product-grid.is-show { display: grid; }
.v2-product-card { background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; padding: 20px; transition: all .2s ease; }
.v2-product-card:hover { border-color: #CBD5E1; box-shadow: 0 6px 20px -4px rgba(16,24,40,0.08); }
.v2-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 6px; }
.v2-card-name { font-size: 15px; font-weight: 600; color: #111827; }
.v2-card-sub { font-size: 11px; color: #98A2B3; font-family: 'JetBrains Mono', ui-monospace, monospace; margin-top: 2px; }
.v2-card-badge { font-size: 10px; font-weight: 500; color: #2563EB; background: #EFF4FF; padding: 2px 8px; border-radius: 999px; }
.v2-badge-hot { color: #067647; background: #ECFDF3; }
.v2-badge-pro { color: #6941C6; background: #F4EBFF; }
.v2-card-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 12px; margin-bottom: 16px; }
.v2-card-spec { display: flex; justify-content: space-between; font-size: 13px; padding-bottom: 6px; border-bottom: 1px solid #F2F4F7; }
.v2-card-spec span { color: #98A2B3; }
.v2-card-spec b { color: #111827; font-weight: 500; }
.v2-card-bottom { display: flex; align-items: center; justify-content: space-between; }
.v2-card-price { font-size: 20px; font-weight: 700; color: #111827; }
.v2-card-price span { font-size: 12px; font-weight: 400; color: #98A2B3; }
.v2-card-old { font-size: 11px; color: #98A2B3; text-decoration: line-through; margin-left: 6px; }
.v2-btn-card { padding: 7px 14px; background: #2563EB; color: #fff; font-size: 13px; border-radius: 6px; }
.v2-btn-card:hover { background: #1D4ED8; color: #fff; }
.v2-products-more { text-align: center; margin-top: 32px; }
.v2-products-more a { color: #2563EB; font-size: 14px; text-decoration: none; }

/* ---------- 全部地域 ---------- */
.v2-regions { padding: 72px 0; background: #F7F9FC; border-top: 1px solid #EEF0F3; }
.v2-region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.v2-region-card { background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; padding: 24px; transition: all .2s ease; }
.v2-region-card:hover { border-color: #CBD5E1; box-shadow: 0 4px 12px rgba(16,24,40,0.06); }
.v2-region-name { font-size: 18px; font-weight: 600; color: #111827; margin-bottom: 4px; }
.v2-region-code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: #98A2B3; margin-bottom: 12px; }
.v2-region-line { font-size: 13px; color: #667085; margin-bottom: 8px; }
.v2-region-price { font-size: 18px; font-weight: 700; color: #111827; margin-bottom: 16px; }
.v2-region-link { font-size: 13px; color: #2563EB; text-decoration: none; }
.v2-region-link:hover { color: #1D4ED8; }

/* ---------- 按场景选服务器 ---------- */
.v2-scenarios { padding: 72px 0; }
.v2-scenario-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.v2-scenario-card { background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; padding: 24px; transition: all .2s ease; }
.v2-scenario-card:hover { border-color: #CBD5E1; box-shadow: 0 4px 12px rgba(16,24,40,0.06); }
.v2-scenario-icon { font-size: 28px; margin-bottom: 12px; }
.v2-scenario-card h3 { font-size: 16px; font-weight: 600; color: #111827; margin-bottom: 8px; }
.v2-scenario-card p { font-size: 13px; color: #667085; line-height: 1.6; margin-bottom: 12px; }
.v2-scenario-spec { font-size: 12px; color: #98A2B3; margin-bottom: 16px; padding: 8px 12px; background: #F9FAFB; border-radius: 6px; }

/* ---------- 网络与线路表 ---------- */
.v2-network { padding: 72px 0; background: #F7F9FC; border-top: 1px solid #EEF0F3; }
.v2-net-table-wrap { max-width: 900px; margin: 0 auto; }
.v2-net-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #E5E7EB; }
.v2-net-table thead { background: #F9FAFB; }
.v2-net-table th { padding: 12px 16px; font-size: 13px; font-weight: 500; color: #98A2B3; text-align: left; border-bottom: 1px solid #EEF0F3; }
.v2-net-table td { padding: 14px 16px; font-size: 14px; color: #344054; border-bottom: 1px solid #F2F4F7; }
.v2-net-table tr:last-child td { border-bottom: none; }
.v2-net-table tr:hover td { background: #F8FAFC; }

/* ---------- 优势条 ---------- */
.v2-advantages { padding: 48px 0; background: #fff; border-top: 1px solid #EEF0F3; }
.v2-adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.v2-adv-item { text-align: center; }
.v2-adv-title { font-size: 15px; font-weight: 600; color: #111827; margin-bottom: 4px; }
.v2-adv-desc { font-size: 13px; color: #667085; }

/* ---------- Footer ---------- */
.yzy-footer { width: 100%; background: #111827; color: #98A2B3; }
.yzy-footer-main { max-width: 1140px; margin: 0 auto; padding: 48px 24px 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
.yzy-footer-logo { display: inline-block; color: #fff; font-size: 18px; font-weight: 600; text-decoration: none; margin-bottom: 10px; }
.yzy-footer-logo:hover { color: #fff; }
.yzy-footer-brand p { margin: 0 0 8px; color: #D0D5DD; font-size: 13px; line-height: 1.6; }
.yzy-footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.yzy-footer-heading { color: #F9FAFB; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.yzy-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.yzy-footer-column a, .yzy-footer-bottom a { font-size: 13px; color: #98A2B3; text-decoration: none; transition: color .15s ease; }
.yzy-footer-column a:hover, .yzy-footer-bottom a:hover { color: #fff; }
.yzy-footer-bottom { max-width: 1140px; margin: 0 auto; padding: 16px 24px; border-top: 1px solid #344054; display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 11px; color: #98A2B3; }
.yzy-footer-links, .yzy-footer-records { display: inline-flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .v2-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .v2-product-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-region-grid, .v2-scenario-grid, .v2-adv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .v2-hero-title { font-size: 30px; }
  .v2-hero { padding: 40px 0 48px; }
  .v2-product-grid { grid-template-columns: 1fr; }
  .v2-region-grid, .v2-scenario-grid { grid-template-columns: 1fr; }
  .v2-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-hero-actions { flex-wrap: wrap; }
  .v2-hero-actions .v2-btn { flex: 1; min-width: 0; }
  .v2-container { padding: 0 16px; }
  .yzy-footer-main { padding: 32px 16px; grid-template-columns: 1fr; gap: 28px; }
  .yzy-footer-nav { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .yzy-footer-bottom { padding: 14px 16px; flex-direction: column; gap: 8px; }
}
