/* ================================================
   COSMIC PORTFOLIO - Main Stylesheet
   Theme: Space / Black Hole / Deep Finance / Earthy
   ================================================ */

/* CSS Variables */
:root {
    /* Core Colors */
    --void-black: #0a0a0a;
    --deep-black: #050505;
    --space-dark: #0d1117;

    /* Cosmic Teal */
    --cosmic-teal: #1a3a4a;
    --cosmic-teal-dark: #0d2233;
    --cosmic-teal-light: #2a5a6a;

    /* Accretion Disk - Orange/Amber */
    --accretion-orange: #ff6b35;
    --accretion-amber: #f7931e;
    --accretion-gold: #ffc107;

    /* Finance Gold */
    --finance-gold: #d4a853;
    --finance-gold-light: #e8c97a;
    --finance-gold-dark: #a67c3d;

    /* Earthy Tones */
    --earth-brown: #3d2914;
    --earth-sienna: #5c4033;
    --earth-sand: #8b7355;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #4a5568;

    /* Gradients */
    --gradient-accretion: linear-gradient(135deg, var(--accretion-orange), var(--accretion-amber), var(--finance-gold));
    --gradient-cosmic: linear-gradient(180deg, var(--void-black) 0%, var(--cosmic-teal-dark) 50%, var(--void-black) 100%);
    --gradient-gold: linear-gradient(135deg, var(--finance-gold-dark), var(--finance-gold), var(--finance-gold-light));

    /* Spacing */
    --section-padding: clamp(80px, 15vh, 150px);
    --container-width: 1200px;

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;

    /* Professional Mode Colors - Lavender/Purple Theme */
    --pro-bg-primary: #f5f3ff;
    --pro-bg-secondary: #ede9fe;
    --pro-bg-card: #ffffff;
    --pro-text-primary: #1f2937;
    --pro-text-secondary: #6b7280;
    --pro-text-muted: #9ca3af;
    --pro-accent: #8b5cf6;
    --pro-accent-dark: #7c3aed;
    --pro-accent-light: #a78bfa;
    --pro-border: #e5e7eb;
    --pro-card-border: #8b5cf6;
}

/* ================================================
   VIEW TOGGLE
   ================================================ */

.view-toggle-container {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.view-toggle-container.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-100%);
}

/* View Toggle Link (for separate pages) */
.view-toggle-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 50px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all var(--transition-medium);
}

.view-toggle-link:hover {
    border-color: var(--finance-gold);
    box-shadow: 0 0 20px rgba(212, 168, 83, 0.3);
    transform: translateY(-2px);
}

.view-toggle-link .toggle-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--finance-gold);
}

/* Professional mode toggle link */
.view-toggle-container.pro .view-toggle-link {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--pro-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.view-toggle-container.pro .view-toggle-link:hover {
    border-color: var(--pro-accent);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.view-toggle-container.pro .toggle-label {
    color: var(--pro-accent);
}

.view-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 50px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all var(--transition-medium);
}

.view-toggle:hover {
    border-color: var(--finance-gold);
    box-shadow: 0 0 20px rgba(212, 168, 83, 0.2);
}

.toggle-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.toggle-label-fun {
    color: var(--accretion-orange);
}

.toggle-label-pro {
    color: var(--text-muted);
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: rgba(26, 58, 74, 0.6);
    border-radius: 12px;
    position: relative;
    transition: all var(--transition-medium);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--gradient-accretion);
    border-radius: 50%;
    transition: all var(--transition-medium);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

.view-toggle.active .toggle-slider {
    left: 22px;
    background: var(--pro-accent);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.view-toggle.active .toggle-label-fun {
    color: var(--text-muted);
}

.view-toggle.active .toggle-label-pro {
    color: var(--pro-accent);
}

.view-toggle.active .toggle-switch {
    background: rgba(37, 99, 235, 0.2);
}

/* ================================================
   RESET & BASE
   ================================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--void-black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: var(--void-black);
}

::-webkit-scrollbar-thumb {
    background: var(--cosmic-teal);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accretion-orange);
}

/* Selection */
::selection {
    background: var(--accretion-orange);
    color: var(--void-black);
}

/* ================================================
   CURSOR TRAIL
   ================================================ */

#cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* ================================================
   NAVIGATION
   ================================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
    backdrop-filter: blur(10px);
}

.nav-connect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--void-black);
    background: var(--gradient-accretion);
    border: none;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.nav-connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accretion);
    transition: width var(--transition-medium);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* ================================================
   HERO SECTION
   ================================================ */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 12vh;
    overflow: hidden;
    background: var(--void-black);
}

