/* Help */ 
/* ============================================================
   KIDILLUS HELP CENTER v2.0 — REFINED DARK-ACCENT DESIGN
   ============================================================ */

:root {
    --ink:      #0a0f1e;
    --ink-2:    #1a2236;
    --ink-3:    #2a3650;
    --sky:      #00d4ff;
    --violet:   #b38bff;
    --rose:     #ff9bd7;
    --gold:     #ffd166;
    --mint:     #06d6a0;
    --red:      #ff6b6b;
    --soft-bg:  #f6f8fd;
    --card-bg:  #ffffff;
    --border:   #e4e9f2;
    --text:     #374151;
    --muted:    #6b7280;
    --radius:   16px;
    --shadow:   0 4px 24px rgba(10,15,30,0.08);
    --shadow-lg:0 12px 48px rgba(10,15,30,0.14);
    font-family: 'Sora', sans-serif;
}

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

/* ── HERO ── */
.hc-hero {
    background: var(--ink);
    padding: 160px 24px 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 700px 500px at 20% 50%, rgba(0,212,255,.12) 0%, transparent 70%),
        radial-gradient(ellipse 500px 400px at 80% 30%, rgba(179,139,255,.14) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 60% 90%, rgba(255,155,215,.10) 0%, transparent 70%);
}

.hc-hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }

.hc-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.6);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.hc-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 18px;
}

.hc-hero h1 em {
    font-style: italic;
    background: linear-gradient(90deg, var(--sky), var(--violet), var(--rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hc-hero p {
    color: rgba(255,255,255,.6);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 36px;
}

/* Search Bar */
.hc-search-wrap {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.hc-search-wrap input {
    width: 100%;
    padding: 16px 56px 16px 52px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 15px;
    font-family: 'Sora', sans-serif;
    outline: none;
    transition: all .3s;
}

.hc-search-wrap input::placeholder { color: rgba(255,255,255,.35); }
.hc-search-wrap input:focus {
    border-color: var(--sky);
    background: rgba(255,255,255,.12);
    box-shadow: 0 0 0 4px rgba(0,212,255,.12);
}

.hc-search-wrap .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.4);
    font-size: 17px;
}

.hc-search-wrap .search-shortcut {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.35);
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Search Suggestions */
#searchSuggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 999;
    display: none;
}

.suggest-item {
    padding: 12px 18px;
    font-size: 14px;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background .15s;
}

.suggest-item:hover { background: var(--soft-bg); }
.suggest-item .si-tag { font-size: 11px; color: var(--muted); background: var(--soft-bg); padding: 2px 8px; border-radius: 20px; margin-left: auto; }

/* Floating Stats */
.hc-hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hc-hero-stat {
    text-align: center;
}

.hc-hero-stat .num {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    display: block;
}

.hc-hero-stat .label {
    font-size: 12px;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── QUICK CATEGORIES ── */
.hc-categories {
    background: var(--soft-bg);
    padding: 32px 24px;
    border-bottom: 1px solid var(--border);
}

.hc-categories-inner {
    max-width: 1450px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}

.cat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 14px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    transition: all .25s;
    text-align: center;
}

.cat-chip .icon-wrap {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform .25s;
}

.cat-chip:hover {
    border-color: var(--ink);
    color: var(--ink);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.cat-chip:hover .icon-wrap { transform: scale(1.1) rotate(-5deg); }
.cat-chip.active { border-color: var(--sky); background: rgba(0,212,255,.06); color: var(--ink); }

.cat-chip:nth-child(1) .icon-wrap { background: #fef3c7; }
.cat-chip:nth-child(2) .icon-wrap { background: #ede9fe; }
.cat-chip:nth-child(3) .icon-wrap { background: #d1fae5; }
.cat-chip:nth-child(4) .icon-wrap { background: #fee2e2; }
.cat-chip:nth-child(5) .icon-wrap { background: #dbeafe; }
.cat-chip:nth-child(6) .icon-wrap { background: #fce7f3; }
.cat-chip:nth-child(7) .icon-wrap { background: #ecfdf5; }
.cat-chip:nth-child(8) .icon-wrap { background: #fff7ed; }

/* ── LAYOUT ── */
.hc-layout {
    max-width: 1450px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 32px;
    padding: 40px 24px 80px;
    align-items: start;
}

/* ── SIDEBAR ── */
.hc-sidebar {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: sticky;
    top: 90px;
    overflow: hidden;
}

.sidebar-header {
    padding: 20px 20px 14px;
    border-bottom: 1px solid var(--border);
}

.sidebar-header h3 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
}

.sidebar-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #c4cbd8;
    padding: 14px 20px 6px;
    display: block;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all .2s;
    border-left: 3px solid transparent;
    position: relative;
}

.nav-item:hover {
    background: var(--soft-bg);
    color: var(--ink);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(0,212,255,.08), transparent);
    color: var(--ink);
    border-left-color: var(--sky);
    font-weight: 600;
}

.nav-item .nav-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    background: var(--soft-bg);
}

.nav-item.active .nav-icon {
    background: rgba(0,212,255,.12);
}

.nav-item .nav-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    background: var(--gold);
    color: var(--ink);
    padding: 1px 7px;
    border-radius: 50px;
}

/* Support Dot */
.nav-item .live-dot {
    width: 7px; height: 7px;
    background: var(--mint);
    border-radius: 50%;
    margin-left: auto;
    box-shadow: 0 0 0 3px rgba(6,214,160,.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(6,214,160,.2); }
    50% { box-shadow: 0 0 0 6px rgba(6,214,160,.05); }
}

/* Response Time */
.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--soft-bg);
}

.resp-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
}

.resp-time .green-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--mint);
    flex-shrink: 0;
}

