/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Poppins:wght@500;700&display=swap');

:root {
    --bg-color: #000000; /* IMPRESSIVE BLACK */
    --text-color: #e0e0e0;
    --primary-color: #00f3ff; /* Cyan Neon */
    --secondary-color: #bc13fe; /* Purple Neon */
    --glass-bg: rgba(5, 5, 5, 0.85); /* Darker glass for black bg */
    --glass-border: rgba(0, 243, 255, 0.1); /* Subtle cyan border */
    --card-bg: rgba(15, 15, 15, 0.6); /* Semi-transparent black */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

/* Ambient Background Shapes - Intensified for Black Background */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    animation: float 20s infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(188, 19, 254, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    animation: float 25s infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

h1, h2, h3, h4, h5, h6, .nav-link, .btn {
    font-family: 'Poppins', sans-serif;
}

/* Custom Scrollbar - Darker Track */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #000000;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Neon & Tech Effects */
.text-neon {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.6);
}

.border-neon {
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

.tech-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px -10px rgba(0, 243, 255, 0.2);
    background: rgba(20, 20, 20, 0.8);
}

/* Background Grid - Cyan lines on Black for Tech feel */
.tech-bg {
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
    background-attachment: fixed;
}

/* Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-link {
    position: relative;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--primary-color);
}

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

.nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Form Styles */
.form-input {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--glass-border);
    color: white;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.9);
    outline: none;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.15);
}

.error-msg {
    color: #ff4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}