#black-hole-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Static Black Hole - Particle Disk Style */
.hero-bg-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(26, 58, 74, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 107, 53, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, #080a0f 0%, #030305 60%, #000 100%);
    z-index: 0;
}

.black-hole-static {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    z-index: 1;
    pointer-events: none;
}

/* Event horizon - the black center */
.black-hole-static::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #000;
    border-radius: 50%;
    box-shadow:
        0 0 0 2px rgba(255, 150, 50, 0.6),
        0 0 30px 10px rgba(255, 120, 40, 0.4),
        0 0 60px 30px rgba(0, 0, 0, 1),
        0 0 100px 50px rgba(0, 0, 0, 0.8);
    z-index: 50;
}

/* Photon ring glow */
.black-hole-static::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85px;
    height: 85px;
    background: transparent;
    border-radius: 50%;
    border: 1px solid rgba(255, 200, 100, 0.8);
    box-shadow:
        0 0 20px 5px rgba(255, 150, 50, 0.6),
        0 0 40px 10px rgba(255, 100, 30, 0.4),
        0 0 80px 20px rgba(255, 80, 20, 0.2);
    z-index: 49;
}

/* Outer glow */
.outer-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 180px;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 120, 50, 0.15) 0%,
        rgba(255, 80, 30, 0.08) 40%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
}

/* Orbit rings - elliptical for disk effect (2D compatible) */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
}

.ring-1 {
    width: 140px;
    height: 40px;
    margin-left: -70px;
    margin-top: -20px;
    animation: orbit-spin-2d 8s linear infinite;
    z-index: 10;
}

.ring-2 {
    width: 200px;
    height: 55px;
    margin-left: -100px;
    margin-top: -27px;
    animation: orbit-spin-2d 12s linear infinite;
    z-index: 9;
}

.ring-3 {
    width: 280px;
    height: 75px;
    margin-left: -140px;
    margin-top: -37px;
    animation: orbit-spin-2d 18s linear infinite;
    z-index: 8;
}

.ring-4 {
    width: 380px;
    height: 100px;
    margin-left: -190px;
    margin-top: -50px;
    animation: orbit-spin-2d 25s linear infinite;
    z-index: 7;
}

/* Orbit trails - elliptical glowing rings (2D compatible) */
.orbit-trail {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 2px solid rgba(255, 180, 100, 0.4);
    box-shadow:
        0 0 10px rgba(255, 150, 50, 0.3),
        inset 0 0 10px rgba(255, 150, 50, 0.2);
}

/* Trail 1 - innermost */
.trail-1 {
    width: 140px;
    height: 40px;
    margin-left: -70px;
    margin-top: -20px;
    border-color: rgba(255, 220, 150, 0.5);
    box-shadow:
        0 0 15px rgba(255, 200, 100, 0.4),
        inset 0 0 15px rgba(255, 200, 100, 0.3);
    animation: orbit-spin-2d 8s linear infinite;
    z-index: 10;
}

/* Trail 2 */
.trail-2 {
    width: 200px;
    height: 55px;
    margin-left: -100px;
    margin-top: -27px;
    border-color: rgba(255, 200, 120, 0.45);
    box-shadow:
        0 0 12px rgba(255, 180, 80, 0.35),
        inset 0 0 12px rgba(255, 180, 80, 0.25);
    animation: orbit-spin-2d 12s linear infinite;
    z-index: 9;
}

