/* Modern BrainyFlow Complete Design System */

/* Light Theme (Enhanced - Sharp & Intriguing) */
:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-input: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --trust-primary: #1d4ed8;
    --trust-secondary: #3b82f6;
    --trust-light: #dbeafe;
    --action-primary: #dc2626;
    --action-secondary: #f97316;
    --action-light: #fecaca;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0369a1;
    --border-subtle: rgba(15, 23, 42, 0.08);
    --border-light: rgba(15, 23, 42, 0.16);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.18);
    --shadow-glow: 0 0 40px rgba(29, 78, 216, 0.25);
    --accent-gradient: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
    --section-gradient-1: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    --section-gradient-2: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    --section-gradient-3: linear-gradient(180deg, rgba(29, 78, 216, 0.02) 0%, rgba(29, 78, 216, 0.05) 100%);
}

/* Dark Theme (Enhanced - Rich & Vibrant) */
.dark-theme {
    --bg-primary: #0c0c0f;
    --bg-secondary: #141419;
    --bg-tertiary: #1c1c23;
    --bg-card: #161621;
    --bg-card-hover: #1e1e2a;
    --bg-input: #131318;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --trust-primary: #60a5fa;
    --trust-secondary: #3b82f6;
    --trust-light: rgba(96, 165, 250, 0.12);
    --action-primary: #f87171;
    --action-secondary: #fb923c;
    --action-light: rgba(248, 113, 113, 0.12);
    --success: #34d399;
    --warning: #fbbf24;
    --danger: #f87171;
    --info: #60a5fa;
    --border-subtle: rgba(248, 250, 252, 0.08);
    --border-light: rgba(248, 250, 252, 0.16);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 40px rgba(96, 165, 250, 0.3);
    --accent-gradient: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
    --section-gradient-1: linear-gradient(180deg, #0c0c0f 0%, #141419 100%);
    --section-gradient-2: linear-gradient(180deg, #141419 0%, #1c1c23 100%);
    --section-gradient-3: linear-gradient(180deg, rgba(96, 165, 250, 0.03) 0%, rgba(96, 165, 250, 0.08) 100%);
}

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

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

a {
    color: var(--trust-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Header links should inherit color */
.nav-brand a,
.nav-brand a:visited {
    color: inherit;
}

/* Header Styles */
.header-minimal {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(20px);
    background: rgba(250, 251, 252, 0.9);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.dark-theme .header-minimal {
    background: rgba(10, 10, 10, 0.9);
}

.nav-minimal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 28px;
    transition: filter 0.3s ease;
    /* Default: black logo for light theme */
}

/* Make logo white in dark theme by inverting */
.dark-theme .brand-icon {
    filter: invert(1);
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.cta-button {
    background: var(--action-primary);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white !important;
    filter: brightness(1.1);
    background: var(--action-primary) !important;
}

/* Hero Section */
.hero-primary {
    padding: 140px 0 80px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--section-gradient-1);
}

.hero-content-center {
    max-width: 1000px;
    margin: 0 auto;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--trust-primary);
    margin-bottom: 32px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--trust-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-pill:hover {
    border-color: var(--trust-primary);
    transform: translateY(-2px);
}

.pill-icon {
    font-size: 18px;
}

.cta-section {
    margin-top: 48px;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--action-primary);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: white !important;
    filter: brightness(1.1);
    background: var(--action-primary) !important;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-primary-large:hover .arrow-icon {
    transform: translateX(4px);
}

.cta-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
    transition: all 0.3s ease;
}

section:nth-child(even) {
    background: var(--section-gradient-2);
}

section:nth-child(odd) {
    background: var(--section-gradient-1);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--trust-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title-large {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0;
}

/* Wizard Section */
.feature-wizard {
    background: var(--section-gradient-2);
}

.wizard-demo {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 48px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.wizard-screen {
    background: var(--bg-input);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 48px;
}

.wizard-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
}

.step-dot {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--trust-primary);
    border-color: var(--trust-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--border-subtle);
    margin: 0 8px;
}

.wizard-content h3 {
    font-size: 24px;
    margin-bottom: 32px;
    text-align: center;
}

.purpose-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.purpose-card {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.purpose-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.purpose-card.highlighted {
    border-color: var(--trust-primary);
    background: rgba(102, 126, 234, 0.08);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.2);
}

.purpose-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.purpose-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.purpose-card p {
    font-size: 14px;
    margin-bottom: 12px;
}

.purpose-tag {
    display: inline-block;
    font-size: 12px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    color: var(--text-secondary);
}

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

.wizard-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-number {
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}

.wizard-feature h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.wizard-feature p {
    font-size: 14px;
    line-height: 1.5;
}

/* Analytics Section */
.feature-analytics {
    background: var(--section-gradient-3);
}

.analytics-preview {
    margin-top: -32px;
}

.analytics-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.analytics-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.analytics-card:hover {
    border-color: var(--trust-primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.card-icon {
    font-size: 24px;
}

.card-header h3 {
    font-size: 18px;
    margin-bottom: 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--trust-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.group-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.group-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.group-name {
    font-size: 14px;
    font-weight: 600;
    min-width: 90px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--success);
    transition: width 1.5s ease;
    position: relative;
    /* Ensure progress bars are visible in light mode */
    box-shadow: 0 0 0 1px rgba(5, 150, 105, 0.3);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2));
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-40px); }
    100% { transform: translateX(40px); }
}

.progress-fill.warning {
    background: var(--warning);
}

.group-score {
    font-size: 14px;
    font-weight: 700;
    min-width: 40px;
    text-align: right;
}

.learner-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.learner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.learner-item.at-risk {
    border-left: 3px solid var(--danger);
    background: rgba(239, 68, 68, 0.05);
}

.learner-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.learner-avatar {
    width: 40px;
    height: 40px;
    background: var(--bg-input);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid var(--border-subtle);
}

.learner-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.learner-status {
    font-size: 13px;
    color: var(--text-secondary);
}

.risk-indicator {
    font-size: 12px;
    padding: 4px 12px;
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-indicator {
    font-size: 12px;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analytics-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid var(--border-subtle);
}

.feature-check {
    color: var(--success);
    font-weight: 700;
}

/* Groups Section */
.feature-groups {
    background: var(--section-gradient-2);
}

.groups-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.org-structure {
    text-align: center;
}

.org-company {
    background: var(--bg-card);
    border: 2px solid var(--trust-primary);
    border-radius: 12px;
    padding: 20px 32px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 32px;
    display: inline-block;
    position: relative;
}

.org-company::after {
    content: '';
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 32px;
    background: var(--border-subtle);
}

.org-branches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.org-group {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.org-group:hover {
    border-color: var(--trust-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.group-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.org-group h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.org-group p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.assigned-goals {
    font-size: 12px;
    color: var(--trust-primary);
    display: block;
}

.groups-benefits h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 18px;
}

/* CTA Section */
.cta-primary {
    background: var(--section-gradient-3);
    padding: 120px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.cta-content > p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 48px;
}

.pilot-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin: 56px 0;
    text-align: left;
}

.benefit {
    display: flex;
    gap: 16px;
    background: var(--bg-card);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.benefit:hover {
    border-color: var(--trust-primary);
    transform: translateY(-4px);
}

.benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.benefit h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.benefit p {
    font-size: 14px;
    margin-bottom: 0;
}

.cta-actions {
    margin-top: 48px;
}

/* Footer */
.footer-minimal {
    background: var(--bg-secondary);
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-simple {
    text-align: center;
}

.footer-simple p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.footer-simple a {
    color: var(--trust-primary);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .wizard-demo {
        padding: 32px;
    }
    
    .groups-demo {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .org-branches {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .container,
    .container-wide {
        padding: 0 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-primary {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-features {
        gap: 12px;
    }
    
    .feature-pill {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .analytics-cards {
        grid-template-columns: 1fr;
    }
    
    .wizard-features {
        grid-template-columns: 1fr;
    }
    
    .wizard-screen {
        padding: 24px;
    }
    
    .purpose-options {
        grid-template-columns: 1fr;
    }
    
    .pilot-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .btn-primary-large {
        padding: 16px 28px;
        font-size: 15px;
    }
    
    .section-title-large {
        font-size: 28px;
    }
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0.8;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-lg);
    opacity: 1;
    transform: translateY(-2px);
}

.theme-toggle-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.dark-theme .theme-toggle-icon {
    transform: rotate(180deg);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-card-hover);
}

/* Velocity Bars */
.velocity-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.dept-name {
    font-weight: 600;
    min-width: 120px;
    color: var(--text-primary);
}

.velocity-visual {
    flex: 1;
    height: 8px;
    background: #dc2626 !important;
    border-radius: 4px;
    position: relative;
    max-width: 200px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.1);
}

.velocity-visual.fast {
    background: var(--success) !important;
    border: 1px solid rgba(4, 120, 87, 0.3);
    box-shadow: 0 0 0 1px rgba(4, 120, 87, 0.1);
}

/* Pillar Links */
.pillar-link {
    color: var(--text-primary) !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.pillar-link:hover {
    color: var(--trust-primary) !important;
}

/* Trend Chart Dots - Enhanced Visibility */
.trend-point {
    width: 16px;
    height: 16px;
    background: var(--action-primary);
    border-radius: 50%;
    position: absolute;
    border: 3px solid var(--bg-card);
    box-shadow: 
        0 0 0 2px var(--action-primary),
        0 4px 12px var(--action-light);
    transition: all 0.3s ease;
}

.trend-point.current {
    background: var(--action-primary);
    border-color: var(--bg-card);
    transform: scale(1.2);
    box-shadow: 
        0 0 0 3px var(--action-primary),
        0 0 20px var(--action-light),
        0 6px 16px var(--action-light);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { 
        transform: scale(1.2); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.35); 
        opacity: 0.9; 
    }
}

.trend-target {
    position: absolute;
    color: var(--success);
    font-weight: 700;
    font-size: 14px;
    background: var(--bg-card);
    padding: 4px 8px;
    border-radius: 6px;
    border: 2px solid var(--success);
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3);
}

/* Dark theme adjustments for trend points */
.dark-theme .trend-point {
    border-color: var(--bg-card);
    box-shadow: 
        0 0 0 2px var(--action-primary),
        0 4px 12px var(--action-light);
}

.dark-theme .trend-point.current {
    box-shadow: 
        0 0 0 3px var(--action-primary),
        0 0 20px var(--action-light),
        0 6px 16px var(--action-light);
}

.dark-theme .trend-target {
    background: var(--bg-card);
    border-color: var(--success);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Selection */
::selection {
    background: var(--trust-light);
    color: var(--trust-primary);
}

.dark-theme ::selection {
    background: rgba(102, 126, 234, 0.3);
    color: white;
}