:root {
    --nexus-bg: #f6faff;
    --nexus-bg-soft: #ffffff;
    --nexus-accent: #6366f1;
    --nexus-accent-2: #ec4899;
    --nexus-accent-3: #06b6d4;
    --nexus-accent-soft: rgba(99, 102, 241, 0.12);
    --nexus-accent-strong: #4f46e5;
    --nexus-border: rgba(99, 102, 241, 0.14);
    --nexus-text: #111827;
    --nexus-muted: #64748b;
    --nexus-danger: #ef4444;
    --nexus-success: #10b981;
    --nexus-radius-lg: 24px;
    --nexus-radius-md: 18px;
    --nexus-radius-pill: 999px;
    --nexus-shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.10);
    --nexus-shadow-card: 0 14px 36px rgba(99, 102, 241, 0.10);
    --nexus-shadow-glow: 0 18px 45px rgba(99, 102, 241, 0.18);
    --nexus-transition-fast: 0.18s ease-out;
    --nexus-transition-med: 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
    --nexus-transition-spring: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ظرف اصلی */
.nexus-web-wrapper {
    direction: rtl;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 18px;
    background:
        radial-gradient(circle at 12% 10%, rgba(99, 102, 241, 0.18), transparent 32%),
        radial-gradient(circle at 90% 12%, rgba(236, 72, 153, 0.12), transparent 30%),
        radial-gradient(circle at 50% 95%, rgba(6, 182, 212, 0.10), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 42%, #edf5ff 100%);
    border-radius: 30px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    box-shadow: var(--nexus-shadow-soft);
    color: var(--nexus-text);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    animation: nexusWrapperEnter 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* افکت نور متحرک روی کل باکس */
.nexus-web-wrapper::before {
    content: "";
    position: absolute;
    width: 580px;
    height: 580px;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(99, 102, 241, 0.16), transparent 60%),
        radial-gradient(circle, rgba(236, 72, 153, 0.10), transparent 72%);
    filter: blur(18px);
    opacity: 0.95;
    inset-inline-start: -180px;
    top: -220px;
    pointer-events: none;
    z255,255,0.88) 46%, transparent11s ease-in-out infinite alternate;
}

.nexus-web-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.88) 46%, transparent 73%);
    transform: translateX(85%) skewX(-12deg);
    opacity: 0.55;
    pointer-events: none;
    z-index: -1;
    animation: nexusLightSweep 9s ease-in-out infinite;
}

/* ستون سایدبار */
.nexus-web-sidebar {
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.nexus-web-sidebar::before {
    content:38%);
    opacity:     inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.10), transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.08), transparent 38%);
    opacity: 1;
    pointer-events: none;
}

/* هدر سایدبار */
.nexus-web-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.nexus-logo {
    font-size: 16px;
    letter-spacing: 0.18em;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(120deg, #312e81, #6366f1, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nexus-role {
    font-size: 11px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.18);
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(238, 242, 255, 0.92));
    color: #4f46e5;
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.10);
}

/* لیست دکمه‌ها */
.nexus-web-buttons {
    display: flex;
    flex-direction: column;
    gap: 9px;
    overflow-y: auto;
    padding-inline-end: 4px;
    max-height: 460px;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.35) transparent;
    position: relative;
    z-index: 1;
}

.nexus-web-buttons::-webkit-scrollbar {
    width: 5px;
}

.nexus-web-buttons::-webkit-scrollbar-track {
    background: transparent;
}

.nexus-web-buttons::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #818cf8, #ec4899);
    border-radius: 999px;
}

/* دکمه‌ها */
.nexus-web-btn {
    width: 100%;
    border-radius: 17px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.97), rgba(248, 250, 252, 0.88));
    color: var(--nexus-text);
    padding: 10px 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        transform var(--nexus-transition-spring),
        border-color var(--n-btn::before {
    content: var(--nexus-transition-fast),
        background var(--nexus-transition-fast),
        opacity 0.14s ease-out;
    text-align: right;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.040);
}

