/* ============================================
   VAHA Design System — v2.0
   ============================================ */

/* ---------- VARIABLES ---------- */
:root {
    --green-deep:   #2D6A4F;
    --green:        #40916C;
    --green-mid:    #52B788;
    --green-light:  #B7E4C7;
    --green-pale:   #D8F3DC;
    --amber:        #F4A261;
    --amber-light:  #FCDBB5;
    --red:          #E63946;
    --bg:           #F8FAF9;
    --bg-card:      #FFFFFF;
    --border:       #E8F0EB;
    --text:         #1A2E24;
    --text-mid:     #3D5A47;
    --text-muted:   #7A9484;
    --shadow-sm:    0 1px 3px rgba(45,106,79,.08);
    --shadow-md:    0 4px 16px rgba(45,106,79,.12);
    --shadow-lg:    0 12px 40px rgba(45,106,79,.16);
    --radius-sm:    8px;
    --radius-md:    14px;
    --radius-lg:    20px;
    --radius-xl:    28px;
    --transition:   all .2s ease;
    --font-body:    'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', serif;
    --nav-h:        64px;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--green-light); border-radius: 99px; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(248,250,249,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-mark { font-size: 1.4rem; }
.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green-deep);
    letter-spacing: -.5px;
}
.nav-center {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.nav-link {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: var(--transition);
    text-decoration: none;
}
.nav-link:hover { background: var(--green-pale); color: var(--green-deep); }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-auth { display: flex; gap: 8px; }
.nav-user { display: flex; align-items: center; gap: 10px; position: relative; }

/* Nav notification button */
.nav-notif {
    position: relative;
    background: none;
    border: none;
    padding: 8px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
}
.nav-notif:hover { background: var(--green-pale); color: var(--green-deep); }
.notif-badge {
    position: absolute;
    top: 4px; right: 4px;
    background: var(--red);
    color: white;
    font-size: .6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* User chip */
.user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--green-pale);
    border: 1px solid var(--green-light);
    border-radius: 99px;
    padding: 5px 12px 5px 5px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--green-deep);
    transition: var(--transition);
}
.user-chip:hover { background: var(--green-light); }
.user-chip-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-size: .75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-chip-name { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 6px;
    display: none;
    z-index: 200;
}
.dropdown.show { display: block; animation: dropIn .15s ease; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: .88rem;
    color: var(--text);
    transition: var(--transition);
    text-decoration: none;
}
.dropdown a:hover { background: var(--green-pale); color: var(--green-deep); }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }
.logout-link { color: var(--red) !important; }
.logout-link:hover { background: #FEE2E2 !important; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 600;
    padding: 9px 18px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    outline: none;
    min-height: 44px;
}
.btn:disabled, .btn.loading { 
    opacity: 0.6; 
    cursor: not-allowed; 
    pointer-events: none;
}
.btn.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.btn-primary {
    background: var(--green);
    color: white;
}
.btn-primary:hover:not(:disabled) { background: var(--green-deep); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(45,106,79,.25); }
.btn-ghost { background: transparent; color: var(--text-mid); }
.btn-ghost:hover { background: var(--green-pale); color: var(--green-deep); }
.btn-outline {
    background: transparent;
    color: var(--green);
    border: 1.5px solid var(--green);
}
.btn-outline:hover { background: var(--green-pale); }
.btn-white {
    background: white;
    color: var(--green-deep);
}
.btn-white:hover { background: var(--green-pale); transform: translateY(-1px); }
.btn-danger { background: var(--red); color: white; }
.btn-danger:hover { background: #c0392b; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }
.btn-xl { padding: 15px 32px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-sm { padding: 6px 12px; font-size: .82rem; }
.btn-full { width: 100%; }
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    padding: 6px 0;
}
.btn-back:hover { color: var(--green); }
.btn-back-icon {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-mid);
    transition: var(--transition);
}
.btn-back-icon:hover { background: var(--green-pale); }

/* ============================================
   PAGE SYSTEM
   ============================================ */
.page { display: none; }
.page.active { display: block; animation: pgIn .25s ease; }
@keyframes pgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.page-chat-full.active { display: flex; }