/* Trail 3 */
.trail-3 {
    width: 280px;
    height: 75px;
    margin-left: -140px;
    margin-top: -37px;
    border-color: rgba(255, 180, 100, 0.4);
    box-shadow:
        0 0 10px rgba(255, 150, 60, 0.3),
        inset 0 0 10px rgba(255, 150, 60, 0.2);
    animation: orbit-spin-2d 18s linear infinite;
    z-index: 8;
}

/* Trail 4 - outermost */
.trail-4 {
    width: 380px;
    height: 100px;
    margin-left: -190px;
    margin-top: -50px;
    border-color: rgba(255, 160, 80, 0.35);
    box-shadow:
        0 0 8px rgba(255, 130, 50, 0.25),
        inset 0 0 8px rgba(255, 130, 50, 0.15);
    animation: orbit-spin-2d 25s linear infinite;
    z-index: 7;
}

/* Particles - just the glowing dots */
.particle {
    position: absolute;
    background: #fff;
    border-radius: 50%;
}

/* Ring 1 particles - positioned on ellipse */
.ring-1 .particle {
    width: 6px;
    height: 6px;
    background: #fffef0;
    box-shadow:
        0 0 10px 3px rgba(255, 230, 150, 1),
        0 0 20px 6px rgba(255, 180, 80, 0.6);
}

.ring-1 .particle:nth-child(1) { top: -3px; left: 50%; margin-left: -3px; }
.ring-1 .particle:nth-child(2) { top: 50%; right: -3px; margin-top: -3px; }
.ring-1 .particle:nth-child(3) { bottom: -3px; left: 50%; margin-left: -3px; }
.ring-1 .particle:nth-child(4) { top: 50%; left: -3px; margin-top: -3px; }
.ring-1 .particle:nth-child(5) { top: 15%; right: 20%; }
.ring-1 .particle:nth-child(6) { bottom: 15%; left: 20%; }

/* Ring 2 particles */
.ring-2 .particle {
    width: 5px;
    height: 5px;
    background: #fff8e8;
    box-shadow:
        0 0 8px 2px rgba(255, 200, 120, 0.9),
        0 0 15px 5px rgba(255, 150, 60, 0.5);
}

.ring-2 .particle:nth-child(1) { top: -2px; left: 50%; margin-left: -2px; }
.ring-2 .particle:nth-child(2) { top: 20%; right: 15%; }
.ring-2 .particle:nth-child(3) { top: 50%; right: -2px; margin-top: -2px; }
.ring-2 .particle:nth-child(4) { bottom: 20%; right: 15%; }
.ring-2 .particle:nth-child(5) { bottom: -2px; left: 50%; margin-left: -2px; }
.ring-2 .particle:nth-child(6) { bottom: 20%; left: 15%; }
.ring-2 .particle:nth-child(7) { top: 50%; left: -2px; margin-top: -2px; }
.ring-2 .particle:nth-child(8) { top: 20%; left: 15%; }

/* Ring 3 particles */
.ring-3 .particle {
    width: 4px;
    height: 4px;
    background: #ffedd8;
    box-shadow:
        0 0 6px 2px rgba(255, 180, 100, 0.8),
        0 0 12px 4px rgba(255, 140, 50, 0.4);
}

.ring-3 .particle:nth-child(1) { top: -2px; left: 50%; margin-left: -2px; }
.ring-3 .particle:nth-child(2) { top: 20%; right: 15%; }
.ring-3 .particle:nth-child(3) { top: 50%; right: -2px; margin-top: -2px; }
.ring-3 .particle:nth-child(4) { bottom: 20%; right: 15%; }
.ring-3 .particle:nth-child(5) { bottom: -2px; left: 50%; margin-left: -2px; }
.ring-3 .particle:nth-child(6) { bottom: 20%; left: 15%; }
.ring-3 .particle:nth-child(7) { top: 50%; left: -2px; margin-top: -2px; }
.ring-3 .particle:nth-child(8) { top: 20%; left: 15%; }

