/* =========================================
   ELEGANT DARK DATA PORTFOLIO STYLES
   Matte Black + Gold + Deep Blue Theme
   ========================================= */

/* Tiber Green Color Variables */
:root {
    --cyber-dark: #0a1e1f;
    /* Tiber Green Dark */
    --cyber-darker: #051415;
    /* Deeper Tiber */
    --cyber-card: rgba(13, 40, 41, 0.7);
    /* Tiber card with opacity */
    --cyber-cyan: #2dd4bf;
    /* Teal 400 - Primary Accent */
    --cyber-cyan-glow: rgba(45, 212, 191, 0.2);
    --cyber-magenta: #5eead4;
    /* Teal 300 - Secondary Accent */
    --cyber-magenta-glow: rgba(94, 234, 212, 0.2);
    --cyber-pink: #99f6e4;
    /* Teal 200 */
    --cyber-blue: #14b8a6;
    /* Teal 600 */
    --cyber-purple: #0d9488;
    /* Teal 700 */
    --text-primary: #f0fdfa;
    /* Teal 50 */
    --text-secondary: #ccfbf1;
    /* Teal 100 */
    --cyber-gradient: linear-gradient(135deg, #2dd4bf, #14b8a6);
    --cyber-gradient-alt: linear-gradient(135deg, #0d2829, #0a1e1f);
    --text-glow: none;
    /* Removed Text Glow */
    --box-glow-cyan: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* Subtle Shadow */
    --box-glow-magenta: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Custom Cursor Styles */
.cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyber-cyan);
    opacity: 0.8;
    transform: translate(-50%, -50%);
}

.cursor-outline {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--cyber-cyan);
    opacity: 0.5;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease;
}

.cursor-outline.hover {
    background: rgba(45, 212, 191, 0.05);
    border-color: var(--cyber-cyan);
    transform: translate(-50%, -50%) scale(1.5);
}

/* Skill Bar Styles */
.skill-bar-container {
    margin-bottom: 1.5rem;
}

.skill-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.skill-bar-label span {
    color: var(--text-secondary);
}

.skill-bar-label span:last-child {
    color: var(--cyber-cyan);
    font-weight: 600;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2dd4bf, #14b8a6);
    border-radius: 4px;
    width: 0;
    transition: width 1s ease-out;
    position: relative;
}

.skill-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

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

/* Custom Text Utilities */
.text-muted-custom {
    color: rgba(255, 255, 255, 0.7) !important;
}

body.light-mode .text-muted-custom {
    color: #64748b !important;
    /* Slate 500 */
}

/* Custom Animated Cursor - Refined */
body {
    cursor: default;
    /* Reverted to default for elegance */
}

.cursor-dot {
    background: var(--cyber-cyan);
    box-shadow: none;
    width: 6px;
    height: 6px;
    opacity: 0.8;
}

.cursor-outline {
    border: 1px solid var(--cyber-cyan);
    box-shadow: none;
    opacity: 0.5;
}

.cursor-outline.hover {
    background: rgba(251, 191, 36, 0.05);
    /* Very subtle gold tint */
    border-color: var(--cyber-cyan);
}

/* Particles Container */
#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    color: rgba(45, 212, 191, 0.1);
    font-size: 14px;
    font-family: 'Courier New', monospace;
    user-select: none;
    animation: floatData 20s infinite linear;
}

@keyframes floatData {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-20vh) rotate(10deg);
        opacity: 0;
    }
}

/* Elegant Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Typing Effect */
.typing-container {
    color: var(--cyber-cyan) !important;
}

.typing-text {
    border-right: 2px solid var(--cyber-cyan);
}

/* Scroll Reveal Animations */
.reveal,
.reveal-left,
.reveal-right {
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Smoother bezier */
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* 3D Card Tilt Effect - Subtle */
.tilt-card {
    transition: transform 0.4s ease-out;
}

.tilt-card:hover {
    transform: translateY(-5px);
    /* Just lift, less tilt */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.tilt-card::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    /* Subtle shine */
}

/* Elegant Cards */
.cyber-card {
    background: rgba(13, 40, 41, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(45, 212, 191, 0.1);
    border-radius: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
}

/* Light Mode Overrides for Blog */
body.light-mode .gradient-text {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .section-heading {
    color: #0f172a;
}

.cyber-card::before {
    display: none;
    /* Remove animated glowing border */
}

.cyber-card:hover {
    background: rgba(13, 40, 41, 0.8);
    border-color: rgba(45, 212, 191, 0.3);
}

body.light-mode .card-title {
    color: #0f172a !important;
    /* Slate 900 */
}

/* Skill Bars */
.skill-bar-label span:last-child {
    color: var(--cyber-cyan);
}

.skill-bar {
    background: rgba(255, 255, 255, 0.05);
}


.skill-bar-fill::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Stats Counter */
.stats-section {
    background: var(--cyber-darker);
    border-top: 1px solid rgba(45, 212, 191, 0.1);
    border-bottom: 1px solid rgba(45, 212, 191, 0.1);
}

.stat-number {
    background: linear-gradient(135deg, #f0fdfa, #5eead4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: var(--cyber-cyan);
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 600;
}

/* Navigation - Tiber Green */
#mainNav.cyber-nav {
    background: rgba(5, 20, 21, 0.95) !important;
    border-bottom: 1px solid rgba(45, 212, 191, 0.1);
}

#mainNav.cyber-nav .navbar-brand {
    background: none;
    -webkit-text-fill-color: #f0fdfa;
    color: #f0fdfa !important;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

#mainNav.cyber-nav .nav-link {
    color: rgba(240, 253, 250, 0.7) !important;
    font-weight: 300;
    letter-spacing: 1px;
}

#mainNav.cyber-nav .nav-link::after {
    background: var(--cyber-cyan);
    height: 1px;
    /* Thinner underline */
    box-shadow: none;
}

#mainNav.cyber-nav .nav-link:hover {
    color: var(--cyber-cyan) !important;
    text-shadow: none;
}

