/* 超人技能云 · 全站样式 */
:root {
    --primary: #5b5bf5;
    --primary-dark: #4340d6;
    --primary-soft: #eef0ff;
    --accent: #ff7a45;
    --ink: #14162b;
    --ink-2: #3d4260;
    --muted: #7b81a0;
    --line: #e6e8f2;
    --bg: #f7f8fc;
    --card: #ffffff;
    --ok: #16a34a;
    --warn: #d97706;
    --err: #dc2626;
    --radius: 14px;
    --shadow: 0 6px 24px rgba(24, 28, 66, .07);
    --shadow-lg: 0 18px 50px rgba(24, 28, 66, .14);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { opacity: .86; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 10px; }
h1 { font-size: 30px; }
h2 { font-size: 22px; }
p { margin: 0 0 12px; }
code { background: var(--primary-soft); padding: 1px 6px; border-radius: 6px; font-size: 13px; }
pre { margin: 0; white-space: pre-wrap; word-break: break-word; font-size: 13px; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: "SFMono-Regular", Consolas, monospace; }
.text-ok { color: var(--ok); }
.text-err { color: var(--err); }
.mt { margin-top: 22px; }
.center { justify-content: center; }

/* ---------- 导航 ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 10px 20px;
    display: flex; align-items: center; gap: 22px;
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 18px; }
.brand-logo { font-size: 22px; }
.nav-links { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.nav-links a {
    color: var(--ink-2); padding: 6px 10px; border-radius: 9px; font-size: 14px; white-space: nowrap;
}
.nav-links a:hover { background: var(--primary-soft); color: var(--primary-dark); opacity: 1; }
.nav-links a.active { background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.balance-pill {
    background: linear-gradient(135deg, #fff2e8, #ffe9d6);
    color: #b45309; font-weight: 600; font-size: 13px;
    padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.nav-toggle { display: none; background: none; border: 0; font-size: 20px; cursor: pointer; }

.dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow-lg); padding: 6px; z-index: 60;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-item-btn {
    display: block; width: 100%; text-align: left; padding: 8px 12px; border-radius: 8px;
    color: var(--ink-2); font-size: 14px; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.dropdown-menu a:hover, .dropdown-item-btn:hover { background: var(--primary-soft); opacity: 1; }
.dropdown-menu .admin-link { color: var(--primary-dark); font-weight: 600; }

/* ---------- 通用 ---------- */
.page { min-height: 60vh; padding-bottom: 60px; }
.container { max-width: 1200px; margin: 0 auto; padding: 26px 20px; }
.container.narrow { max-width: 820px; }
.section { padding: 46px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tight { padding: 26px 0; }
.section-head { margin-bottom: 18px; }
.section-head p { margin: 0; }
.section-head-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-title { font-size: 18px; margin-bottom: 12px; }
.page-head { padding: 18px 0 6px; }
.page-head p { margin: 4px 0 0; }
.card-plain { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.empty { padding: 26px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.two-col { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
.breadcrumb { font-size: 13px; color: var(--muted); padding-top: 14px; }
.center-block { text-align: center; padding: 70px 20px; }
.error-code { font-size: 64px; font-weight: 800; color: var(--primary); opacity: .35; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border-radius: 11px; border: 1px solid transparent; cursor: pointer;
    font-size: 14px; font-weight: 600; padding: 9px 16px; font-family: inherit;
    transition: all .16s ease; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 6px 16px rgba(91, 91, 245, .28); }
.btn-primary:hover { transform: translateY(-1px); color: #fff; opacity: 1; }
.btn-primary:disabled { background: #c7c9dd; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); opacity: 1; }
.btn-lg { padding: 12px 24px; font-size: 15px; border-radius: 13px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; color: var(--primary); cursor: pointer; padding: 0; font-size: 13px; font-family: inherit; }
.btn-link:hover { text-decoration: underline; }

/* ---------- 首页 ---------- */
.hero { background: radial-gradient(1200px 400px at 12% -10%, #4b4ef0 0%, #1d1b45 55%, #14122e 100%); color: #fff; padding: 64px 20px 54px; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr .9fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); padding: 5px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 14px; }
.hero h1 { font-size: 44px; letter-spacing: -.5px; margin-bottom: 12px; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.82); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; margin: 22px 0 26px; flex-wrap: wrap; }
.hero .btn-ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.hero-stats { display: flex; gap: 34px; }
.hero-stats strong { display: block; font-size: 24px; }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.66); }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-card {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px; padding: 16px; color: #fff; display: flex; flex-direction: column; gap: 4px;
    backdrop-filter: blur(6px); transition: transform .18s ease;
}
.hero-card:hover { transform: translateY(-3px); opacity: 1; }
.hero-card-icon { font-size: 24px; }
.hero-card-name { font-weight: 600; font-size: 15px; }
.hero-card-price { font-size: 12px; color: rgba(255,255,255,.7); }
.notice-bar { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; padding: 12px 18px; border-radius: 12px; margin-top: 20px; }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.chip {
    background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
    font-size: 13px; color: var(--ink-2); cursor: pointer; font-family: inherit;
}
.chip:hover { border-color: var(--primary); color: var(--primary-dark); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; }
.tool-card {
    display: flex; flex-direction: column; gap: 8px; background: var(--card);
    border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
    color: var(--ink); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); opacity: 1; }
.tool-card h3 { font-size: 17px; margin: 4px 0 0; }
.tool-card.disabled, .tool-card.upcoming { box-shadow: none; }
.tool-card.upcoming { background: linear-gradient(180deg, #fff, #fbfbff); border-style: dashed; }
.tool-card.compact { padding: 16px; }
.tool-top { display: flex; align-items: center; justify-content: space-between; }
.tool-icon { font-size: 26px; line-height: 1; }
.tool-icon.small { font-size: 18px; }
.badge { background: linear-gradient(135deg, #fff1e6, #ffe2cc); color: #c2410c; font-size: 12px; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.badge-soft { background: var(--primary-soft); color: var(--primary-dark); }
.badge-warn { background: #fef3c7; color: #92400e; }
.tool-tagline { font-size: 13.5px; color: var(--ink-2); margin: 0; min-height: 42px; }
.tool-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.tag { background: #f2f3fa; color: var(--ink-2); font-size: 12px; padding: 3px 10px; border-radius: 8px; }
.tool-price { font-size: 13px; font-weight: 600; color: var(--accent); }
.tool-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.go { color: var(--primary); font-weight: 600; font-size: 13px; white-space: nowrap; }
.tool-foot .muted.small { line-height: 1.4; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step-no {
    display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
    border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; margin-bottom: 10px;
}
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; }

/* ---------- 表单 ---------- */
.form .form-group { border: 0; padding: 0; margin: 0 0 26px; }
.form legend { font-weight: 700; font-size: 15px; padding: 0 0 10px; }
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input[type="text"], .field input[type="number"], .field input[type="password"], .field input[type="email"],
.field textarea, .field select, .filter-form input, .filter-form select,
table input[type="text"], table input[type="number"] {
    width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
    font-size: 14px; font-family: inherit; background: #fff; color: var(--ink);
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91,91,245,.12); }
.field-help { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.req { color: var(--err); }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.checkbox-label input { width: 16px; height: 16px; accent-color: var(--primary); }
.input-suffix { display: flex; align-items: center; gap: 8px; }
.suffix { font-size: 13px; color: var(--muted); white-space: nowrap; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.filter-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; background: #fff; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.filter-form input, .filter-form select { width: auto; min-width: 130px; }
.inline-form { display: inline; }
.mini-form { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; max-width: 320px; }
.mini-form input { width: 100%; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.row-actions summary { cursor: pointer; color: var(--primary); font-size: 13px; }
.row-actions { position: relative; }

.file-drop {
    border: 1.5px dashed var(--line); border-radius: 12px; padding: 16px; background: #fbfbff;
    text-align: center; position: relative; transition: border-color .15s ease;
}
.file-drop:hover { border-color: var(--primary); }
.file-drop input[type="file"] { width: 100%; font-size: 13px; }
.file-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.file-list { font-size: 12.5px; color: var(--ink-2); margin-top: 8px; text-align: left; }

/* ---------- 功能页 ---------- */
.feature-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 14px 0 22px; flex-wrap: wrap; }
.feature-title { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon { font-size: 40px; line-height: 1; }
.feature-title h1 { font-size: 26px; }
.feature-meta { display: flex; align-items: center; gap: 10px; }
.price-tag { background: linear-gradient(135deg, #fff1e6, #ffe2cc); color: #c2410c; font-weight: 700; padding: 7px 14px; border-radius: 10px; font-size: 14px; }
.feature-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: start; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; box-shadow: var(--shadow); }
.side-card h4 { margin-bottom: 8px; }
.balance-card { text-align: center; background: linear-gradient(160deg, #fff, #f4f4ff); }
.balance-number { font-size: 30px; font-weight: 800; color: var(--primary-dark); margin: 4px 0 10px; }
.callout { background: #f1f5ff; border: 1px solid #d5dcff; color: #3730a3; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 14px; }
.callout-warn { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.prose { font-size: 14.5px; color: var(--ink-2); }
.prose h2, .prose h3 { color: var(--ink); font-size: 16px; margin-top: 16px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 4px; }

/* ---------- 任务面板 ---------- */
.task-panel { margin-top: 20px; }
.task-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.task-status { font-weight: 700; }
.progress { height: 10px; background: #eceefa; border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), #8b5cf6); transition: width .4s ease; }
.task-message { margin-top: 8px; font-size: 13.5px; }
.outputs { margin-top: 14px; }
.output-list { display: flex; flex-direction: column; gap: 8px; }
.output-item {
    display: flex; align-items: center; gap: 12px; background: #f8f9ff; border: 1px solid var(--line);
    border-radius: 11px; padding: 11px 14px; color: var(--ink);
}
.output-item:hover { border-color: var(--primary); opacity: 1; }
.output-name { flex: 1; font-weight: 600; font-size: 14px; }
.result-preview { margin-top: 14px; }
.result-head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; margin-bottom: 8px; }
.result-preview pre, .log-box {
    background: #0f1226; color: #d9dbf3; padding: 14px; border-radius: 12px;
    max-height: 320px; overflow: auto; font-size: 12.5px; line-height: 1.7;
}
.task-actions { margin-top: 14px; display: flex; gap: 10px; }
.status { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: #f2f3fa; color: var(--ink-2); }
.status-ok { background: #dcfce7; color: #166534; }
.status-run { background: #dbeafe; color: #1d4ed8; }
.status-wait { background: #fef3c7; color: #92400e; }
.status-err { background: #fee2e2; color: #b91c1c; }
.status-warn { background: #fef3c7; color: #92400e; }

/* ---------- 表格 ---------- */
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: middle; }
.table th { background: #f7f8fd; font-weight: 600; color: var(--ink-2); font-size: 13px; }
.table tr:last-child td { border-bottom: 0; }
.table input, .table select { max-width: 100%; }

/* ---------- 卡片统计 ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 16px 0 8px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.stat-primary { background: linear-gradient(150deg, #4f46e5, #6d28d9); color: #fff; border: 0; }
.stat-primary .stat-label { color: rgba(255,255,255,.8); }
.stat-primary .btn-ghost { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); color: #fff; margin-top: 6px; }
.stat-label { font-size: 13px; color: var(--muted); }
.stat-value { font-size: 26px; font-weight: 800; }

/* ---------- 认证 ---------- */
.auth-wrap { display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 24px; margin-bottom: 6px; }
.auth-foot { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- 套餐 ---------- */
.package-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.package-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.package-card:hover { border-color: var(--primary); }
.package-name { font-weight: 700; }
.package-price { font-size: 26px; font-weight: 800; color: var(--primary-dark); }
.package-credits { font-size: 14px; color: var(--ink-2); }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(12, 14, 32, .55); }
.modal-body { position: relative; background: #fff; border-radius: 16px; width: 100%; max-width: 620px; max-height: 80vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.modal-close { background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--muted); }
.modal-content { padding: 18px 20px 24px; }

/* ---------- 提示 ---------- */
.announce { background: #eef0ff; color: #3730a3; text-align: center; font-size: 13.5px; padding: 9px 16px; border-bottom: 1px solid #d5dcff; }
.announce p { margin: 0; }
.flash { max-width: 1200px; margin: 14px auto 0; padding: 12px 18px; border-radius: 12px; font-size: 14px; }
.flash-ok { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.flash-err { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

/* ---------- 后台 ---------- */
.admin-body { background: #f2f3f9; }
.admin-container { display: grid; grid-template-columns: 210px 1fr; gap: 24px; align-items: start; }
.admin-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; top: 80px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.admin-nav-title { font-weight: 800; padding: 8px 10px 12px; }
.admin-nav a { padding: 9px 12px; border-radius: 9px; color: var(--ink-2); font-size: 14px; }
.admin-nav a:hover { background: var(--primary-soft); opacity: 1; }
.admin-nav a.active { background: var(--primary); color: #fff; }
.admin-main { min-width: 0; }
.admin-feature { margin-bottom: 14px; }
.admin-feature summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; flex-wrap: wrap; }
.admin-feature summary::-webkit-details-marker { display: none; }
.feature-summary { display: flex; align-items: center; gap: 10px; }
.feature-summary-right { display: flex; align-items: center; gap: 12px; }
.feature-form { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 16px; }

/* ---------- 页脚 ---------- */
.footer { background: #14162b; color: #b9bcd4; padding: 44px 20px 20px; margin-top: 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer-col a { display: block; color: #b9bcd4; font-size: 13.5px; padding: 3px 0; }
.footer-col a:hover { color: #fff; opacity: 1; }
.footer .muted { color: #8b8fae; }
.brand-footer { color: #fff; margin-bottom: 10px; }
.footer-bottom { max-width: 1200px; margin: 26px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: #8b8fae; display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { color: #8b8fae; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
    .hero-inner, .feature-layout, .two-col, .admin-container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .steps { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .admin-nav { position: static; flex-direction: row; overflow-x: auto; }
    .admin-nav-title { display: none; }
    .nav-links { display: none; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 12px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .nav-toggle { display: block; }
}
@media (max-width: 560px) {
    .hero-cards { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .container { padding: 18px 14px; }
    h1 { font-size: 24px; }
}
