:root{
    --bg:#0e0e0e;
    --accent:#4f9cff;
    --text:#f5f5f5;
    --muted:#b0b0b0;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
    margin:0;
    font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu;
    background:radial-gradient(circle at left,#1b1b1b,var(--bg));
    color:var(--text)
}

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:18px 48px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:rgba(0,0,0,.55);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    z-index:1000;
    will-change: transform;
    transition: transform 0.25s ease;
}

.navbar.navbar--hidden{
    transform: translateY(-110%);
}

@media (prefers-reduced-motion: reduce){
    .navbar{
        transition: none;
    }
}

.logo{
    font-weight:700;
    letter-spacing:2px;
    font-size:.95rem;
    color:#fff;
}

.nav-links{
    list-style:none;
    display:flex;
    gap:28px;
    margin:0;
    padding:0;
}

.nav-link{
    text-decoration:none;
    font-size:.9rem;
    color:var(--muted);
    position:relative;
    padding:4px 0;
    transition:color .2s ease;
}

.nav-link::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:var(--accent);
    transition:width .25s ease;
}

.nav-link:hover{color:#fff}
.nav-link:hover::after,
.nav-link.active::after{width:100%}
.nav-link.active{color:#fff}

.lang-switch a{
    text-decoration:none;
    font-size:.8rem;
    font-weight:600;
    letter-spacing:1px;
    color:var(--accent);
    border:1px solid rgba(79,156,255,.4);
    padding:6px 12px;
    border-radius:6px;
    transition:.2s;
}

.lang-switch a:hover{
    background:rgba(79,156,255,.15);
    border-color:var(--accent);
    color:#fff;
}

.hero{
    min-height:100vh;
    padding:140px 40px 0;
}

.hero-inner{
    max-width:1280px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    align-items:center;
    gap:80px;
}

.hero-text p.small{
    letter-spacing:2px;
    color:#888;
    font-size:.9rem;
}

.hero-text h1{
    font-size:3.6rem;
    line-height:1.05;
    margin:14px 0 20px;
}

.hero-text h1 .accent{
    color:var(--accent);
    text-shadow:0 0 18px rgba(79,156,255,.35);
}

.hero-text p.desc{
    max-width:560px;
    color:var(--muted);
    font-size:1.05rem;
    margin-bottom:18px;
    line-height:1.6;
}

.hero-badges{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    color:#9ca3af;
    font-size:.95rem;
    margin-bottom:28px;
}

.buttons a{
    display:inline-block;
    padding:14px 28px;
    border-radius:6px;
    border:1px solid var(--accent);
    color:var(--accent);
    text-decoration:none;
    margin-right:14px;
    transition:.2s;
}

.buttons a.primary{
    background:var(--accent);
    color:#000;
}

.buttons a.secondary{
    background:rgba(255,255,255,.03);
}

.buttons a:hover{opacity:.85}

.hero-image{
    display:flex;
    justify-content:center;
}

.hero-image img{
    max-height:75vh;
    border-radius:18px;
    box-shadow:0 30px 80px rgba(0,0,0,.6);
}

.section{
    padding:120px 40px;
}

.section-inner{
    max-width:1000px;
    margin:0 auto;
}

.section h2{
    font-size:2rem;
    margin-bottom:30px;
    border-left:4px solid var(--accent);
    padding-left:14px;
}

.about-card{
    background:linear-gradient(145deg,#121212,#1a1a1a);
    border-radius:18px;
    padding:36px 40px;
    box-shadow:0 30px 70px rgba(0,0,0,.6);
}

.about-desc{
    font-size:1.05rem;
    line-height:1.7;
    color:var(--muted);
    margin-bottom:26px;
}

.about-intro{
    color:var(--muted);
    margin-bottom:18px;
}

.about-focus{
    list-style:none;
    padding-left:0;
    margin:0;
}

.about-focus li{
    margin-bottom:1.3rem;
}

.about-focus li strong{
    display:block;
    font-weight:600;
    color:#fff;
}

.about-sub{
    display:block;
    margin-top:.25rem;
    font-size:.9rem;
    line-height:1.4;
    color:rgba(255,255,255,.6);
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:32px;
    margin-top:40px;
}

.project-card{
    background:linear-gradient(145deg,#111,#1a1a1a);
    border-radius:16px;
    padding:24px;
    box-shadow:0 20px 50px rgba(0,0,0,.6);
    transition:.3s;
    display:flex;
    flex-direction:column;
}

.project-card:hover{
    transform:translateY(-6px);
    box-shadow:0 30px 70px rgba(0,0,0,.8);
}

.project-card p{
    font-size:.95rem;
    color:var(--muted);
    margin-bottom:16px;
}

.project-actions{
    margin:1rem 0;
}

.project-action{
    display:inline-block;
    padding:.45rem .9rem;
    font-size:.85rem;
    color:var(--accent);
    border:1px solid rgba(79,156,255,.4);
    border-radius:6px;
    text-decoration:none;
    transition:.2s;
}

.project-action:hover{
    background:rgba(79,156,255,.1);
    border-color:var(--accent);
    color:#fff;
}

.project-tech{
    display:flex;
    gap:8px;
    margin-top:auto;
    flex-wrap:wrap;
}

.project-tech span{
    font-size:.75rem;
    padding:4px 10px;
    border-radius:6px;
    background:rgba(255,255,255,.06);
    color:#9ca3af;
}

.services-intro{
    color:var(--muted);
    margin-bottom:18px;
}

.services-list{
    list-style:none;
    padding-left:0;
    margin-top:1.5rem;
}

.services-list li{
    margin-bottom:1.6rem;
}

.services-list strong{
    display:block;
    font-weight:600;
    color:#fff;
}

.services-sub{
    display:block;
    margin-top:.35rem;
    font-size:.9rem;
    line-height:1.45;
    color:rgba(255,255,255,.6);
}

.contact-text{
    color:var(--muted);
    line-height:1.7;
}

@media (max-width:900px){
    .navbar{padding:18px 24px}
    .hero-inner{grid-template-columns:1fr;text-align:center}
    .hero-text h1{font-size:2.6rem}
    .hero-image img{max-width:90%}
    .section{padding:100px 24px}
}
