:root {
    --bg: #0f172a;       
    --card-bg: #1e293b; 
    --accent: #38bdf8;  
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --border: #334155;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

/* Navigation */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 30px 5%; position: absolute; width: 100%;
}

.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -1px; }
.logo span { color: var(--accent); }

.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; margin-left: 30px; }
.btn-nav { border: 1px solid var(--accent); padding: 8px 20px; border-radius: 6px; color: var(--accent) !important; }

/* Hero Section */
.hero { height: 80vh; display: flex; align-items: center; padding-top: 100px; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 4rem); line-height: 1.1; margin-bottom: 20px; font-weight: 700; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.25rem; color: var(--text-dim); max-width: 600px; margin-bottom: 40px; }

.btn-primary { 
    background: var(--accent); color: var(--bg); padding: 15px 35px; 
    text-decoration: none; border-radius: 8px; font-weight: 700; display: inline-block;
}

/* Projects Grid */
.section-title { font-size: 2rem; margin-bottom: 40px; border-left: 4px solid var(--accent); padding-left: 20px; }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 100px; }

.project-card { 
    background: var(--card-bg); padding: 40px; border-radius: 12px; 
    border: 1px solid var(--border); transition: 0.3s;
}
.project-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.project-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.project-card p { color: var(--text-dim); margin-bottom: 25px; }

.project-link { color: var(--accent); text-decoration: none; font-weight: 600; }

/* Contact Section */
.contact-section { background: #0b1120; padding: 100px 0; }
.contact-box { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-box h2 { font-size: 2.5rem; margin-bottom: 10px; }
.contact-box p { color: var(--text-dim); margin-bottom: 40px; }

form { text-align: left; }
.input-row { display: flex; gap: 20px; margin-bottom: 20px; }
input, textarea { 
    width: 100%; padding: 15px; background: var(--bg); border: 1px solid var(--border);
    border-radius: 8px; color: white; font-family: inherit;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }

.btn-submit { 
    width: 100%; background: var(--accent); color: var(--bg); 
    padding: 15px; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; 
}

footer { text-align: center; padding: 50px; color: var(--text-dim); font-size: 0.9rem; }

@media (max-width: 768px) {
    .container { padding: 0 25px; }

    nav {
        padding: 20px 5%;
        flex-direction: column; 
        gap: 15px;
        position: relative;
    }
    .nav-links a { margin-left: 0; margin: 0 10px; font-size: 0.9rem; }


    .hero { 
        height: auto; 
        padding: 60px 0; 
        text-align: center; 
    }
    .hero p { 
        margin: 0 auto 30px auto; 
        font-size: 1.1rem; 
    }

    .projects-grid, 
    .process-grid, 
    .input-row { 
        grid-template-columns: 1fr !important; 
        gap: 30px; 
    }

    .process-step { 
        margin-bottom: 20px; 
    }
    .step-number { 
        font-size: 2.5rem; 
    }

    .section-title { 
        font-size: 1.75rem; 
    }

    input, textarea { 
        font-size: 16px; 
    }
}

.tech-tag {
    display: inline-block;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 10px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.process-step {
    position: relative;
}

.step-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.2;
    margin-bottom: -15px; 
}

.process-step h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.process-step p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
}