:root {
    --bg-color: #0a0a0c;
    --card-bg: #16161a;
    --text-primary: #fffffe;
    --text-secondary: #94a1b2;
    --accent: #7f5af0;
    --accent-hover: #6246ea;
    --highlight: #2cb67d;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

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

html {
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;
}

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

/* Header */
header {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.highlight {
    color: var(--accent);
    background: linear-gradient(120deg, var(--accent), #2cb67d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-container {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.btn.primary {
    background-color: var(--accent);
    color: #fffffe;
    border: 2px solid var(--accent);
}

.btn.primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(127, 90, 240, 0.4);
}

.btn.secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--card-bg);
}

.btn.secondary:hover {
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

/* Sections General */
.section {
    padding: 6rem 0;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* Cards */
.card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

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

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

/* Contact / Socials */
.social-links {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    font-size: 1.1rem;
    color: var(--text-secondary);
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.social-link:hover {
    color: var(--accent);
}

.social-link:hover::after {
    width: 100%;
}

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

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Scroll Reveal Class (handled by JS) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .nav-links {
        display: none; /* Can implement burger menu later if requested */
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
}
