@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --background: #050708;
    --surface: #0b0f12;
    --surface-light: #11171b;

    --text: #f4f6f7;
    --muted: #8d979e;

    --accent: #d7ff3f;
    --accent-soft: rgba(215,255,63,0.15);

    --border: rgba(255,255,255,0.10);
    --border-bright: rgba(215,255,63,0.25);

    --max-width: 1600px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--background);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    padding: 25px 6%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 100;

    animation: navReveal 1s ease forwards;
}

@keyframes navReveal {

    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.brand {
    position: relative;
    z-index: 2;
}

.brand img {
    width: 150px;
    height: auto;

    filter:
        drop-shadow(0 0 15px rgba(215,255,63,0.08));

    transition: 0.4s ease;
}

.brand:hover img {
    filter:
        drop-shadow(0 0 20px rgba(215,255,63,0.25));

    transform: scale(1.03);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    position: relative;

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;

    color: #aeb6bb;

    transition: 0.3s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--accent);

    transition: 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #030506;
}


/* AERIAL IMAGE */

.hero-bg {
    position: absolute;
    inset: -5%;

    background:
        linear-gradient(
            90deg,
            rgba(3,5,6,0.96) 0%,
            rgba(3,5,6,0.78) 35%,
            rgba(3,5,6,0.40) 65%,
            rgba(3,5,6,0.78) 100%
        ),
        linear-gradient(
            0deg,
            rgba(3,5,6,0.92),
            transparent 50%,
            rgba(3,5,6,0.55)
        ),
        url("https://images.unsplash.com/photo-1508614589041-895b88991e3e?auto=format&fit=crop&w=2400&q=85");

    background-size: cover;
    background-position: center;

    filter: saturate(0.75) contrast(1.1);

    transform: scale(1.05);

    animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {

    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.12);
    }

}


/* CINEMATIC GREEN LIGHT */

.hero-glow {
    position: absolute;

    width: 700px;
    height: 700px;

    right: -200px;
    top: 20%;

    background:
        radial-gradient(
            circle,
            rgba(215,255,63,0.16),
            rgba(215,255,63,0.05) 30%,
            transparent 70%
        );

    filter: blur(20px);

    animation: glowFloat 7s ease-in-out infinite alternate;
}

@keyframes glowFloat {

    from {
        transform: translate(0,0);
        opacity: 0.5;
    }

    to {
        transform: translate(-80px,30px);
        opacity: 0.9;
    }

}


/* TECHNICAL GRID */

.hero-grid {
    position: absolute;

    inset: 0;

    opacity: 0.18;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.08) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image:
        linear-gradient(
            to right,
            transparent,
            black 45%,
            transparent
        );

    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {

    from {
        background-position: 0 0;
    }

    to {
        background-position: 80px 80px;
    }

}


/* SCANNING LINE */

.hero-scan {
    position: absolute;

    left: 0;
    right: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(215,255,63,0.5),
            transparent
        );

    opacity: 0.5;

    animation: scan 8s linear infinite;
}

@keyframes scan {

    0% {
        top: 15%;
    }

    100% {
        top: 90%;
    }

}


/* HERO CONTENT */

.hero-content {
    position: relative;

    z-index: 5;

    max-width: 900px;

    margin-left: 9%;

    padding-top: 80px;

    animation: heroContent 1.2s cubic-bezier(.16,1,.3,1) forwards;
}

