:root{
--bg:#071018;
--card:#111827;
--primary:#3b82f6;
--primary-hover:#2563eb;
--text:#f8fafc;
--muted:#94a3b8;
--border:#1e293b;
}

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

html{
scroll-behavior:smooth;
}

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

.navbar{
position:sticky;
top:0;
z-index:1000;

display:flex;
justify-content:space-between;
align-items:center;

padding:12px 8%;

backdrop-filter:blur(10px);

border-bottom:1px solid var(--border);
}

.logo{
font-size:1.8rem;
font-weight:800;
}

.logo a{
display:inline-block;
line-height:0;
}

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

nav a{
text-decoration:none;
color:var(--muted);
}

nav a:hover{
color:white;
}

.hero{
min-height:100vh;

display:flex;
align-items:center;
justify-content:center;

text-align:center;

padding:120px 20px;

background:
radial-gradient(circle at top right,
rgba(59,130,246,.2),
transparent 35%);
}

.hero-content{
max-width:900px;
}

.hero-badge{
display:inline-block;

padding:10px 16px;

border:1px solid rgba(59,130,246,.4);

border-radius:50px;

color:#60a5fa;

margin-bottom:25px;
}

.hero h1{
font-size:clamp(3rem,7vw,6rem);
margin-bottom:25px;
}

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

.hero p{
max-width:700px;
margin:auto;
color:var(--muted);
font-size:1.2rem;
margin-bottom:40px;
}

.section{
padding:100px 8%;
}

.section-title{
text-align:center;
margin-bottom:60px;
}

.section-title h2{
font-size:3rem;
margin-bottom:10px;
}

.section-title p{
color:var(--muted);
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:32px;
    align-items:stretch;
}

.card{
    background:var(--card);
    border:1px solid var(--border);
    padding:28px;
    border-radius:18px;
    transition:.35s ease;

    width:100%;
    max-width:420px;

    margin:auto;
    text-align:center;
}

.card:hover{
    transform:translateY(-8px);
    border-color:var(--primary);

    box-shadow:
    0 15px 35px rgba(59,130,246,.15);
}

.card img{
    width:100%;
    max-height:260px;
    object-fit:contain;

    border-radius:18px;

    margin-bottom:20px;

    filter:
        drop-shadow(0 10px 20px rgba(0,0,0,.4));

    transition:.3s;
}

.card:hover img{
    transform:scale(1.03);
}

.card-buttons{
    display:flex;
    justify-content:center;
    margin-top:15px;
}

.card-buttons a{
    width:100%;
    text-decoration:none;
}

.card-btn{
    width:100%;
    padding:12px 18px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

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

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

.buy-btn{
    background:transparent;
    border:1px solid var(--primary);
    color:var(--primary);
}

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

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

/* Services section: image-only cards, uniform size */
#services .card{
    padding:0;
    overflow:hidden;
    max-width:none;
    height:260px;
}

#services .card img{
    width:100%;
    height:100%;
    margin-bottom:0;
    max-height:none;
    filter:none;
    object-fit:cover;
}

.featured-badge{
display:inline-block;
padding:10px 18px;
background:#f59e0b;
color:#000;
border-radius:50px;
font-weight:700;
margin-bottom:30px;
}

.featured-badge-wrapper{
    text-align:center;
    margin-bottom:30px;
}

.featured-card{
    display:grid;
    grid-template-columns:0.7fr 1fr;

    gap:25px;

    align-items:center;

    max-width:680px;
    margin:auto;

    background:linear-gradient(
        135deg,
        rgba(59,130,246,.12),
        rgba(16,185,129,.08));

    border:1px solid var(--border);

    padding:25px;
    border-radius:24px;
}

.featured-image img{
    width:100%;
    max-width:180px;

    display:block;
    margin:auto;

    border-radius:20px;

    transition:.3s;
}

.featured-image img:hover{
    transform:scale(1.03);
}

.tagline{
color:var(--primary);
font-weight:700;
margin:20px 0;
}

.featured-content ul{
margin:25px 0;
padding-left:0;
list-style:none;
}

.featured-content li{
margin-bottom:10px;
color:var(--muted);
}

.buttons{
display:flex;
gap:20px;
flex-wrap:wrap;
justify-content:center;
margin-top:30px;
}

.contact-buttons{
    justify-content:center;
    gap:12px;
}

.contact-buttons .btn{
    padding:8px 14px;
    font-size:.85rem;
    width:auto;
}

.btn{
padding:16px 28px;
border:none;
border-radius:10px;
cursor:pointer;
font-weight:600;
transition:.3s;
}

.btn:hover{
transform:translateY(-2px);
}

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

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

.about{
max-width:900px;
margin:auto;
text-align:center;
color:var(--muted);
font-size:1.1rem;
}

.service-link{
text-decoration:none;
color:inherit;
}

.contact{
text-align:center;
}

footer{
padding:30px;
text-align:center;
border-top:1px solid var(--border);
color:var(--muted);
}

@media(max-width:900px){

.featured-card{
grid-template-columns:1fr;
}

}

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        padding:15px;
        gap:15px;
    }

    .nav-logo{
        height:64px;
    }

    nav{
        gap:15px;
        font-size:.9rem;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero h1,
    .section-title h2{
        font-size:2.2rem;
    }

    .buttons{
        flex-direction:column;
    }

    .btn{
        width:100%;
    }

    .grid{
        grid-template-columns:1fr;
        justify-items:center;
    }

}

.nav-logo{
    height:88px;
    width:auto;
    display:block;
    transition:transform .25s ease;
}

.logo a:hover .nav-logo{
    transform:scale(1.04);
}

.footer-logo{
    width:220px;
    display:block;
    margin:0 auto 20px;
}