/* =====================================================
 * 智康·AI健康助手 - 前台主样式
 * 白色简洁风格，移动端优先
 * ===================================================== */

/* ---- CSS Variables Override ---- */
:root {
    --hz-primary: #4f46e5;
    --hz-primary-light: #818cf8;
    --hz-primary-dark: #4338ca;
    --hz-emerald: #059669;
    --hz-emerald-light: #d1fae5;
    --hz-bg: #f8fafc;
    --hz-card: #ffffff;
    --hz-text: #1e293b;
    --hz-text-secondary: #64748b;
    --hz-text-muted: #94a3b8;
    --hz-border: #e2e8f0;
    --hz-border-light: #f1f5f9;
    --hz-radius: 12px;
    --hz-radius-sm: 8px;
    --hz-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --hz-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -1px rgba(0,0,0,0.04);
    --hz-header-h: 64px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--hz-bg);
    color: var(--hz-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--hz-primary); text-decoration: none; }
a:hover { color: var(--hz-primary-dark); }

/* ====================================================
   Header
   ==================================================== */
.hz-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--hz-header-h);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hz-border-light);
    z-index: 100;
    transition: box-shadow 0.2s;
}

.hz-header.scrolled {
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.hz-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.hz-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.hz-logo-icon {
    color: var(--hz-primary);
}

.hz-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--hz-text);
    letter-spacing: -0.5px;
}

/* PC Nav */
.hz-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hz-nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--hz-text-secondary);
    border-radius: var(--hz-radius-sm);
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}

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

/* Header Actions */
.hz-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hz-member-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--hz-radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--hz-text);
    background: #f1f5f9;
    text-decoration: none;
    transition: background 0.15s;
}

.hz-member-btn:hover {
    background: #e2e8f0;
}

/* 移动端用户图标（手机端快速入口，PC端隐藏） */
.hz-member-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--hz-text);
    text-decoration: none;
    transition: background 0.15s;
    flex-shrink: 0;
}

.hz-member-icon:hover {
    background: #f1f5f9;
}

.hz-login-btn {
    padding: 7px 16px;
    border-radius: var(--hz-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--hz-primary);
    text-decoration: none;
    transition: background 0.15s;
}

.hz-login-btn:hover {
    background: #eef2ff;
}

.hz-register-btn {
    padding: 7px 18px;
    border-radius: var(--hz-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: var(--hz-primary);
    text-decoration: none;
    transition: background 0.15s;
}

.hz-register-btn:hover {
    background: var(--hz-primary-dark);
    color: #fff;
}

/* Hamburger */
.hz-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.hz-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--hz-text);
    border-radius: 2px;
    transition: 0.2s;
}

/* ====================================================
   Mobile Drawer
   ==================================================== */
.hz-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 200;
}

.hz-overlay.active { display: block; }

.hz-drawer {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--hz-card);
    z-index: 201;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.hz-drawer.active { right: 0; }

.hz-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--hz-border-light);
}

.hz-drawer-title { font-size: 16px; font-weight: 600; }

.hz-drawer-close {
    font-size: 24px;
    background: none;
    border: none;
    color: var(--hz-text-secondary);
    cursor: pointer;
    padding: 4px;
}

.hz-drawer-nav {
    list-style: none;
    padding: 8px;
    margin: 0;
    flex: 1;
}

.hz-drawer-link {
    display: block;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--hz-text);
    border-radius: var(--hz-radius-sm);
    text-decoration: none;
    transition: background 0.15s;
}

.hz-drawer-link:hover { background: #f1f5f9; }

.hz-drawer-footer {
    padding: 16px 20px 24px;
    border-top: 1px solid var(--hz-border-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hz-drawer-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: var(--hz-radius-sm);
    font-size: 15px;
    font-weight: 500;
    background: var(--hz-primary);
    color: #fff;
    text-decoration: none;
    transition: background 0.15s, opacity 0.15s;
}

.hz-drawer-btn:hover {
    background: color-mix(in srgb, var(--hz-primary), #000 15%);
    color: #fff;
}

.hz-drawer-btn-outline {
    background: transparent;
    color: var(--hz-text);
    border: 1px solid var(--hz-border);
    transition: background 0.15s, color 0.15s;
}

.hz-drawer-btn-outline:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--hz-primary);
    border-color: var(--hz-primary);
}

/* ====================================================
   Main Content Area
   ==================================================== */
.hz-main {
    padding-top: var(--hz-header-h);
    min-height: 100vh;
}

/* ====================================================
   Footer
   ==================================================== */
.hz-footer {
    background: var(--hz-card);
    border-top: 1px solid var(--hz-border-light);
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.hz-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hz-footer-brand { flex: 1; min-width: 200px; }

.hz-footer-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--hz-text);
}