.nexus-web-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(99, 102, 241, 0.13), transparent 45%),
        linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.88) 50%, transparent 80%);
    opacity: 0;
    transform: translateX(35%);
    transition: opacity var(--nexus-transition-med), transform 0.55s ease;
}

.nexus-web-btn::after {
    content: "";
    position: absolute;
    inset: auto 14px 0 14px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6366f1, #ec4899, #06b6d4);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--nexus-transition-med);
}

.nexus-web-btn:hover {
    transform: translateY(-4px) scale(1.018);
    border-color: rgba(99, 102, 241, 0.38);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.14);
}

.nexus-web-btn:hover::before {
    opacity: 1;
    transform: translateX(-25%);
}

.nexus-web-btn:hover::after {
    transform: scaleX(1);
}

.nexus-web-btn.active {
    border-color: rgba(99, 102, 241, 0.50);
    background:
        linear-gradient(135deg, rgba(255,255,255,1), rgba(238, 242, 255, 0.98));
    box-shadow: var(--nexus-shadow-glow);
    transform: translateY(-2px);
}

.nexus-web-btn.active::after {
    transform: scaleX(1);
}

/* آیکن دکمه */
.nexus-web-btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.95), transparent 40%),
        linear-gradient(145deg, #eef2ff, #ffffff);
    border: 1px solid rgba(99, 102, 241, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
}

.nexus-web-btn.active .nexus-web-btn-icon {
    animation: nexusIconPulse 1.8s ease-in-out infinite;
}

.nexus-web-btn-icon .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, var(--nexus-accent));
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.55);
}

/* متن دکمه */
.nexus-web-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.nexus-web-btn-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #172033;
}

.nexus-web-btn-desc {
    font-size: 11px;
    color: var(--nexus-muted);
}

/* اندیکاتور وضعیت */
.nexus-web-btn-indicator {
    width: 7px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.22), rgba(148, 163, 184, 0.08));
    opacity: 0.65;
    transform-origin: center;
    transition:
        background var(--nexus-transition-fast),
        opacity var(--nexus-transition-fast),
        transform var(--nexus-transition-fast);
}

.nexus-web-btn.active .nexus-web-btn-indicator {
    background: linear-gradient(180deg, #6366f1, #ec4899, #06b6d4);
    opacity: 1;
    transform: scaleX(1.15);
    box-shadow: 0 0 18px rgba(99, 102, 241, 0.30);
}

/* ستون محتوا - روشن‌تر و لوکس‌تر */
.nexus-web-content {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(250,252,255,0.94) 42%, rgba(242,247,255,0.92) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    padding: 18px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 22px 54px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.92);
    animation: nexusContentEnter 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nexus-web-content::before {
    content: "";
    position: absolute;
    inset: -45%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.12), transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.08), transparent 55%),
        radial-gradient(circle at 60% 10%, rgba(6, 182, 212, 0.08), transparent 55%);
    opacity: 1;
    pointer-events: none;
    animation: nexusContentGlow 14s ease-in-out infinite alternate;
}

.nexus-web-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.62) 46%, transparent 70%);
    transform: translateX(105%) skewX(-16deg);
    pointer-events: none;
    animation: nexusGlassSweep 7.5s ease-in-out infinite;
}

/* ظرف داخلی محتوا */
.nexus-web-content-inner {
    position: relative;
    z-index: 1;
    min-height: 240px;
    display: grid;
}

/* پنل‌ها */
.nexus-web-panel {
    grid-area: 1 / 1 / 2 / 2;
    opacity: 0;
    transform: translateY(20px) scale(0.982);
    filter: blur(10px);
    pointer-events: none;
    transition:
        opacity 0.34s ease-out,
        transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.34s ease-out;
}

.nexus-web-panel.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    pointer-events: auto;
    animation: nexusPanelFloatIn 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* کارت‌های داخل پنل */
.nexus-web-panel .nexus-section {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248, 250, 252, 0.90));
    padding: 15px 15px 14px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--nexus-shadow-card);
    transition:
        transform var(--nexus-transition-spring),
        box-shadow var(--nexus-transition-fast),
        border-color var(--nexus-transition-fast);
}