/* Ring 4 particles */
.ring-4 .particle {
    width: 3px;
    height: 3px;
    background: #ffddc0;
    box-shadow:
        0 0 5px 2px rgba(255, 160, 80, 0.7),
        0 0 10px 3px rgba(255, 120, 50, 0.35);
}

.ring-4 .particle:nth-child(1) { top: -1px; left: 50%; margin-left: -1px; }
.ring-4 .particle:nth-child(2) { top: 10%; right: 20%; }
.ring-4 .particle:nth-child(3) { top: 30%; right: 8%; }
.ring-4 .particle:nth-child(4) { top: 50%; right: -1px; margin-top: -1px; }
.ring-4 .particle:nth-child(5) { bottom: 30%; right: 8%; }
.ring-4 .particle:nth-child(6) { bottom: 10%; right: 20%; }
.ring-4 .particle:nth-child(7) { bottom: -1px; left: 50%; margin-left: -1px; }
.ring-4 .particle:nth-child(8) { bottom: 10%; left: 20%; }
.ring-4 .particle:nth-child(9) { top: 50%; left: -1px; margin-top: -1px; }
.ring-4 .particle:nth-child(10) { top: 10%; left: 20%; }

/* 2D rotation animation (no 3D transforms) */
@keyframes orbit-spin-2d {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 900;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    position: relative;
}

.title-line {
    display: inline-block;
    background: var(--gradient-accretion);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-glow 3s ease-in-out infinite;
    text-shadow: 0 0 60px rgba(255, 107, 53, 0.5);
}

@keyframes title-glow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 30px rgba(255, 107, 53, 0.4));
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 60px rgba(255, 107, 53, 0.8));
    }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 300;
    letter-spacing: 0.5em;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    animation: fade-in-up 1s ease forwards 0.5s;
}

.subtitle-word {
    animation: flicker 4s ease-in-out infinite;
}

.subtitle-word:nth-child(3) { animation-delay: 0.3s; }
.subtitle-word:nth-child(5) { animation-delay: 0.6s; }

.subtitle-divider {
    color: var(--accretion-orange);
    opacity: 0.5;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    color: var(--accretion-orange);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* Grain Overlay */
.hero-grain,
.section-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 10;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ================================================
   COMMON SECTION STYLES
   ================================================ */

section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.title-accent {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accretion-orange);
    letter-spacing: 0.1em;
}

.title-text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reveal Animation */
.reveal-element {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   ABOUT SECTION
   ================================================ */

.about {
    background: var(--gradient-cosmic);
}

/* Parallax Stars */
.stars-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
}

.stars-1 {
    background-image: radial-gradient(2px 2px at 20px 30px, white, transparent),
                      radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
                      radial-gradient(1px 1px at 90px 40px, white, transparent),
                      radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.9), transparent);
    background-size: 200px 200px;
    animation: stars-drift 100s linear infinite;
}

.stars-2 {
    background-image: radial-gradient(1px 1px at 50px 100px, rgba(255,255,255,0.6), transparent),
                      radial-gradient(2px 2px at 100px 50px, rgba(255,255,255,0.5), transparent),
                      radial-gradient(1px 1px at 150px 150px, rgba(255,255,255,0.7), transparent);
    background-size: 300px 300px;
    animation: stars-drift 150s linear infinite reverse;
}

.stars-3 {
    background-image: radial-gradient(1px 1px at 75px 125px, rgba(247, 147, 30, 0.4), transparent),
                      radial-gradient(2px 2px at 125px 75px, rgba(212, 168, 83, 0.3), transparent);
    background-size: 250px 250px;
    animation: stars-drift 200s linear infinite;
}

