
/* =====================================
   HEISENIX DESIGN SYSTEM
===================================== */

:root {
    --primary-color: #00d6b0;
    --primary-hover: #00b995;
    --secondary-color: #50e3c2;

    --dark-bg: #061318;
    --dark-panel: #0a2027;

    --light-bg: #ffffff;
    --text-color: #18252a;
    --muted-text: #68777c;

    --border-color: #dce6e7;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}


/* RESET */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.65;
    background: var(--light-bg);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 88px 0;
}


/* =====================================
   BUTTONS
===================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 24px;

    border-radius: 5px;
    border: 1px solid transparent;

    font-weight: 700;

    transition: .25s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: #03221e;
}

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

.btn-outline {
    border-color: rgba(255,255,255,.55);
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 15px 28px;
}

.eyebrow {
    display: inline-block;
    color: var(--primary-color);

    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;

    margin-bottom: 1rem;
}

.dark-eyebrow {
    color: #009f86;
}


/* =====================================
   HEADER
===================================== */

#main-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;

    background: rgba(3,13,17,.94);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,.1);
}

#main-header nav {
    min-height: 72px;

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

    gap: 28px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #fff;

    font: 700 1.4rem var(--font-heading);
    letter-spacing: .04em;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;

    list-style: none;
}

.nav-links a {
    color: #e6eeee;
    font-weight: 500;
    font-size: .94rem;

    transition: color .2s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;

    background: none;
    color: #fff;
    border: 0;

    font-size: 1.5rem;
    cursor: pointer;
}


/* =====================================
   HERO SECTION
===================================== */

#hero {
    min-height: 760px;
    height: 100vh;
    max-height: 980px;

    position: relative;

    display: flex;
    align-items: center;

    padding-top: 72px;

    background-color: #061318;

    background-image:
        url("Assets/heisenix-glass-product.png");

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(2,12,17,.88) 0%,
        rgba(2,12,17,.55) 38%,
        rgba(2,12,17,.08) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;

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

    color: #fff;
}

.hero-content h1 {
    max-width: 550px;

    font-size: clamp(2.7rem, 5vw, 4.2rem);
    line-height: 1.15;

    letter-spacing: -.035em;

    margin-bottom: 1.3rem;
}

.hero-copy {
    max-width: 590px;

    color: #d6e1e3;
    font-size: 1.1rem;

    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    color: var(--primary-color);
    font-size: 1.1rem;

    animation: floatDown 1.7s infinite;
}

@keyframes floatDown {
    0%, 100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 8px);
    }
}


/* =====================================
   ABOUT SECTION
===================================== */

.intro-strip {
    background: #f2f7f7;
    padding: 62px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;

    gap: 70px;
    align-items: center;
}

.intro-grid h2 {
    margin: 0;
}

.intro-grid > p {
    color: #526267;
    font-size: 1.05rem;
    margin: 0;
}


/* =====================================
   SECTION HEADINGS
===================================== */

.section-heading {
    max-width: 790px;

    margin: 0 auto 48px;
    text-align: center;
}

.section-heading > p {
    color: var(--muted-text);
    font-size: 1.05rem;

    max-width: 700px;
    margin: 0 auto;
}


/* =====================================
   TECHNOLOGY CARDS
===================================== */

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

.feature-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;

    padding: 30px 24px;

    background: #fff;

    transition:
        transform .25s,
        box-shadow .25s,
        border-color .25s;
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color: #8ce8d9;

    box-shadow:
        0 14px 34px rgba(9,50,55,.09);
}

.feature-icon {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: #e4fbf6;
    color: #009f86;

    font-size: 1.5rem;

    margin-bottom: 22px;
}

.feature-card h3 {
    font-size: 1.12rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--muted-text);
    font-size: .94rem;
    margin: 0;
}


/* =====================================
   APPLICATIONS
===================================== */

.use-cases-section {
    background: var(--dark-bg);
    color: #fff;
}

.use-cases-section .section-heading h2 {
    color: #fff;
}

.use-cases-section .section-heading > p {
    color: #b8c9cc;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.use-case-card {
    overflow: hidden;

    border: 1px solid rgba(0,214,176,.55);
    border-radius: 13px;

    background: #0b2027;

    transition: transform .3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
}

.use-case-card img {
    width: 100%;
    height: 235px;

    object-fit: cover;
}

.use-case-content {
    padding: 25px;
}

.case-number {
    display: inline-block;

    color: var(--primary-color);

    font-weight: 700;
    font-size: .83rem;
    letter-spacing: .1em;

    margin-bottom: 10px;
}

.use-case-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.use-case-content p {
    color: #c1d0d2;
    font-size: .95rem;
    margin: 0;
}


/* =====================================
   ENGINEERING CAPABILITIES
===================================== */

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

.capability-item {
    display: flex;
    gap: 22px;

    padding: 28px;

    border: 1px solid var(--border-color);
    border-radius: 10px;

    transition: border-color .25s;
}

.capability-item:hover {
    border-color: var(--primary-color);
}

.capability-item > i {
    color: #009f86;

    font-size: 1.7rem;
    width: 34px;

    padding-top: 3px;
}

.capability-item h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
}