.page-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}
.page-layout.narrow {
    max-width: 720px;
}
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}
.page-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}
.page-sub {
    color: var(--text-muted);
    margin-top: 4px;
    font-size: .95rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: calc(100vh - var(--nav-h));
    background: linear-gradient(145deg, #EEF7F0 0%, #D8F3DC 40%, #F0F9F4 70%, #FFF8F0 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding: 80px 8% 60px;
    position: relative;
    overflow: hidden;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: .15;
}
.shape-1 { width: 400px; height: 400px; background: var(--green-mid); top: -100px; right: -100px; }
.shape-2 { width: 250px; height: 250px; background: var(--amber); bottom: 20px; left: -80px; }
.shape-3 { width: 150px; height: 150px; background: var(--green-deep); top: 50%; right: 30%; }
.hero-content { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1px solid var(--green-light);
    border-radius: 99px;
    padding: 6px 14px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--green-deep);
    margin-bottom: 24px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 20px;
}
.hero-title em {
    font-style: italic;
    color: var(--green);
}
.hero-sub {
    font-size: 1.08rem;
    color: var(--text-mid);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust {
    display: flex;
    gap: 20px;
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 500;
}
/* Chat preview widget */
.hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; }
.chat-preview {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    width: 320px;
    animation: floatAnim 4s ease-in-out infinite;
}
@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.chat-preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.chat-preview-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-mid));
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-preview-name { font-weight: 600; font-size: .9rem; color: var(--text); }
.chat-preview-status { font-size: .75rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.online-dot { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; display: inline-block; }
.chat-preview-messages { display: flex; flex-direction: column; gap: 8px; }
.chat-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: .85rem;
    line-height: 1.5;
    max-width: 85%;
}
.bubble-them {
    background: var(--green-pale);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.bubble-me {
    background: var(--green);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--green-deep);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 28px 24px;
}
.stat-item { text-align: center; flex: 1; max-width: 180px; }
.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}
.stat-lbl { font-size: .8rem; opacity: .75; margin-top: 2px; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,.2); }

/* ============================================
   SECTIONS
   ============================================ */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}
.section-label {
    display: inline-block;
    background: var(--green-pale);
    color: var(--green-deep);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 99px;
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 40px;
}

/* How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.step-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--green-mid));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-card:hover::before { transform: scaleX(1); }
.step-num { font-size: .75rem; font-weight: 800; color: var(--green-mid); letter-spacing: .1em; margin-bottom: 12px; }
.step-icon { font-size: 2rem; margin-bottom: 12px; }
.step-card h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; color: var(--text); }
.step-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* Categories */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.cat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.cat-card:hover { background: var(--green-pale); border-color: var(--green-light); transform: translateY(-2px); }
.cat-emoji { font-size: 1.8rem; }
.cat-name { font-size: .85rem; font-weight: 600; color: var(--text-mid); }

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
    margin: 0;
    padding: 0;
}
.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
    color: white;
}
.cta-inner h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.cta-inner p { opacity: .85; font-size: 1.05rem; margin-bottom: 28px; }

/* About strip */
.about-strip { padding: 0; }
.about-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 80px 24px;
}
.about-strip-values { display: flex; flex-direction: column; gap: 20px; }
.value-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.5rem;
}
.value-item > span { width: 48px; height: 48px; background: var(--green-pale); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.value-item strong { display: block; font-weight: 700; font-size: .95rem; }
.value-item small { color: var(--text-muted); font-size: .82rem; }

/* ============================================
   FEED
   ============================================ */
.feed-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.filter-chip {
    padding: 7px 16px;
    border-radius: 99px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--text-mid);
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.filter-chip:hover { border-color: var(--green-light); color: var(--green); }
.filter-chip.active {
    background: var(--green);
    border-color: var(--green);
    color: white;
}
.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-light); }
.post-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.post-author {
    display: flex;
    align-items: center;
    gap: 8px;
}
.post-author-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-light), var(--green-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    color: var(--green-deep);
}
.post-author-name { font-size: .88rem; font-weight: 600; color: var(--text); }
.post-author-time { font-size: .75rem; color: var(--text-muted); }
.post-cat-tag {
    padding: 4px 10px;
    border-radius: 99px;
    font-size: .75rem;
    font-weight: 600;
    background: var(--green-pale);
    color: var(--green-deep);
    white-space: nowrap;
}
.post-content {
    font-size: .95rem;
    color: var(--text-mid);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.post-support-type { display: flex; gap: 6px; }
.post-support-icon { font-size: .9rem; opacity: .6; }
.post-reply-btn {
    background: var(--green);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 7px 16px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.post-reply-btn:hover { background: var(--green-deep); }

/* ============================================
   NEW POST FORM
   ============================================ */
.post-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.post-form-card h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.post-form-sub { color: var(--text-muted); margin-bottom: 28px; }
.post-textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    font-size: 1rem;
    color: var(--text);
    background: var(--bg);
    resize: vertical;
    transition: var(--transition);
    line-height: 1.6;
}
.post-textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(64,145,108,.12); }
.char-count { text-align: right; font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
.cat-select-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cat-select-btn {
    padding: 8px 16px;
    border-radius: 99px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--text-mid);
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.cat-select-btn:hover { border-color: var(--green-light); }
.cat-select-btn.active { background: var(--green); border-color: var(--green); color: white; }
.identity-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.identity-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}
.identity-btn span { font-size: 1.6rem; }
.identity-btn strong { display: block; font-size: .9rem; color: var(--text); }
.identity-btn small { font-size: .78rem; color: var(--text-muted); }
.identity-btn.active { border-color: var(--green); background: var(--green-pale); }
.support-type-row { display: flex; gap: 20px; flex-wrap: wrap; }
.support-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: var(--text-mid);
    cursor: pointer;
}
.support-opt input { accent-color: var(--green); width: 16px; height: 16px; }