.nexus-web-panel .nexus-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.28);
}

.nexus-web-panel .nexus-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.10), transparent 46%),
        radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.06), transparent 44%);
    opacity: 1;
    pointer-events: none;
}

.nexus-web-panel .nexus-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.52), transparent);
    transform: skewX(-20deg);
    animation: nexusCardShine 8s ease-in-out infinite;
    pointer-events: none;
}

.nexus-section-title {
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 6px;
    color: #111827;
    position: relative;
    z-index: 1;
}

.nexus-section-sub {
    font-size: 12px;
    color: var(--nexus-muted);
    margin-bottom: 10px;
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

/* گرید داخلی */
.nexus-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    position: relative;
    z-index: 1;
}

.nexus-grid-item {
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    padding: 10px 11px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.99), rgba(241, 245, 249, 0.78));
    font-size: 11px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition:
        transform var(--nexus-transition-spring),
        box-shadow var(--nexus-transition-fast),
        border-color var(--nexus-transition-fast);
}

.nexus-grid-item:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(99, 102, 241, 0.32);
    box-shadow: 0 18px 34px rgba(99, 102, 241, 0.12);
}

.nexus-grid-item-title {
    font-weight: 800;
    color: #1f2937;
}

.nexus-grid-item-desc {
    color: var(--nexus-muted);
    line-height: 1.8;
}

.nexus-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 10px;
    border: 1px solid rgba(6, 182, 212, 0.26);
    color: #0891b2;
    background: linear-gradient(135deg, rgba(236, 254, 255, 0.95), rgba(255,255,255,0.92));
    box-shadow: 0 8px 18px rgba(6, 182, 212, 0.08);
}

/* فرم‌ها و بخش‌های داخلی قابلیت Roadmap */
.roadmap-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    padding-bottom: 184, 0.18);
    color: #64748b;
    padding: 8px 15px;
    1px solid rgba(148, 163, 184, 0.18);
    color: #64748b;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 13px;
    border-radius: 999px;
    transition: var(--nexus-transition-med);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.roadmap-tab-btn.active,
.roadmap-tab-btn:hover {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    box-shadow: 0 14px 28px rgba(99, 102, 241, 0.18);
    transform: translateY(-2px);
}

.roadmap-tab-content {
    display: none;
}

.roadmap-tab-content.active {
    display: block;
    animation: nexusPanelPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nexus-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nexus-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.nexus-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nexus-form-group label {
    font-size: 12px;
    color: #334155;
    font-weight: 800;
}

.nexus-form-group select,
.nexus-form-group input,
.nexus-form-group textarea {
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    color: #111827;
    padding: 10px 11px;
    font-size: 12px;
    outline: none;
    transition:
        border-color var(--nexus-transition-fast),
        box-shadow var(--nexus-transition-fast),
        transform var(--nexus-transition-fast),
        background var(--nexus-transition-fast);
}

.nexus-form-group select:hover,
.nexus-form-group input:hover,
.nexus-form-group textarea:hover {
    border-color: rgba(99, 102, 241, 0.30);
}

.nexus-form-group select:focus,
.nexus-form-group input:focus,
.nexus-form-group textarea:focus {
    border-color: rgba(99, 102, 241, 0.60);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.10);
    transform: translateY(-1px);
    background: #ffffff;
}

.weeks-container {
    margin-top: 15px;
    background: rgba(255,255,255,0.78);
    padding: 13px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.weeks-title {
    font-size: 13px;
    margin-bottom: 10px;
    color: #4f46e5;
    font-weight: 900;
}

.week-row {
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.28);
    padding-bottom: 12px;
}

.week-row:last-child {
    border: none;
}

.week-row-header {
    font-size: 12px;
    color: #db2777;
    margin-bottom: 7px;
    font-weight: 900;
}

.week-days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
    gap: 8px;
}

.day-input-group textarea {
    width: 100%;
    min-height: 58px;
    resize: vertical;
    font-size: 11px;
}

