:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-soft: #eef2ff;
    --accent: #ec4899;
    --ink: #0f172a;
    --muted: #64748b;
    --bg: #f6f7fb;
    --surface: #ffffff;
    --line: #e5e7eb;
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.06);
    --radius: 18px;
    --sidebar-width: 292px;
    --topbar-height: 78px;
}

* {
    letter-spacing: 0;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}

a {
    color: var(--primary);
}

.text-purple {
    color: var(--primary) !important;
}

.public-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.public-brand,
.public-brand:hover {
    align-items: center;
    color: var(--ink);
    display: inline-flex;
    font-size: 1.35rem;
    font-weight: 800;
    gap: 8px;
    text-decoration: none;
}

.public-brand i,
.brand-mark {
    color: var(--primary);
}

.public-header .btn-outline-light {
    border-color: var(--line);
    color: var(--primary);
}

.public-header .btn-outline-light:hover,
.public-header .btn-light:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.sidebar-toggle,
.sidebar-backdrop {
    display: none;
}

.app-sidebar {
    background: rgba(255, 255, 255, 0.96);
    border-right: 1px solid var(--line);
    box-shadow: 8px 0 30px rgba(15, 23, 42, 0.04);
    color: var(--ink);
    height: 100vh;
    left: 0;
    padding: 24px 18px;
    position: fixed;
    top: 0;
    width: var(--sidebar-width);
    z-index: 1040;
}

.sidebar-brand {
    align-items: center;
    color: var(--ink);
    display: inline-flex;
    font-size: 1.55rem;
    font-weight: 800;
    gap: 10px;
    margin-bottom: 24px;
    text-decoration: none;
}

.sidebar-brand:hover {
    color: var(--ink);
}