/* ============================================
   LISTENERS
   ============================================ */
.listeners-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.sort-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    font-size: .85rem;
    color: var(--text-mid);
    background: var(--bg-card);
    cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--green); }
.listeners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.listener-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
    cursor: pointer;
}
.listener-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-light); }
.listener-card-top { display: flex; align-items: center; gap: 14px; }
.listener-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.listener-status {
    position: absolute;
    bottom: 2px; right: 2px;
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: #9CA3AF;
}
.listener-status.online { background: #22c55e; }
.listener-name { font-weight: 700; font-size: 1rem; color: var(--text); }
.listener-title { font-size: .82rem; color: var(--text-muted); margin-top: 2px; }
.listener-rating {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--text);
}
.listener-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.specialty-tag {
    padding: 3px 10px;
    border-radius: 99px;
    background: var(--green-pale);
    color: var(--green-deep);
    font-size: .75rem;
    font-weight: 600;
}
.listener-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.listener-price { font-weight: 700; color: var(--text); font-size: .95rem; }
.listener-price small { font-weight: 400; color: var(--text-muted); font-size: .78rem; }
.listener-actions { display: flex; gap: 6px; }
.listener-type-btn {
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: var(--green-pale);
    border: none;
    font-size: .9rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--green-deep);
}
.listener-type-btn:hover { background: var(--green-light); }

/* ============================================
   LISTENER PROFILE
   ============================================ */
.lp-header {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.lp-avatar {
    width: 88px; height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lp-info { flex: 1; }
.lp-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; }
.lp-title { color: var(--text-muted); font-size: .9rem; margin-bottom: 12px; }
.lp-stats { display: flex; gap: 24px; margin-bottom: 16px; }
.lp-stat { text-align: center; }
.lp-stat strong { display: block; font-size: 1.2rem; font-weight: 800; color: var(--text); }
.lp-stat small { font-size: .75rem; color: var(--text-muted); }
.lp-bio { font-size: .9rem; color: var(--text-mid); line-height: 1.6; }
.lp-action-bar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}
.lp-action-bar h3 { font-weight: 700; margin-bottom: 16px; }
.session-type-select {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.session-type-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    cursor: pointer;
    text-align: center;
    font-size: .88rem;
    font-weight: 600;
    transition: var(--transition);
    min-width: 100px;
}
.session-type-btn:hover { border-color: var(--green-light); }
.session-type-btn.active { border-color: var(--green); background: var(--green-pale); color: var(--green-deep); }
.lp-reviews {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.review-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.review-item:last-child { border-bottom: none; padding-bottom: 0; }
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.review-author { font-weight: 600; font-size: .88rem; }
.review-stars { color: var(--amber); font-size: .88rem; }
.review-text { font-size: .88rem; color: var(--text-mid); }

/* ============================================
   CHAT
   ============================================ */
.page-chat-full {
    height: calc(100vh - var(--nav-h));
    flex-direction: column;
}
.chat-layout {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
}
.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}
.chat-header-info { display: flex; align-items: center; gap: 10px; flex: 1; }
.chat-header-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}
.chat-header-name { font-weight: 700; font-size: .95rem; }
.chat-header-status { font-size: .75rem; color: var(--text-muted); }
.chat-header-actions { display: flex; gap: 6px; }
.chat-action-btn {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.chat-action-btn:hover { background: var(--green-pale); }
.chat-action-danger:hover { background: #FEE2E2; border-color: var(--red); }
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg);
}
.msg {
    display: flex;
    gap: 8px;
    max-width: 75%;
    animation: msgIn .2s ease;
}
@keyframes msgIn { from { opacity:0; transform: translateY(6px); } to { opacity:1; transform: translateY(0); } }
.msg-mine { align-self: flex-end; flex-direction: row-reverse; }
.msg-theirs { align-self: flex-start; }
.msg-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-light), var(--green-mid));
    color: var(--green-deep);
    font-size: .65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-end;
}
.msg-bubble {
    padding: 11px 15px;
    border-radius: 18px;
    font-size: .9rem;
    line-height: 1.55;
    word-break: break-word;
}
.msg-mine .msg-bubble {
    background: var(--green);
    color: white;
    border-bottom-right-radius: 4px;
}
.msg-theirs .msg-bubble {
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}
.msg-time {
    font-size: .68rem;
    color: var(--text-muted);
    margin-top: 4px;
    padding: 0 2px;
    align-self: flex-end;
}
.msg-system {
    text-align: center;
    color: var(--text-muted);
    font-size: .8rem;
    padding: 4px 0;
}
.chat-input-area {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 12px 16px;
}
.crisis-btn-wrap { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.crisis-btn {
    background: #FEE2E2;
    border: none;
    color: var(--red);
    font-size: .78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 99px;
    cursor: pointer;
    transition: var(--transition);
}
.crisis-btn:hover { background: #FECACA; }
.chat-input-form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}
.chat-input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: .9rem;
    color: var(--text);
    background: var(--bg);
    resize: none;
    max-height: 120px;
    line-height: 1.5;
    transition: var(--transition);
}
.chat-input:focus { outline: none; border-color: var(--green); }
.chat-send-btn {
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    background: var(--green);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}
.chat-send-btn:hover { background: var(--green-deep); }

