/* ========================================
   深度数卡 DeepCard - 华为云 Inspire 复刻风格
   结构 · 布局 · 视觉 完全对齐
   ======================================== */

/* ---------- 重置 & 变量 ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --font: -apple-system, 'HuaweiSans', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    --text: #1a1a2e;
    --text-secondary: #575d6c;
    --text-muted: #8c8ca1;
    --bg-white: #ffffff;
    --bg-gray: #f5f6f8;
    --bg-dark: #1a1a2e;
    --border: #e6e8eb;
    --blue: #1677ff;
    --blue-hover: #4096ff;
    --radius: 12px;
    --radius-sm: 6px;
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }

/* ---------- 顶部导航 ---------- */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 56px;
    background: rgba(26,26,46,0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.top-logo-icon {
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    font-size: 14px;
    font-weight: 800;
}

.top-logo-text { font-size: 15px; font-weight: 600; letter-spacing: 0.3px; }

.top-nav-links {
    display: flex;
    gap: 2px;
    list-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 4px;
    flex-shrink: 1;
}

.top-nav-links::-webkit-scrollbar { display: none; }

.top-nav-links a {
    padding: 4px 10px;
    font-size: 12px;
    white-space: nowrap;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    flex-shrink: 0;
}

.top-nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.top-nav-links a.active { color: #fff; }

/* ---------- Hero 区块 ---------- */
.hero-block {
    padding: 140px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #0d0d1a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-block::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(ellipse at 40% 50%, rgba(22,119,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-date {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.hero-block h1 {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 48px;
}

.hero-stat-val {
    font-size: 40px;
    font-weight: 800;
    display: block;
    line-height: 1;
    letter-spacing: -1px;
}

.hero-stat-lbl {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* 品牌色 Hero */
.hero-kfc { background: linear-gradient(135deg, #c8102e 0%, #8b0000 100%); }
.hero-mcd { background: linear-gradient(135deg, #da291c 0%, #a32010 100%); }
.hero-luckin { background: linear-gradient(135deg, #0d2c4a 0%, #061428 100%); }
.hero-pizza { background: linear-gradient(135deg, #005a7a 0%, #003044 100%); }
.hero-burger { background: linear-gradient(135deg, #cc2200 0%, #7a1400 100%); }
.hero-dicos { background: linear-gradient(135deg, #cc6600 0%, #854400 100%); }
.hero-tastin { background: linear-gradient(135deg, #b80e28 0%, #730818 100%); }
.hero-deep { background: linear-gradient(135deg, #1a1a2e 0%, #0d0d1a 100%); }

/* 新品牌 Hero — 星巴克 / 霸王茶姬 / 库迪 / 奈雪 / 茉莉奶白 */
.hero-starbucks { background: linear-gradient(135deg, #00704A 0%, #004d33 100%); }
.hero-bawang { background: linear-gradient(135deg, #7A003C 0%, #4d0025 100%); }
.hero-cotti { background: linear-gradient(135deg, #1E3050 0%, #0e1a2e 100%); }
.hero-nayuki { background: linear-gradient(135deg, #7B2D26 0%, #4a1a15 100%); }
.hero-molly { background: linear-gradient(135deg, #BFA580 0%, #8c7a5e 100%); }

/* 品牌色 Hero 光晕 */
.hero-kfc::before { background: radial-gradient(ellipse at 40% 50%, rgba(255,80,80,0.10) 0%, transparent 60%); }
.hero-mcd::before { background: radial-gradient(ellipse at 40% 50%, rgba(255,60,40,0.10) 0%, transparent 60%); }
.hero-luckin::before { background: radial-gradient(ellipse at 40% 50%, rgba(80,160,255,0.08) 0%, transparent 60%); }
.hero-pizza::before { background: radial-gradient(ellipse at 40% 50%, rgba(0,150,200,0.08) 0%, transparent 60%); }
.hero-starbucks::before { background: radial-gradient(ellipse at 40% 50%, rgba(0,170,100,0.10) 0%, transparent 60%); }
.hero-bawang::before { background: radial-gradient(ellipse at 40% 50%, rgba(200,80,130,0.10) 0%, transparent 60%); }
.hero-cotti::before { background: radial-gradient(ellipse at 40% 50%, rgba(80,150,255,0.08) 0%, transparent 60%); }
.hero-nayuki::before { background: radial-gradient(ellipse at 40% 50%, rgba(200,100,80,0.10) 0%, transparent 60%); }
.hero-molly::before { background: radial-gradient(ellipse at 40% 50%, rgba(200,180,140,0.10) 0%, transparent 60%); }

/* ---------- 区块通用 ---------- */
.block {
    padding: 80px 0;
}

.block-gray { background: var(--bg-gray); }

.block-header {
    text-align: center;
    margin-bottom: 56px;
}

.block-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.block-header h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.block-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- 两栏布局（华为云核心布局） ---------- */
.split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ---------- 议程/活动卡片 ---------- */
.agenda-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.agenda-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
}

.agenda-time {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.agenda-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    margin-right: 8px;
}

.agenda-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 20px 0;
}

.agenda-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.agenda-item:last-child { border-bottom: none; }

.agenda-item-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.agenda-item-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

/* ---------- 按钮 ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary:hover { background: var(--blue-hover); }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-ghost:hover {
    border-color: var(--text);
    background: rgba(0,0,0,0.02);
}

/* ---------- 商品网格（两栏） ---------- */
.goods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.goods-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 28px;
    border: 1px solid var(--border);
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.goods-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--blue);
}

.goods-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
    padding-right: 16px;
}

.goods-price {
    font-size: 18px;
    font-weight: 700;
    color: #f5222d;
    white-space: nowrap;
}

.goods-price::before {
    content: '¥';
    font-size: 13px;
}

.goods-id {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

/* ---------- Brand Hero（品牌专题页专用） ---------- */
.brand-hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.brand-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,0,0,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.brand-hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}
.brand-hero-text { flex: 1.2; }
.brand-hero-label {
    font-family: var(--font-medium);
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.brand-hero h1 {
    font-family: var(--font-bold);
    font-size: 52px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.1;
}
.brand-hero-sub {
    font-size: 16px;
    color: var(--text-mid);
    margin-bottom: 32px;
    line-height: 1.6;
}
.brand-hero-visual { flex: 0.8; display: flex; justify-content: center; }
.brand-hero-icon {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: #fff;
}

/* ---------- Brand Nav（品牌专题页内部导航） ---------- */
.brand-nav {
    background: #fff;
    border-bottom: 1px solid #f0f1f3;
    position: sticky;
    top: 72px;
    z-index: 100;
}
.brand-nav-inner {
    display: flex;
    gap: 4px;
    padding: 12px 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.brand-nav-inner::-webkit-scrollbar { display: none; }
.brand-nav a {
    padding: 8px 20px;
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.2s;
}
.brand-nav a:hover { color: var(--text-dark); background: var(--bg-light); }

/* ---------- 品牌专题 Banner 标签 ---------- */
.banner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
}
.banner-tags span {
    padding: 6px 16px;
    background: rgba(0,0,0,0.04);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-mid);
}

/* ---------- 品牌专题 Block 布局 ---------- */
.block-header {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 32px;
    text-align: left;
}
.block-tag {
    font-family: var(--font-medium);
    font-size: 13px;
    color: var(--text-gray);
    letter-spacing: 2px;
    white-space: nowrap;
    padding: 4px 12px;
    background: #f0f1f3;
    border-radius: 20px;
    text-transform: none;
    display: inline;
    margin: 0;
}
.block-header h2 {
    font-family: var(--font-bold);
    font-size: 28px;
    color: var(--text-dark);
    letter-spacing: normal;
    margin: 0;
}

/* ---------- 商品卡片（品牌专题页） ---------- */
.goods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 12px;
}
.goods-card {
    background: #fff;
    border: 1px solid #f0f1f3;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.25s;
    cursor: default;
}
.goods-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-color: #d0d2d8;
}
.goods-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}
.goods-price {
    font-family: var(--font-bold);
    font-size: 20px;
}
.goods-price::before { content: '¥'; font-size: 14px; }

/* ---------- 两栏布局（品牌专题页 about 区） ---------- */
.split-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.split-col { flex: 1; }
.split-col:first-child { flex: 1.3; }
.agenda-card {
    background: #fff;
    border: 1px solid #f0f1f3;
    border-radius: 16px;
    padding: 40px 36px;
}
.agenda-title {
    font-family: var(--font-medium);
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.agenda-desc {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 0;
}
.agenda-list {
    list-style: none;
    padding: 0;
}
.agenda-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f1f3;
    font-size: 14px;
    color: var(--text-mid);
}
.agenda-list li:last-child { border-bottom: none; }
.agenda-list .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0f1f3;
    font-family: var(--font-bold);
    font-size: 14px;
    color: var(--text-dark);
    flex-shrink: 0;
}

/* ---------- CTA 深色区 ---------- */
.cta-section {
    padding: 80px 0;
    background: var(--bg-dark);
    text-align: center;
    color: #fff;
}
.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 32px;
}
.cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.cta-btns .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    background: #fff;
    color: var(--text-dark);
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.cta-btns .btn-primary:hover { background: #f0f1f3; }
.cta-btns .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.cta-btns .btn-ghost:hover { border-color: rgba(255,255,255,0.5); }

/* ---------- 品牌网格 ---------- */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.brand-card {
    border-radius: var(--radius);
    padding: 44px 24px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

.brand-icon { font-size: 40px; margin-bottom: 12px; position: relative; }
.brand-name { font-size: 18px; font-weight: 700; position: relative; }
.brand-desc { font-size: 13px; opacity: 0.55; margin-top: 4px; position: relative; }

/* ---------- 特性标签 ---------- */
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.tag-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--bg-gray);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.tag-item .icon { font-size: 15px; }

/* ---------- 通知条 ---------- */
.notice-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #fff7e6;
    border: 1px solid #ffe7ba;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: #ad6800;
    margin-bottom: 28px;
}

/* ---------- 搜索/筛选条 ---------- */
.filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter-tag {
    padding: 6px 20px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.filter-tag:hover {
    border-color: var(--text);
    color: var(--text);
}

.filter-tag.active {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

/* ---------- 选一卡券专用 ---------- */
.card-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.card-price .val {
    font-size: 24px;
    font-weight: 800;
    color: #f5222d;
}

.card-price .unit {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- 底部操作栏 ---------- */
.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 14px 0;
    z-index: 200;
}

.footer-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info { font-size: 13px; color: var(--text-muted); }
.footer-actions { display: flex; gap: 10px; }

/* ---------- 页脚 ---------- */
.footer {
    padding: 48px 0 80px;
    background: var(--bg-dark);
    text-align: center;
}

.footer p {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 4px;
}

.footer a {
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.2s;
}

.footer a:hover { color: rgba(255,255,255,0.6); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
    .container { padding: 0 24px; }
    .hero-block { padding: 100px 0 72px; }
    .hero-block h1 { font-size: 36px; }
    .hero-stats { gap: 32px; }
    .hero-stat-val { font-size: 30px; }
    .split-row { grid-template-columns: 1fr; gap: 32px; }
    .brand-grid { grid-template-columns: repeat(2, 1fr); }
    .block { padding: 56px 0; }
    .block-header h2 { font-size: 26px; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .hero-block { padding: 80px 0 56px; }
    .hero-block h1 { font-size: 28px; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    .hero-stat-val { font-size: 24px; }
    .goods-grid { grid-template-columns: 1fr; }
    .brand-grid { grid-template-columns: 1fr; }
    .block { padding: 40px 0; }
    .agenda-card { padding: 24px; }
    .footer-bar .footer-info { display: none; }
    .top-nav-links a { padding: 6px 10px; font-size: 12px; }
}