.brand-mark {
    align-items: center;
    background: var(--primary-soft);
    border-radius: 16px;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.sidebar-balance {
    background: var(--primary-soft);
    border-radius: 16px;
    color: var(--ink);
    padding: 13px 14px;
}

.sidebar-balance span {
    color: var(--muted);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sidebar-balance strong {
    color: var(--primary);
    display: block;
    font-size: 1.18rem;
}

.sidebar-nav {
    display: grid;
    gap: 7px;
    margin-top: 20px;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: none;
}

.sidebar-nav::-webkit-scrollbar {
    display: none;
}

.sidebar-nav a,
.sidebar-logout {
    align-items: center;
    border: 0;
    border-radius: 16px;
    display: flex;
    font-weight: 700;
    gap: 12px;
    min-height: 46px;
    padding: 12px 14px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: 100%;
}

.sidebar-nav a {
    color: #334155;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--primary-soft);
    color: var(--primary);
    transform: translateX(2px);
}

.sidebar-nav i {
    font-size: 1.1rem;
    width: 22px;
}

.sidebar-bottom {
    margin-top: auto;
    padding-top: 16px;
}

.sidebar-logout {
    background: #fff1f2;
    color: var(--danger);
    cursor: pointer;
    justify-content: center;
}

.sidebar-logout:hover {
    background: var(--danger);
    color: #fff;
}

.app-topbar {
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    display: flex;
    gap: 18px;
    height: var(--topbar-height);
    left: var(--sidebar-width);
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.mobile-menu-btn {
    align-items: center;
    border-radius: 14px;
    color: var(--ink);
    cursor: pointer;
    display: none;
    font-size: 1.5rem;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.topbar-search {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 18px;
    display: flex;
    flex: 1;
    gap: 10px;
    max-width: 620px;
    padding: 0 16px;
}

.topbar-search i {
    color: var(--muted);
}

.topbar-search input {
    background: transparent;
    border: 0;
    color: var(--ink);
    height: 48px;
    outline: 0;
    width: 100%;
}

.topbar-actions {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-left: auto;
}

.icon-action,
.topbar-profile {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--ink);
    display: inline-flex;
    min-height: 46px;
    position: relative;
    text-decoration: none;
}

.icon-action {
    font-size: 1.15rem;
    justify-content: center;
    width: 46px;
}

.icon-action span {
    align-items: center;
    background: var(--primary);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 800;
    height: 20px;
    justify-content: center;
    position: absolute;
    right: -5px;
    top: -5px;
    width: 20px;
}

.topbar-profile {
    gap: 10px;
    padding: 5px 12px 5px 5px;
}

.topbar-profile img {
    border-radius: 14px;
    height: 36px;
    object-fit: cover;
    width: 36px;
}

.topbar-profile span {
    font-weight: 700;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-main,
.app-footer {
    margin-left: var(--sidebar-width);
}

.app-main {
    min-height: calc(100vh - var(--topbar-height));
}

.hero {
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(79, 70, 229, 0.78));
    color: #fff;
    display: flex;
    min-height: 620px;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.82);
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-metrics span {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 9px 14px;
}

.hero-panel,
.auth-card,
.panel,
.form-panel,
.task-card,
.balance-card,
.stat-card,
.fee-note,
.dashboard-hero {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-panel {
    color: var(--ink);
    padding: 26px;
}

.auth-section,
.page-section {
    padding: 38px 0 56px;
}

.page-heading {
    margin-bottom: 24px;
}

.dashboard-hero {
    padding: 28px;
}

.auth-card,
.form-panel {
    max-width: 640px;
    padding: 30px;
}

.panel,
.task-card {
    padding: 24px;
}

.mini-task,
.list-row {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 15px 0;
}

.mini-task:last-child,
.list-row:last-child {
    border-bottom: 0;
}

.mini-task span,
.text-muted {
    color: var(--muted) !important;
}

.eyebrow {
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.btn {
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.gradient-btn {
    background: var(--primary);
    border: 0;
    color: #fff;
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.22);
}

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

.btn-soft-primary {
    background: var(--primary-soft);
    border: 1px solid #c7d2fe;
    color: var(--primary);
}

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

.btn[disabled] {
    cursor: wait;
}

.form-control,
.form-select {
    border-color: var(--line);
    border-radius: 14px;
    padding: 0.76rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.14);
}

.alert {
    border-radius: 16px;
}

.alert-success {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.stat-card {
    display: flex;
    flex-direction: column;
    min-height: 170px;
    padding: 24px;
}

.stat-card i {
    align-items: center;
    background: var(--primary-soft);
    border-radius: 16px;
    color: var(--primary);
    display: inline-flex;
    font-size: 1.35rem;
    height: 50px;
    justify-content: center;
    margin-bottom: 18px;
    width: 50px;
}

.stat-card span {
    color: var(--muted);
    display: block;
    font-weight: 700;
}

.stat-card strong {
    display: block;
    font-size: 1.85rem;
    line-height: 1.1;
    margin-top: 6px;
}

.stat-card.balance,
.balance-card {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-color: transparent;
    color: #fff;
}

.stat-card.balance i {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.stat-card.balance span,
.balance-card p,
.balance-card span {
    color: rgba(255, 255, 255, 0.82);
}

.balance-card {
    padding: 28px;
}

.balance-card h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
}

.balance-icon {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    font-size: 1.5rem;
    padding: 14px;
}

.wallet-breakdown {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
}

.wallet-breakdown div {
    background: rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    padding: 14px;
}

.wallet-breakdown strong {
    display: block;
}

.fee-note {
    align-items: center;
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
    display: flex;
    font-weight: 800;
    gap: 10px;
    padding: 16px 18px;
}

.wallet-pill {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    padding: 16px 20px;
}

.wallet-pill span {
    color: var(--muted);
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
}

.wallet-pill strong {
    color: var(--primary);
    display: block;
    font-size: 1.3rem;
}

.quick-action-grid,
.category-grid {
    display: grid;
    gap: 14px;
}

.quick-action-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-action-grid a,
.category-grid span {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--ink);
    display: flex;
    font-weight: 800;
    gap: 10px;
    min-height: 74px;
    padding: 14px;
    text-decoration: none;
}

.quick-action-grid a:hover {
    border-color: #c7d2fe;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.quick-action-grid i,
.category-grid i {
    align-items: center;
    background: var(--primary-soft);
    border-radius: 14px;
    color: var(--primary);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filter-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.filter-links a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 140px;
    height: 58px;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;

    color: var(--muted);
    font-weight: 800;
    text-decoration: none;

    transition: all 0.2s ease;
}

.filter-links a:hover,
.filter-links a.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.status-badge {
    background: var(--primary-soft);
    color: var(--primary);
}

.task-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.task-card:hover {
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.1);
    transform: translateY(-3px);
}

.task-card p {
    flex: 1;
}

.profile-preview {
    align-items: center;
    display: flex;
    gap: 18px;
}

.profile-preview img {
    border: 4px solid var(--primary-soft);
    border-radius: 50%;
    height: 94px;
    object-fit: cover;
    width: 94px;
}

.applicant-list {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
}

.applicant-row {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding-top: 10px;
}

.applicant-row small {
    color: var(--muted);
    display: block;
}

.chat-shell {
    display: flex;
    flex-direction: column;
    min-height: 560px;
}

.chat-messages {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 18px;
    flex: 1;
    margin-bottom: 16px;
    overflow-y: auto;
    padding: 18px;
}

.message-bubble {
    display: flex;
    margin-bottom: 12px;
}

.message-bubble.mine {
    justify-content: flex-end;
}

.message-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    max-width: min(72%, 620px);
    padding: 10px 12px;
}

.message-bubble.mine .message-card {
    background: var(--primary);
    border-color: transparent;
    color: #fff;
}

.message-meta {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    opacity: 0.72;
}

.chat-form {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr auto;
}

.narrow {
    max-width: 820px;
}

.attachment-link {
    align-items: center;
    background: #f8fafc;
    border-radius: 999px;
    color: var(--muted);
    display: inline-flex;
    font-size: 0.85rem;
    gap: 6px;
    padding: 5px 11px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.attachment-link:hover {
    background: var(--primary-soft);
    color: var(--primary);
    text-decoration: none;
}

.attachment-hyperlink {
    color: var(--primary);
    font-size: 0.9rem;
    text-decoration: none;
}

.attachment-hyperlink:hover {
    text-decoration: underline;
}

table {
    vertical-align: middle;
}

.table > :not(caption) > * > * {
    background: transparent;
    padding: 0.95rem;
}

footer {
    background: transparent;
    color: var(--muted);
}

footer a {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .quick-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .app-sidebar {
        transform: translateX(-105%);
        transition: transform 0.24s ease;
    }

    .sidebar-toggle:checked ~ .app-sidebar {
        transform: translateX(0);
    }

    .sidebar-toggle:checked ~ .sidebar-backdrop {
        background: rgba(15, 23, 42, 0.38);
        display: block;
        inset: 0;
        position: fixed;
        z-index: 1030;
    }

    .app-topbar,
    .app-main,
    .app-footer {
        left: 0;
        margin-left: 0;
    }

    .app-topbar {
        padding: 0 16px;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .topbar-profile span,
    .topbar-profile .bi-chevron-down {
        display: none;
    }

    .page-section,
    .auth-section {
        padding-top: 28px;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: auto;
    }

    .display-4 {
        font-size: 2.35rem;
    }

    .auth-card,
    .form-panel,
    .panel,
    .task-card,
    .dashboard-hero {
        padding: 20px;
    }

    .stat-card {
        min-height: 140px;
    }

    .quick-action-grid,
    .category-grid,
    .wallet-breakdown {
        grid-template-columns: 1fr;
    }

    .topbar-search {
        max-width: none;
    }

    .topbar-actions {
        gap: 8px;
    }

    .profile-preview {
        align-items: flex-start;
        flex-direction: column;
    }

    .chat-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .app-topbar {
        gap: 10px;
    }

    .topbar-search input {
        height: 44px;
    }

    .topbar-search {
        padding: 0 12px;
    }

    .icon-action {
        display: none;
    }
}

/* Trikuu marketplace redesign */
:root {
    --primary: #5b35f5;
    --primary-dark: #4323c7;
    --primary-soft: #f0edff;
    --accent: #7c3aed;
    --ink: #101828;
    --muted: #667085;
    --bg: #f7f8fc;
    --surface: #ffffff;
    --line: #e7e8ef;
    --success: #16a34a;
    --warning: #f79009;
    --danger: #ef4444;
    --shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
    --shadow-sm: 0 10px 26px rgba(16, 24, 40, 0.06);
    --radius: 22px;
    --sidebar-width: 284px;
    --topbar-height: 82px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background:
        radial-gradient(circle at top right, rgba(91, 53, 245, 0.08), transparent 34rem),
        var(--bg);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
}

.app-sidebar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 8px 0 36px rgba(16, 24, 40, 0.05);
    padding: 24px 18px 18px;
}

.sidebar-brand {
    font-size: 1.72rem;
    margin: 0 8px 30px;
}

.brand-mark {
    background: transparent;
    border-radius: 0;
    color: var(--primary);
    font-size: 2rem;
    height: auto;
    width: auto;
}

.sidebar-nav {
    gap: 8px;
    margin-top: 0;
}

.sidebar-nav a,
.sidebar-logout {
    border-radius: 14px;
    color: #344054;
    font-size: 0.98rem;
    font-weight: 700;
    min-height: 48px;
    padding: 12px 14px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: linear-gradient(90deg, #f3efff, #fbfaff);
    color: var(--primary);
    transform: translateX(3px);
}

.sidebar-nav i {
    color: #475467;
    font-size: 1.05rem;
}

.sidebar-nav a:hover i,
.sidebar-nav a.active i {
    color: var(--primary);
}

.nav-badge,
.quick-action-grid em {
    align-items: center;
    background: #f04438;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
    height: 22px;
    justify-content: center;
    min-width: 22px;
    padding: 0 6px;
}

.sidebar-bottom {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 34%);
    padding-top: 24px;
}

.sidebar-logout {
    background: #fff;
    border: 1px solid #fee4e2;
    box-shadow: var(--shadow-sm);
    color: #f04438;
    justify-content: flex-start;
}

.app-topbar {
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
    padding: 0 30px;
}

.topbar-search {
    background: #f9fafb;
    border-radius: 14px;
    max-width: 520px;
}

.topbar-post-btn {
    align-items: center;
    background: linear-gradient(135deg, var(--primary), #7447ff);
    border: 0;
    box-shadow: 0 12px 24px rgba(91, 53, 245, 0.25);
    color: #fff;
    display: inline-flex;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
}

.topbar-post-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.icon-action,
.topbar-profile {
    box-shadow: var(--shadow-sm);
}

.topbar-profile {
    border: 1px solid var(--line);
    cursor: pointer;
}

.topbar-profile.dropdown-toggle::after {
    margin-left: 4px;
}

.profile-menu {
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 8px;
}

.profile-menu .dropdown-item {
    border-radius: 12px;
    font-weight: 700;
    padding: 10px 12px;
}

.page-section {
    padding: 28px 0 56px;
}

.panel,
.form-panel,
.task-card,
.balance-card,
.fee-note,
.dashboard-hero {
    border: 1px solid rgba(231, 232, 239, 0.92);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.panel,
.task-card,
.form-panel {
    background: rgba(255, 255, 255, 0.94);
}

.panel,
.task-card {
    padding: 26px;
}

.panel:hover,
.task-card:hover,
.stat-card:hover,
.quick-action-grid a:hover,
.category-grid span:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.dashboard-hero {
    align-items: center;
    background:
        radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.78), transparent 12rem),
        linear-gradient(135deg, #5935f3 0%, #7048ff 46%, #efe8ff 100%);
    color: #fff;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    min-height: 248px;
    overflow: hidden;
    padding: 34px;
    position: relative;
}

.dashboard-hero h1 {
    font-size: clamp(2.25rem, 4vw, 3.35rem);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.04;
    max-width: 760px;
}

.dashboard-hero p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    max-width: 620px;
}

.dashboard-hero .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.btn-hero-soft,
.btn-hero-soft:hover {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #fff;
}

.hero-art {
    min-height: 210px;
    position: relative;
}

.hero-person {
    align-items: center;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 34px;
    bottom: -22px;
    box-shadow: 0 24px 56px rgba(43, 23, 122, 0.2);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    font-weight: 800;
    gap: 12px;
    padding: 26px;
    position: absolute;
    right: 24px;
    width: 215px;
}

.hero-person img {
    border: 5px solid #fff;
    border-radius: 28px;
    height: 94px;
    object-fit: cover;
    width: 94px;
}

.hero-orbit {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.14);
    color: var(--primary);
    display: inline-flex;
    font-size: 1.3rem;
    font-weight: 900;
    height: 58px;
    justify-content: center;
    position: absolute;
    width: 58px;
    z-index: 2;
}

.chip-one {
    right: 210px;
    top: 20px;
}

.chip-two {
    right: 250px;
    top: 98px;
}

.chip-three {
    bottom: 28px;
    right: 214px;
}

.stat-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    min-height: 144px;
    padding: 22px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.stat-card i {
    margin-bottom: 14px;
}

.stat-card a,
.section-link {
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 800;
    margin-top: auto;
    text-decoration: none;
}

.stat-green i {
    background: #dcfce7;
    color: #16a34a;
}

.stat-blue i {
    background: #e0e7ff;
    color: #2563eb;
}

.stat-orange i {
    background: #ffedd5;
    color: #f97316;
}

.stat-red i {
    background: #ffe4e6;
    color: #e11d48;
}

.quick-action-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.quick-action-grid a {
    align-items: center;
    background: linear-gradient(180deg, #fff, #f9fafb);
    border-radius: 18px;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    min-height: 100px;
    position: relative;
    text-align: center;
}

.quick-action-grid i {
    background: linear-gradient(135deg, #ede9fe, #fff);
    box-shadow: inset 0 -10px 24px rgba(91, 53, 245, 0.08);
    font-size: 1.6rem;
    height: 48px;
    width: 48px;
}

.quick-action-grid em {
    position: absolute;
    right: 12px;
    top: 12px;
}

.category-grid-wide {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-grid span {
    border: 0;
    border-radius: 16px;
    flex-direction: column;
    font-size: 0.88rem;
    gap: 8px;
    justify-content: center;
    min-height: 86px;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.category-grid span:nth-child(5n+1) {
    background: #fff1e8;
}

.category-grid span:nth-child(5n+2) {
    background: #eaf4ff;
}

.category-grid span:nth-child(5n+3) {
    background: #e9fbf1;
}

.category-grid span:nth-child(5n+4) {
    background: #f2edff;
}

.category-grid span:nth-child(5n+5) {
    background: #fff0f3;
}

.category-grid b {
    font-size: 1.7rem;
    line-height: 1;
}

.empty-state {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 230px;
    padding: 20px;
    text-align: center;
}

.empty-state.compact {
    min-height: 180px;
}

.empty-state h3 {
    font-size: 1.1rem;
    font-weight: 850;
    margin-bottom: 6px;
}

.empty-state p {
    color: var(--muted);
    margin-bottom: 16px;
    max-width: 320px;
}

.empty-illustration {
    align-items: center;
    background: linear-gradient(135deg, #ede9fe, #fff);
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    font-size: 3rem;
    height: 96px;
    justify-content: center;
    margin-bottom: 18px;
    width: 112px;
}

.transaction-row {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 13px 14px;
}

.transaction-icon {
    align-items: center;
    border-radius: 14px;
    display: inline-flex;
    flex: 0 0 auto;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.transaction-icon.success {
    background: #dcfce7;
    color: var(--success);
}

.transaction-icon.warning {
    background: #fff7ed;
    color: var(--warning);
}

.transaction-icon.danger {
    background: #fee2e2;
    color: var(--danger);
}

.balance-card {
    background:
        radial-gradient(circle at right 20%, rgba(255, 255, 255, 0.22), transparent 10rem),
        linear-gradient(135deg, #5631ef, #875cff);
    overflow: hidden;
    padding: 30px;
}

.wallet-art {
    align-items: center;
    background: linear-gradient(135deg, #ffd166, #fb7185);
    border-radius: 24px;
    box-shadow: 0 18px 34px rgba(45, 20, 116, 0.24);
    color: #fff;
    display: flex;
    font-size: 2rem;
    height: 88px;
    justify-content: center;
    transform: rotate(-7deg);
    width: 96px;
}

.wallet-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.btn-wallet-outline {
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #fff;
}

.btn-wallet-outline:hover {
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
}

.browse-hero {
    background: linear-gradient(135deg, #fff, #f4f1ff);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 26px;
}

.task-icon {
    align-items: center;
    background: #f0edff;
    border-radius: 16px;
    display: inline-flex;
    font-size: 1.45rem;
    height: 50px;
    justify-content: center;
    width: 50px;
}

.task-meta {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.task-meta span {
    align-items: center;
    color: var(--muted);
    display: inline-flex;
    gap: 6px;
}

.profile-shell {
    max-width: 760px;
}

.profile-cover {
    background:
        radial-gradient(circle at 86% 20%, rgba(255, 255, 255, 0.5), transparent 12rem),
        linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: 26px;
    box-shadow: var(--shadow);
    color: #fff;
    padding: 34px;
}

.profile-cover .eyebrow,
.profile-cover p {
    color: rgba(255, 255, 255, 0.84) !important;
}

.profile-form-panel {
    border-radius: 22px;
    margin: -26px auto 0;
    max-width: calc(100% - 48px);
    position: relative;
}

.profile-preview img {
    border: 5px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    height: 110px;
    width: 110px;
}

.rating-line,
.profile-rating,
.star-display {
    color: #f59e0b;
    font-weight: 800;
}

.helper-badge {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    margin-top: 6px;
    padding: 5px 10px;
}

.user-card-compact {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.user-card-compact img {
    border: 2px solid #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    flex: 0 0 auto;
    height: 42px;
    object-fit: cover;
    width: 42px;
}

.user-card-compact small,
.user-card-compact strong {
    display: block;
}

.review-form-card {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 14px;
}

.star-picker {
    direction: rtl;
    display: inline-flex;
    gap: 2px;
}

.star-picker input {
    display: none;
}

.star-picker label {
    color: #d0d5dd;
    cursor: pointer;
    font-size: 1.55rem;
    line-height: 1;
    transition: color 0.16s ease, transform 0.16s ease;
}

.star-picker label:hover,
.star-picker label:hover ~ label,
.star-picker input:checked ~ label {
    color: #f59e0b;
    transform: translateY(-1px);
}

.review-done {
    align-items: center;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    color: #166534;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    padding: 7px 12px;
}

.review-item {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}

.review-item:last-child {
    border-bottom: 0;
}

.public-hero {
    background: linear-gradient(135deg, rgba(43, 30, 112, 0.92), rgba(91, 53, 245, 0.82));
}

.task-preview-panel {
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(16, 24, 40, 0.18);
}

@media (max-width: 1199px) {
    .quick-action-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-grid-wide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .dashboard-hero {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 170px;
    }

    .hero-person {
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
    }

    .topbar-post-btn span {
        display: none;
    }
}

@media (max-width: 767px) {
    .app-topbar {
        height: auto;
        min-height: var(--topbar-height);
    }

    .dashboard-hero {
        padding: 26px 22px;
    }

    .dashboard-hero h1 {
        font-size: 2.25rem;
    }

    .quick-action-grid,
    .category-grid-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .transaction-row,
    .task-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-form-panel {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .topbar-post-btn {
        display: none;
    }

    .topbar-search {
        min-width: 0;
    }

    .quick-action-grid,
    .category-grid-wide {
        grid-template-columns: 1fr;
    }

    .wallet-art {
        height: 66px;
        width: 74px;
    }

    .hero-person {
        width: 190px;
    }
}

/* Premium public landing page */
body:not(:has(.app-sidebar)) {
    background: #f7f8ff;
}

.startup-hero,
.landing-section {
    position: relative;
}

.startup-hero {
    background:
        radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.22), transparent 12rem),
        radial-gradient(circle at 50% 55%, rgba(124, 58, 237, 0.34), transparent 24rem),
        linear-gradient(135deg, #15116f 0%, #4f2ceb 48%, #150b53 100%);
    color: #fff;
    overflow: hidden;
    padding: 78px 0 86px;
}

.startup-hero::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 72px 72px;
    content: "";
    inset: 0;
    opacity: 0.35;
    position: absolute;
}

.startup-hero::after {
    background:
        linear-gradient(180deg, transparent 0 42%, rgba(8, 9, 74, 0.46) 42% 100%),
        radial-gradient(ellipse at center, rgba(255, 255, 255, 0.18), transparent 58%);
    bottom: -18%;
    content: "";
    height: 42%;
    left: 0;
    position: absolute;
    width: 100%;
}

.startup-hero-grid {
    align-items: center;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
    min-width: 0;
    position: relative;
    z-index: 1;
}

.startup-hero-grid > *,
.showcase-grid > *,
.why-layout > *,
.faq-layout > * {
    min-width: 0;
}

.startup-hero-copy h1,
.landing-section-heading h2,
.why-layout h2,
.faq-layout h2 {
    font-weight: 850;
    letter-spacing: 0;
}

.startup-hero-copy h1 {
    font-size: clamp(3rem, 5.4vw, 5.8rem);
    line-height: 0.98;
    margin-bottom: 22px;
    max-width: 720px;
    overflow-wrap: anywhere;
}

.startup-hero-copy h1 span {
    display: block;
}

.startup-hero-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.55;
    max-width: 620px;
}

.landing-eyebrow {
    color: #c8bfff;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.landing-primary-btn,
.landing-primary-btn:hover {
    background: linear-gradient(135deg, #fff, #ece8ff);
    border: 0;
    box-shadow: 0 18px 42px rgba(18, 12, 86, 0.28);
    color: #4f2ceb;
    padding: 14px 22px;
}

.why-section .landing-primary-btn {
    background: linear-gradient(135deg, var(--primary), #7447ff);
    color: #fff;
}

.landing-ghost-btn,
.landing-ghost-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.56);
    color: #fff;
    padding: 14px 22px;
}

.landing-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.landing-trust-row span {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    padding: 9px 13px;
}

.hero-product-stage {
    min-height: 620px;
    position: relative;
}

.phone-mockup,
.desktop-mockup,
.hero-glow-card,
.workflow-card,
.landing-category-card,
.why-card,
.mini-product-card,
.trust-stat,
.landing-faq .accordion-item {
    backdrop-filter: blur(18px);
}

.phone-mockup {
    background: #080b1c;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 42px;
    box-shadow: 0 34px 70px rgba(10, 7, 49, 0.38);
    padding: 12px;
    position: relative;
    width: 260px;
}

.phone-speaker {
    background: #080b1c;
    border-radius: 0 0 18px 18px;
    height: 22px;
    left: 50%;
    position: absolute;
    top: 12px;
    transform: translateX(-50%);
    width: 92px;
    z-index: 3;
}

.phone-screen {
    background: linear-gradient(180deg, #ffffff 0%, #f7f5ff 100%);
    border-radius: 32px;
    color: #111827;
    min-height: 490px;
    overflow: hidden;
    padding: 44px 16px 18px;
}

.hero-phone {
    animation: floatPhone 6s ease-in-out infinite;
    position: absolute;
    right: 210px;
    top: 18px;
    transform: rotate(-7deg);
    z-index: 4;
}

.desktop-mockup {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 28px;
    box-shadow: 0 36px 80px rgba(14, 8, 68, 0.3);
    color: #101828;
    overflow: hidden;
    width: 500px;
}

.hero-dashboard {
    bottom: 22px;
    position: absolute;
    right: 0;
    z-index: 2;
}

.desktop-topbar {
    align-items: center;
    background: #111827;
    display: flex;
    gap: 7px;
    height: 28px;
    padding-left: 16px;
}

.desktop-topbar span {
    background: #d1d5db;
    border-radius: 50%;
    height: 7px;
    width: 7px;
}

.desktop-body {
    display: grid;
    grid-template-columns: 122px 1fr;
    min-height: 280px;
}

.desktop-body aside {
    background: #f5f3ff;
    display: grid;
    gap: 10px;
    padding: 18px 14px;
}

.desktop-body aside strong {
    color: #221064;
    margin-bottom: 8px;
}

.desktop-body aside span {
    border-radius: 10px;
    color: #667085;
    font-size: 0.72rem;
    font-weight: 850;
    padding: 7px 9px;
}

.desktop-body aside span.active,
.desktop-body aside span:first-of-type {
    background: #ebe7ff;
    color: #5738e8;
}

.desktop-body main {
    padding: 18px;
}

.desktop-stat-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 18px;
}

.desktop-stat-row div {
    background: #fff;
    border: 1px solid #eceef5;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
    padding: 12px;
}

.desktop-stat-row span {
    color: #667085;
    display: block;
    font-size: 0.66rem;
    font-weight: 800;
}

.desktop-stat-row strong {
    color: #101828;
    display: block;
    font-size: 1.08rem;
    margin-top: 5px;
}

.desktop-list {
    display: grid;
    gap: 10px;
}

.desktop-list span {
    align-items: center;
    background: #fff;
    border: 1px solid #eceef5;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
}

.desktop-list b {
    font-size: 0.78rem;
}

.desktop-list em {
    background: #e9fbf1;
    border-radius: 999px;
    color: #16803b;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 850;
    padding: 5px 8px;
}

.mock-topline {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mock-topline strong,
.mock-topline small {
    display: block;
}

.mock-topline small {
    color: #667085;
    font-size: 0.72rem;
}

.mock-topline i {
    color: #6245ea;
    font-size: 1.55rem;
}

.mock-wallet-card {
    background: linear-gradient(135deg, #5b35f5, #7447ff);
    border-radius: 18px;
    color: #fff;
    margin-bottom: 14px;
    padding: 15px;
}

.mock-wallet-card span,
.mock-wallet-card small {
    color: rgba(255, 255, 255, 0.78);
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
}

.mock-wallet-card strong {
    display: block;
    font-size: 1.28rem;
    margin: 4px 0;
}

.mock-action-row {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 16px;
}

.mock-action-row span {
    align-items: center;
    background: #fff;
    border: 1px solid #eceef5;
    border-radius: 14px;
    color: #344054;
    display: grid;
    font-size: 0.58rem;
    font-weight: 850;
    gap: 5px;
    justify-items: center;
    padding: 9px 4px;
}

.mock-action-row i {
    color: #5b35f5;
    font-size: 1rem;
}

.mock-section-title {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
}

.mock-section-title small {
    color: #5b35f5;
    font-weight: 850;
}

.mock-task-row {
    align-items: center;
    background: #fff;
    border: 1px solid #eceef5;
    border-radius: 14px;
    display: grid;
    gap: 9px;
    grid-template-columns: auto 1fr auto;
    margin-bottom: 9px;
    padding: 10px;
}

.mock-task-row i {
    align-items: center;
    background: #fff1e8;
    border-radius: 10px;
    color: #ef7b2d;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.mock-task-row strong,
.mock-task-row small {
    display: block;
}

.mock-task-row strong {
    font-size: 0.72rem;
}

.mock-task-row small {
    color: #667085;
    font-size: 0.62rem;
}

.mock-task-row b {
    font-size: 0.72rem;
}

.hero-glow-card {
    align-items: center;
    animation: floatCard 5.5s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 18px;
    box-shadow: 0 22px 52px rgba(11, 7, 56, 0.28);
    color: #101828;
    display: grid;
    gap: 2px 12px;
    grid-template-columns: auto 1fr;
    min-width: 190px;
    padding: 14px;
    position: absolute;
    z-index: 5;
}

.hero-glow-card i {
    align-items: center;
    background: #68c2a6;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 1.2rem;
    grid-row: span 2;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.hero-glow-card span {
    font-weight: 850;
}

.hero-glow-card small {
    color: #667085;
    font-weight: 700;
}

.task-live-card {
    right: 64px;
    top: 56px;
}

.payment-live-card {
    right: 20px;
    top: 248px;
}

.payment-live-card i {
    background: #58b892;
}

.landing-section {
    padding: 86px 0;
}

.landing-section-heading {
    margin: 0 auto 34px;
    max-width: 780px;
    text-align: center;
}

.landing-section-heading.compact {
    max-width: 620px;
}

.landing-section-heading h2,
.why-layout h2,
.faq-layout h2 {
    color: #101828;
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    line-height: 1.05;
}

.landing-section-heading .landing-eyebrow,
.why-layout .landing-eyebrow,
.faq-layout .landing-eyebrow {
    color: #5b35f5;
}

.workflow-grid,
.landing-category-grid,
.why-grid,
.trust-grid {
    display: grid;
    gap: 18px;
}

.workflow-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-card,
.landing-category-card,
.why-card,
.trust-stat,
.landing-faq .accordion-item {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(231, 232, 239, 0.9);
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.workflow-card:hover,
.landing-category-card:hover,
.why-card:hover,
.trust-stat:hover {
    border-color: rgba(91, 53, 245, 0.28);
    box-shadow: 0 28px 60px rgba(16, 24, 40, 0.12);
    transform: translateY(-6px);
}

.workflow-card {
    border-radius: 26px;
    min-height: 280px;
    padding: 26px;
}

.workflow-icon {
    align-items: center;
    background: linear-gradient(135deg, #ede9ff, #fff);
    border-radius: 20px;
    color: #5b35f5;
    display: inline-flex;
    font-size: 1.55rem;
    height: 58px;
    justify-content: center;
    margin-bottom: 28px;
    width: 58px;
}

.workflow-card span {
    color: #b6b1c8;
    display: block;
    font-size: 0.8rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.workflow-card h3,
.landing-category-card h3,
.why-card h3 {
    color: #101828;
    font-size: 1.15rem;
    font-weight: 850;
}

.workflow-card p,
.landing-category-card p,
.why-card p,
.why-layout > div > p,
.faq-layout > div > p {
    color: #667085;
    line-height: 1.58;
}

.categories-section {
    background:
        radial-gradient(circle at 14% 18%, rgba(91, 53, 245, 0.12), transparent 16rem),
        #fff;
}

.landing-category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.landing-category-card {
    border-radius: 24px;
    min-height: 190px;
    padding: 22px;
}

.landing-category-card i {
    align-items: center;
    border-radius: 18px;
    display: inline-flex;
    font-size: 1.65rem;
    height: 56px;
    justify-content: center;
    margin-bottom: 18px;
    width: 56px;
}

.landing-category-card.mint {
    background: #ecfdf3;
}

.landing-category-card.mint i {
    background: #d1fadf;
    color: #16803b;
}

.landing-category-card.sky {
    background: #eff8ff;
}

.landing-category-card.sky i {
    background: #d1e9ff;
    color: #1570ef;
}

.landing-category-card.violet {
    background: #f4f0ff;
}

.landing-category-card.violet i {
    background: #e9d7fe;
    color: #6941c6;
}

.landing-category-card.blue {
    background: #eef4ff;
}

.landing-category-card.blue i {
    background: #d1e0ff;
    color: #3538cd;
}

.landing-category-card.rose {
    background: #fff1f3;
}

.landing-category-card.rose i {
    background: #ffe4e8;
    color: #e31b54;
}

.landing-category-card.amber {
    background: #fffaeb;
}

.landing-category-card.amber i {
    background: #fef0c7;
    color: #dc6803;
}

.why-section,
.showcase-section {
    background:
        linear-gradient(135deg, #100b45, #21106f 52%, #0c0b35);
    color: #fff;
    overflow: hidden;
}

.why-layout {
    align-items: center;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.why-layout h2,
.showcase-section .landing-section-heading h2 {
    color: #fff;
}

.why-layout > div > p,
.showcase-section .landing-section-heading .landing-eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-card {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    padding: 22px;
}

.why-card:last-child {
    grid-column: 1 / -1;
}

.why-card i {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: #d8d1ff;
    display: inline-flex;
    font-size: 1.35rem;
    height: 48px;
    justify-content: center;
    margin-bottom: 16px;
    width: 48px;
}

.why-card h3,
.why-card p {
    color: #fff;
}

.why-card p {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0;
}

.showcase-section {
    background:
        radial-gradient(circle at 78% 16%, rgba(118, 75, 255, 0.4), transparent 20rem),
        linear-gradient(135deg, #101032, #170c56 52%, #080b1d);
}

.showcase-grid {
    align-items: center;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.desktop-mockup.large {
    margin: 0 auto;
    max-width: 100%;
    width: 760px;
}

.desktop-mockup.large .desktop-body {
    grid-template-columns: 170px 1fr;
    min-height: 410px;
}

.desktop-mockup.large .desktop-body main {
    padding: 28px;
}

.showcase-list span {
    min-height: 54px;
}

.showcase-stack {
    min-height: 570px;
    position: relative;
}

.showcase-phone {
    bottom: 0;
    left: 44px;
    position: absolute;
    z-index: 2;
}

.mini-product-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 22px;
    box-shadow: 0 28px 56px rgba(10, 7, 49, 0.28);
    color: #101828;
    display: flex;
    gap: 14px;
    padding: 18px;
    position: absolute;
    width: 250px;
    z-index: 3;
}

.mini-product-card i {
    align-items: center;
    background: #ede9ff;
    border-radius: 16px;
    color: #5b35f5;
    display: inline-flex;
    font-size: 1.35rem;
    height: 50px;
    justify-content: center;
    width: 50px;
}

.mini-product-card span,
.mini-product-card strong {
    display: block;
}

.mini-product-card span {
    color: #667085;
    font-size: 0.78rem;
    font-weight: 800;
}

.wallet-preview {
    right: 10px;
    top: 42px;
}

.task-preview {
    right: 54px;
    top: 158px;
}

.support-screen {
    background: linear-gradient(180deg, #fff, #f5f2ff);
}

.support-status {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #b54708;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 850;
    margin-bottom: 14px;
    padding: 7px 12px;
}

.support-message {
    background: #fff;
    border: 1px solid #eceef5;
    border-radius: 16px;
    margin-bottom: 11px;
    padding: 13px;
}

.support-message b,
.support-message span {
    display: block;
}

.support-message span {
    color: #667085;
    font-size: 0.8rem;
    margin-top: 4px;
}

.trust-section {
    background: #fff;
    padding: 48px 0;
}

.trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-stat {
    border-radius: 26px;
    padding: 28px;
    text-align: center;
}

.trust-stat strong {
    color: #5b35f5;
    display: block;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
}

.trust-stat span {
    color: #667085;
    display: block;
    font-weight: 850;
    margin-top: 10px;
}

.faq-section {
    background:
        radial-gradient(circle at 88% 20%, rgba(91, 53, 245, 0.1), transparent 18rem),
        #f7f8ff;
}

.faq-layout {
    align-items: start;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.landing-faq {
    display: grid;
    gap: 14px;
}

.landing-faq .accordion-item {
    border-radius: 20px;
    overflow: hidden;
}

.landing-faq .accordion-button {
    background: transparent;
    box-shadow: none;
    color: #101828;
    font-weight: 850;
    padding: 20px 22px;
}

.landing-faq .accordion-button:not(.collapsed) {
    color: #5b35f5;
}

.landing-faq .accordion-body {
    color: #667085;
    padding: 0 22px 22px;
}

@keyframes floatPhone {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -16px;
    }
}

@keyframes floatCard {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 12px;
    }
}

@media (max-width: 1199px) {
    .startup-hero-grid,
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .hero-product-stage {
        margin: 0 auto;
        max-width: 760px;
        min-width: 0;
        width: 100%;
    }

    .workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .startup-hero {
        padding: 58px 0 70px;
    }

    .startup-hero-copy {
        text-align: center;
    }

    .startup-hero-text,
    .startup-hero-copy h1 {
        margin-left: auto;
        margin-right: auto;
    }

    .landing-actions,
    .landing-trust-row {
        justify-content: center;
    }

    .why-layout,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .startup-hero-copy h1 {
        font-size: 3rem;
    }

    .hero-product-stage {
        min-height: 760px;
    }

    .hero-phone {
        left: 50%;
        right: auto;
        top: 20px;
        transform: translateX(-50%) rotate(-4deg);
    }

    .hero-dashboard {
        bottom: 0;
        left: 50%;
        max-width: 96vw;
        right: auto;
        transform: translateX(-50%);
        width: 520px;
    }

    .task-live-card {
        left: 12px;
        right: auto;
        top: 40px;
    }

    .payment-live-card {
        right: 10px;
        top: 360px;
    }

    .workflow-grid,
    .landing-category-grid,
    .why-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .why-card:last-child {
        grid-column: auto;
    }

    .desktop-body,
    .desktop-mockup.large .desktop-body {
        grid-template-columns: 1fr;
    }

    .desktop-body aside {
        display: none;
    }

    .showcase-stack {
        min-height: 650px;
    }

    .showcase-phone {
        left: 50%;
        transform: translateX(-50%);
    }

    .wallet-preview,
    .task-preview {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .wallet-preview {
        top: 0;
    }

    .task-preview {
        top: 106px;
    }
}

@media (max-width: 575px) {
    .startup-hero {
        padding-top: 42px;
    }

    .startup-hero-copy h1 {
        font-size: 2.05rem;
        max-width: calc(100vw - 28px);
    }

    .startup-hero-copy,
    .startup-hero-text {
        max-width: calc(100vw - 28px);
        width: calc(100vw - 28px);
    }

    .startup-hero-text {
        font-size: 0.98rem;
    }

    .startup-hero-text span {
        display: block;
    }

    .landing-trust-row {
        flex-direction: column;
        width: calc(100vw - 28px);
    }

    .landing-trust-row span {
        justify-content: center;
        width: 100%;
    }

    .landing-section {
        padding: 58px 0;
    }

    .landing-actions .btn {
        width: 100%;
    }

    .hero-product-stage {
        min-height: 700px;
    }

    .phone-mockup {
        width: min(248px, 86vw);
    }

    .phone-screen {
        min-height: 462px;
    }

    .hero-glow-card {
        min-width: 168px;
        padding: 12px;
    }

    .task-live-card {
        top: 24px;
    }

    .payment-live-card {
        top: 336px;
    }

    .desktop-mockup {
        width: 100%;
    }

    .desktop-stat-row {
        grid-template-columns: 1fr;
    }

    .mini-product-card {
        width: min(250px, 88vw);
    }

    .public-header .container {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-start !important;
    }

    .public-header .container > div.d-flex.gap-2 {
        display: none !important;
    }

    .public-header .container > div.d-flex.gap-2 a:first-child {
        display: none;
    }

    .public-header .btn {
        font-size: 0.76rem;
        padding-left: 8px;
        padding-right: 8px;
    }

    .public-brand,
    .public-brand:hover {
        font-size: 1.15rem;
    }

    .public-brand img {
        height: 30px;
    }
}