.hz-footer-logo svg { color: var(--hz-primary); }

.hz-footer-desc {
    font-size: 13px;
    color: var(--hz-text-secondary);
    line-height: 1.6;
    margin: 8px 0 0;
}

.hz-footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hz-footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--hz-text);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hz-footer-col a {
    display: block;
    padding: 4px 0;
    font-size: 14px;
    color: var(--hz-text-secondary);
    text-decoration: none;
    transition: color 0.15s;
}

.hz-footer-col a:hover { color: var(--hz-primary); }

.hz-footer-bottom {
    max-width: 1200px;
    margin: 24px auto 0;
    padding-top: 16px;
    border-top: 1px solid var(--hz-border-light);
    text-align: center;
}

.hz-footer-bottom p {
    font-size: 12px;
    color: var(--hz-text-muted);
    margin: 0;
}

/* ====================================================
   Buttons
   ==================================================== */
.hz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--hz-radius-sm);
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
    text-decoration: none;
}

.hz-btn-primary {
    background: var(--hz-primary);
    color: #fff;
}

.hz-btn-primary:hover {
    background: var(--hz-primary-dark);
    color: #fff;
}

.hz-btn-outline {
    background: transparent;
    color: var(--hz-text);
    border: 1px solid var(--hz-border);
}

.hz-btn-outline:hover {
    background: #f1f5f9;
    border-color: var(--hz-text-muted);
}

.hz-btn-sm {
    padding: 7px 14px;
    font-size: 13px;
}

.hz-btn-full {
    width: 100%;
}

/* ====================================================
   Auth Pages (Login/Register/Activate)
   ==================================================== */
.hz-auth-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--hz-header-h) - 80px);
    padding: 40px 16px;
}

.hz-auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--hz-card);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: var(--hz-shadow-md);
    border: 1px solid var(--hz-border-light);
}

.hz-auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.hz-auth-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hz-primary);
}

.hz-auth-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--hz-text);
    margin: 0 0 6px;
}

.hz-auth-subtitle {
    font-size: 14px;
    color: var(--hz-text-secondary);
    margin: 0;
}

.hz-invite-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 16px;
    background: var(--hz-emerald-light);
    border-radius: 20px;
    font-size: 13px;
    color: #065f46;
}

.hz-auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Form */
.hz-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hz-form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--hz-text);
}

.hz-form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hz-form-link {
    font-size: 12px;
    color: var(--hz-primary);
    font-weight: 500;
}

.hz-form-input {
    width: 100%;
    padding: 11px 14px;
    font-size: 15px;
    color: var(--hz-text);
    background: #f8fafc;
    border: 1px solid var(--hz-border);
    border-radius: var(--hz-radius-sm);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.hz-form-input:focus {
    border-color: var(--hz-primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
    background: #fff;
}

.hz-form-input::placeholder { color: var(--hz-text-muted); }

.hz-input-wrap {
    position: relative;
}

.hz-input-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--hz-text-muted);
    cursor: pointer;
    padding: 4px;
}

/* Password Strength */
.hz-pwd-strength {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.hz-pwd-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s, background 0.3s;
}