/* ============================================
   CHATS LIST
   ============================================ */
.chat-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 10px;
    text-decoration: none;
}
.chat-list-item:hover { border-color: var(--green-light); box-shadow: var(--shadow-sm); }
.chat-list-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.chat-list-info { flex: 1; min-width: 0; }
.chat-list-name { font-weight: 600; font-size: .92rem; color: var(--text); }
.chat-list-preview { font-size: .82rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-list-time { font-size: .75rem; color: var(--text-muted); flex-shrink: 0; }

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-hello {
    margin-bottom: 32px;
}
.dashboard-hello h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; }
.dashboard-hello p { color: var(--text-muted); margin-top: 4px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.stat-card-icon { font-size: 1.5rem; }
.stat-card-value { font-size: 1.8rem; font-weight: 800; color: var(--text); }
.stat-card-label { font-size: .82rem; color: var(--text-muted); }
.dashboard-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.dashboard-section { margin-bottom: 32px; }
.dashboard-section h3 { font-weight: 700; font-size: 1.05rem; margin-bottom: 16px; color: var(--text); }

/* ============================================
   MOOD
   ============================================ */
.mood-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    text-align: center;
}
.mood-emojis {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}
.mood-emoji {
    font-size: 2.2rem;
    background: none;
    border: 2.5px solid transparent;
    border-radius: 50%;
    width: 58px; height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.mood-emoji:hover { transform: scale(1.2); border-color: var(--green-light); }
.mood-emoji.selected { border-color: var(--green); background: var(--green-pale); transform: scale(1.15); }
.mood-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--text-muted); margin-bottom: 8px; }
.mood-history-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}
.mood-history-emoji { font-size: 1.8rem; }
.mood-history-info { flex: 1; }
.mood-history-note { font-size: .9rem; color: var(--text); }
.mood-history-date { font-size: .75rem; color: var(--text-muted); }

/* ============================================
   PROFILE
   ============================================ */
.profile-header {
    background: linear-gradient(135deg, var(--green-deep), var(--green));
    border-radius: var(--radius-xl);
    padding: 36px;
    color: white;
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 20px;
}
.profile-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    border: 3px solid rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}
.profile-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; }
.profile-role { opacity: .8; font-size: .88rem; margin-top: 2px; }
.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
}
.profile-card h3 { font-weight: 700; margin-bottom: 16px; font-size: 1rem; }

/* ============================================
   SETTINGS
   ============================================ */
.settings-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.settings-section {
    padding: 24px;
    border-bottom: 1px solid var(--border);
}
.settings-section:last-child { border-bottom: none; }
.settings-title { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.settings-item:last-child { border-bottom: none; padding-bottom: 0; }
.settings-item-label { font-weight: 600; font-size: .9rem; }
.settings-item-sub { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    inset: 0;
    background: #CBD5E1;
    border-radius: 99px;
    cursor: pointer;
    transition: .3s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: .3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--green); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 7px;
}
.form-input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: .9rem;
    color: var(--text);
    background: var(--bg);
    transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(64,145,108,.1); }

/* ============================================
   AUTH
   ============================================ */
.auth-wrap {
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: linear-gradient(145deg, #EEF7F0, #D8F3DC 60%, #F0F9F4);
}
.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}
.auth-logo { font-size: 2.5rem; text-align: center; margin-bottom: 16px; }
.auth-card h2 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4px;
}
.auth-sub { text-align: center; color: var(--text-muted); font-size: .9rem; margin-bottom: 28px; }
.auth-switch { text-align: center; margin-top: 20px; font-size: .88rem; color: var(--text-muted); }
.role-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.role-btn span { font-size: 1.8rem; }
.role-btn strong { font-size: .88rem; color: var(--text); display: block; }
.role-btn small { font-size: .75rem; color: var(--text-muted); }
.role-btn.active { border-color: var(--green); background: var(--green-pale); }
.role-btn:hover:not(.active) { border-color: var(--green-light); }

