:root {
    --bg-color: #05050a;
    --card-bg: #0f0f1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-color: #00f3ff;
    --accent-glow: rgba(0, 243, 255, 0.5);
    --border-color: #1f1f3a;
}

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

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

h1, h2, h3, .logo {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* Background Grid Effect */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(31, 31, 58, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 31, 58, 0.2) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(5, 5, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

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

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

nav a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 30px;
    font-family: 'Rajdhani', sans-serif;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
}

.lang-btn:hover, .lang-btn.active {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
}

.divider {
    color: var(--text-secondary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
}

.glitch {
    color: var(--accent-color);
    position: relative;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 2px;
}

.hero-desc {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

/* Section General */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.about-text strong {
    color: var(--text-primary);
}

.about-visual {
    position: relative;
}

.tech-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    border: 1px solid rgba(0, 243, 255, 0.3);
    opacity: 0.8;
}

.code-overlay {
    position: absolute;
    bottom: -20px;
    right: -20px;
    z-index: 10;
    max-width: 80%;
}

.code-block {
    background: rgba(15, 15, 26, 0.95);
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--accent-color);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.code-line {
    display: block;
    margin-bottom: 5px;
}

.keyword { color: #ff00ff; }
.class-name { color: #ffff00; }
.string { color: #00ff00; }
.this { color: #00f3ff; }

/* Services Section */
.dark-bg {
    background: rgba(255, 255, 255, 0.02);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px var(--accent-glow);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-secondary);
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    justify-content: center;
}

.contact-info {
    background: var(--card-bg);
    padding: 50px;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 800px;
}

.info-item {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item .label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 1.2rem;
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
        gap: 15px;
    }
}