.hz-pwd-bar.weak { background: #ef4444; width: 25%; }
.hz-pwd-bar.medium { background: #f59e0b; width: 50%; }
.hz-pwd-bar.strong { background: #10b981; width: 75%; }
.hz-pwd-bar.very-strong { background: #059669; width: 100%; }

/* Messages */
.hz-form-msg {
    padding: 10px 14px;
    border-radius: var(--hz-radius-sm);
    font-size: 13px;
    line-height: 1.4;
}

.hz-form-msg-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.hz-form-msg-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.hz-auth-switch {
    text-align: center;
    font-size: 14px;
    color: var(--hz-text-secondary);
    margin: 20px 0 0;
}

.hz-auth-link {
    color: var(--hz-primary);
    font-weight: 600;
}

.hz-auth-agree {
    text-align: center;
    font-size: 12px;
    color: var(--hz-text-muted);
    margin: 12px 0 0;
}

.hz-auth-agree a { color: var(--hz-text-muted); text-decoration: underline; }

/* ---- Modal ---- */
.hz-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
    padding: 16px;
}

.hz-modal-box {
    background: var(--hz-card);
    border-radius: 16px;
    padding: 32px 24px 24px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.hz-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.hz-modal-head h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.hz-modal-close {
    font-size: 24px;
    background: none;
    border: none;
    color: var(--hz-text-muted);
    cursor: pointer;
    padding: 4px;
}

.hz-modal-tip {
    font-size: 14px;
    color: var(--hz-text-secondary);
    margin: 0 0 16px;
}

/* ====================================================
   Dashboard
   ==================================================== */
.hz-dashboard {
    padding: 24px 16px 40px;
}

.hz-dash-container {
    max-width: 960px;
    margin: 0 auto;
}

.hz-page-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hz-page-head h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.hz-back-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--hz-text-secondary);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s;
}

.hz-back-link:hover { background: #f1f5f9; }

/* ---- User Card ---- */
.hz-dash-user {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #eef2ff, #f0fdf4);
    border-radius: 16px;
    margin-bottom: 24px;
}

.hz-dash-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--hz-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    flex-shrink: 0;
}

.hz-dash-user-info h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.hz-dash-email {
    font-size: 13px;
    color: var(--hz-text-secondary);
    margin: 2px 0 6px;
}

.hz-dash-plan {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.hz-dash-plan.plan-free { background: #e2e8f0; color: #475569; }
.hz-dash-plan.plan-pro { background: #eef2ff; color: var(--hz-primary); }
.hz-dash-plan.plan-biz { background: #d1fae5; color: #065f46; }

.hz-dash-user-actions {
    margin-left: auto;
    align-self: flex-start;
}

.hz-dash-logout {
    font-size: 13px;
    color: var(--hz-text-muted);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.hz-dash-logout:hover { background: #fee2e2; color: #ef4444; }

/* ---- Grid ---- */
.hz-dash-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

/* Sidebar Nav */
.hz-dash-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hz-dash-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--hz-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--hz-text-secondary);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.hz-dash-nav-item:hover { background: #f1f5f9; color: var(--hz-text); }

.hz-dash-nav-item.active {
    background: #eef2ff;
    color: var(--hz-primary);
}

/* ---- Cards ---- */
.hz-dash-card {
    background: var(--hz-card);
    border: 1px solid var(--hz-border-light);
    border-radius: var(--hz-radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--hz-shadow);
}

.hz-dash-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--hz-text);
}

.hz-card-desc {
    font-size: 13px;
    color: var(--hz-text-secondary);
    margin: -8px 0 16px;
}

/* ---- Invite Mini Card ---- */
.hz-invite-mini {
    margin-top: 16px;
}

.hz-invite-code-box {
    background: #f0fdf4;
    border: 1px dashed #a7f3d0;
    border-radius: var(--hz-radius-sm);
    padding: 12px;
    text-align: center;
    margin-bottom: 12px;
}

.hz-invite-code {
    font-size: 18px;
    font-weight: 700;
    color: #065f46;
    letter-spacing: 2px;
}

/* ---- Upline Card ---- */
.hz-upline-card { }

.hz-upline-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hz-upline-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--hz-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

.hz-upline-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.hz-upline-email {
    font-size: 12px;
    color: var(--hz-text-secondary);
    margin: 2px 0 0;
}

/* ---- Info Grid ---- */
.hz-info-grid {
    display: grid;
    gap: 12px;
}

.hz-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--hz-border-light);
}

.hz-info-item:last-child { border-bottom: none; }

.hz-info-label {
    font-size: 13px;
    color: var(--hz-text-secondary);
}

.hz-info-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--hz-text);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---- Badges ---- */
.hz-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.hz-badge-success { background: #d1fae5; color: #065f46; }
.hz-badge-warning { background: #fef3c7; color: #92400e; }
.hz-badge-count {
    background: #eef2ff;
    color: var(--hz-primary);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}

/* ---- Downline List ---- */
.hz-downline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hz-downline-header h3 { margin: 0; }

.hz-downline-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hz-downline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: var(--hz-radius-sm);
    transition: background 0.15s;
}

.hz-downline-item:hover { background: #f1f5f9; }

.hz-downline-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hz-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.hz-downline-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hz-downline-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--hz-text);
}

.hz-downline-email {
    font-size: 12px;
    color: var(--hz-text-secondary);
}

.hz-downline-time {
    font-size: 11px;
    color: var(--hz-text-muted);
}

/* ---- Empty State ---- */
.hz-empty-state {
    text-align: center;
    padding: 40px 20px;
}

.hz-empty-state p {
    font-size: 14px;
    color: var(--hz-text-secondary);
    margin: 12px 0 16px;
}

.hz-empty-hint {
    font-size: 12px !important;
    color: var(--hz-text-muted) !important;
}

/* ====================================================
   Invite Page
   ==================================================== */
.hz-invite-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.hz-invite-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hz-invite-url-box {
    background: #f8fafc;
    border: 1px solid var(--hz-border);
    border-radius: var(--hz-radius-sm);
    padding: 14px;
    word-break: break-all;
    margin-bottom: 12px;
}

.hz-invite-url {
    font-size: 12px;
    color: var(--hz-primary);
    line-height: 1.6;
}

.hz-qr-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px 0 16px;
}

.hz-qr-img {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    border: 1px solid var(--hz-border-light);
}

.hz-invite-code-box-lg {
    background: #f0fdf4;
    border: 1px dashed #a7f3d0;
    border-radius: var(--hz-radius-sm);
    padding: 16px;
    text-align: center;
    margin-bottom: 12px;
}

.hz-invite-code-lg {
    font-size: 24px;
    font-weight: 700;
    color: #065f46;
    letter-spacing: 3px;
}

/* ====================================================
   About / Contact Pages
   ==================================================== */
.hz-page {
    padding: 40px 16px 60px;
}

.hz-page-container {
    max-width: 800px;
    margin: 0 auto;
}

.hz-page-hero {
    text-align: center;
    margin-bottom: 40px;
}

.hz-page-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #eef2ff, #f0fdf4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hz-primary);
}

.hz-page-hero h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--hz-text);
    margin: 0 0 8px;
}

