:root {
    --bg: #07080d;
    --panel: rgba(255, 255, 255, 0.055);
    --panel-strong: rgba(255, 255, 255, 0.09);
    --border: rgba(255, 255, 255, 0.12);
    --text: #ffffff;
    --muted: #a8afc3;
    --blue: #3b82f6;
    --cyan: #22d3ee;
    --purple: #8b5cf6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black, transparent 75%);
    pointer-events: none;
    z-index: -4;
}

.noise {
    position: fixed;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -3;
}

.orb {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.42;
    z-index: -2;
    animation: float 10s ease-in-out infinite;
}

.orb-one {
    top: -120px;
    left: -120px;
    background: var(--blue);
}

.orb-two {
    right: -120px;
    top: 220px;
    background: var(--purple);
    animation-delay: -4s;
}

.orb-three {
    left: 35%;
    bottom: -180px;
    background: var(--cyan);
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(35px, -25px, 0) scale(1.08); }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 8%;
    background: rgba(7, 8, 13, 0.72);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
}
.logo-image {
    height: 280px;
    width: auto;
    display: block;
    object-fit: contain;
    margin-top: -50px;
    margin-bottom: -55px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.35);
}

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

nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: white;
}

main {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 0 24px;
}

.hero {
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,0.055);
    color: var(--muted);
    backdrop-filter: blur(14px);
}

.badge span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 18px #22c55e;
}

.hero h1 {
    max-width: 1000px;
    font-size: clamp(44px, 7vw, 92px);
    line-height: 0.96;
    letter-spacing: -0.075em;
}

.hero p {
    max-width: 760px;
    margin-top: 30px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 38px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 15px;
    color: white;
    text-decoration: none;
    font-weight: 750;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.primary {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 14px 40px rgba(59, 130, 246, 0.28);
}

.secondary {
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.055);
}

.secondary:hover {
    background: rgba(255,255,255,0.09);
}

.hero-stats {
    width: min(780px, 100%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 60px;
}

.hero-stats div {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255,255,255,0.045);
    backdrop-filter: blur(14px);
}

.hero-stats strong {
    display: block;
    font-size: 20px;
}

.hero-stats span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
}

.section {
    padding: 95px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.section h2 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.section-copy {
    margin-top: 20px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 18px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.project-card,
.print-card,
.app-row,
.cta,
.contact {
    border: 1px solid var(--border);
    background: var(--panel);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.project-card {
    min-height: 260px;
    padding: 26px;
    border-radius: 26px;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.project-card:hover,
.print-card:hover,
.app-row:hover {
    transform: translateY(-5px);
    background: var(--panel-strong);
    border-color: rgba(255,255,255,0.22);
}

.project-card.featured {
    grid-column: span 2;
    background:
        linear-gradient(135deg, rgba(59,130,246,0.22), rgba(34,211,238,0.08)),
        var(--panel);
}

.card-topline,
.icon {
    margin-bottom: 28px;
}

.card-topline {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.icon {
    font-size: 30px;
}

.project-card h3,
.print-card h3,
.app-row h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.project-card p,
.print-card p,
.app-row p,
.cta p,
.contact p {
    color: var(--muted);
    line-height: 1.7;
}

.project-card a,
.contact a {
    display: inline-block;
    margin-top: 18px;
    color: var(--cyan);
    text-decoration: none;
    font-weight: 700;
}

.split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: center;
}

.app-list {
    display: grid;
    gap: 14px;
}

.app-row {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    padding: 22px;
    border-radius: 22px;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.app-row span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    color: var(--cyan);
    font-weight: 800;
}

.print-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.print-card {
    min-height: 220px;
    padding: 28px;
    border-radius: 26px;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.cta {
    text-align: center;
    border-radius: 34px;
    padding: 70px 30px;
    background:
        radial-gradient(circle at top, rgba(34,211,238,0.16), transparent 45%),
        var(--panel);
}

.cta p {
    max-width: 720px;
    margin: 22px auto 32px;
    font-size: 18px;
}

.contact {
    border-radius: 30px;
    padding: 50px;
    margin-bottom: 80px;
}

footer {
    padding: 34px 24px 55px;
    text-align: center;
    color: #6f768a;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero {
        min-height: auto;
        padding: 90px 0 50px;
    }

    .hero-stats,
    .project-grid,
    .print-showcase,
    .split {
        grid-template-columns: 1fr;
    }

    .project-card.featured {
        grid-column: auto;
    }

    .section {
        padding: 70px 0;
    }
}

@media (max-width: 560px) {
    main {
        padding: 0 16px;
    }

    .site-header {
        padding: 18px 16px;
    }

    nav {
        gap: 16px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-stats {
        gap: 10px;
    }

    .contact {
        padding: 30px;
    }
}
