:root {
    --background: #0f172a;
    --background-light: #111c34;
    --white: #ffffff;
    --text: #d7dfef;
    --blue: #2563eb;
    --blue-light: #3b82f6;
    --border: rgba(255,255,255,0.08);
    --card: rgba(255,255,255,0.04);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    width: min(1100px, 92%);
    margin: auto;
}

.header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    background: rgba(15,23,42,0.92);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1px;
}

.logo img {
    width: 140px;
}

.logo h1 {
    font-size: 18px;
}

.logo span {
    color: #94a3b8;
    font-size: 13px;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    transition: 0.3s;
}

nav a:hover {
    color: var(--blue-light);
}

.hero {
    padding: 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tag {
    color: var(--blue-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    margin-bottom: 16px;
}

.hero h2 {
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h2 span {
    color: var(--blue-light);
}

.hero-text {
    color: var(--text);
    font-size: 18px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.btn {
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

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

.btn-primary:hover {
    background: var(--blue-light);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.code-window {
    width: 100%;
    max-width: 500px;
    background: #09101f;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.dots {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #334155;
}

pre {
    color: #7dd3fc;
    overflow-x: auto;
    font-size: 15px;
}

.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--background-light);
}

.section-title {
    margin-bottom: 48px;
}

.section-title.center {
    text-align: center;
}

.section-title p {
    color: var(--blue-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    margin-bottom: 10px;
}

.section-title h3 {
    font-size: 38px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: 20px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(59,130,246,0.5);
}

.card h4 {
    margin-bottom: 14px;
    font-size: 20px;
}

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

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.skills span {
    padding: 14px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
}

.about-text {
    color: var(--text);
    margin-bottom: 18px;
}

.about-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
}

.about-card h4 {
    margin-bottom: 20px;
}

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

.about-card li {
    margin-bottom: 12px;
    color: var(--text);
}

.contact-section {
    padding-top: 0;
}

.contact-card {
    background: linear-gradient(135deg, #172554, #1e3a8a);
    padding: 50px;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.contact-card h3 {
    font-size: 36px;
    margin-bottom: 14px;
}

.contact-infos p {
    margin-bottom: 10px;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 30px 0;
}

.footer-content {
    text-align: center;
    color: #94a3b8;
}

@media (max-width: 900px) {

    .hero-grid,
    .about-grid,
    .contact-card {
        grid-template-columns: 1fr;
        display: grid;
    }

    nav {
        display: none;
    }

    .hero h2 {
        font-size: 42px;
    }

    .section-title h3 {
        font-size: 30px;
    }

    .contact-card {
        padding: 36px;
    }
}