.nexus-submit-btn {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    border: none;
    color: #fff;
    padding: 11px 22px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    transition: var(--nexus-transition-spring);
    box-shadow: 0 16px 34px rgba(99, 102, 241, 0.22);
    position: relative;
    overflow: hidden;
}

.nexus-submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    right: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.40), transparent);
    transform: skewX(-18deg);
    transition: right 0.7s ease;
}

.nexus-submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 22px 44px rgba(236, 72, 153, 0.20);
}

.nexus-submit-btn:hover::before {
    right: 140%;
}

.empty-state {
    color: #64748b;
    background: rgba(255,255,255,0.82);
    border: 1px dashed rgba(148, 163, 184, 0.30);
    border-radius: 14px;
    padding: 14px;
}

/* پنل مشتری Roadmap */
.client-roadmap-container {
    padding: 10px;
}

.client-roadmap-header {
    background:
        radial-gradient(circle at 10% 0%, rgba(99, 102, 241, 0.12), transparent 42%),
        radial-gradient(circle at 90% 100%, rgba(236, 72, 153, 0.10), transparent 44%),
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(242,247,255,0.92));
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.07);
    animation: nexusPanelPop 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.client-roadmap-header h2 {
    font-size: 17px;
    margin: 0 0 6px 0;
    color: #111827;
}

.client-roadmap-header p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.9;
}

.client-meta-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.meta-stat {
    background: rgba(255,255,255,0.88);
    padding: 9px 13px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.meta-stat span {
    display: block;
    font-size: 10px;
    color: #64748b;
}

.meta-stat strong {
    font-size: 12px;
    color: #db2777;
}

.client-roadmap-interactive {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.week-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.client-week-btn {
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(148, 163, 184, 0.20);
    color: #64748b;
    padding: 9px 17px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--nexus-transition-spring);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

.client-week-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.34);
}

.client-week-btn.active {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(99,102,241,0.20);
}

.client-week-content {
    display: none;
}

.client-week-content.active {
    display: block;
    animation: nexusPanelPop 0.46s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* تایم‌لاین روشن و جذاب‌تر */
.roadmap-timeline {
    position: relative;
    padding-right: 22px;
    border-right: 2px solid rgba(99, 102, 241, 0.16);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.roadmap-timeline::before {
    content: "";
    position: absolute;
    right: -2px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #6366f1, #ec4899, #06b6d4);
    opacity: 0.22;
    animation: nexusTimelineGlow 3.2s ease-in-out infinite;
}

.timeline-step {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    animation: nexusTimelineIn 0.55s ease both;
}

.timeline-step:nth-child(1) { animation-delay: 0.03s; }
.timeline-step:nth-child(2) { animation-delay: 0.08s; }
.timeline-step:nth-child(3) { animation-delay: 0.13s; }
.timeline-step:nth-child(4) { animation-delay: 0.18s; }
.timeline-step:nth-child(5) { animation-delay: 0.23s; }
.timeline-step:nth-child(6) { animation-delay: 0.28s; }
.timeline-step:nth-child(7) { animation-delay: 0.33s; }

.timeline-badge {
    position: absolute;
    right: -32px;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 0 0 5px rgba(255,255,255,0.96), 0 10px 22px rgba(99,102,241,0.18);
    animation: nexusBadgePulse 2.2s ease-in-out infinite;
}

.timeline-panel {
    background: rgba(255,255,255,0.90);
    border: 1px solid rgba(148, 163, 184, 0.20);
    padding: 11px 14px;
    border-radius: 16px;
    flex: 1;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
    transition: var(--nexus-transition-spring);
    position: relative;
    overflow: hidden;
}

.timeline-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.42), transparent);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.7s ease;
    pointer-events: none;
}

.timeline-panel:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 38px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.30);
}

.timeline-panel:hover::before {
    transform: translateX(-100%);
    opacity: 1;
}

.timeline-day-title {
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 4px;
    color: #111827;
}

.timeline-day-desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.8;
}