/* ============================================
   ABOUT
   ============================================ */
.about-hero-section {
    text-align: center;
    padding: 48px 0 32px;
}
.about-hero-section h1 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.about-hero-section p { color: var(--text-mid); font-size: 1.05rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.about-blocks { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.about-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.about-block-icon {
    font-size: 2rem;
    width: 52px; height: 52px;
    background: var(--green-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.about-block h3 { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.about-block p { font-size: .9rem; color: var(--text-mid); line-height: 1.65; }
.about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: var(--green-deep);
    border-radius: var(--radius-xl);
    padding: 32px;
    color: white;
    text-align: center;
    margin-bottom: 40px;
}
.about-stat strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
.about-stat span { font-size: .8rem; opacity: .75; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item.open { border-color: var(--green-light); }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: none;
    border: none;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}
.faq-q:hover { background: var(--green-pale); color: var(--green-deep); }
.faq-arrow { flex-shrink: 0; transition: transform .25s; font-size: 1.1rem; color: var(--green); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    font-size: .9rem;
    color: var(--text-mid);
    line-height: 1.7;
    transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding: 4px 20px 18px; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 28px;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
}
.contact-info-item strong { display: block; font-size: .9rem; font-weight: 700; }
.contact-info-item small { font-size: .82rem; color: var(--text-muted); }
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--green-deep);
    color: white;
}
/* Hide footer on chat page */
.page-chat-full.active ~ * .footer,
body:has(#page-chat.active) .footer { display: none; }

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
}
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.footer-brand p { opacity: .75; font-size: .88rem; line-height: 1.6; max-width: 240px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { font-size: 1.3rem; opacity: .7; text-decoration: none; transition: var(--transition); }
.footer-social a:hover { opacity: 1; transform: translateY(-2px); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col strong { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .5; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.75); font-size: .88rem; margin-bottom: 10px; transition: var(--transition); text-decoration: none; }
.footer-col a:hover { color: white; padding-left: 4px; }
.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
    opacity: .65;
}

/* ============================================
   MODAL / CRISIS
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}
.crisis-modal { text-align: center; }
.crisis-header { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.crisis-modal p { color: var(--text-mid); margin-bottom: 20px; }
.crisis-options { display: flex; flex-direction: column; gap: 10px; }
.crisis-option {
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--green-pale);
    color: var(--text);
    text-align: center;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}
.crisis-option:hover { opacity: .85; }
.crisis-option-danger { background: #FEE2E2; color: var(--red); }
.crisis-option-chat { background: var(--green-pale); color: var(--green-deep); }

/* ============================================
   TOAST
   ============================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    background: var(--text);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: .88rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateX(20px);
    transition: all .3s ease;
    max-width: 320px;
    border-left: 4px solid var(--green);
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast-success { border-left-color: var(--green-mid); }
.toast-error { border-left-color: var(--red); background: #1C1C1C; }
.toast-info { border-left-color: var(--amber); }

/* ============================================
   STATES
   ============================================ */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    gap: 12px;
    color: var(--text-muted);
    font-size: .9rem;
}
.spinner {
    width: 32px; height: 32px;
    border: 2.5px solid var(--green-light);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-muted);
}
.empty-icon { font-size: 2.5rem; margin-bottom: 12px; }
.empty-state h3 { font-weight: 700; color: var(--text); font-size: 1.1rem; margin-bottom: 6px; }
.empty-state p { font-size: .9rem; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; padding: 60px 5%; }
    .hero-visual { display: none; }
    .about-strip-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .steps-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-center { display: none; }
    .nav-inner { gap: 8px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats-row { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .listeners-filters { flex-direction: column; align-items: flex-start; }
    .lp-header { flex-direction: column; }
    .auth-card { padding: 32px 24px; }
    .post-form-card { padding: 24px; }
    .identity-toggle { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
    .stats-bar { flex-wrap: wrap; gap: 0; }
    .stat-divider { display: none; }
    .stat-item { min-width: 50%; padding: 12px 0; }
    .hero-actions { flex-direction: column; }
    .btn-xl { width: 100%; }
}
@media (max-width: 480px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-links { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .about-stats-row { grid-template-columns: 1fr 1fr; }
    .role-picker { grid-template-columns: 1fr; }
    .listeners-grid { grid-template-columns: 1fr; }
    .page-layout { padding: 20px 16px 60px; }
}


/* ============================================
   ADMIN PANEL — Complete Design System
   ============================================ */

.page-admin-full {
    min-height: 100vh;
    padding: 0;
    background: #0f1a14;
}

.admin-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ---------- Sidebar ---------- */
.admin-sidebar {
    width: 230px;
    min-width: 230px;
    background: #0f1a14;
    border-right: 1px solid rgba(82,183,136,.15);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.admin-sidebar-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(82,183,136,.15);
}

.admin-logo {
    font-size: 1.1rem;
    font-weight: 800;
    color: #52B788;
    letter-spacing: -.3px;
}

.admin-version {
    font-size: .7rem;
    color: rgba(82,183,136,.5);
    margin-top: 2px;
}

.admin-nav {
    padding: 12px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: none;
    border: none;
    color: rgba(184,215,198,.7);
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: background .15s, color .15s;
}

.admin-nav-item:hover {
    background: rgba(82,183,136,.12);
    color: #B7E4C7;
}

.admin-nav-item.active {
    background: rgba(82,183,136,.2);
    color: #52B788;
    font-weight: 700;
}

.admin-nav-divider {
    height: 1px;
    background: rgba(82,183,136,.12);
    margin: 10px 4px;
}

.admin-nav-exit {
    color: rgba(230, 57, 70, .7) !important;
    margin-top: auto;
}
.admin-nav-exit:hover {
    background: rgba(230,57,70,.12) !important;
    color: #E63946 !important;
}

/* ---------- Main area ---------- */
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #14211a;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: #0f1a14;
    border-bottom: 1px solid rgba(82,183,136,.15);
    flex-shrink: 0;
}

.admin-topbar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #B7E4C7;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-user-badge {
    background: rgba(82,183,136,.2);
    color: #52B788;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 700;
    border: 1px solid rgba(82,183,136,.3);
}

/* ---------- Content tabs ---------- */
.admin-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.admin-tab { display: none; }
.admin-tab.active { display: block; }

/* ---------- KPI Cards ---------- */
.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.kpi-card {
    background: rgba(82,183,136,.07);
    border: 1px solid rgba(82,183,136,.18);
    border-radius: 16px;
    padding: 20px 18px;
    text-align: center;
    transition: transform .2s, border-color .2s;
}

.kpi-card:hover {
    transform: translateY(-2px);
    border-color: rgba(82,183,136,.4);
}

.kpi-icon { font-size: 1.6rem; margin-bottom: 8px; }

.kpi-num {
    font-size: 2rem;
    font-weight: 800;
    color: #52B788;
    line-height: 1;
    margin-bottom: 6px;
}

.kpi-lbl {
    font-size: .76rem;
    color: rgba(184,215,198,.6);
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ---------- Tables ---------- */
.admin-section-title {
    font-size: .85rem;
    font-weight: 700;
    color: rgba(184,215,198,.5);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 14px;
}

.admin-table-wrap {
    background: rgba(82,183,136,.05);
    border: 1px solid rgba(82,183,136,.15);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .86rem;
    color: #B7E4C7;
}

.admin-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(82,183,136,.7);
    background: rgba(82,183,136,.08);
    white-space: nowrap;
}

.admin-table td {
    padding: 12px 16px;
    border-top: 1px solid rgba(82,183,136,.1);
    vertical-align: middle;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-table tr:hover td {
    background: rgba(82,183,136,.06);
}

/* ---------- Toolbar ---------- */
.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.admin-toolbar-right {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-search {
    background: rgba(82,183,136,.08);
    border: 1px solid rgba(82,183,136,.25);
    border-radius: 10px;
    padding: 8px 14px;
    color: #B7E4C7;
    font-size: .86rem;
    min-width: 200px;
    outline: none;
    transition: border .15s;
}

.admin-search::placeholder { color: rgba(184,215,198,.35); }
.admin-search:focus { border-color: #52B788; }

.admin-select {
    background: rgba(82,183,136,.08);
    border: 1px solid rgba(82,183,136,.25);
    border-radius: 10px;
    padding: 8px 12px;
    color: #B7E4C7;
    font-size: .84rem;
    outline: none;
    cursor: pointer;
}

/* ---------- Badges ---------- */
.admin-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: .73rem;
    font-weight: 700;
    white-space: nowrap;
}
.badge-admin   { background: rgba(244,162,97,.2); color: #F4A261; border: 1px solid rgba(244,162,97,.35); }
.badge-listener{ background: rgba(82,183,136,.2); color: #52B788; border: 1px solid rgba(82,183,136,.35); }
.badge-user    { background: rgba(184,215,198,.1); color: #B7E4C7; border: 1px solid rgba(184,215,198,.2); }
.badge-online  { background: rgba(82,183,136,.2); color: #52B788; border: 1px solid rgba(82,183,136,.35); }
.badge-offline { background: rgba(120,140,130,.15); color: rgba(184,215,198,.5); border: 1px solid rgba(120,140,130,.2); }
.badge-active  { background: rgba(82,183,136,.2); color: #52B788; border: 1px solid rgba(82,183,136,.35); }
.badge-ended   { background: rgba(120,140,130,.15); color: rgba(184,215,198,.5); border: 1px solid rgba(120,140,130,.2); }
.badge-banned  { background: rgba(230,57,70,.2); color: #E63946; border: 1px solid rgba(230,57,70,.35); }
.badge-pending { background: rgba(244,162,97,.2); color: #F4A261; border: 1px solid rgba(244,162,97,.35); }

/* ---------- Admin action buttons ---------- */
.admin-btn {
    padding: 4px 10px;
    border-radius: 7px;
    font-size: .76rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid;
    transition: background .15s, opacity .15s;
    white-space: nowrap;
    margin-right: 4px;
}

.admin-btn:hover { opacity: .85; }

.admin-btn-green { background: rgba(82,183,136,.2); color: #52B788; border-color: rgba(82,183,136,.4); }
.admin-btn-red   { background: rgba(230,57,70,.2); color: #E63946; border-color: rgba(230,57,70,.4); }
.admin-btn-amber { background: rgba(244,162,97,.2); color: #F4A261; border-color: rgba(244,162,97,.4); }
.admin-btn-view  { background: rgba(184,215,198,.1); color: #B7E4C7; border-color: rgba(184,215,198,.2); }

/* ---------- Empty admin state ---------- */
.admin-empty {
    padding: 48px 24px;
    text-align: center;
    color: rgba(184,215,198,.4);
    font-size: .88rem;
}

.admin-empty-icon { font-size: 2.2rem; margin-bottom: 10px; }

/* ---------- Admin Modal ---------- */
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.admin-modal {
    background: #14211a;
    border: 1px solid rgba(82,183,136,.3);
    border-radius: 20px;
    padding: 28px;
    max-width: 520px;
    width: 93%;
    max-height: 80vh;
    overflow-y: auto;
    color: #B7E4C7;
}

.admin-modal h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #52B788;
    margin-bottom: 16px;
}

.admin-modal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(82,183,136,.1);
    font-size: .86rem;
}

.admin-modal-row:last-of-type { border-bottom: none; }

.admin-modal-label { color: rgba(184,215,198,.55); }
.admin-modal-val   { font-weight: 600; }

.admin-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.admin-message-body {
    background: rgba(82,183,136,.07);
    border: 1px solid rgba(82,183,136,.15);
    border-radius: 10px;
    padding: 14px;
    font-size: .86rem;
    line-height: 1.6;
    margin-top: 12px;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ---- Responsive admin ---- */
@media (max-width: 700px) {
    .admin-sidebar { width: 56px; min-width: 56px; }
    .admin-sidebar-header { padding: 14px 10px; }
    .admin-logo, .admin-version { display: none; }
    .admin-nav-item { padding: 12px; justify-content: center; font-size: 0; }
    .admin-nav-item::first-letter { font-size: 1.1rem; }
    .admin-table td, .admin-table th { padding: 8px 10px; }
    .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .kpi-num { font-size: 1.5rem; }
}

/* ---- Notifications ---- */
.notif-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    margin-bottom: 10px;
    cursor: pointer;
    transition: box-shadow .15s, transform .15s;
}
.notif-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.notif-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--green-pale);
    color: var(--green-deep);
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.notif-body { flex: 1; min-width: 0; }
.notif-title { font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.notif-preview { font-size: .8rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-time { font-size: .75rem; color: var(--text-muted); white-space: nowrap; }

/* ===================================================
   REVIEW MODAL & STARS
=================================================== */
.review-modal { padding: 28px; max-width: 420px; width: 90%; }
.review-modal-header { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.review-listener-name {
    font-size: 1.05rem; font-weight: 600;
    color: var(--green); margin: 12px 0 4px;
}
.review-stars-row {
    display: flex; gap: 6px; justify-content: center;
    margin: 14px 0;
}
.review-star {
    background: none; border: none;
    font-size: 2.2rem; color: #ddd;
    cursor: pointer;
    transition: color .15s, transform .1s;
    line-height: 1;
}
.review-star.active { color: #f4a261; }
.review-star:hover { transform: scale(1.15); color: #f4a261; }

/* ===================================================
   POST RESPONSES MODAL
=================================================== */
.response-listener-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 12px;
    background: var(--bg); margin-bottom: 8px;
    cursor: pointer; transition: background .15s;
}
.response-listener-item:hover { background: var(--green-pale); }
.response-listener-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--green); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; flex-shrink: 0;
}

/* ===================================================
   DASHBOARD SECTIONS
=================================================== */
.dashboard-section { margin-bottom: 28px; }
.dashboard-section h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.dashboard-chats-list { display: flex; flex-direction: column; gap: 8px; }
.dashboard-chat-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 14px;
    background: var(--bg-card); cursor: pointer;
    transition: box-shadow .15s, transform .15s;
    border: 1px solid var(--border);
}
.dashboard-chat-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.dashboard-chat-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--green-pale); color: var(--green-deep);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.dashboard-chat-info { flex: 1; min-width: 0; }
.dashboard-chat-name { font-weight: 600; font-size: .9rem; }
.dashboard-chat-preview {
    font-size: .8rem; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dashboard-chat-time { font-size: .75rem; color: var(--text-muted); white-space: nowrap; }

.dashboard-requests { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.dashboard-request-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; padding: 14px 16px;
    display: flex; flex-direction: column; gap: 6px;
}
.dashboard-request-cat {
    font-size: .75rem; font-weight: 600;
    color: var(--green); background: var(--green-pale);
    padding: 2px 8px; border-radius: 20px;
    display: inline-block; width: fit-content;
}
.dashboard-request-content {
    font-size: .88rem; color: var(--text-mid);
    line-height: 1.5; flex: 1;
}
.dashboard-request-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 6px;
}
.dashboard-request-time { font-size: .75rem; color: var(--text-muted); }

/* REVIEW MODAL AND STARS */
.review-modal { padding: 28px; max-width: 420px; width: 90%; }
.review-modal-header { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.review-listener-name { font-size: 1.05rem; font-weight: 600; color: var(--green); margin: 12px 0 4px; }
.review-stars-row { display: flex; gap: 6px; justify-content: center; margin: 14px 0; }
.review-star { background: none; border: none; font-size: 2.2rem; color: #ddd; cursor: pointer; transition: color .15s, transform .1s; line-height: 1; }
.review-star.active { color: #f4a261; }
.review-star:hover { transform: scale(1.15); color: #f4a261; }

/* POST RESPONSES MODAL */
.response-listener-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); margin-bottom: 8px; cursor: pointer; transition: background .15s; }
.response-listener-item:hover { background: var(--green-pale); }
.response-listener-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }

/* DASHBOARD SECTIONS */
.dashboard-section { margin-bottom: 28px; }
.dashboard-section h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.dashboard-chats-list { display: flex; flex-direction: column; gap: 8px; }
.dashboard-chat-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg-card); cursor: pointer; transition: box-shadow .15s, transform .15s; border: 1px solid var(--border); }
.dashboard-chat-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.dashboard-chat-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--green-pale); color: var(--green-deep); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.dashboard-chat-info { flex: 1; min-width: 0; }
.dashboard-chat-name { font-weight: 600; font-size: .9rem; }
.dashboard-chat-preview { font-size: .8rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dashboard-chat-time { font-size: .75rem; color: var(--text-muted); white-space: nowrap; }
.dashboard-requests { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.dashboard-request-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.dashboard-request-cat { font-size: .75rem; font-weight: 600; color: var(--green); background: var(--green-pale); padding: 2px 8px; border-radius: 20px; display: inline-block; width: fit-content; }
.dashboard-request-content { font-size: .88rem; color: var(--text-mid); line-height: 1.5; flex: 1; }
.dashboard-request-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.dashboard-request-time { font-size: .75rem; color: var(--text-muted); }

/* ── MOOD CHART ────────────────────────────────────── */
.mood-chart { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin-bottom: 20px; }
.mood-chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 88px; }
.mood-bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; }
.mood-bar-fill { width: 100%; border-radius: 6px 6px 0 0; transition: height .4s ease; min-height: 8px; }
.mood-bar-emoji { font-size: .85rem; }
.mood-bar-date { font-size: .6rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; max-width: 100%; text-align: center; }

/* ── CHAT ENDED BANNER ─────────────────────────────── */
.chat-ended-banner { text-align: center; padding: 18px 20px; color: var(--text-muted); font-size: .9rem; background: var(--bg); border-top: 1px solid var(--border); }

/* ── POST OWNER DELETE ─────────────────────────────── */
.post-owner-delete { background: none; border: none; cursor: pointer; font-size: 1rem; opacity: .45; padding: 3px 5px; border-radius: 6px; transition: opacity .15s, background .15s; line-height: 1; }
.post-owner-delete:hover { opacity: 1; background: #fee2e2; }

/* ── FEED CTA BANNER ───────────────────────────────── */
.feed-cta-banner { background: linear-gradient(135deg, var(--green-pale), #fff); border: 1px solid var(--green-mid,#b7e4c7); border-radius: 14px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.feed-cta-banner p { margin: 0; font-weight: 600; color: var(--green-deep,#1b4332); }
