/* ==========================================================================
   Design System & Cyber Theme Variables (Coding & Music Station Vibe)
   ========================================================================== */
:root {
    --bg-dark: #06070a;
    --card-bg: rgba(10, 12, 19, 0.75);
    --card-border: rgba(255, 42, 75, 0.15);
    --card-hover-border: rgba(0, 240, 255, 0.45);
    
    --primary: #ff2a4b; /* Crimson Red (Red Music Station Vibe) */
    --primary-glow: rgba(255, 42, 75, 0.3);
    --secondary: #ff6026; /* Neon Orange-Red */
    --secondary-glow: rgba(255, 96, 38, 0.3);
    --accent-blue: #00f0ff; /* Neon Cyan (Tech Sound Vibe) */
    --accent-blue-glow: rgba(0, 240, 255, 0.3);
    
    --text-primary: #e2e8f0;
    --text-muted: #8892b0;
    --text-dark: #020c1b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Share Tech Mono', 'Fira Code', 'Courier New', monospace;
    
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    --glow-shadow: 0 0 20px rgba(255, 42, 75, 0.2);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

/* Custom Interactive Cursor Glow */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 42, 75, 0.08) 0%, rgba(0, 240, 255, 0.03) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    will-change: transform;
    display: none;
}

@media (min-width: 769px) {
    .cursor-glow {
        display: block;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

li {
    list-style: none;
}

input, textarea, button {
    font-family: inherit;
    background: none;
    border: none;
    color: inherit;
}

/* Mono typography for code blocks */
.code-font {
    font-family: var(--font-mono);
}

/* Scrollbar Design */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 42, 75, 0.2);
    border-radius: 4px;
    border: 1px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* ==========================================================================
   Typography & Reusable Utilities
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 42, 75, 0.1);
}

.section-header {
    margin-bottom: 3.5rem;
    text-align: left;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-tag::before {
    content: "$ cat ./";
}

.section-tag::after {
    content: ".sh";
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent-blue), var(--secondary));
    width: 0%;
    z-index: 1000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-medium);
}

.btn-primary {
    background: rgba(255, 42, 75, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    box-shadow: 0 4px 15px rgba(255, 42, 75, 0.15);
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

/* ==========================================================================
   Background Particle Canvas and Ambience
   ========================================================================== */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

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

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    animation: blob-float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 45vw;
    height: 45vw;
    background: var(--primary);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--secondary);
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-3 {
    top: 35%;
    left: 45%;
    width: 35vw;
    height: 35vw;
    background: var(--accent-blue);
    opacity: 0.12;
    animation-delay: -10s;
    animation-duration: 18s;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: var(--transition-medium);
}

.header.scrolled {
    padding: 0.75rem 0;
    background: rgba(6, 7, 10, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 42, 75, 0.1);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary);
    animation: terminal-blink 1s infinite alternate;
}

.logo span {
    color: var(--accent-blue);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::before {
    content: './';
    opacity: 0;
    color: var(--primary);
    margin-right: 2px;
    transition: var(--transition-fast);
}

.nav-link:hover::before, .nav-link.active::before {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--primary);
    transition: var(--transition-fast);
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 42, 75, 0.06);
    border: 1px solid rgba(255, 42, 75, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

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

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(255, 42, 75, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(255, 42, 75, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 42, 75, 0); }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.typing-text {
    color: var(--primary);
    position: relative;
    text-shadow: 0 0 10px var(--primary-glow);
}

.typing-text::after {
    content: '_';
    position: absolute;
    right: -10px;
    animation: cursor-blink 0.8s infinite;
    color: var(--primary);
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Hero Image Wrapper with Cyber Framings */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-card {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    padding: 8px;
    background: rgba(10, 12, 19, 0.7);
    border: 1px solid var(--card-border);
    box-shadow: var(--glass-shadow);
}

.hero-image-card::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--primary);
    border-left: 2px solid var(--primary);
}

