:root {
    --bg-dark: #0a0c10;
    --bg-darker: #050608;
    --primary: #00ff9d;
    --primary-glow: rgba(0, 255, 157, 0.4);
    --secondary: #00d4ff;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --glass: rgba(30, 41, 59, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo, .badge {
    font-family: 'JetBrains Mono', monospace;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-dropdown {
    position: relative;
}

.lang-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-btn i {
    width: 14px;
    height: 14px;
    transition: var(--transition);
}

.lang-dropdown:hover .lang-btn i {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: rgba(10, 12, 16, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    min-width: 60px;
    z-index: 1001;
}

.lang-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-main);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    transition: var(--transition);
    text-align: center;
}

.dropdown-content a:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.dropdown-content a.active {
    color: var(--primary);
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.btn-primary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.1);
}

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

.btn-secondary {
    color: var(--text-main);
    text-decoration: underline;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    background: linear-gradient(rgba(10, 12, 16, 0.8), rgba(10, 12, 16, 0.8)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.badge {
    color: var(--primary);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(0, 255, 157, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 157, 0.2);
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--primary);
    text-shadow: 0 0 30px var(--primary-glow);
}

.hero-content h2 {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-content h2 span {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.cyber-circle {
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: absolute;
    opacity: 0.1;
    animation: pulse 4s infinite;
}

.cyber-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-image: 
        linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: radial-gradient(circle, black, transparent 80%);
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
    100% { transform: scale(0.8); opacity: 0.1; }
}

/* Sections Common */
section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--glass);
    padding: 2rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.stat-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 4rem;
}

.timeline-dot {
    position: absolute;
    left: -5px;
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.timeline-date {
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: var(--glass);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.timeline-content .category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-content .category.education {
    color: var(--primary);
}

.timeline-content h3 {
    margin-bottom: 0.2rem;
}

.timeline-content h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--glass);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.skill-category:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px -15px rgba(0, 255, 157, 0.2);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.skill-category h3 {
    font-size: 1.2rem;
    color: var(--text-main);
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category li::before {
    content: '>';
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--bg-darker);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.project-card:hover .project-image img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 16, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

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

.project-content {
    padding: 2rem;
}

.project-tags {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.project-tags span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--secondary);
    background: rgba(0, 212, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.project-content h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Certifications */
.certs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--glass);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.cert-item i {
    color: var(--primary);
    width: 40px;
    height: 40px;
}

.cert-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

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

/* Contact */
.contact-box {
    background: linear-gradient(135deg, var(--glass) 0%, rgba(0, 255, 157, 0.05) 100%);
    padding: 5rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.contact-box h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-box p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-main);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: var(--transition);
    background: var(--bg-darker);
}

.contact-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-5px);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

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

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

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    color: var(--text-muted);
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.4s; }
.fade-in:nth-child(4) { animation-delay: 0.6s; }

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Languages */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.lang-card {
    background: var(--glass);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.lang-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.lang-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.lang-card p {
    color: var(--primary);
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 1rem;
}

.lang-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-darker);
    border-radius: 10px;
    overflow: hidden;
}

.lang-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-content h1 { font-size: 3rem; }
    .hero-visual { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .hero-btns { justify-content: center; }
    .certs-list { grid-template-columns: 1fr; }
    .languages-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    nav ul { display: none; }
    .section-title { font-size: 2rem; }
    .contact-box { padding: 3rem 1.5rem; }
    .contact-box h2 { font-size: 2rem; }
}

