:root {
    --home-bg: #040612;
    --home-bg-soft: #080d24;
    --home-surface: #0c1230;
    --home-surface-2: #121a45;
    --home-border: #212b63;
    --home-indigo: #667eea;
    --home-purple: #8b5cf6;
    --home-blue: #38bdf8;
    --home-text: #e8ecff;
    --home-muted: #b9c3ee;
}

.hero-section {
    background:
        radial-gradient(1100px 420px at 20% -10%, rgba(102, 126, 234, 0.22), transparent 62%),
        radial-gradient(900px 400px at 85% 0%, rgba(139, 92, 246, 0.18), transparent 65%),
        linear-gradient(140deg, var(--home-bg) 0%, #070b20 52%, #0d1434 100%);
    color: var(--home-text);
    padding: 98px 0;
    margin-bottom: 54px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.24);
}

.hero-section h1 {
    font-size: 3.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: 0.01em;
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--home-muted);
}

.cta-button {
    padding: 14px 34px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(7, 10, 24, 0.34);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(7, 10, 24, 0.42);
}

.dashboard-section {
    background:
        radial-gradient(900px 360px at 15% -8%, rgba(102, 126, 234, 0.2), transparent 60%),
        linear-gradient(160deg, var(--home-bg) 0%, #080f28 55%, #0c1436 100%);
    color: var(--home-text);
    padding: 48px 32px 40px;
    margin: -1rem -12px 32px;
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.28);
    box-shadow: 0 18px 40px rgba(5, 8, 22, 0.35);
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 0.5rem;
}

.dashboard-lead {
    font-size: 1.05rem;
    max-width: 42rem;
}

a.dashboard-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: 0;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, var(--home-surface) 0%, var(--home-surface-2) 100%);
    border: 1px solid var(--home-border);
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 8px 20px rgba(5, 8, 22, 0.24);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

a.dashboard-card:hover {
    transform: translateY(-2px);
    border-color: rgba(102, 126, 234, 0.85);
    box-shadow: 0 12px 26px rgba(5, 8, 22, 0.34);
    color: inherit;
}

.dashboard-card-icon {
    font-size: 1.45rem;
    line-height: 1;
    flex-shrink: 0;
}

.dashboard-card-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dashboard-card-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #edf1ff;
    line-height: 1.2;
}

.dashboard-card-text {
    display: block;
    font-size: 0.72rem;
    margin: 0;
    color: var(--home-muted);
    line-height: 1.3;
}

.dashboard-feed-box {
    background: linear-gradient(180deg, var(--home-surface) 0%, var(--home-surface-2) 100%);
    border: 1px solid var(--home-border);
    border-radius: 14px;
    padding: 16px 18px 12px;
    box-shadow: 0 12px 28px rgba(5, 8, 22, 0.28);
    height: 100%;
}

.dashboard-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.25);
}

.dashboard-feed-title-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: #edf1ff;
    text-decoration: none;
}

.dashboard-feed-title-link:hover {
    color: #fff;
    text-decoration: underline;
}

.dashboard-feed-hint {
    font-size: 0.75rem;
}

.dashboard-feed-body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dashboard-feed-loading {
    font-size: 0.85rem;
}

a.dashboard-feed-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px 12px;
    padding: 8px 4px;
    margin: 0 -4px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(33, 43, 99, 0.65);
}

a.dashboard-feed-row:last-child {
    border-bottom: 0;
}

a.dashboard-feed-row:hover {
    background: rgba(102, 126, 234, 0.12);
    color: inherit;
}

.dashboard-feed-row-main {
    flex: 1 1 140px;
    min-width: 0;
}

.dashboard-feed-row-primary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.45rem;
    min-width: 0;
    font-size: 0.85rem;
}

.dashboard-feed-order-num {
    font-weight: 600;
    color: var(--home-blue);
    flex-shrink: 0;
}

.dashboard-feed-primary-sub {
    font-weight: 400;
    font-size: 0.72rem;
    opacity: 0.9;
    min-width: 0;
    flex: 1 1 6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-feed-row-secondary {
    font-size: 0.88rem;
    color: var(--home-text);
}

.dashboard-feed-sub {
    font-size: 0.75rem;
    margin-top: 2px;
}

.dashboard-feed-row-meta {
    flex: 0 0 auto;
    text-align: right;
    min-width: 108px;
}

.dashboard-feed-row-strong {
    font-weight: 600;
    color: #edf1ff;
    font-size: 0.9rem;
}

.dashboard-feed-row-badges {
    margin-top: 4px;
}

.dashboard-feed-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 999px;
}

.dashboard-feed-badge--open {
    background: rgba(56, 189, 248, 0.18);
    color: #7dd3fc;
}

.dashboard-feed-badge--shipped {
    background: rgba(167, 139, 250, 0.2);
    color: #c4b5fd;
}

.dashboard-feed-badge--cancelled {
    background: rgba(248, 113, 113, 0.15);
    color: #fca5a5;
}

a.dashboard-listed-row {
    align-items: flex-start;
    flex-wrap: nowrap;
    padding-top: 11px;
    padding-bottom: 11px;
    gap: 10px 14px;
}

.dashboard-listed-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(102, 126, 234, 0.35);
    background: rgba(5, 8, 22, 0.4);
}

.dashboard-listed-thumb--empty {
    background: rgba(33, 43, 99, 0.5);
}

.dashboard-listed-desc {
    margin-top: 3px;
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--home-text);
    word-break: break-word;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.minw-0 {
    min-width: 0;
}

.features-section,
.benefits-section,
.final-cta-section {
    padding: 76px 0;
    background: linear-gradient(180deg, #070b1e 0%, #0b1130 100%);
    color: var(--home-text);
}

.feature-card {
    background: linear-gradient(180deg, var(--home-surface) 0%, var(--home-surface-2) 100%);
    border: 1px solid var(--home-border);
    border-radius: 14px;
    padding: 26px;
    margin-bottom: 24px;
    box-shadow: 0 14px 30px rgba(5, 8, 22, 0.28);
    transition: transform 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.85);
}

.feature-icon {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.feature-card h4,
.benefit-item h5 {
    color: #edf1ff;
}

.features-section .text-muted,
.benefits-section .text-muted,
.final-cta-section .text-muted {
    color: #b7c0e8 !important;
}

.benefit-item {
    padding: 18px 0;
    border-left: 4px solid var(--home-indigo);
    padding-left: 20px;
    margin-bottom: 20px;
}

.stats-section {
    background:
        radial-gradient(1000px 320px at 5% 0%, rgba(56, 189, 248, 0.12), transparent 62%),
        linear-gradient(135deg, #0b1130 0%, #10173d 54%, #152052 100%);
    color: var(--home-text);
    padding: 56px 0;
    border-top: 1px solid rgba(102, 126, 234, 0.35);
    border-bottom: 1px solid rgba(102, 126, 234, 0.35);
}

.stat-number {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: block;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.82;
}

@media (max-width: 768px) {
    .dashboard-section {
        margin-left: 0;
        margin-right: 0;
        padding-left: 18px;
        padding-right: 18px;
    }

    .dashboard-title {
        font-size: 1.55rem;
    }

    .hero-section {
        padding: 72px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .cta-button {
        width: 100%;
        margin-bottom: 10px;
    }

    .cta-button.ms-3 {
        margin-left: 0 !important;
    }
}