.hero-image-card::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}

.image-container {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.profile-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.85) grayscale(0.2);
    transition: transform var(--transition-slow);
}

.hero-image-card:hover .profile-hero-img {
    transform: scale(1.05);
    filter: brightness(0.95) grayscale(0);
}

/* Floating Terminal Code & Equalizer */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 4px;
    background: rgba(6, 7, 10, 0.9);
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    z-index: 10;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.card-top {
    top: 10%;
    left: -50px;
    color: var(--primary);
    animation: card-float 4.5s infinite ease-in-out alternate;
}

.card-bottom {
    bottom: 10%;
    right: -50px;
    color: var(--accent-blue);
    animation: card-float 4.5s infinite ease-in-out alternate-reverse;
    animation-delay: -2s;
}

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

.icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-green {
    background: rgba(255, 42, 75, 0.1);
    color: var(--primary);
}

.color-cyan {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-blue);
}

.floating-title {
    display: block;
    font-weight: 700;
}

.floating-desc {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scroll-slide 2s infinite;
}

@keyframes scroll-slide {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 100px 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    display: flex;
    justify-content: center;
}

.about-image-card {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    padding: 8px;
    background: rgba(10, 12, 19, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: var(--glass-shadow);
}

.about-image-card::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--accent-blue);
    border-right: 2px solid var(--accent-blue);
}

.about-image-card::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -8px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--accent-blue);
    border-left: 2px solid var(--accent-blue);
}

.profile-about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    filter: brightness(0.9);
    transition: transform var(--transition-slow);
}

.about-image-card:hover .profile-about-img {
    transform: scale(1.03);
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-headline {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.about-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.skills-showcase {
    margin: 1.5rem 0 2rem 0;
}

.showcase-title {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

.skill-tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.skill-tag:hover {
    background: rgba(255, 42, 75, 0.05);
    border-color: var(--primary);
    transform: translateX(4px);
}

.skill-status {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

.skill-status.purple {
    color: var(--secondary);
}

.skill-status.blue {
    color: var(--accent-blue);
}

.about-buttons {
    display: flex;
    gap: 1rem;
}

/* ==========================================================================
   Music Station Control Desk Section (replacing Rohan's services)
   ========================================================================== */
.music-station-section {
    padding: 100px 0;
    position: relative;
}

.station-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.station-info {
    display: flex;
    flex-direction: column;
}

.station-title {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
}

.station-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: rgba(255, 42, 75, 0.08);
    border: 1px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-icon i {
    width: 16px;
    height: 16px;
}

.feature-text h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Synthesizer Station Board */
.synth-board {
    background: rgba(6, 7, 10, 0.9);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    position: relative;
}

.synth-board::before {
    content: "AUDIO STATION [ONLINE]";
    position: absolute;
    top: -12px;
    left: 20px;
    background: #06070a;
    border: 1px solid var(--primary);
    padding: 2px 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    border-radius: 4px;
}

.visualizer-container {
    width: 100%;
    height: 120px;
    background: #000;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#synthVisualizer {
    width: 100%;
    height: 100%;
    display: block;
}

.visualizer-overlay {
    position: absolute;
    inset: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 42, 75, 0.6);
}

.synth-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.control-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Slider Style */
.slider-input {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary);
    border: none;
}

.oscillator-selector {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 2px;
}

.osc-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.osc-btn.active {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
}

/* Drum/Synth Pad Board */
.pad-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.synth-pad {
    aspect-ratio: 1;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.synth-pad:hover {
    background: rgba(255, 42, 75, 0.05);
    border-color: var(--primary);
    transform: scale(1.02);
}

.synth-pad.active {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--primary-glow);
    border-color: var(--primary);
}

.synth-pad.active-blue {
    background: var(--accent-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--accent-blue-glow);
    border-color: var(--accent-blue);
}

.pad-key {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
}

.pad-note {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.synth-pad.active .pad-note, .synth-pad.active-blue .pad-note {
    color: var(--bg-dark);
    font-weight: 600;
}

/* Play/Pause background beat section */
.beat-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.25rem;
}

.beat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}

.status-dot.active {
    background: var(--primary);
    animation: pulse-green 1s infinite;
}

.btn-beat {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(0, 240, 255, 0.05);
    transition: var(--transition-fast);
}

.btn-beat:hover {
    background: var(--accent-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 12px var(--accent-blue-glow);
}

/* ==========================================================================
   Works / Projects Section
   ========================================================================== */
.works-section {
    padding: 100px 0;
}

.works-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
}

.works-header .section-header {
    margin-bottom: 0;
}

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

.work-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.work-card:hover {
    transform: translateY(-6px);
    border-color: var(--card-hover-border);
    box-shadow: 0 12px 30px rgba(0, 240, 255, 0.1);
}

.work-image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background: #020408;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* EchoVerse Console UI Mockup */
.echoverse-mockup {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #050b14 0%, #0c0211 100%);
    position: relative;
}

.mock-terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-blue);
}

