:root {
    --bg-color: #0f172a;
    --bg-light: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #38bdf8;
    --accent-hover: #0ea5e9;
    --gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --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-color);
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--accent-hover);
}

/* Typography & Utilities */
.text-center {
    text-align: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient);
    color: white !important;
    border: none;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--accent) !important;
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: rgba(56, 189, 248, 0.1);
    transform: translateY(-2px);
}

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

.section-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.section-title::after {
    content: '';
    display: block;
    height: 1px;
    width: 300px;
    background: rgba(255,255,255,0.1);
    margin-left: 20px;
}

.section-title.center {
    justify-content: center;
}
.section-title.center::after, .section-title.center::before {
    content: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.greeting {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero h1.name {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.hero h2.title {
    font-size: clamp(30px, 6vw, 60px);
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero .description {
    max-width: 540px;
    font-size: 18px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* About */
.about-text p {
    margin-bottom: 15px;
    font-size: 17px;
}

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

.skill-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.skill-card h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--accent);
}

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

.skill-card ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.skill-card ul li::before {
    content: '▹';
    color: var(--accent);
    margin-right: 10px;
}

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

.project-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-overline {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.project-title a {
    color: var(--text-primary);
}

.project-title a:hover {
    color: var(--accent);
}

.project-description {
    font-size: 15px;
    margin-bottom: 30px;
}

.project-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--text-secondary);
}

/* Contact */
.contact-text {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 18px;
}

/* Footer */
.footer {
    padding: 30px;
    text-align: center;
    font-size: 14px;
}

.footer p {
    margin-bottom: 5px;
}

.footer .copyright {
    color: rgba(255,255,255,0.2);
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title::after {
        width: 100px;
    }
}
