/* 网站首页 */
:root {
    --home-primary: #2563eb;
    --home-primary-dark: #1d4ed8;
    --home-accent: #7c3aed;
    --home-bg: #f1f5f9;
    --home-surface: #ffffff;
    --home-text: #0f172a;
    --home-muted: #64748b;
    --home-border: rgba(15, 23, 42, 0.08);
    --home-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --home-radius: 16px;
    --home-font: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.home-page {
    font-family: var(--home-font);
    background-color: #dbeafe;
    color: var(--home-text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* 中央空调主题背景图 */
body.home-page::after {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../images/home-hvac-bg.svg") center center / cover no-repeat;
    pointer-events: none;
    z-index: 0;
}

body.home-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(239, 246, 255, 0.82) 42%, rgba(224, 231, 255, 0.78) 100%),
        radial-gradient(ellipse 80% 50% at 15% -10%, rgba(37, 99, 235, 0.12), transparent 52%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(124, 58, 237, 0.06), transparent 45%);
    pointer-events: none;
    z-index: 1;
}

a { color: inherit; }

.home-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--home-border);
}

.home-topbar-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

.home-nav-main {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 6px;
}

.home-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--home-muted);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.home-nav-link:hover {
    color: var(--home-text);
    background: #f8fafc;
}

.home-nav-link.active {
    color: var(--home-primary);
    background: #eff6ff;
}

.home-nav-link i {
    font-size: 13px;
    opacity: 0.85;
}

.home-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.home-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--home-primary), var(--home-accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.home-brand-text {
    min-width: 0;
}

.home-brand-text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-brand-text span {
    display: block;
    font-size: 12px;
    color: var(--home-muted);
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.home-btn-primary {
    background: linear-gradient(135deg, var(--home-primary), var(--home-accent));
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.home-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.home-btn-ghost {
    background: #fff;
    color: var(--home-muted);
    border: 1px solid var(--home-border);
}

.home-btn-ghost:hover {
    background: #f8fafc;
    color: var(--home-text);
}

.home-hero {
    position: relative;
    z-index: 2;
    padding: 48px 20px 32px;
}

.home-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
}

.home-hero-copy h1 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.home-hero-copy p {
    font-size: 16px;
    color: var(--home-muted);
    max-width: 560px;
    margin-bottom: 24px;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-hero-panel {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
    padding: 24px;
    backdrop-filter: blur(8px);
}

.home-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.home-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 22px;
    color: var(--home-primary);
    flex-shrink: 0;
}

.home-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-user-name {
    font-size: 18px;
    font-weight: 700;
}

.home-user-meta {
    font-size: 13px;
    color: var(--home-muted);
    margin-top: 2px;
}

.home-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--home-border);
    font-size: 12px;
    color: var(--home-muted);
}

.home-main {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.home-stat {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--home-shadow);
    backdrop-filter: blur(8px);
}