@keyframes stars-drift {
    from { transform: translateY(0); }
    to { transform: translateY(-100%); }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-bio {
    padding-right: 2rem;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Education Highlight in About */
.education-highlight {
    background: rgba(26, 58, 74, 0.3);
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.education-degree {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--finance-gold);
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
}

.education-school {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.15rem;
}

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

/* Mini QR Code in About */
.qr-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.qr-mini-image {
    width: 50px;
    height: 50px;
    border-radius: 4px;
}

.qr-mini-fallback {
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 83, 0.1);
    border-radius: 4px;
    color: var(--finance-gold);
}

.qr-mini-fallback svg {
    width: 30px;
    height: 30px;
}

.qr-mini-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Button Styles */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.btn-primary {
    background: transparent;
    color: var(--finance-gold);
    border: 1px solid var(--finance-gold);
}

.btn-primary:hover {
    background: var(--finance-gold);
    color: var(--void-black);
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.4);
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.4), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.btn:hover .btn-glow {
    width: 300px;
    height: 300px;
}

/* Skills Orbit */
.skills-orbit {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-accretion);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--void-black);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.5);
    animation: pulse-glow 3s ease-in-out infinite;
    z-index: 100;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 0 60px rgba(255, 107, 53, 0.8);
    }
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 50%;
}

.orbit-1 {
    width: 160px;
    height: 160px;
    margin: -80px 0 0 -80px;
    animation: rotate-orbit 20s linear infinite;
}

.orbit-2 {
    width: 250px;
    height: 250px;
    margin: -125px 0 0 -125px;
    animation: rotate-orbit 35s linear infinite reverse;
}

.orbit-3 {
    width: 340px;
    height: 340px;
    margin: -170px 0 0 -170px;
    animation: rotate-orbit 50s linear infinite;
}

@keyframes rotate-orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.skill-planet {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--cosmic-teal);
    border: 2px solid var(--finance-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: default;
    pointer-events: none;
    transition: all var(--transition-fast);
}

/* Position planets on orbits */
.orbit-1 .skill-planet:nth-child(1) { top: -20px; left: 50%; margin-left: -20px; }
.orbit-1 .skill-planet:nth-child(2) { top: 50%; right: -20px; margin-top: -20px; }
.orbit-1 .skill-planet:nth-child(3) { bottom: -20px; left: 50%; margin-left: -20px; }

.orbit-2 .skill-planet:nth-child(1) { top: -20px; left: 50%; margin-left: -20px; }
.orbit-2 .skill-planet:nth-child(2) { top: 20%; right: -20px; }
.orbit-2 .skill-planet:nth-child(3) { bottom: 20%; right: -20px; }
.orbit-2 .skill-planet:nth-child(4) { bottom: -20px; left: 50%; margin-left: -20px; }

.orbit-3 .skill-planet:nth-child(1) { top: 30%; left: -20px; }
.orbit-3 .skill-planet:nth-child(2) { bottom: 30%; right: -20px; }

/* Counter-rotate planets to keep them upright */
.orbit-1 .skill-planet { animation: counter-rotate 20s linear infinite; }
.orbit-2 .skill-planet { animation: counter-rotate 35s linear infinite reverse; }
.orbit-3 .skill-planet { animation: counter-rotate 50s linear infinite; }

@keyframes counter-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Timeline */
.timeline {
    margin-top: 4rem;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--finance-gold);
    margin-bottom: 2rem;
}

.timeline-track {
    position: relative;
    padding-left: 3rem;
}

.timeline-track::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accretion-orange), var(--finance-gold), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--void-black);
    border: 2px solid var(--accretion-orange);
    border-radius: 50%;
    transform: translateX(0);
}

.marker-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--accretion-orange);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accretion-orange);
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ================================================
   SKILLS SECTION
   ================================================ */