.empty-day .timeline-panel {
    opacity: 0.72;
    border-style: dashed;
}

.client-roadmap-empty,
.client-roadmap-error {
    text-align: center;
    padding: 32px;
    border-radius: 20px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(148, 163, 184, 0.20);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.client-roadmap-empty .smile-icon {
    font-size: 42px;
    margin-bottom: 10px;
    animation: nexusIconPulse 1.8s ease-in-out infinite;
}

.designer-report-card {
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.designer-report-card h3 {
    color: #111827;
    margin-top: 0;
}

.report-week {
    margin-bottom: 10px;
}

.report-week ul {
    margin: 7px 18px 0 0;
    padding: 0;
    font-size: 12px;
    color: #475569;
    line-height: 1.9;
}

/* انیمیشن‌ها */
@keyframes nexusWrapperEnter {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes nexusContentEnter {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.988);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes nexusFloatOrb {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(110px, 90px, 0) scale(1.18);
    }
}

@keyframes nexusLightSweep {
    0%, 42% {
        transform: translateX(90%) skewX(-12deg);
        opacity: 0;
    }
    52% {
        opacity: 0.58;
    }
    72%, 100% {
        transform: translateX(-120%) skewX(-12deg);
        opacity: 0;
    }
}

@keyframes nexusGlassSweep {
    0%, 55% {
        transform: translateX(110%) skewX(-16deg);
        opacity: 0;
    }
    62% {
        opacity: 0.75;
    }
    80%, 100% {
        transform: translateX(-130%) skewX(-16deg);
        opacity: 0;
    }
}

@keyframes nexusContentGlow {
    from {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    to {
        transform: translate3d(42px, -24px, 0) rotate(5deg);
    }
}

@keyframes nexusIconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 28px rgba(236, 72, 153, 0.16);
    }
}

@keyframes nexusPanelPop {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.985);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes nexusPanelFloatIn {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
        filter: blur(8px);
    }
    60% {
        opacity: 1;
        transform: translateY(-3px) scale(1.01);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes nexusTimelineIn {
    from {
        opacity: 0;
        transform: translateX(20px) translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes nexusTimelineGlow {
    0%, 100% {
        opacity: 0.18;
        filter: drop-shadow(0 0 0 rgba(99, 102, 241, 0));
    }
    50% {
        opacity: 0.42;
        filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.20));
    }
}

@keyframes nexusBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgba(255,255,255,0.96), 0 10px 22px rgba(99,102,241,0.18);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 7px rgba(255,255,255,0.98), 0 14px 28px rgba(236,72,153,0.20);
    }
}

@keyframes nexusCardShine {
    0%, 70% {
        right: -120%;
        opacity: 0;
    }
    78% {
        opacity: 0.9;
    }
    100% {
        right: 140%;
        opacity: 0;
    }
}

