:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --dark-bg: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
}

.glow-primary {
    top: -100px;
    left: -100px;
    background: var(--primary);
}

.glow-secondary {
    bottom: -100px;
    right: -100px;
    background: var(--secondary);
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-primary { color: var(--primary-light); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text-muted); }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Navigation */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary-light);
}

.logo-text h1 {
    font-size: 1.2rem;
    margin: 0;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.nav-stats {
    display: flex;
    gap: 1rem;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-progress {
    width: 250px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.progress-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.4s ease;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    padding: 2rem;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.glass-sidebar {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 1rem;
    border-radius: 12px;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.tab-btn.active i {
    color: var(--primary-light);
}

.content-area {
    flex-grow: 1;
    min-width: 0;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-header {
    margin-bottom: 2rem;
}

.panel-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.panel-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Common UI Elements */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.styled-list {
    list-style: none;
}

.styled-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.styled-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Specific Tabs Styling */

/* Goal Tab */
.smart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.smart-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.smart-item .letter {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 800;
    flex-shrink: 0;
}

.problem-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.2s;
}
.problem-card:hover { transform: translateY(-5px); }

.prob-icon {
    font-size: 1.5rem;
    color: var(--danger);
    margin-bottom: 0.5rem;
}

/* LinkedIn Tab */
.message-sequence {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.msg-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    width: 100%;
    max-width: 800px;
}

.msg-header {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.msg-arrow {
    color: var(--primary-light);
    font-size: 1.2rem;
}

/* Email Tab */
.message-card {
    position: relative;
    padding-top: 2rem;
}

.card-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}
.bg-primary { background: var(--primary); color: white; }
.bg-warning { background: var(--warning); color: black; }

.email-mockup {
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
    margin-top: 1rem;
}

.email-mockup p { margin-bottom: 0.5rem; }

/* Platforms Tab */
.highlight-box {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.platform-card {
    text-align: center;
}

/* Team Tab */
.team-card {
    margin-bottom: 1.5rem;
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.member-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.avatar.qadeer { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.avatar.nazia { background: linear-gradient(135deg, #10b981, #047857); }
.avatar.kiran { background: linear-gradient(135deg, #f59e0b, #b45309); }
.avatar.social { background: linear-gradient(135deg, #8b5cf6, #5b21b6); }

.role-badge {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.role-leader { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.role-data { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.role-email { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }
.role-social { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; }

.task-progress {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.task-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.task-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.task-item input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-muted);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.task-item input:checked + .custom-checkbox {
    background: var(--success);
    border-color: var(--success);
}

.task-item input:checked + .custom-checkbox::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 0.8rem;
}

.task-item input:checked ~ .task-text {
    text-decoration: line-through;
    color: var(--text-muted);
}

/* Risks Tab */
.risk-item {
    margin-bottom: 1.5rem;
}
.solution {
    margin-top: 0.5rem;
    padding: 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
}

.metric-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.metric-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    min-width: 60px;
    text-align: right;
}

.highlight-metric {
    border: 1px solid var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-container { flex-direction: column; }
    .glass-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; }
    .tab-btn { flex: 1; min-width: 150px; justify-content: center; }
    .nav-stats { display: none; }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .smart-item { flex-direction: column; gap: 0.5rem; }
}

 / *   D y n a m i c   P r o f i l e   S t y l e s   * / 
 . c a t - b t n . a c t i v e   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   v a r ( - - p r i m a r y ) ,   v a r ( - - s e c o n d a r y ) ) ; 
         c o l o r :   w h i t e ; 
         b o r d e r - c o l o r :   t r a n s p a r e n t ; 
 } 
 . p r o f i l e - m o c k u p   { 
         b a c k g r o u n d :   r g b a ( 0 , 0 , 0 , 0 . 3 ) ; 
         b o r d e r - l e f t :   3 p x   s o l i d   v a r ( - - s e c o n d a r y ) ; 
         a n i m a t i o n :   s l i d e I n R i g h t   0 . 4 s   e a s e   f o r w a r d s ; 
         o p a c i t y :   0 ; 
 } 
 @ k e y f r a m e s   s l i d e I n R i g h t   { 
         f r o m   {   o p a c i t y :   0 ;   t r a n s f o r m :   t r a n s l a t e X ( 2 0 p x ) ;   } 
         t o   {   o p a c i t y :   1 ;   t r a n s f o r m :   t r a n s l a t e X ( 0 ) ;   } 
 } 
 . p r o f i l e - h e a d e r   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   1 r e m ; 
         m a r g i n - b o t t o m :   1 r e m ; 
         p a d d i n g - b o t t o m :   1 r e m ; 
         b o r d e r - b o t t o m :   1 p x   s o l i d   r g b a ( 2 5 5 , 2 5 5 , 2 5 5 , 0 . 0 5 ) ; 
 } 
 . p r o f i l e - a v a t a r   { 
         w i d t h :   5 0 p x ; 
         h e i g h t :   5 0 p x ; 
         b o r d e r - r a d i u s :   5 0 % ; 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   v a r ( - - p r i m a r y ) ,   v a r ( - - s e c o n d a r y ) ) ; 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
         f o n t - s i z e :   1 . 5 r e m ; 
         f o n t - w e i g h t :   8 0 0 ; 
 } 
 . p r o f i l e - t i t l e   h 4   {   m a r g i n :   0 ;   f o n t - s i z e :   1 . 2 r e m ;   } 
 . p r o f i l e s - g r i d : : - w e b k i t - s c r o l l b a r   {   w i d t h :   6 p x ;   } 
 . p r o f i l e s - g r i d : : - w e b k i t - s c r o l l b a r - t r a c k   {   b a c k g r o u n d :   r g b a ( 2 5 5 , 2 5 5 , 2 5 5 , 0 . 0 5 ) ;   b o r d e r - r a d i u s :   4 p x ;   } 
 . p r o f i l e s - g r i d : : - w e b k i t - s c r o l l b a r - t h u m b   {   b a c k g r o u n d :   v a r ( - - p r i m a r y - l i g h t ) ;   b o r d e r - r a d i u s :   4 p x ;   } 
  
 