.skills {
    background: linear-gradient(180deg, var(--void-black), var(--cosmic-teal-dark) 50%, var(--void-black));
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skill-category {
    background: linear-gradient(135deg, rgba(13, 34, 51, 0.6), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all var(--transition-medium);
}

.skill-category:hover {
    border-color: var(--finance-gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 107, 53, 0.1);
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accretion);
    border-radius: 12px;
    color: var(--void-black);
}

.category-icon svg {
    width: 24px;
    height: 24px;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    background: rgba(26, 58, 74, 0.4);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 20px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    cursor: default;
}

.skill-tag:hover {
    background: rgba(212, 168, 83, 0.2);
    border-color: var(--finance-gold);
    color: var(--finance-gold);
    transform: scale(1.05);
}

.skill-tag[data-level="expert"] {
    border-color: var(--accretion-orange);
    color: var(--accretion-orange);
}

.skill-tag[data-level="expert"]:hover {
    background: rgba(255, 107, 53, 0.2);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

.skill-tag[data-level="advanced"] {
    border-color: var(--finance-gold);
    color: var(--finance-gold);
}

.skill-tag[data-level="advanced"]:hover {
    background: rgba(212, 168, 83, 0.2);
    box-shadow: 0 0 15px rgba(212, 168, 83, 0.3);
}

.skill-tag.certification {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(212, 168, 83, 0.15));
    border: 1px solid var(--accretion-orange);
    color: var(--accretion-orange);
}

.skill-tag.certification:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(212, 168, 83, 0.3));
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

/* Orbit center as link */
a.orbit-center {
    text-decoration: none;
    cursor: pointer;
}

a.orbit-center:hover {
    box-shadow: 0 0 80px rgba(255, 107, 53, 1);
}

/* Skill planet as link */
a.skill-planet {
    text-decoration: none;
}

/* ================================================
   PROJECTS SECTION
   ================================================ */

.projects {
    background: var(--void-black);
}

.nebula-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(26, 58, 74, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(212, 168, 83, 0.05) 0%, transparent 70%);
    animation: nebula-pulse 10s ease-in-out infinite;
}

@keyframes nebula-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    position: relative;
    background: linear-gradient(135deg, rgba(13, 34, 51, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 12px;
    padding: 2rem;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(61, 41, 20, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--finance-gold);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 107, 53, 0.2);
}

.project-card:hover::before {
    opacity: 1;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.project-card:hover .card-glow {
    width: 400px;
    height: 400px;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.project-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-accretion);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.6rem;
    background: rgba(212, 168, 83, 0.1);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 4px;
    color: var(--finance-gold);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color var(--transition-fast);
}

.project-card:hover .project-title {
    color: var(--finance-gold);
}

.project-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accretion-orange);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.project-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.project-link:hover {
    color: var(--finance-gold);
}

.project-link:hover svg {
    transform: translateX(5px);
}

.card-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}


/* ================================================
   CONTACT SECTION
   ================================================ */

.contact {
    background: linear-gradient(180deg, var(--void-black), var(--cosmic-teal-dark), var(--void-black));
    min-height: 100vh;
}

#contact-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 58, 74, 0.3);
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-medium);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    background: var(--accretion-orange);
    border-color: var(--accretion-orange);
    color: var(--void-black);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* Terminal Form */
.form-terminal {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(26, 58, 74, 0.3);
    border-bottom: 1px solid rgba(212, 168, 83, 0.2);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca40; }

.terminal-title {
    margin-left: auto;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.terminal-body {
    padding: 2rem;
}

.terminal-text {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--accretion-orange);
    margin-bottom: 0.75rem;
}

.contact-form-static .terminal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--accretion-orange);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--accretion-orange);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient-accretion);
    color: var(--void-black);
    font-weight: 700;
    margin-top: 1rem;
}