/* ── CONTENT AREA ── */
.hc-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-height: 700px;
    overflow: hidden;
}

.kb-section { display: none; animation: fadeSlide .35s ease-out; }
.kb-section.active { display: block; }

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Section Header */
.section-hero {
    padding: 48px 52px 36px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, #f9fbff 0%, #f1f5fd 100%);
    position: relative;
    overflow: hidden;
}

.section-hero::after {
    content: attr(data-emoji);
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    opacity: .08;
    line-height: 1;
}

.section-hero .breadcrumb {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.2;
}

.section-hero p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 680px;
}

/* Content Body */
.section-body { padding: 44px 52px; }

/* Typography */
.section-body h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.45rem;
    color: var(--ink);
    margin: 44px 0 18px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.section-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 22px 0 10px;
}

.section-body p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.section-body ul {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.section-body ul li {
    padding: 12px 16px;
    background: var(--soft-bg);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.section-body ul li::before {
    content: '→';
    color: var(--sky);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.section-body ul li strong { color: var(--ink); }

/* Images */
.doc-img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--border);
    margin: 28px 0;
    box-shadow: var(--shadow);
}

/* Tip/Note Boxes */
.tip-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    padding: 18px 20px;
    border-radius: 10px;
    margin: 24px 0;
    font-size: 14px;
    color: #1e40af;
    line-height: 1.7;
}

.tip-box a { color: #2563eb; font-weight: 600; }

.warn-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    padding: 18px 20px;
    border-radius: 10px;
    margin: 24px 0;
    font-size: 14px;
    color: #92400e;
    line-height: 1.7;
}

.success-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #10b981;
    padding: 18px 20px;
    border-radius: 10px;
    margin: 24px 0;
    font-size: 14px;
    color: #065f46;
    line-height: 1.7;
}

/* ── STYLE CARDS (Illustration) ── */
.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.style-card {
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: all .25s;
    position: relative;
    background: #fff;
    cursor: default;
}

.style-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sky);
}

.style-card .sc-emoji { font-size: 34px; margin-bottom: 12px; display: block; }
.style-card h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.style-card .sc-price {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: var(--sky);
    display: block;
    margin-bottom: 10px;
}

.style-card p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.style-card .sc-badge {
    position: absolute;
    top: 14px; right: 14px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
}

.sc-badge.popular  { background: var(--gold); color: var(--ink); }
.sc-badge.premium  { background: var(--violet); color: #fff; }
.sc-badge.new      { background: var(--mint); color: var(--ink); }

/* ── PROCESS STEPS ── */
.process-steps {
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 24px 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 44px;
    bottom: 44px;
    width: 2px;
    background: linear-gradient(to bottom, var(--sky), var(--violet));
}

.process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0;
}