@keyframes heroContent {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.eyebrow,
.section-label {
    font-size: 10px;

    letter-spacing: 3px;

    color: var(--accent);

    font-weight: 700;

    margin-bottom: 20px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eyebrow::before {
    content: "";

    width: 35px;
    height: 1px;

    background: var(--accent);
}


.hero h1 {
    font-size: clamp(48px, 7vw, 105px);

    line-height: 0.91;

    letter-spacing: -6px;

    font-weight: 900;

    text-shadow:
        0 10px 40px rgba(0,0,0,0.35);
}

.hero h1 span {
    color: rgba(255,255,255,0.52);

    background:
        linear-gradient(
            90deg,
            #8f999e,
            #ffffff,
            #737c81
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 600px;

    color: #aab2b7;

    font-size: 16px;

    margin-top: 35px;

    line-height: 1.8;
}

.hero-buttons {
    display: flex;

    gap: 15px;

    margin-top: 40px;
}

.button {
    position: relative;

    display: inline-block;

    padding: 15px 25px;

    font-size: 10px;

    letter-spacing: 1.5px;

    font-weight: 800;

    transition: 0.35s ease;

    overflow: hidden;
}

.button.primary {
    background: var(--accent);

    color: #080a0b;

    box-shadow:
        0 0 0 rgba(215,255,63,0);
}

.button.primary:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 35px rgba(215,255,63,0.2);
}

.button.secondary {
    border: 1px solid rgba(255,255,255,0.22);

    background: rgba(0,0,0,0.2);

    backdrop-filter: blur(10px);
}

.button.secondary:hover {
    background: white;

    color: black;

    transform: translateY(-4px);
}


/* =========================================================
   INTRO
========================================================= */

.intro {
    position: relative;

    max-width: 1000px;

    padding: 160px 6%;

    overflow: hidden;
}

.intro::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    right: -200px;
    top: 20%;

    background:
        radial-gradient(
            circle,
            rgba(215,255,63,0.08),
            transparent 70%
        );

    filter: blur(20px);
}

.intro h2 {
    position: relative;

    font-size: clamp(38px, 5vw, 68px);

    line-height: 1;

    letter-spacing: -4px;

    margin-bottom: 35px;
}

.intro > p:last-child {
    position: relative;

    color: var(--muted);

    max-width: 600px;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    position: relative;

    padding: 140px 6%;

    overflow: hidden;
}

.section::before {
    content: "";

    position: absolute;

    width: 1px;

    height: 120px;

    left: 6%;

    top: 0;

    background:
        linear-gradient(
            transparent,
            var(--accent),
            transparent
        );

    opacity: 0.4;
}

.section-heading {
    max-width: 750px;

    margin-bottom: 75px;
}

.section-heading h2 {
    font-size: clamp(40px, 6vw, 75px);

    letter-spacing: -4px;

    line-height: 0.95;

    margin-bottom: 25px;
}

.section-heading p:last-child {
    color: var(--muted);

    max-width: 650px;

    line-height: 1.8;
}


/* =========================================================
   SERVICES
========================================================= */

.service-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.service-card {
    position: relative;

    padding: 45px;

    min-height: 270px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.025),
            transparent
        );

    transition: 0.45s ease;

    overflow: hidden;
}

.service-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -100px;
    bottom: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(215,255,63,0.12),
            transparent 70%
        );

    transition: 0.5s ease;
}

.service-card:hover {
    background: rgba(215,255,63,0.035);

    transform: translateY(-5px);

    border-color: var(--border-bright);
}

.service-card:hover::before {
    transform: scale(2);
}

.service-card span {
    font-size: 10px;

    color: var(--accent);

    letter-spacing: 2px;
}

.service-card h3 {
    margin: 35px 0 15px;

    font-size: 16px;

    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   INDUSTRIES
========================================================= */

.dark-section {
    background:
        linear-gradient(
            90deg,
            rgba(7,9,11,0.98),
            rgba(7,9,11,0.86)
        ),
        url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=2200&q=80")
        center/cover fixed;
}

.industry-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.industry-grid div {
    position: relative;

    padding: 50px 25px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: rgba(0,0,0,0.16);

    backdrop-filter: blur(4px);

    transition: 0.35s ease;
}

.industry-grid div::after {
    content: "↗";

    position: absolute;

    right: 20px;
    top: 20px;

    color: var(--accent);

    opacity: 0;

    transform: translate(-5px,5px);

    transition: 0.3s ease;
}

.industry-grid div:hover {
    background: rgba(215,255,63,0.07);

    color: var(--accent);
}

.industry-grid div:hover::after {
    opacity: 1;

    transform: translate(0,0);
}


/* =========================================================
   PROJECTS
========================================================= */

.project-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.project-card {
    position: relative;

    background: var(--surface);

    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.06);

    transition: 0.45s cubic-bezier(.16,1,.3,1);
}

.project-card::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(215,255,63,0.08),
            transparent 30%
        );

    opacity: 0;

    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);

    border-color: rgba(215,255,63,0.25);

    box-shadow:
        0 30px 70px rgba(0,0,0,0.35);
}

.project-card:hover::after {
    opacity: 1;
}

.project-image {
    height: 330px;

    overflow: hidden;

    position: relative;
}

.project-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 50%,
            rgba(0,0,0,0.65)
        );
}

.project-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(.16,1,.3,1),
        filter 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.08);

    filter: saturate(1.15);
}

.project-info {
    padding: 28px;

    position: relative;

    z-index: 2;
}

.project-info p {
    font-size: 9px;

    color: var(--accent);

    letter-spacing: 2px;
}

.project-info h3 {
    font-size: 16px;

    margin: 12px 0 20px;

    letter-spacing: 0.2px;
}

.project-info span {
    font-size: 9px;

    letter-spacing: 1.5px;

    color: var(--muted);

    transition: 0.3s ease;
}

.project-card:hover .project-info span {
    color: var(--accent);

    letter-spacing: 2px;
}


/* =========================================================
   TECHNOLOGY
========================================================= */

.technology {
    position: relative;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    background:
        linear-gradient(
            90deg,
            rgba(5,7,8,0.94),
            rgba(5,7,8,0.82)
        ),
        url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=2200&q=80")
        center/cover fixed;
}

.technology-content {
    position: relative;
}

.technology-content h2 {
    font-size: clamp(40px, 5vw, 70px);

    line-height: 0.95;

    letter-spacing: -4px;

    margin-bottom: 35px;
}

.technology-content p:last-child {
    max-width: 550px;

    color: var(--muted);

    line-height: 1.8;
}