.mock-terminal-dots {
    display: flex;
    gap: 5px;
}

.mock-terminal-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.mock-terminal-dots span:nth-child(1) { background: #ff5f56; }
.mock-terminal-dots span:nth-child(2) { background: #ffbd2e; }
.mock-terminal-dots span:nth-child(3) { background: #27c93f; }

.mock-terminal-body {
    flex-grow: 1;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.85rem 0;
    color: var(--text-primary);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.terminal-line {
    word-break: break-all;
}

.line-input {
    color: var(--primary);
}

.line-output {
    color: var(--text-muted);
}

.line-success {
    color: var(--accent-blue);
    font-weight: 700;
}

.mock-terminal-footer {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
}

.mock-term-select {
    padding: 0.35rem 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-primary);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.mock-term-select option {
    background: #0c0f17;
}

.mock-term-btn {
    padding: 0.35rem 0.85rem;
    background: rgba(255, 42, 75, 0.08);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mock-term-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Generic music visualizer image placeholder */
.mock-visuals {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #022c22 0%, #020617 100%);
    position: relative;
    padding: 2rem;
}

.radar-sweep {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px dashed var(--accent-blue);
    animation: rotate-sweep 8s linear infinite;
}

.radar-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--primary);
}

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

.work-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.work-category {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.work-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.work-summary {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.work-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.work-tech span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
    color: var(--text-muted);
}

.work-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.work-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
}

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

.work-link i {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.work-link:hover i {
    transform: translate(2px, -2px);
}

/* ==========================================================================
   Experience Timeline & Education
   ========================================================================== */
.timeline-section {
    padding: 100px 0;
    position: relative;
}

.timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.timeline-container {
    position: relative;
    border-left: 1px dashed rgba(255, 42, 75, 0.2);
    padding-left: 2rem;
    margin-top: 1rem;
}

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

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

.timeline-dot {
    position: absolute;
    left: calc(-2rem - 5px);
    top: 5px;
    width: 9px;
    height: 9px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary-glow);
}

.timeline-item:hover .timeline-dot {
    background: var(--primary);
    transform: scale(1.2);
}

.timeline-dot.cyan {
    border-color: var(--accent-blue);
    box-shadow: 0 0 8px var(--accent-blue-glow);
}

.timeline-item:hover .timeline-dot.cyan {
    background: var(--accent-blue);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-role {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-role span {
    color: var(--primary);
}

.timeline-role span.cyan {
    color: var(--accent-blue);
}

.timeline-duration {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: var(--text-muted);
}

.timeline-company {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Fresh Badge */
.fresh-badge {
    display: inline-block;
    margin-top: 1rem;
    background: rgba(189, 0, 255, 0.06);
    border: 1px solid rgba(189, 0, 255, 0.2);
    color: var(--secondary);
    padding: 0.25rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    border-radius: 4px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-subtitle {
    font-size: 1.85rem;
    margin-bottom: 1.5rem;
}

.contact-text {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.detail-icon.cyan {
    color: var(--accent-blue);
}

.detail-icon i {
    width: 18px;
    height: 18px;
}

.detail-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.detail-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

a.detail-value:hover {
    color: var(--primary);
}

.contact-socials {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact-socials a {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.contact-socials a:hover {
    background: rgba(255, 42, 75, 0.1);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

/* Cyber Terminal Form */
.contact-form-wrapper {
    background: rgba(6, 7, 10, 0.9);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent-blue));
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

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

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
    font-family: var(--font-mono);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-group textarea {
    resize: none;
}

.form-group::before {
    content: ">";
    position: absolute;
    left: 1rem;
    top: 0.9rem;
    color: var(--primary);
    font-family: var(--font-mono);
    font-weight: 700;
}

.form-group.textarea-group::before {
    top: 0.9rem;
}

.form-group label {
    position: absolute;
    left: 2.25rem;
    top: 0.85rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-medium);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.7rem;
    left: 0.85rem;
    font-size: 0.75rem;
    padding: 0 0.5rem;
    background: #06070a;
    border-radius: 4px;
    color: var(--primary);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 42, 75, 0.03);
    box-shadow: 0 0 10px rgba(255, 42, 75, 0.1);
}

/* Validation Styling */
.form-group.invalid input, .form-group.invalid textarea {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.03);
}

.form-group.invalid::before {
    color: #ef4444;
}

.form-group.invalid label {
    color: #ef4444;
}

.form-error-msg {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #ef4444;
    margin-top: 0.35rem;
    display: none;
}

.form-group.invalid .form-error-msg {
    display: block;
}

/* Submit button with loading status */
.btn-submit {
    background: rgba(255, 42, 75, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.95rem;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 42, 75, 0.1);
    transition: var(--transition-medium);
}

.btn-submit:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-submit .loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 42, 75, 0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    position: absolute;
    display: none;
    animation: rotate-spin 0.8s linear infinite;
}

.btn-submit.loading {
    color: transparent;
    pointer-events: none;
}

.btn-submit.loading .btn-icon {
    display: none;
}

.btn-submit.loading .loader {
    display: block;
}

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

/* Toast Messages */
.form-toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: var(--transition-medium);
}

.form-toast.show {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-top: 1.5rem;
    pointer-events: auto;
}

.success-toast {
    background: rgba(255, 42, 75, 0.08);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.error-toast {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid #ef4444;
    color: #ef4444;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    background: #040508;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.copyright {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Back to Top Control
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: rgba(255, 42, 75, 0.1);
    border: 1px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    z-index: 90;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform var(--transition-fast), background var(--transition-fast);
}

.back-to-top.show {
    right: 30px;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* ==========================================================================
   Scroll-Reveal Entry Effects
   ========================================================================== */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.reveal-item:nth-child(2) { transition-delay: 0.1s; }
.reveal-item:nth-child(3) { transition-delay: 0.2s; }
.reveal-item:nth-child(4) { transition-delay: 0.3s; }

/* ==========================================================================
   Media Queries & Responsiveness
   ========================================================================== */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-content {
        text-align: left;
    }
    
    .station-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 150;
    }
    
    .icon-close {
        display: none;
    }
    
    .header.nav-open .icon-menu {
        display: none;
    }
    
    .header.nav-open .icon-close {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(6, 7, 10, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--card-border);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 140;
    }
    
    .header.nav-open .nav-menu {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .nav-btn {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .card-top {
        left: -10px;
    }
    
    .card-bottom {
        right: -10px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .about-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .about-buttons .btn {
        width: 100%;
    }
    
    .pad-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .synth-controls {
        flex-direction: column;
        align-items: stretch;
    }
}