.ps-num {
    counter-increment: step;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--sky);
}

.ps-body h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.ps-body p  { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── ORDER STATUS TRACKER ── */
.status-track {
    display: flex;
    gap: 0;
    margin: 24px 0;
    overflow-x: auto;
    padding-bottom: 8px;
}

.st-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 100px;
    position: relative;
}

.st-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.st-dot {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: var(--soft-bg);
    border: 2px solid var(--border);
    position: relative;
    z-index: 1;
}

.st-step.done .st-dot    { background: var(--ink); border-color: var(--ink); }
.st-step.active .st-dot  { background: var(--sky); border-color: var(--sky); box-shadow: 0 0 0 4px rgba(0,212,255,.2); }
.st-label { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.3; }
.st-step.done .st-label, .st-step.active .st-label { color: var(--ink); }

/* ── PRICING TABLE ── */
.pricing-table {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin: 24px 0;
}

.pt-head {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--ink);
    color: rgba(255,255,255,.6);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 20px;
}

.pt-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    transition: background .15s;
}

.pt-row:last-child { border-bottom: none; }
.pt-row:hover { background: var(--soft-bg); }
.pt-row .pt-service { font-weight: 600; color: var(--ink); }
.pt-row .pt-price { font-weight: 700; color: var(--sky); font-family: 'DM Serif Display', serif; font-size: 17px; }
.pt-row .pt-time { color: var(--muted); }

/* ── FAQ ACCORDION ── */
.faq-list {     display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 800px;
    margin: 0 auto; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow .2s;
}

.faq-item.open { box-shadow: var(--shadow); }

.faq-q {
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    user-select: none;
}

.faq-q:hover { background: var(--soft-bg); }
.faq-q .faq-arrow { font-size: 12px; color: var(--muted); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.4,0,.2,1);
}

.faq-a-inner {
    padding: 0 22px 20px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.faq-item.open .faq-a { max-height: 400px; }

/* ── SUPPORT / CHAT SYSTEM ── */
.support-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 36px;
    border-bottom: 1px solid var(--border);
    background: var(--soft-bg);
}

.support-topbar h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .2s;
    font-family: 'Sora', sans-serif;
}

.btn-primary:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10,15,30,.2); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--soft-bg);
    color: var(--ink);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: all .2s;
    font-family: 'Sora', sans-serif;
}

.btn-secondary:hover { background: var(--border); }

.support-body { padding: 28px 36px; }

/* Ticket Cards */
.ticket-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all .2s;
    gap: 14px;
}

.ticket-card:hover {
    border-color: var(--sky);
    box-shadow: 0 4px 16px rgba(0,212,255,.1);
    transform: translateX(4px);
}

.tc-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--soft-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.tc-info { flex: 1; min-width: 0; }
.tc-info h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-info p  { font-size: 12px; color: var(--muted); }

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.st-open     { background: #fef3c7; color: #b45309; }
.st-replied  { background: #dbeafe; color: #1d4ed8; }
.st-closed   { background: #d1fae5; color: #065f46; }
.st-pending  { background: #fce7f3; color: #9d174d; }

/* Chat UI */
.ticket-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 36px;
    border-bottom: 1px solid var(--border);
    background: var(--soft-bg);
    flex-wrap: wrap;
    gap: 12px;
}

.th-info h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.th-info p  { font-size: 12px; color: var(--muted); }

.chat-wrap { padding: 24px 36px; }

.chat-area {
    background: var(--soft-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    height: 420px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    scroll-behavior: smooth;
}

.chat-date-divider {
    text-align: center;
    position: relative;
    margin: 8px 0;
}

.chat-date-divider::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 1px;
    background: var(--border);
}

.chat-date-divider span {
    background: var(--soft-bg);
    padding: 0 12px;
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.message { max-width: 78%; padding: 14px 18px; border-radius: 18px; font-size: 14px; line-height: 1.6; position: relative; }

.msg-user {
    align-self: flex-end;
    background: var(--ink);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.msg-user .msg-time { color: rgba(255,255,255,.5); }

.msg-admin {
    align-self: flex-start;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow);
}

.admin-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--sky);
    margin-bottom: 4px;
}

.msg-time {
    font-size: 10px;
    opacity: .6;
    margin-top: 6px;
    display: block;
    text-align: right;
}

.attach-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    background: rgba(255,255,255,.15);
    padding: 4px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
}

.reply-zone {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s;
}

.reply-zone:focus-within { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(0,212,255,.08); }

.reply-zone textarea {
    width: 100%;
    padding: 16px 20px;
    border: none;
    resize: none;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    color: var(--ink);
    outline: none;
    min-height: 100px;
    background: transparent;
}

.reply-zone-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: var(--soft-bg);
}