.home-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.home-stat-icon.blue { background: #dbeafe; color: #1d4ed8; }
.home-stat-icon.green { background: #d1fae5; color: #047857; }
.home-stat-icon.purple { background: #ede9fe; color: #6d28d9; }
.home-stat-icon.amber { background: #fef3c7; color: #b45309; }

.home-stat-value {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.home-stat-label {
    font-size: 13px;
    color: var(--home-muted);
    margin-top: 2px;
}

.home-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.home-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.home-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--home-border);
}

.home-card-title {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-card-title i { color: var(--home-primary); }

.home-card-more {
    font-size: 13px;
    color: var(--home-primary);
    text-decoration: none;
    font-weight: 600;
}

.home-card-more:hover { text-decoration: underline; }

.home-card-body { padding: 8px 0; }

.home-empty {
    padding: 28px 20px;
    text-align: center;
    color: var(--home-muted);
    font-size: 14px;
}

.home-record {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.home-record:last-child { border-bottom: none; }

.home-record:hover { background: #f8fafc; }

.home-record-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.home-record-meta {
    font-size: 13px;
    color: var(--home-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

.home-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.home-tag.ok { background: #dcfce7; color: #166534; }
.home-tag.warn { background: #fef3c7; color: #92400e; }

.home-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.home-action {
    display: block;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 22px 18px;
    text-decoration: none;
    box-shadow: var(--home-shadow);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    backdrop-filter: blur(8px);
}

.home-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.18);
}

.home-action-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
    color: var(--home-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.home-action h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.home-action p {
    font-size: 13px;
    color: var(--home-muted);
    line-height: 1.5;
}

.home-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-feature {
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 22px 18px;
    box-shadow: var(--home-shadow);
}

.home-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f8fafc;
    color: var(--home-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
}

.home-feature h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.home-feature p {
    font-size: 13px;
    color: var(--home-muted);
    line-height: 1.55;
}

.home-news-list {
    display: flex;
    flex-direction: column;
}

.home-news-item {
    display: flex;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.home-news-item:last-child { border-bottom: none; }
.home-news-item:hover { background: #f8fafc; }

.home-news-cover {
    width: 88px;
    height: 66px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.home-news-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-news-cover.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.home-news-body { min-width: 0; flex: 1; }

.home-news-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-news-meta {
    font-size: 12px;
    color: var(--home-muted);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.home-footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px 20px 32px;
    color: var(--home-muted);
    font-size: 13px;
}

.home-footer a {
    color: var(--home-primary);
    text-decoration: none;
}

.home-footer a:hover { text-decoration: underline; }

/* 未登录 Hero 横幅 */
.home-hero-banner {
    position: relative;
    z-index: 2;
    padding: 56px 20px 72px;
    background:
        linear-gradient(135deg, #6366f1 0%, #7c3aed 38%, #2563eb 72%, #3b82f6 100%);
    overflow: hidden;
}

.home-hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 12% 18%, rgba(255, 255, 255, 0.18), transparent 58%),
        radial-gradient(ellipse 55% 45% at 88% 12%, rgba(255, 255, 255, 0.12), transparent 52%),
        radial-gradient(ellipse 40% 35% at 50% 100%, rgba(15, 23, 42, 0.12), transparent 60%);
    pointer-events: none;
}

.home-hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/home-hvac-bg.svg") center 35% / cover no-repeat;
    opacity: 0.08;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.home-hero-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

.home-hero-title {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
    text-shadow: 0 2px 24px rgba(15, 23, 42, 0.18);
}

.home-hero-highlight {
    font-size: clamp(22px, 3.2vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #bfdbfe 0%, #e9d5ff 45%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.home-hero-desc {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    max-width: 620px;
    margin: 0 auto 28px;
}

.home-hero-quick {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 560px;
    margin: 0 auto 18px;
    background: #fff;
    border-radius: 14px;
    padding: 6px 6px 6px 16px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.16);
}

.home-hero-quick > i {
    color: #94a3b8;
    font-size: 15px;
    flex-shrink: 0;
}

.home-hero-quick input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--home-text);
    padding: 10px 12px;
}

.home-hero-quick input::placeholder {
    color: #94a3b8;
}

.home-hero-quick-btn {
    flex-shrink: 0;
    min-height: 42px;
    padding: 0 22px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-hero-quick-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}

.home-hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.home-hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.home-hero-cta-btn.primary {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: #fff;
    backdrop-filter: blur(8px);
}

.home-hero-cta-btn.primary:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

.home-hero-cta-btn.ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: rgba(255, 255, 255, 0.92);
}

.home-hero-cta-btn.ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.home-hero-stats {
    position: relative;
    z-index: 3;
    max-width: 960px;
    margin: -36px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-hero-stat-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-hero-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.home-hero-stat-card strong {
    display: block;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--home-primary);
    margin-bottom: 6px;
}

.home-hero-stat-card span {
    display: block;
    font-size: 13px;
    color: var(--home-muted);
    font-weight: 500;
}

/* 未登录：左功能 + 右登录 */
.home-guest-layout {
    position: relative;
    z-index: 2;
    padding: 28px 20px 28px;
}

.home-guest-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
    gap: 32px;
    align-items: start;
}

.home-guest-intro h2 {
    font-size: clamp(22px, 2.8vw, 28px);
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.home-guest-intro p {
    font-size: 16px;
    color: var(--home-muted);
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 24px;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--home-border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--home-shadow);
    backdrop-filter: blur(8px);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.home-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.18);
}

.home-feature-item .home-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
    color: var(--home-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.home-feature-item h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.home-feature-item p {
    font-size: 12px;
    color: var(--home-muted);
    line-height: 1.55;
}

.home-guest-right {
    position: relative;
}

.home-login-card {
    position: sticky;
    top: 84px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    padding: 28px 24px;
    backdrop-filter: blur(10px);
}

.home-login-head h2 {
    font-size: 22px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-login-head h2 i { color: var(--home-primary); }

.home-login-head p {
    font-size: 13px;
    color: var(--home-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.home-login-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.home-login-form .home-form-group {
    margin-bottom: 16px;
}

.home-login-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.home-login-form input[type="text"],
.home-login-form input[type="password"] {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    background: #f8fafc;
    color: var(--home-text);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.home-login-form input:focus {
    outline: none;
    border-color: var(--home-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.home-captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.home-captcha-row input {
    flex: 1;
    min-width: 0;
}

.home-captcha-image {
    width: 120px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #dbeafe;
    cursor: pointer;
    object-fit: cover;
    background: #f8fafc;
    flex-shrink: 0;
}

.home-login-submit {
    width: 100%;
    min-height: 46px;
    margin-top: 4px;
}

.home-login-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    font-size: 12px;
    color: var(--home-muted);
}

.home-login-foot a {
    color: var(--home-primary);
    text-decoration: none;
    font-weight: 600;
}

.home-login-foot a:hover { text-decoration: underline; }

.home-hero-logged {
    align-items: center;
}

@media (max-width: 960px) {
    .home-nav-main {
        display: none;
    }

    .home-hero-banner {
        padding: 40px 20px 64px;
    }

    .home-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: -28px;
    }

    .home-guest-inner {
        grid-template-columns: 1fr;
    }

    .home-guest-right {
        order: -1;
    }

    .home-login-card {
        position: static;
    }

    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-inner,
    .home-grid-2,
    .home-actions,
    .home-features,
    .home-stats {
        grid-template-columns: 1fr;
    }

    .home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-topbar-inner {
        height: auto;
        min-height: 68px;
        padding-top: 12px;
        padding-bottom: 12px;
        flex-wrap: wrap;
    }

    .home-nav {
        width: 100%;
        justify-content: stretch;
    }

    .home-nav .home-btn {
        flex: 1;
    }

    .home-hero-banner {
        padding: 32px 16px 56px;
    }

    .home-hero-quick {
        flex-wrap: wrap;
        padding: 12px;
        gap: 8px;
    }

    .home-hero-quick > i {
        display: none;
    }

    .home-hero-quick input {
        width: 100%;
        padding: 8px 4px;
    }

    .home-hero-quick-btn {
        width: 100%;
    }

    .home-hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .home-hero-stat-card {
        padding: 16px 12px;
    }

    .home-hero {
        padding-top: 28px;
    }

    .home-hero-copy h1 {
        font-size: 26px;
    }

    .home-stats {
        grid-template-columns: 1fr;
    }
}