.capability-item p {
    color: var(--muted-text);
    margin: 0;
    font-size: .95rem;
}


/* =====================================
   ENGINEERING APPROACH
===================================== */

.approach-section {
    background: #07191f;
    color: #fff;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;
    align-items: center;
}

.approach-grid h2 {
    margin: 0;
}

.approach-grid p {
    color: #c1d0d2;
    font-size: 1.04rem;
    margin: 0;
}


/* =====================================
   CONTACT SECTION
===================================== */

.final-cta {
    background: #eaf8f5;
    text-align: center;
}

.final-cta h2 {
    color: #10272b;
}

.final-cta p {
    max-width: 650px;

    margin: 0 auto 25px;

    color: #5d7074;
}

.final-cta .eyebrow {
    color: #009f86;
}


/* =====================================
   FOOTER
===================================== */

footer {
    background: #030d11;
    color: #eaf4f4;

    padding: 55px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;

    gap: 40px;
    padding-bottom: 35px;
}

.footer-brand h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #9eafb2;
    max-width: 360px;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;

    gap: 25px;
    align-items: flex-start;
}

.footer-links a {
    color: #c3d0d2;
    font-size: .94rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #243237;

    padding-top: 18px;

    color: #87999d;
    font-size: .85rem;
}

.footer-bottom p {
    margin: 0;
}


/* =====================================
   PRE-ORDER PAGE
===================================== */

#preorder-hero {
    padding-top: 120px;
    padding-bottom: 80px;
}

.preorder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 4rem;
    align-items: center;
}

.product-preview {
    background: #f4f4f4;

    border-radius: 20px;
    padding: 2rem;

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

    min-height: 500px;
}

.product-preview img {
    max-height: 450px;
    object-fit: contain;
}

.product-config h1 {
    font-size: 2.5rem;
    margin-bottom: .5rem;
}

.price-tag {
    font-size: 2rem;
    color: #009f86;
    font-weight: 700;
    margin-bottom: 1rem;
}

.description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.config-option {
    margin-bottom: 2rem;
}

.config-option label {
    display: block;
    font-weight: 600;
    margin-bottom: .8rem;
    color: #333;
}


/* COLOR SELECTOR */

.color-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: .5rem;
}

.color-circle {
    width: 40px;
    height: 40px;

    border-radius: 50%;
    cursor: pointer;

    border: 2px solid transparent;

    transition: all .3s ease;

    box-shadow: 0 2px 5px rgba(0,0,0,.1);
}

.color-circle.selected {
    border-color: #009f86;
    transform: scale(1.1);
}

#selected-color-name {
    font-size: .9rem;
    color: #888;
    margin-top: .5rem;
}


/* PRESCRIPTION TOGGLE */

.toggle-group {
    display: flex;
    gap: 1rem;
}

.btn-toggle {
    padding: 10px 20px;

    border: 1px solid var(--border-color);
    background: #fff;

    border-radius: 5px;
    cursor: pointer;

    font-weight: 500;

    transition: all .3s ease;
}

.btn-toggle.selected {
    background: #009f86;
    color: #fff;
    border-color: #009f86;
}


/* ORDER SUMMARY */

.order-summary {
    background: #f9f9f9;

    padding: 1.5rem;
    border-radius: 10px;

    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;

    margin-bottom: .8rem;
    color: #555;
}

.summary-row.total {
    border-top: 1px solid #ddd;

    padding-top: 1rem;
    margin-top: 1rem;

    font-weight: 700;
    color: #333;

    font-size: 1.2rem;
}

.btn-block {
    display: block;
    width: 100%;

    text-align: center;
    padding: 15px;

    font-size: 1.1rem;
}

.btn-block:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.secure-note {
    text-align: center;
    font-size: .85rem;
    color: #888;
    margin-top: 1rem;
}


/* =====================================
   TABLET RESPONSIVE
===================================== */

@media (max-width: 960px) {

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        gap: 18px;
    }

}


/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 760px) {

    section {
        padding: 68px 0;
    }

    #main-header nav {
        min-height: 66px;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 66px;
        right: 0;

        width: min(310px, 82vw);
        height: calc(100vh - 66px);

        padding: 28px;

        background: #030d11;

        border-left: 1px solid #243237;

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 24px;

        transform: translateX(110%);
        transition: transform .25s ease;
    }

    .nav-links.nav-active {
        transform: translateX(0);
    }

    #hero {
        min-height: 690px;
        height: auto;

        background-position: 55% center;

        padding: 140px 0 85px;
    }

    .hero-overlay {
        background: rgba(2,12,17,.68);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .intro-grid,
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .use-case-grid {
        grid-template-columns: 1fr;
    }

    .use-case-card img {
        height: 250px;
    }

    .capability-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .preorder-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-preview {
        min-height: 300px;
    }

    #preorder-hero {
        padding-top: 100px;
        padding-bottom: 4rem;
    }

}


/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width: 520px) {

    .container {
        width: min(100% - 30px, 1160px);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-large {
        width: 100%;
    }

    .capability-item {
        padding: 22px 18px;
        gap: 15px;
    }

    .footer-links {
        gap: 15px 22px;
    }

    .product-config h1 {
        font-size: 2rem;
    }

}
