:root {
    --primary: #2563eb;
    --dark: #1e293b;
    --light: #f8fafc;
    --text: #334155;
    --text-light: #64748b;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    scroll-behavior: smooth;
}

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

/* Navbar */
nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero */
header {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    padding-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    background: #1d4ed8;
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

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

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}

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

.project-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-img {
    background: #cbd5e1;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.project-card h3 {
    margin-bottom: 0.5rem;
}

.project-card p {
    color: var(--text-light);
}

/* Contact & Footer */
#contact {
    text-align: center;
    background: var(--dark);
    color: var(--white);
}

#contact h2, #contact p {
    color: var(--white);
}

footer {
    text-align: center;
    padding: 2rem 0;
    background: var(--dark);
    color: #94a3b8;
    border-top: 1px solid #334155;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    nav ul { display: none; }
}