:root {
    --bg: #000;
    --card: #0f1113;
    --muted: #9aa3ad;
    --accent1: #6C63FF;
    /* purple */
    --accent2: #00D1FF;
    /* cyan */
    --glass: rgba(255, 255, 255, 0.03);
    --glass-strong: rgba(255, 255, 255, 0.05);
    --radius: 16px;
}

/* Basic reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html,
body,
#app {
    height: 100%
}

body {
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial;
    background: radial-gradient(ellipse at 20% 10%, rgba(108, 99, 255, 0.07), transparent 8%),
        radial-gradient(ellipse at 90% 80%, rgba(0, 209, 255, 0.04), transparent 10%),
        var(--bg);
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
}

a {
    color: inherit;
    text-decoration: none
}

img {
    display: block;
    max-width: 100%
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px
}

/* NAV */
header.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center
}

.logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent1), var(--accent2));
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #050505;
    box-shadow: 0 6px 24px rgba(108, 99, 255, 0.12), inset 0 -6px 18px rgba(255, 255, 255, 0.04);
    flex: 0 0 56px;
}

.brand h1 {
    font-family: "Poppins";
    font-size: 16px;
    letter-spacing: 0.2px
}

.brand p {
    font-size: 12px;
    color: var(--muted)
}

nav.menu {
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 14px;
    color: var(--muted)
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    color: #000;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

/* HERO */
.hero {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    padding: 40px 0
}

.hero-left {
    flex: 1;
    min-width: 300px
}

.hero h2 {
    font-family: "Poppins";
    font-size: 36px;
    line-height: 1.05
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    font-family: "Poppins";
}

.hero p {
    color: var(--muted);
    margin-top: 14px;
    max-width: 58ch
}

.hero-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted)
}

.hero-right {
    flex: 1;
    min-width: 320px;
    display: grid;
    place-items: center
}

.device {
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
}

.device .thumb {
    height: 260px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    overflow: hidden
}

.device .meta {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px
}

/* SECTIONS */
section.block {
    padding: 36px 0
}

.grid {
    display: grid;
    gap: 18px
}

.services .grid {
    grid-template-columns: repeat(1, 1fr)
}

@media(min-width:720px) {
    .services .grid {
        grid-template-columns: repeat(4, 1fr)
    }
}

.card {
    border-radius: 14px;
    padding: 18px;
    background: linear-gradient(180deg, var(--glass), transparent);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform .28s ease, box-shadow .28s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6)
}

.card .icon {
    width: 100px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    display: grid;
    place-items: center;
    font-weight: 700
}

.vision-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, 1fr);
    margin-top: 14px
}

@media(min-width:900px) {
    .vision-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

/* portfolio */
.portfolio-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, 1fr)
}

@media(min-width:520px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(min-width:900px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: var(--card)
}

.portfolio-item img {
    height: 180px;
    object-fit: cover;
    width: 100%
}

.portfolio-item .info {
    padding: 12px
}

/* team */
.team-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, 1fr)
}

@media(min-width:700px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--muted);
    font-size: 20px
}

/* contact */
.contact-grid {
    display: grid;
    gap: 18px
}

@media(min-width:900px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

.form input,
.form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    color: #fff;
    margin-bottom: 12px
}

.form button {
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    color: #000;
    font-weight: 600;
    cursor: pointer
}

/* footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 28px;
    padding: 18px 0;
    color: var(--muted);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px
}

/* subtle animated background stars */
.stars {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.45
}

.star {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, #fff, rgba(255, 255, 255, 0.2));
    filter: blur(0.6px);
    opacity: 0.85
}

/* small helpers */
.muted {
    color: var(--muted)
}

.section-title {
    font-family: "Poppins";
    font-size: 20px;
    margin-bottom: 6px
}

.small {
    font-size: 13px;
    color: var(--muted)
}