/* ==============================================
   Weekly Work Report - Presentation Stylesheet
   ============================================== */

:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --success: #10b981;
    --info: #06b6d4;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --light: #f8fafc;
    --muted: #64748b;
    --border: #e2e8f0;
    --grad-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --grad-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --grad-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --grad-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --grad-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --grad-6: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --grad-hero: linear-gradient(135deg, #1e3a8a 0%, #4f46e5 35%, #7c3aed 70%, #ec4899 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 24px 64px rgba(15, 23, 42, 0.18);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #ffffff;
    color: var(--dark);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============= TYPOGRAPHY ============= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--dark);
}

.display-hero {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: var(--grad-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title .title-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-1);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.section-subtitle {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* ============= NAVBAR ============= */
.app-navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.3s ease;
}

.app-navbar.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 0.6rem 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--dark);
    font-weight: 800;
    font-size: 1.15rem;
}

.brand-logo .brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--grad-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
}

.brand-logo span small {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-tab {
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-tab:hover {
    background: #f8fafc;
    color: var(--primary);
}

.nav-tab.active {
    background: var(--grad-hero);
    color: #fff;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.employee-switcher .dropdown-menu {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 0.6rem;
    min-width: 280px;
}

.employee-switcher .dropdown-item {
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.2s;
}

.employee-switcher .dropdown-item:hover {
    background: #f8fafc;
}

.employee-switcher .avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

/* ============= HERO ============= */
.hero-section {
    position: relative;
    padding: 4rem 0 3rem;
    overflow: hidden;
}

.hero-section.hero-main {
    padding: 5rem 0 4rem;
}

.hero-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    display: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: float 12s ease-in-out infinite;
}

.orb.orb-1, .orb.orb-2, .orb.orb-3 {
    display: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.05); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.25rem;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    50% { transform: scale(1.2); opacity: 0.85; box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

/* ============= EMPLOYEE HEADER (employee page) ============= */
.employee-hero {
    position: relative;
    padding: 3rem 0 2rem;
    z-index: 1;
}

.employee-card-hero {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.employee-card-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--emp-gradient, var(--grad-hero));
}

.avatar-xl {
    width: 110px;
    height: 110px;
    border-radius: 26px;
    background: var(--emp-gradient, var(--grad-hero));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
    position: relative;
}

.avatar-xl::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 32px;
    border: 2px dashed rgba(79, 70, 229, 0.25);
    animation: spin 22s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.employee-name {
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.35rem;
    line-height: 1.15;
}

.employee-role-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
}

.week-stamp {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
    margin-top: 0.4rem;
}

/* ============= STAT CARDS ============= */
.stat-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--stat-color, var(--grad-1));
    opacity: 0.06;
    border-bottom-left-radius: 100%;
}

.stat-card .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--stat-color, var(--grad-1));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.2);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--dark);
    margin-bottom: 0.2rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-card .stat-label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============= EMPLOYEE CARDS (Dashboard) ============= */
.employee-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.employee-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--emp-gradient, var(--grad-1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.employee-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--emp-gradient, var(--grad-1));
}

.employee-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.employee-card > * {
    position: relative;
    z-index: 1;
}

.employee-card .avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--emp-gradient, var(--grad-1));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
    margin-bottom: 1rem;
}

.employee-card .e-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: var(--dark);
}

.employee-card .e-role {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.employee-card .e-stats {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem 0;
    margin: 0.5rem 0 1rem;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
}

.employee-card .e-stats .e-stat {
    flex: 1;
    text-align: center;
}

.employee-card .e-stats .e-stat .num {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.employee-card .e-stats .e-stat .lbl {
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-top: 0.3rem;
    display: block;
}

.employee-card .e-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.btn-emp {
    flex: 1;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    border: 1.5px solid var(--border);
    color: var(--dark);
    background: transparent;
}

.btn-emp.primary {
    background: var(--emp-gradient, var(--grad-1));
    color: #fff;
    border-color: transparent;
}

.btn-emp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* ============= SECTION BLOCKS ============= */
.section-block {
    padding: 3rem 0;
    position: relative;
}

.section-block.alt {
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ============= HIGHLIGHT CARDS ============= */
.highlight-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.35rem;
    height: 100%;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--card-color, var(--grad-1));
    transition: width 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.highlight-card:hover::before {
    width: 6px;
}

.highlight-card .h-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--card-color, var(--grad-1));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.highlight-card h6 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--dark);
    line-height: 1.3;
}

.highlight-card p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 0;
}