.btn-submit:hover {
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
    transform: translateY(-2px);
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
    padding: 3rem 0;
    text-align: center;
    background: var(--deep-black);
    border-top: 1px solid rgba(212, 168, 83, 0.1);
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--accretion-orange);
    opacity: 0.6;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-bio {
        padding-right: 0;
        text-align: center;
    }

    .education-highlight {
        text-align: left;
    }

    .qr-mini {
        margin: 0 auto 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }


    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-connect-btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.65rem;
    }

    .view-toggle-container {
        top: 0.75rem;
    }

    .view-toggle {
        padding: 0.35rem 0.6rem;
        gap: 0.4rem;
    }

    .toggle-label {
        font-size: 0.55rem;
        letter-spacing: 0.05em;
    }

    .toggle-switch {
        width: 32px;
        height: 18px;
    }

    .toggle-slider {
        width: 14px;
        height: 14px;
    }

    .view-toggle.active .toggle-slider {
        left: 16px;
    }

    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 15vh;
    }

    .hero-title {
        font-size: clamp(2.5rem, 15vw, 5rem);
        letter-spacing: 0.15em;
    }

    .hero-subtitle {
        flex-direction: column;
        gap: 0.5rem;
        letter-spacing: 0.2em;
    }

    .subtitle-divider {
        display: none;
    }

    .skills-orbit {
        width: 280px;
        height: 280px;
    }

    .orbit-1 { width: 130px; height: 130px; margin: -65px 0 0 -65px; }
    .orbit-2 { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
    .orbit-3 { width: 270px; height: 270px; margin: -135px 0 0 -135px; }

    .section-title {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================================
   PROFESSIONAL MODE - Simple Resume Layout
   ================================================ */

/* Hide professional resume by default */
.pro-resume {
    display: none;
}

/* Show professional resume in professional mode */
.professional-mode .pro-resume {
    display: block;
}

/* Professional mode base */
.professional-mode {
    background: var(--pro-bg-primary);
}

/* Hide all canvas animations and effects in professional mode */
.professional-mode #cursor-trail,
.professional-mode #black-hole-canvas,
.professional-mode #contact-particles,
.professional-mode .scroll-progress,
.professional-mode .scroll-to-top,
.professional-mode canvas {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Ensure pro-resume has no inherited spacing issues */
.professional-mode .pro-resume {
    position: relative;
    z-index: 1;
}

/* Make sure fun-content is completely hidden */
.professional-mode .fun-content {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Professional Toggle Style */
.professional-mode .nav-connect-btn {
    background: var(--pro-accent);
    color: white;
}

.professional-mode .nav-connect-btn:hover {
    background: var(--pro-accent-dark);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.professional-mode .view-toggle {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--pro-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.professional-mode .view-toggle:hover {
    border-color: var(--pro-accent);
}

.professional-mode .toggle-label-fun {
    color: var(--pro-text-muted);
}

.professional-mode .view-toggle.active .toggle-slider {
    background: var(--pro-accent);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.professional-mode .view-toggle.active .toggle-label-pro {
    color: var(--pro-accent);
}

.professional-mode .view-toggle.active .toggle-switch {
    background: rgba(139, 92, 246, 0.2);
}

/* ================================================
   PROFESSIONAL RESUME STYLES
   ================================================ */

.pro-resume {
    max-width: 850px;
    margin: 0 auto;
    padding: 70px 24px 35px;
    font-family: var(--font-body);
}

/* Resume Header */
.resume-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0;
    border-bottom: none;
}

.resume-name {
    font-family: var(--font-body);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--pro-accent);
    margin-bottom: 0.25rem;
    letter-spacing: 0.01em;
}

.resume-contact {
    font-size: 0.75rem;
    color: var(--pro-text-secondary);
    margin-bottom: 0.75rem;
}

.resume-contact .divider {
    color: var(--pro-accent-light);
    margin: 0 0.35rem;
}

.resume-contact a {
    color: var(--pro-accent);
    text-decoration: none;
}

.resume-contact a:hover {
    text-decoration: underline;
}

.resume-btn {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--pro-accent);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.resume-btn:hover {
    background: var(--pro-accent-dark);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
}

/* Resume Sections */
.resume-section {
    margin: 0 0 0.3rem 0;
    padding: 0;
}

/* Section Title - Light purple header bar */
.resume-section-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pro-accent-dark);
    background: var(--pro-bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin: 0 0 0.15rem 0;
}

/* Resume Card - Plain white box */
.resume-card {
    background: var(--pro-bg-card);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin: 0;
}

/* Resume Item */
.resume-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.15rem;
    padding-top: 0.5rem;
}

.resume-item:first-child {
    padding-top: 0;
}

.resume-item-main {
    flex: 1;
}

.resume-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pro-text-primary);
    margin: 0;
}

.resume-item-subtitle {
    font-size: 0.8rem;
    color: var(--pro-text-secondary);
    font-style: italic;
    margin: 0.15rem 0 0;
}

.resume-item-meta {
    text-align: right;
    min-width: 130px;
    margin-left: 1rem;
}

.resume-location {
    display: block;
    font-size: 0.75rem;
    color: var(--pro-text-secondary);
}

.resume-date {
    display: block;
    font-size: 0.75rem;
    color: var(--pro-text-muted);
}

.resume-detail {
    font-size: 0.8rem;
    color: var(--pro-text-secondary);
    margin: 0.15rem 0 0;
}

/* Resume Bullets */
.resume-bullets {
    margin: 0.35rem 0 0 1rem;
    padding: 0;
    list-style-type: disc;
}

.resume-bullets li {
    font-size: 0.8rem;
    color: var(--pro-text-secondary);
    line-height: 1.5;
    margin-bottom: 0.2rem;
}

.resume-bullets li:last-child {
    margin-bottom: 0;
}

/* Resume Skills */
.resume-skills p {
    font-size: 0.8rem;
    color: var(--pro-text-secondary);
    margin: 0 0 0.35rem;
    line-height: 1.5;
}

.resume-skills p:last-child {
    margin-bottom: 0;
}

.resume-skills strong {
    color: var(--pro-text-primary);
    font-weight: 600;
}

/* Resume Footer */
.resume-footer {
    text-align: center;
    padding: 1rem 0;
    margin-top: 0.5rem;
    color: var(--pro-text-muted);
    font-size: 0.7rem;
}

/* Professional Resume Responsive */
@media (max-width: 600px) {
    .pro-resume {
        padding: 65px 10px 20px;
    }

    .resume-header {
        margin-bottom: 0.75rem;
    }

    .resume-name {
        font-size: 1.4rem;
    }

    .resume-contact {
        font-size: 0.7rem;
    }

    .resume-contact .divider {
        display: none;
    }

    .resume-contact {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
    }

    .resume-section {
        margin: 0 0 0.25rem 0;
    }

    .resume-section-title {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
        margin: 0 0 0.1rem 0;
    }

    .resume-card {
        padding: 0.5rem 0.75rem;
    }

    .resume-item {
        flex-direction: column;
    }

    .resume-item-meta {
        text-align: left;
        margin-left: 0;
        margin-top: 0.15rem;
    }

    .resume-location,
    .resume-date {
        display: inline;
        font-size: 0.65rem;
    }

    .resume-location::after {
        content: ' | ';
    }

    .resume-bullets {
        margin-left: 0.6rem;
    }

    .resume-bullets li {
        font-size: 0.7rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .view-toggle {
        padding: 0.3rem 0.5rem;
        gap: 0.3rem;
    }

    .toggle-label {
        font-size: 0.5rem;
    }

    .toggle-switch {
        width: 28px;
        height: 16px;
    }

    .toggle-slider {
        width: 12px;
        height: 12px;
    }

    .view-toggle.active .toggle-slider {
        left: 14px;
    }

    .hero {
        padding-top: 18vh;
    }

    .hero-title {
        font-size: clamp(2rem, 18vw, 4rem);
        letter-spacing: 0.1em;
    }

    .scroll-indicator {
        bottom: 2rem;
    }

    .scroll-text {
        font-size: 0.6rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .project-card {
        padding: 1.25rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.75rem;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .view-toggle:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .project-card:hover {
        transform: none;
    }

    .nav-link:hover::after {
        width: 0;
    }
}

/* Old professional mode overrides removed - using separate HTML structure */



