/* =========================================
   QUANTUMNOVA LABS
   LIQUID GLASS WEBSITE
========================================= */


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: white;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(80, 120, 255, 0.12),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(180, 80, 255, 0.10),
            transparent 35%
        ),
        #05070d;

    overflow-x: hidden;
}


/* ---------- BACKGROUND LOGO ---------- */

.background-logo {
    position: fixed;
    inset: 0;

    background-image:
        url("logo.jpeg");

    background-repeat: no-repeat;
    background-position: center;
    background-size: 55%;

    opacity: 0.07;

    filter: blur(1px);

    pointer-events: none;

    z-index: -3;

    transition:
        transform 0.6s ease-out;
}


/* ---------- MOUSE LIGHT ---------- */

.mouse-light {
    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.10) 0%,
            rgba(130,160,255,0.07) 25%,
            rgba(160,100,255,0.04) 45%,
            transparent 72%
        );

    transform:
        translate(-50%, -50%);

    pointer-events: none;

    z-index: 10;

    mix-blend-mode: screen;

    filter: blur(10px);
}


/* =========================================
   LIQUID GLASS
========================================= */

.glass {
    position: relative;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.105),
            rgba(255,255,255,0.035)
        );

    border:
        1px solid rgba(255,255,255,0.16);

    box-shadow:
        0 25px 80px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.18),
        inset 0 -1px 0 rgba(255,255,255,0.04);

    backdrop-filter:
        blur(28px)
        saturate(140%);

    -webkit-backdrop-filter:
        blur(28px)
        saturate(140%);

    overflow: hidden;
}


/* ---------- GLASS REFLECTION ---------- */

.glass::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            120deg,
            rgba(255,255,255,0.13),
            transparent 30%,
            transparent 65%,
            rgba(255,255,255,0.035)
        );

    pointer-events: none;

    z-index: 0;
}


/* ---------- LIQUID GLASS LIGHT ---------- */

.glass::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    left: var(--glass-x, 50%);
    top: var(--glass-y, 50%);

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.13),
            rgba(150,180,255,0.06) 30%,
            transparent 70%
        );

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.25s ease;

    filter: blur(18px);

    z-index: 0;
}


.glass.glass-active::after {
    opacity: 1;
}


/* Keep content above lighting */

.glass > * {
    position: relative;
    z-index: 1;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;

    top: 20px;
    left: 50%;

    transform:
        translateX(-50%);

    width:
        calc(100% - 40px);

    max-width: 1200px;

    padding:
        14px 22px;

    border-radius: 22px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 100;
}


/* ---------- BRAND ---------- */

.brand {
    display: flex;

    align-items: center;

    gap: 12px;

    font-weight: 600;

    letter-spacing: 0.5px;
}


.brand img {
    width: 42px;
    height: 42px;

    object-fit: contain;

    border-radius: 10px;
}


/* ---------- NAVIGATION ---------- */

nav {
    display: flex;

    gap: 28px;
}


nav a {
    color:
        rgba(255,255,255,0.75);

    text-decoration: none;

    font-size: 14px;

    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}


nav a:hover,
nav a.active {
    color: white;

    text-shadow:
        0 0 15px rgba(255,255,255,0.5);
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        120px 20px 80px;
}


.hero-content {
      width: 100%;

    max-width: 950px;

    padding:
        80px 60px;

    border-radius: 40px;

    text-align: center;

    overflow: visible;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* ---------- EYEBROW ---------- */

.eyebrow {
    font-size: 12px;

    letter-spacing: 4px;

    color:
        rgba(255,255,255,0.55);

    margin-bottom: 20px;
}


/* ---------- HERO TITLE ---------- */

.hero h1 {
    font-size:
        clamp(50px, 8vw, 105px);

    line-height: 0.9;

    letter-spacing: -6px;

    font-weight: 700;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #9ca7c7
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

    text-shadow:
        0 0 40px rgba(255,255,255,0.08);
}


.hero h1 span {
    display: block;

    font-size: 0.48em;

    letter-spacing: 8px;

    margin-top: 20px;
}


/* ---------- HERO DESCRIPTION ---------- */

.hero-description {
    max-width: 650px;

    margin:
        35px auto;

    color:
        rgba(255,255,255,0.65);

    font-size: 18px;

    line-height: 1.7;
}


/* =========================================
   BUTTONS
========================================= */

.hero-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}


.button {
    display: inline-block;

    padding:
        15px 25px;

    border-radius: 50px;

    text-decoration: none;

    font-size: 14px;

    font-family: inherit;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        opacity 0.25s ease;

    border: none;
}


.button:hover {
    transform:
        translateY(-2px);
}


.button.primary {
    color: #05070d;

    background: white;

    box-shadow:
        0 10px 30px rgba(255,255,255,0.15);
}


.button.primary:hover {
    box-shadow:
        0 12px 40px rgba(255,255,255,0.25);
}


.button.secondary {
    color: white;

    background:
        rgba(255,255,255,0.06);

    border:
        1px solid rgba(255,255,255,0.15);
}


/* =========================================
   SECTIONS
========================================= */

.section {
    padding:
        120px 20px;

    max-width: 1200px;

    margin: auto;
}


.section-content {
    padding: 60px;

    border-radius: 32px;

    max-width: 850px;
}


.section h2 {
    font-size:
        clamp(38px, 5vw, 65px);

    letter-spacing: -2px;

    margin-bottom: 25px;
}


.section p {
    color:
        rgba(255,255,255,0.65);

    line-height: 1.8;

    font-size: 16px;
}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {
    text-align: center;

    margin-bottom: 55px;
}