.hz-page-subtitle {
    font-size: 16px;
    color: var(--hz-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* About */
.hz-about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hz-about-card {
    background: var(--hz-card);
    border: 1px solid var(--hz-border-light);
    border-radius: var(--hz-radius);
    padding: 32px;
    box-shadow: var(--hz-shadow);
}

.hz-about-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--hz-text);
}

.hz-about-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--hz-text-secondary);
    margin: 0;
}

.hz-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.hz-service-item {
    text-align: center;
    padding: 24px 16px;
    background: #f8fafc;
    border-radius: var(--hz-radius-sm);
}

.hz-service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hz-primary);
}

.hz-service-item h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--hz-text);
}

.hz-service-item p {
    font-size: 13px;
    color: var(--hz-text-secondary);
    line-height: 1.5;
}

/* Contact */
.hz-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.hz-contact-card {
    background: var(--hz-card);
    border: 1px solid var(--hz-border-light);
    border-radius: var(--hz-radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--hz-shadow);
}

.hz-contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hz-primary);
}

.hz-contact-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
}

.hz-contact-detail {
    font-size: 13px;
    color: var(--hz-text-secondary);
    margin: 0;
}

.hz-contact-note {
    text-align: center;
    padding: 24px;
    background: var(--hz-card);
    border: 1px solid var(--hz-border-light);
    border-radius: var(--hz-radius);
    font-size: 14px;
    color: var(--hz-text-secondary);
    box-shadow: var(--hz-shadow);
}

.hz-contact-note a { font-weight: 600; }

/* ====================================================
   Form Row Group (Profile Page)
   ==================================================== */
.hz-form-row-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 16px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .hz-form-row-group { grid-template-columns: 1fr; }
}

.hz-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--hz-primary);
    margin: 20px 0 10px;
    padding-left: 8px;
    border-left: 3px solid var(--hz-primary);
}

.hz-form-hint {
    font-size: 12px;
    color: var(--hz-text-muted);
    margin: 4px 0 0;
}

.hz-form-row {
    display: flex;
    align-items: center;
}

.hz-checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.hz-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--hz-primary);
}

.hz-checkbox-text {
    font-size: 13px;
    color: var(--hz-text-secondary);
}

.hz-profile-form textarea {
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
}

/* ====================================================
   Responsive - Mobile
   ==================================================== */
@media (max-width: 768px) {
    .hz-header-inner { padding: 0 16px; }
    .hz-nav { display: none; }
    .hz-login-btn,
    .hz-register-btn,
    .hz-member-btn { display: none; }
    .hz-member-icon { display: inline-flex; }
    .hz-menu-btn { display: flex; }

    .hz-dash-grid { grid-template-columns: 1fr; }
    .hz-dash-user { flex-wrap: wrap; }
    .hz-dash-user-actions { margin-left: 0; }
    .hz-invite-layout { grid-template-columns: 1fr; }

    .hz-service-grid { grid-template-columns: 1fr; }
    .hz-contact-grid { grid-template-columns: 1fr; }

    .hz-auth-card { padding: 28px 20px; }
    .hz-auth-section { padding: 24px 16px; }

    .hz-page-hero h1 { font-size: 24px; }
    .hz-about-card { padding: 24px 20px; }

    .hz-footer-inner { flex-direction: column; gap: 24px; }
    .hz-footer-links { gap: 24px; }
}

/* ---- Also show login/register on mobile via drawer ---- */
@media (min-width: 769px) {
    .hz-drawer-btn { display: none; }
}