.tech-list {
    border-top: 1px solid var(--border);

    position: relative;
}

.tech-list div {
    padding: 28px 0;

    display: flex;

    gap: 30px;

    align-items: center;

    border-bottom: 1px solid var(--border);

    transition: 0.3s ease;
}

.tech-list div:hover {
    padding-left: 15px;

    border-color: var(--accent);
}

.tech-list span {
    color: var(--accent);

    font-size: 10px;

    min-width: 25px;
}

.tech-list strong {
    font-size: 12px;

    letter-spacing: 1.5px;
}


/* =========================================================
   R&D
========================================================= */

.rnd {
    min-height: 650px;

    padding: 130px 10%;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(3,5,6,0.93),
            rgba(3,5,6,0.68),
            rgba(3,5,6,0.92)
        ),
        url('../assets/images/rnd.jpg') center/cover;
}

.rnd::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -200px;

    border-radius: 50%;

    border: 1px solid rgba(215,255,63,0.12);

    box-shadow:
        0 0 0 100px rgba(215,255,63,0.025),
        0 0 0 200px rgba(215,255,63,0.015);

    animation: radar 8s linear infinite;
}

@keyframes radar {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

.rnd > div {
    position: relative;

    z-index: 2;
}

.rnd h2 {
    font-size: clamp(50px, 7vw, 100px);

    line-height: .9;

    letter-spacing: -6px;

    margin-bottom: 35px;
}

.rnd p:last-child {
    color: var(--muted);

    max-width: 550px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    position: relative;

    padding: 180px 10%;

    text-align: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(215,255,63,0.08),
            transparent 35%
        );
}

.contact::before,
.contact::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border: 1px solid rgba(215,255,63,0.08);

    border-radius: 50%;

    left: 50%;
    top: 50%;

    transform: translate(-50%,-50%);
}

.contact::after {
    width: 600px;
    height: 600px;

    opacity: 0.4;
}

.contact h2 {
    position: relative;
    z-index: 2;

    font-size: clamp(55px, 8vw, 110px);

    letter-spacing: -6px;

    line-height: .9;

    margin-bottom: 30px;
}

.contact p:not(.section-label) {
    position: relative;
    z-index: 2;

    color: var(--muted);

    max-width: 550px;

    margin: 0 auto 35px;
}

.contact .button {
    position: relative;

    z-index: 2;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 70px 6%;

    border-top: 1px solid var(--border);

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 50px;

    background: #030506;
}

.footer-brand img {
    width: 130px;

    filter:
        drop-shadow(0 0 15px rgba(215,255,63,0.08));
}

.footer-brand p {
    color: var(--muted);

    font-size: 11px;

    margin-top: 15px;

    line-height: 1.8;
}

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.footer-links a {
    color: var(--muted);

    font-size: 11px;

    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent);

    transform: translateX(5px);
}

.copyright {
    color: var(--muted);

    font-size: 10px;

    text-align: right;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.section,
.intro,
.rnd,
.contact {
    animation: sectionReveal linear both;

    animation-timeline: view();

    animation-range: entry 0% cover 20%;
}

@keyframes sectionReveal {

    from {
        opacity: 0;

        transform: translateY(40px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .navbar {
        padding: 20px 7%;
    }

    .brand img {
        width: 125px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-bg {
        background-position: 65% center;
    }

    .hero-content {
        margin: 0 7%;

        padding-top: 70px;
    }

    .hero h1 {
        font-size: clamp(45px, 13vw, 75px);

        letter-spacing: -4px;
    }

    .hero-description {
        font-size: 14px;

        max-width: 90%;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .button {
        width: auto;
    }

    .hero-grid {
        background-size: 50px 50px;

        opacity: 0.1;
    }

    .intro {
        padding: 110px 7%;
    }

    .intro h2 {
        letter-spacing: -3px;
    }

    .section {
        padding: 100px 7%;
    }

    .section-heading {
        margin-bottom: 50px;
    }

    .section-heading h2 {
        letter-spacing: -3px;
    }

    .service-grid,
    .project-grid,
    .industry-grid,
    .technology {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 220px;

        padding: 35px;
    }

    .project-image {
        height: 260px;
    }

    .technology {
        gap: 60px;
    }

    .technology-content h2 {
        letter-spacing: -3px;
    }

    .dark-section,
    .technology {
        background-attachment: scroll;
    }

    .rnd {
        min-height: 550px;

        padding: 100px 7%;
    }

    .rnd h2 {
        letter-spacing: -4px;
    }

    .rnd::before {
        width: 350px;
        height: 350px;

        right: -180px;
    }

    .contact {
        padding: 130px 7%;
    }

    .contact h2 {
        letter-spacing: -4px;
    }

    footer {
        grid-template-columns: 1fr;

        padding: 60px 7%;

        gap: 40px;
    }

    .copyright {
        text-align: left;
    }

}


/* REDUCE MOTION */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }

}