/* Masthead - Deep & Clean */
.masthead.cyber-masthead {
    background: radial-gradient(circle at center, #0d2829 0%, #051415 100%);
}

.masthead.cyber-masthead::before {
    background-image: linear-gradient(rgba(45, 212, 191, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 191, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: none;
    opacity: 0.5;
}

.masthead.cyber-masthead::after {
    display: none;
}

/* Sections */
.about-section.cyber-section,
.projects-section.cyber-section {
    background: var(--cyber-dark);
}

.signup-section.cyber-section {
    background: var(--cyber-darker);
}

.signup-section.cyber-section::before {
    background: radial-gradient(circle at bottom, rgba(45, 212, 191, 0.05), transparent 60%);
}

/* Inputs */
.cyber-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(45, 212, 191, 0.2) !important;
    color: #f0fdfa !important;
    border-radius: 2px;
}

.cyber-input:focus {
    border-color: var(--cyber-cyan) !important;
    box-shadow: 0 0 0 0.2rem rgba(45, 212, 191, 0.25) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Buttons - Teal Premium */
.cyber-btn {
    background: linear-gradient(135deg, #2dd4bf, #14b8a6) !important;
    color: #051415 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border-radius: 2px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.cyber-btn:hover::before {
    background: rgba(255, 255, 255, 0.2);
}

.cyber-btn:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    color: #051415 !important;
}

/* Badges */
.cyber-badge,
.cyber-badge-magenta,
.cyber-badge-pink {
    background: rgba(45, 212, 191, 0.1) !important;
    border: 1px solid rgba(45, 212, 191, 0.2);
    color: #99f6e4 !important;
    text-shadow: none;
    font-weight: 400;
}

/* Social Links */
.cyber-social a {
    background: transparent;
    border: 1px solid rgba(45, 212, 191, 0.3);
    color: #ccfbf1;
}

.cyber-social a:hover {
    background: var(--cyber-cyan);
    color: var(--cyber-darker);
    border-color: var(--cyber-cyan);
    box-shadow: none;
}

/* Remove Scanlines */
.scanlines::before {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    #navbarResponsive {
        background: rgba(5, 20, 21, 0.98) !important;
        border: 1px solid rgba(45, 212, 191, 0.2);
    }

    #navbarResponsive .nav-link:hover {
        background: rgba(45, 212, 191, 0.1);
    }
}

/* Light Mode Overrides for Elegant Theme */
/* Light Mode Overrides for Elegant Theme */
body.light-mode {
    --cyber-dark: #f1f5f9;
    /* Slate 100 */
    --cyber-darker: #ffffff;
    /* White */
    --cyber-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
}

body.light-mode .masthead.cyber-masthead {
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
}

body.light-mode .masthead.cyber-masthead::before {
    background-image: linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 23, 23, 0.05) 1px, transparent 1px);
    opacity: 1;
}

/* Fix Particles in Light Mode */
body.light-mode .particle {
    color: rgba(13, 148, 136, 0.15);
}

/* Fix Hero Text in Light Mode */
body.light-mode .masthead h2 {
    color: #475569 !important;
    /* Dark grey description */
}

body.light-mode .typing-container {
    color: #0d9488 !important;
}

/* Fix Stats & Skills in Light Mode */
body.light-mode .stats-section {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .stat-number {
    background: linear-gradient(135deg, #0f172a, #334155);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .stat-label {
    color: #0d9488;
}

body.light-mode h3 {
    /* "Technical Proficiency" header */
    color: #0f172a !important;
}

body.light-mode .skill-bar-label span {
    color: #334155 !important;
    /* Dark Slate labels */
}

body.light-mode .skill-bar-label span:last-child {
    color: #0d9488 !important;
}

body.light-mode .skill-bar {
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode .skill-bar-fill {
    background: linear-gradient(90deg, #14b8a6, #0d9488);
}

body.light-mode .cyber-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

body.light-mode .cyber-input {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.light-mode .cyber-input::placeholder {
    color: #94a3b8;
}

body.light-mode .cyber-btn {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body.light-mode #mainNav.cyber-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode #mainNav.cyber-nav .navbar-brand {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a;
}

body.light-mode #mainNav.cyber-nav .nav-link {
    color: #475569 !important;
}

body.light-mode #mainNav.cyber-nav .nav-link:hover {
    color: #0d9488 !important;
}

body.light-mode .cyber-badge,
body.light-mode .cyber-badge-magenta,
body.light-mode .cyber-badge-pink {
    background: rgba(13, 148, 136, 0.1) !important;
    border: 1px solid rgba(13, 148, 136, 0.2);
    color: #0d9488 !important;
}