.section-heading h2 {
    margin-bottom: 15px;
}


.section-heading p {
    max-width: 650px;

    margin:
        0 auto;
}


/* =========================================
   PRODUCT CARDS
========================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


.product-card {
    border-radius: 30px;

    overflow: hidden;

    min-height: 500px;

    display: flex;

    flex-direction: column;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* IMPORTANT:
   Cards do NOT move or slide */

.product-card:hover {
    transform: none;

    border-color:
        rgba(255,255,255,0.30);

    box-shadow:
        0 25px 80px rgba(0,0,0,0.40),
        inset 0 1px 0 rgba(255,255,255,0.20);
}


/* ---------- PRODUCT IMAGE ---------- */

.product-image {
    width: 100%;

    height: 270px;

    overflow: hidden;

    background:
        rgba(255,255,255,0.035);
}


.product-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: contain;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


/* Image gets a subtle zoom,
   NOT the entire card */

.product-card:hover
.product-image img {
    transform: scale(1.035);

    filter:
        brightness(1.05)
        saturate(1.05);
}


/* ---------- PRODUCT INFORMATION ---------- */

.product-info {
    padding:
        30px 28px 35px;
}


.product-number {
    font-size: 11px;

    letter-spacing: 3px;

    color:
        rgba(255,255,255,0.35);

    margin-bottom: 15px;
}


.product-info h3 {
    font-size: 25px;

    margin-bottom: 15px;
}


.product-info p {
    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   TECHNOLOGY
========================================= */

.technology-container {
    padding: 60px;

    border-radius: 35px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;
}


.technology-text h2 {
    margin-bottom: 25px;
}


.technology-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;
}


.tech-item {
    padding: 25px;

    border-radius: 20px;

    background:
        rgba(255,255,255,0.04);

    border:
        1px solid rgba(255,255,255,0.08);

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}


.tech-item:hover {
    background:
        rgba(255,255,255,0.07);

    border-color:
        rgba(255,255,255,0.18);
}


.tech-item span {
    color:
        rgba(255,255,255,0.35);

    font-size: 12px;
}


.tech-item h3 {
    margin:
        12px 0;

    font-size: 20px;
}


.tech-item p {
    font-size: 13px;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {
    text-align: center;
}


.contact-box {
    padding:
        75px 40px;

    border-radius: 35px;
}


.contact-box h2 {
    margin-bottom: 20px;
}


.contact-box > p {
    max-width: 600px;

    margin:
        0 auto 40px;
}


/* =========================================
   ENQUIRY FORM
========================================= */

.enquiry-form {
    max-width: 760px;

    margin:
        0 auto;

    text-align: left;
}


.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;
}


.form-group {
    margin-bottom: 20px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    color:
        rgba(255,255,255,0.75);

    font-size: 13px;

    font-weight: 600;
}


.form-group input,
.form-group textarea {
    width: 100%;

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 16px;

    padding:
        15px 17px;

    background:
        rgba(255,255,255,0.045);

    color: white;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color:
        rgba(255,255,255,0.35);
}


.form-group input:focus,
.form-group textarea:focus {
    border-color:
        rgba(255,255,255,0.35);

    background:
        rgba(255,255,255,0.065);

    box-shadow:
        0 0 25px rgba(255,255,255,0.05);
}


.form-group textarea {
    resize: vertical;

    min-height: 150px;
}


.submit-button {
    width: 100%;

    margin-top: 5px;
}


.submit-button:disabled {
    opacity: 0.55;

    cursor: not-allowed;

    transform: none;
}


.form-status {
    text-align: center;

    margin-top: 20px;

    min-height: 22px;

    font-size: 14px;

    color:
        rgba(255,255,255,0.65);
}


.form-status.success {
    color:
        rgba(160,255,190,0.90);
}


.form-status.error {
    color:
        rgba(255,150,150,0.90);
}


/* =========================================
   FOOTER
========================================= */

footer {
    padding: 40px 20px;

    border-top:
        1px solid rgba(255,255,255,0.08);
}


.footer-content {
    max-width: 1200px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}


.footer-brand {
    display: flex;

    align-items: center;

    gap: 10px;

    font-weight: 600;
}


.footer-brand img {
    width: 35px;

    height: 35px;

    object-fit: contain;

    border-radius: 8px;
}


footer p {
    color:
        rgba(255,255,255,0.4);

    font-size: 12px;
}


/* =========================================
   SCROLL REVEAL
========================================= */

.section {
    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.section.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    nav {
        display: none;
    }


    .product-grid {
        grid-template-columns:
            1fr 1fr;
    }


    .technology-container {
        grid-template-columns:
            1fr;
    }

}


@media (max-width: 600px) {

    .navbar {
        width:
            calc(100% - 20px);

        top: 10px;
    }


    .brand span {
        font-size: 13px;
    }


    .hero-content {
        padding:
            60px 25px;

        border-radius: 30px;
    }


    .hero h1 {
        letter-spacing: -3px;
    }


    .section {
        padding:
            80px 15px;
    }


    .section-content,
    .technology-container {
        padding:
            35px 25px;
    }


    .product-grid {
        grid-template-columns:
            1fr;
    }


    .product-card {
        min-height: auto;
    }


    .product-image {
        height: 250px;
    }


    .technology-grid {
        grid-template-columns:
            1fr;
    }


    .form-row {
        grid-template-columns:
            1fr;
    }


    .contact-box {
        padding:
            55px 20px;
    }


    .footer-content {
        flex-direction: column;

        text-align: center;
    }


    .background-logo {
        background-size: 100%;
    }

}