/* ریسپانسیو برای تبلت و موبایل */
@media (max-width: 960px) {
    .nexus-web-wrapper {
        grid-template-columns: minmax(0, 1fr);
        padding: 14px;
        gap: 12px;
    }

    .nexus-web-sidebar {
        order: 2;
        max-height: 230px;
    }

    .nexus-web-content {
        order: 1;
        padding: 12px;
    }

    .client-roadmap-header {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .nexus-web-wrapper {
        padding: 10px;
        border-radius: 20px;
    }

    .nexus-web-sidebar {
        padding: 10px;
        border-radius: 16px;
    }

    .nexus-web-content {
        border-radius: 16px;
    }

    .nexus-grid-2 {
        grid-template-columns: 1fr;
    }

    .nexus-web-btn {
        padding: 9px 9px;
    }

    .nexus-web-btn-title {
        font-size: 12px;
    }

    .nexus-web-btn-desc {
        font-size: 10px;
    }

    .roadmap-tabs {
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .roadmap-tab-btn,
    .client-week-btn {
        white-space: nowrap;
    }

    .week-days-grid {
        grid-template-columns: 1fr;
    }

    .client-meta-stats {
        width: 100%;
    }

    .meta-stat {
        flex: 1 1 100%;
    }

    .roadmap-timeline {
        padding-right: 18px;
    }

    .timeline-badge {
        right: -29px;
    }
}

/* احترام به کاربرانی که کاهش انیمیشن فعال کرده‌اند */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* ===== FORCE LIGHT MODE PATCH ===== */

.nexus-web-wrapper,
.nexus-web-wrapper * {
    color-scheme: light;
}

.nexus-web-wrapper {
    background:
        radial-gradient(circle at 12% 10%, rgba(99, 102, 241, 0.16), transparent 32%),
        radial-gradient(circle at 90% 12%, rgba(236, 72, 153, 0.10), transparent 30%),
        radial-gradient(circle at 50% 95%, rgba(6, 182, 212, 0.08), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 45%, #eef6ff 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    color: #111827 !important;
}

.nexus-web-sidebar {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(148, 163, 184, 0.20) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06) !important;
}

.nexus-web-content {
    background: linear-gradient(135deg, #ffffff 0%, #f9fbff 50%, #f1f6ff 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.06) !important;
    color: #111827 !important;
}

.nexus-web-content::before {
    background-image:
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.10), transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.07), transparent 55%),
        radial-gradient(circle at 60% 10%, rgba(6, 182, 212, 0.07), transparent 55%) !important;
    opacity: 1 !important;
}

.nexus-web-content::after {
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.62) 46%, transparent 70%) !important;
    opacity: 1 !important;
}

.nexus-web-content-inner,
.nexus-web-panel,
.nexus-web-panel.active {
    background: transparent !important;
    color: #111827 !important;
}

.nexus-web-panel .nexus-section,
.nexus-section,
.weeks-container,
.timeline-panel,
.client-roadmap-header,
.designer-report-card,
.client-roadmap-empty,
.client-roadmap-error,
.empty-state,
.meta-stat {
    background: rgba(255,255,255,0.92) !important;
    color: #111827 !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05) !important;
}

.nexus-section-title,
.nexus-grid-item-title,
.timeline-day-title,
.client-roadmap-header h2,
.designer-report-card h3,
.nexus-web-btn-title,
.nexus-form-group label,
.weeks-title,
.week-row-header {
    color: #111827 !important;
}

.nexus-section-sub,
.nexus-grid-item-desc,
.timeline-day-desc,
.client-roadmap-header p,
.empty-state,
.report-week ul,
.nexus-web-btn-desc {
    color: #64748b !important;
}

.nexus-web-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,250,252,0.92)) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    color: #111827 !important;
}

.nexus-web-btn.active {
    background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%) !important;
    border-color: rgba(99, 102, 241, 0.35) !important;
    box-shadow: 0 18px 40px rgba(99, 102, 241, 0.14) !important;
}

.nexus-grid-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(241,245,249,0.82)) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    color: #111827 !important;
}

.nexus-form-group select,
.nexus-form-group input,
.nexus-form-group textarea,
.roadmap-tab-btn,
.client-week-btn {
    background: rgba(255,255,255,0.95) !important;
    color: #111827 !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
}

.roadmap-tab-btn.active,
.client-week-btn.active,
.nexus-submit-btn {
    color: #fff !important;
}

.timeline-panel,
.nexus-web-panel .nexus-section,
.nexus-grid-item,
.meta-stat,
.client-roadmap-header,
.weeks-container {
    backdrop-filter: blur(0) !important;
    -webkit-backdrop-filter: blur(0) !important;
}

/* انیمیشن روشن و واضح */
.nexus-web-content {
    animation: nexusContentEnterForce 0.8s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.nexus-web-panel.active {
    animation: nexusPanelFloatInForce 0.6s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.timeline-step {
    animation: nexusTimelineInForce 0.55s ease both !important;
}

@keyframes nexusContentEnterForce {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.988);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes nexusPanelFloatInForce {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.985);
    }
    60% {
        opacity: 1;
        transform: translateY(-2px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes nexusTimelineInForce {
    from {
        opacity: 0;
        transform: translateX(16px) translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}