.reply-hint { font-size: 12px; color: var(--muted); }

.btn-send {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--ink);
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: 'Sora', sans-serif;
    transition: all .2s;
}

.btn-send:hover { background: #0ea5e9; transform: scale(1.02); }
.btn-send:disabled { opacity: .5; cursor: not-allowed; }

/* Ticket Form */
.ticket-form { max-width: 680px; }

.form-group { margin-bottom: 22px; }

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.form-label .req { color: var(--red); margin-left: 3px; }

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: var(--sky);
    box-shadow: 0 0 0 3px rgba(0,212,255,.1);
}

.form-control textarea { resize: vertical; }

select.form-control { appearance: none; cursor: pointer; }

/* Category Pills */
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

.cat-pill-btn {
    padding: 7px 16px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    background: #fff;
    cursor: pointer;
    transition: all .2s;
    font-family: 'Sora', sans-serif;
}

.cat-pill-btn:hover { border-color: var(--ink); color: var(--ink); }
.cat-pill-btn.selected { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ── EMPTY STATES ── */
.empty-state {
    text-align: center;
    padding: 60px 30px;
}

.empty-state .es-icon { font-size: 56px; margin-bottom: 16px; display: block; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.empty-state p  { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

/* ── CTA BLOCK ── */
.cta-block {
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    border-radius: 16px;
    padding: 36px;
    margin: 40px 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(179,139,255,.15) 0%, transparent 70%);
}

.cta-block h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}

.cta-block p { color: rgba(255,255,255,.6); font-size: 15px; margin-bottom: 22px; position: relative; }

.cta-block .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--sky), var(--violet));
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    transition: all .3s;
    box-shadow: 0 8px 24px rgba(0,212,255,.3);
}

.cta-block .btn-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,212,255,.4); }

/* ── FEATURE GRID ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.feature-card {
    padding: 22px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    transition: all .25s;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky); }

.feature-card .fc-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.feature-card h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.feature-card p  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hc-layout { grid-template-columns: 1fr; padding: 0 0 60px; }

    .hc-sidebar {
        position: sticky;
        top: 60px;
        z-index: 200;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        padding: 10px 16px;
        gap: 8px;
        box-shadow: 0 4px 16px rgba(0,0,0,.06);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hc-sidebar::-webkit-scrollbar { display: none; }
    .sidebar-header, .sidebar-section-label, .sidebar-footer, .nav-item .live-dot { display: none; }

    .nav-item {
        flex: 0 0 auto;
        padding: 8px 16px;
        border-radius: 50px;
        border: 1.5px solid var(--border);
        font-size: 13px;
        border-left: 1.5px solid var(--border);
        white-space: nowrap;
    }

    .nav-item .nav-icon { width: 22px; height: 22px; font-size: 13px; background: none; }
    .nav-item.active { background: var(--ink); color: #fff; border-color: var(--ink); }
    .nav-item.active .nav-icon { background: none; }
    .nav-item .nav-badge { display: none; }

    .section-hero { padding: 28px 24px; }
    .section-hero::after { display: none; }
    .section-body { padding: 28px 24px; }
    .support-topbar, .ticket-header { padding: 16px 24px; }
    .support-body, .chat-wrap { padding: 20px 24px; }

    .hc-categories-inner { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
    .hc-hero { padding: 90px 20px 100px; }
    .hc-hero-stats { gap: 20px; }
    .hc-categories-inner { grid-template-columns: repeat(2, 1fr); }
    .style-grid { grid-template-columns: 1fr 1fr; }
    .pt-head, .pt-row { grid-template-columns: 1fr; gap: 4px; }
    .pt-head .pt-time, .pt-row .pt-time { display: none; }
    .message { max-width: 90%; }
}