.highlight-card .h-tag {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ============= ACCORDION ============= */
.accordion-pro {
    border: none;
}

.accordion-pro .accordion-item {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-pro .accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-pro .accordion-header {
    margin: 0;
}

.accordion-pro .accordion-button {
    background: #fff;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.98rem;
    padding: 1.1rem 1.35rem;
    border: 0;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.accordion-pro .accordion-button:not(.collapsed) {
    background: #ffffff;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
}


.accordion-pro .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    background-color: var(--primary);
    color: #fff;
}

.accordion-pro .acc-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--card-color, var(--grad-1));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.accordion-pro .accordion-body {
    padding: 0 1.35rem 1.35rem 1.35rem;
    color: var(--dark-2);
    font-size: 0.92rem;
    line-height: 1.65;
}

.accordion-pro .accordion-body p {
    margin-bottom: 0.6rem;
}

.accordion-pro .acc-detail {
    padding: 1rem 1.1rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    border-left: 4px solid var(--primary-light);
    font-size: 0.9rem;
    line-height: 1.65;
    color: #334155;
}

.accordion-pro .meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.7rem;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--muted);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
}

.meta-tag.success { color: var(--success); background: #ffffff; border-color: rgba(16, 185, 129, 0.35); }
.meta-tag.warn { color: var(--accent); background: #ffffff; border-color: rgba(245, 158, 11, 0.4); }
.meta-tag.info { color: var(--info); background: #ffffff; border-color: rgba(6, 182, 212, 0.4); }
.meta-tag.primary { color: var(--primary); background: #ffffff; border-color: rgba(79, 70, 229, 0.35); }

/* ============= TIMELINE ============= */
.timeline {
    position: relative;
    padding-left: 1.75rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.45rem;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.25rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0.45rem;
    left: -1.6rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.timeline-item .t-title {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.96rem;
    margin-bottom: 0.15rem;
}

.timeline-item .t-meta {
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.timeline-item .t-desc {
    color: var(--dark-2);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ============= PORTAL CHIPS ============= */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.85rem;
}

.portal-chip {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    cursor: default;
}

.portal-chip:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.portal-chip .pc-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--grad-1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.portal-chip .pc-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--dark);
    line-height: 1.2;
}

.portal-chip .pc-sub {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 0.15rem;
    font-weight: 500;
}

/* ============= PLANNED TASKS ============= */
.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-list li {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.95rem 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.65rem;
    transition: all 0.25s ease;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--dark-2);
}

.task-list li:hover {
    border-color: var(--primary-light);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.task-list li .task-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--grad-1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ============= PAGE NAV (between page1 / page2) ============= */
.page-nav {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    margin: 2.5rem 0 1.5rem;
}

.page-nav .page-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem;
    background: var(--grad-1);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.25s;
}

.page-nav .page-nav-btn:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.page-nav .page-nav-btn.back {
    background: #fff;
    color: var(--dark);
    border: 1.5px solid var(--border);
}

.page-nav .page-nav-btn.back:hover {
    transform: translateX(-4px);
}

.page-nav .page-indicator {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.page-indicator span.active {
    color: var(--primary);
}

/* ============= TAB PILL (page 1 / 2 chooser inline) ============= */
.page-tabs {
    display: inline-flex;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px;
    box-shadow: var(--shadow-sm);
}

.page-tabs a {
    padding: 0.55rem 1.1rem;
    border-radius: 100px;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.25s ease;
}

.page-tabs a.active {
    background: var(--emp-gradient, var(--grad-1));
    color: #fff;
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.25);
}

.page-tabs a:hover:not(.active) {
    color: var(--primary);
}

/* ============= FOOTER ============= */
.app-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 2.5rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.app-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-hero);
}

.footer-brand {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.app-footer p {
    font-size: 0.88rem;
    margin-bottom: 0;
}

.app-footer .footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0 1.2rem;
}

.app-footer .footer-sm {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============= ANIMATIONS ============= */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fade-in-up 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ============= GRADIENT BACKGROUNDS PER EMPLOYEE ============= */
.grad-aarti   { --emp-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.grad-hemang  { --emp-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.grad-darshan { --emp-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.grad-keval   { --emp-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.grad-karan   { --emp-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.grad-dhaval  { --emp-gradient: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

/* ============= UTILITIES ============= */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 2rem 0;
}

.bg-pattern {
    background-image:
        radial-gradient(rgba(79, 70, 229, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 768px) {
    .hero-section, .hero-section.hero-main { padding: 2.5rem 0 2rem; }
    .employee-card-hero { padding: 1.5rem; }
    .avatar-xl { width: 80px; height: 80px; font-size: 1.8rem; border-radius: 20px; }
    .stat-card .stat-value { font-size: 1.6rem; }
    .section-title { font-size: 1.35rem; }
    .section-title .title-icon { width: 38px; height: 38px; font-size: 1rem; }
    .page-nav { flex-direction: column; align-items: stretch; }
    .page-nav .page-nav-btn { justify-content: center; }
    .nav-tab { font-size: 0.82rem; padding: 0.4rem 0.85rem; }
}

/* Print friendly */
@media print {
    body { background: #fff; }
    .app-navbar, .page-nav, .app-footer { display: none; }
    .accordion-collapse { display: block !important; }
    .accordion-button::after { display: none; }
}
