:root {
    --bg: #0f0819;
    --bg-soft: #1d1230;
    --panel: rgba(36, 21, 58, 0.88);
    --panel-border: rgba(255, 255, 255, 0.08);
    --text: #f3effd;
    --text-soft: #b9add6;
    --orange: #ff8f3f;
    --orange-strong: #ff6f1d;
    --purple: #7b4dff;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --radius: 26px;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(123, 77, 255, 0.26), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 143, 63, 0.2), transparent 28%),
        linear-gradient(180deg, #120a1f 0%, #0d0717 100%);
    color: var(--text);
}
a { color: #ffd2b0; text-decoration: none; }
.text-soft, .footer-copy { color: var(--text-soft); }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-nav, .site-footer, .admin-sidebar { background: rgba(12, 8, 20, 0.72); backdrop-filter: blur(18px); }
.site-nav { border-bottom: 1px solid var(--panel-border); }
.dropdown-menu-dark {
    background: #1a112c;
    border-radius: 18px;
}
.dropdown-menu-dark .dropdown-item {
    color: #f3effd;
}
.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
    background: rgba(255, 143, 63, 0.16);
    color: #fff;
}
.navbar-brand span, .brand-line span { font-weight: 800; letter-spacing: 0.02em; color: #fff; }
.logo-mark { width: 42px; height: 42px; }
.btn-glow {
    background: linear-gradient(135deg, var(--orange), var(--orange-strong));
    border: 0;
    color: #190f23;
    font-weight: 800;
    padding: 0.9rem 1.45rem;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(255, 111, 29, 0.33);
}
.glass-panel, .feature-card, .blog-card, .closet-card, .testimonial-card, .metric-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.glass-panel, .feature-card, .testimonial-card { padding: 2rem; }
.hero-section { padding: 2rem 0 1rem; }
.hero-copy { color: #d8c8f1; font-size: 1.08rem; line-height: 1.8; }
.eyebrow, .chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffcfab;
}
.section-head { margin-bottom: 1.75rem; }
.metric-card { padding: 1.25rem; min-height: 150px; }
.metric-card strong { display: block; color: #fff; font-size: 1.25rem; margin: 0.45rem 0; }
.metric-card span { color: #ffcfab; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.metric-card small { color: var(--text-soft); font-size: 0.92rem; line-height: 1.6; }
.metric-card.highlight { background: linear-gradient(145deg, rgba(255, 143, 63, 0.22), rgba(123, 77, 255, 0.18)); }
.feature-card h2, .feature-card h3, .closet-card h3, .blog-card h2, .blog-card h3, .testimonial-card blockquote { color: #fff; }
.feature-card p, .blog-card p, .testimonial-card p { color: var(--text-soft); line-height: 1.7; }
.feature-list { margin: 0; padding-left: 1rem; color: var(--text-soft); }
.feature-list li { margin-bottom: 0.7rem; }
.testimonial-card blockquote { font-size: 1.45rem; line-height: 1.4; margin: 1rem 0; }
.blog-card, .closet-card { overflow: hidden; }
.blog-card img, .closet-card img, .hero-image, .gallery-image {
    width: 100%;
    object-fit: cover;
    border-radius: 22px;
}
.blog-card img, .closet-card img { height: 240px; border-radius: 0; }
.hero-image { max-height: 430px; }
.gallery-image { height: 220px; }
.page-section { padding: 1rem 0 4rem; }
.form-control, .form-select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 18px;
    padding: 0.95rem 1rem;
}
.form-label, .field-label, .form-check-label {
    color: #efe8fb;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}
.form-control::placeholder { color: #9d90bd; }
.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 143, 63, 0.8);
    box-shadow: 0 0 0 0.25rem rgba(255, 143, 63, 0.15);
}
.form-select option,
.form-select optgroup {
    background: #1b1230;
    color: #f3effd;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}
.status-pill {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}
.status-clean { background: rgba(34, 197, 94, 0.18); color: #95f0af; }
.status-dirty { background: rgba(239, 68, 68, 0.18); color: #ffb0b0; }
.status-laundry { background: rgba(245, 158, 11, 0.18); color: #ffd38e; }
.status-unknown { background: rgba(255, 255, 255, 0.08); color: #dfd5ef; }
.glass-breadcrumb {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 0.75rem 1rem;
}
.breadcrumb a { color: #ffcfab; }
.history-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.history-row img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; }
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.analysis-item {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}
.wardrobe-picker {
    display: grid;
    gap: 0.65rem;
    max-height: 280px;
    overflow-y: auto;
    padding: 0.4rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.wardrobe-check {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: #f3effd;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.wardrobe-check input {
    margin-top: 0;
}
.wardrobe-thumb-wrap {
    flex-shrink: 0;
}
.wardrobe-thumb {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    background: rgba(255, 255, 255, 0.04);
}
.wardrobe-thumb-empty {
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    color: var(--text-soft);
    border: 1px dashed rgba(255, 255, 255, 0.12);
}
.wardrobe-meta {
    display: grid;
    gap: 0.25rem;
}
.wardrobe-meta strong {
    color: #fff;
    line-height: 1.3;
}
.wardrobe-meta span {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.45;
}
.analysis-item h3 { font-size: 0.92rem; margin-bottom: 0.5rem; color: #ffcfab; }
.kiosk-video {
    width: 100%;
    border-radius: 24px;
    min-height: 420px;
    background: rgba(255,255,255,0.04);
}
.site-footer a, .admin-sidebar a { display: block; color: var(--text-soft); margin-bottom: 0.7rem; }
.admin-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.admin-sidebar { padding: 2rem 1.5rem; border-right: 1px solid rgba(255,255,255,0.08); }
.brand-line { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 2rem; }
.brand-line img { width: 42px; height: 42px; }
.admin-content { background: linear-gradient(180deg, rgba(18,10,31,0.95), rgba(13,7,23,0.98)); }
.admin-body .table-dark { --bs-table-bg: transparent; --bs-table-striped-bg: rgba(255,255,255,0.03); }
.small-link { color: #ffcfab; }
@media (max-width: 991px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; }
}
@media (max-width: 767px) {
    .hero-section { padding-top: 1rem; }
    .glass-panel, .feature-card, .testimonial-card { padding: 1.35rem; }
    .display-4 { font-size: 2.3rem; }
    .closet-card img, .blog-card img { height: 220px; }
    .wardrobe-thumb {
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }
}
