/* ========================================
   ENTERPRISE WEAVE — GLOBAL
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #151515;
    background: #f3f1ec;
    line-height: 1.5;
    overflow-x: hidden;
}

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

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

button {
    font: inherit;
}


/* ========================================
   LAYOUT SYSTEM
======================================== */

.container {
    width: min(1200px, calc(100% - 80px));
    margin-inline: auto;
}

.wide-container {
    width: min(1320px, calc(100% - 40px));
    margin-inline: auto;
}

section {
    position: relative;
}


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

.button {
    min-height: 44px;
    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

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

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 180ms ease,
        background 180ms ease,
        color 180ms ease;
}

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

.button-dark {
    background: #191919;
    color: #fff;
}

.button-dark:hover {
    background: #303030;
}

.button-light {
    background: #f5f4ef;
    color: #111;
}

.button-light:hover {
    background: #fff;
}


/* ========================================
   NAVIGATION
======================================== */

.site-header {
    position: absolute;
    z-index: 50;
    width: 100%;
    top: 0;
    left: 0;
}

.nav-container {
    height: 86px;

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

    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 142px;
    height: auto;
}

.desktop-nav {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 38px;
}

.desktop-nav a {
    font-size: 12px;
    font-weight: 500;
    color: #363636;

    transition: opacity 150ms ease;
}

.desktop-nav a:hover {
    opacity: 0.55;
}

.nav-cta {
    margin-left: 20px;
}

.mobile-menu-button {
    display: none;

    background: none;
    border: 0;

    font-size: 25px;
    cursor: pointer;
}


/* ========================================
   TYPOGRAPHY
======================================== */

.eyebrow {
    margin-bottom: 25px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.eyebrow.light {
    color: rgba(255, 255, 255, 0.8);
}


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

.hero {
    min-height: 930px;

    padding-top: 155px;
    padding-bottom: 80px;

    background-image:
        linear-gradient(
            rgba(246, 244, 239, 0.18),
            rgba(246, 244, 239, 0.18)
        ),
        url("assets/images/background.png");

    background-size: cover;
    background-position: center top;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.35fr;

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

.hero-copy {
    padding-left: 25px;
}

.hero h1 {
    max-width: 520px;

    margin-bottom: 28px;

    font-size: clamp(56px, 5.4vw, 82px);
    line-height: 0.95;

    font-weight: 500;
    letter-spacing: -0.055em;
}

.hero-description {
    max-width: 390px;

    margin-bottom: 28px;

    font-size: 13px;
    line-height: 1.6;

    color: #444;
}

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


/* HERO IMAGE */

.hero-visual {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;
}

.hero-visual > img {
    width: 100%;
    height: 480px;

    object-fit: cover;

    border-radius: 22px;

    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.13);
}


/* GLASS */

.glass-card {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.5),
            rgba(255, 255, 255, 0.18)
        );

    border: 1px solid rgba(255, 255, 255, 0.55);

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.13);
}

.hero-glass-card {
    position: absolute;

    left: 430px;
    bottom: 200px;

    width: 255px;

    padding: 23px 25px;

    border-radius: 13px;
}

.hero-glass-card p {
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
}


/* ========================================
   METRICS
======================================== */

.metrics {
    margin-top: 100px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    background: rgba(255, 255, 255, 0.78);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.85);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.05);
}

.metric {
    min-height: 105px;

    padding: 24px 32px;

    display: flex;
    align-items: center;
    gap: 22px;
}

.metric:not(:last-child) {
    border-right: 1px solid #d6d4cf;
}

.metric strong {
    min-width: 92px;

    font-size: 34px;
    line-height: 1;

    font-weight: 500;
    letter-spacing: -0.04em;
}

.metric p {
    max-width: 210px;

    margin-bottom: 7px;

    font-size: 10px;
    line-height: 1.45;
}

.metric small {
    font-size: 8px;
    color: #777;
}


/* ========================================
   FILM SECTION
======================================== */

.film-section {
    padding: 70px 0 100px;

    background: #f4f2ed;
}

.film-card {
    position: relative;

    min-height: 500px;

    overflow: hidden;

    border-radius: 24px;

    background: #000;
}

.film-background {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0.92;
}

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

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.72) 28%,
            rgba(0, 0, 0, 0.18) 65%,
            rgba(0, 0, 0, 0.05) 100%
        );
}

.film-content {
    position: relative;
    z-index: 3;

    width: 430px;

    padding: 100px 0 80px 110px;

    color: white;
}

.film-content h2 {
    margin-bottom: 22px;

    font-size: 52px;
    line-height: 0.98;

    font-weight: 500;
    letter-spacing: -0.045em;
}

.film-content > p {
    max-width: 340px;

    margin-bottom: 28px;

    font-size: 12px;
    line-height: 1.6;

    color: rgba(255, 255, 255, 0.82);
}

.film-play {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    border: 0;

    background: none;
    color: #fff;

    cursor: pointer;
}

.play-icon {
    width: 42px;
    height: 42px;

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

    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;

    font-size: 12px;

    transition:
        transform 180ms ease,
        background 180ms ease;
}

.film-play:hover .play-icon {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.15);
}


/* ========================================
   PRODUCTS
======================================== */

.products-section {
    padding: 100px 0 115px;

    background: #f5f3ee;
}

.section-heading-grid {
    margin-bottom: 65px;

    display: grid;
    grid-template-columns: 1.3fr 0.7fr;

    align-items: end;
    gap: 80px;
}

.section-heading-grid h2 {
    font-size: 42px;
    line-height: 1.05;

    font-weight: 500;
    letter-spacing: -0.045em;
}

.section-intro {
    max-width: 380px;

    font-size: 12px;
    line-height: 1.65;

    color: #555;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.product-card {
    overflow: hidden;

    background: rgba(255, 255, 255, 0.7);

    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.04);

    transition:
        transform 200ms ease,
        box-shadow 200ms ease;
}

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

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.09);
}

.product-image {
    height: 205px;

    overflow: hidden;

    background: #eee;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.product-content {
    min-height: 210px;

    padding: 28px 27px;
}

.product-content h3 {
    margin-bottom: 18px;

    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 17px;
    font-weight: 600;
}

.product-icon {
    width: 27px;
    height: 27px;

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

    border-radius: 50%;

    font-size: 12px;
}

.bridge-icon {
    background: #ffcf74;
}

.lens-icon {
    background: #7fb8ff;
}

.assist-icon {
    background: #a58bff;
}

.product-content p {
    min-height: 68px;

    margin-bottom: 18px;

    font-size: 11px;
    line-height: 1.55;

    color: #555;
}

.product-content a {
    display: inline-flex;
    align-items: center;
    gap: 25px;

    font-size: 10px;
    font-weight: 700;
}

.product-content a span {
    transition: transform 160ms ease;
}

.product-content a:hover span {
    transform: translateX(4px);
}


/* ========================================
   ENTERPRISE SECTION
======================================== */

.enterprise-section {
    padding: 120px 0 135px;

    background:
        linear-gradient(
            rgba(245, 243, 238, 0.65),
            rgba(245, 243, 238, 0.65)
        ),
        url("assets/images/background.png");

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

.enterprise-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

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

.enterprise-copy {
    padding-left: 25px;
}

.enterprise-copy h2 {
    margin-bottom: 28px;

    font-size: 47px;
    line-height: 1.02;

    font-weight: 500;
    letter-spacing: -0.05em;
}

.enterprise-description {
    max-width: 385px;

    margin-bottom: 48px;

    font-size: 12px;
    line-height: 1.65;

    color: #555;
}

.enterprise-features {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 27px 35px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

    flex-shrink: 0;

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

    border: 1px solid #bcbab5;
    border-radius: 50%;

    font-size: 14px;
}

.feature p {
    font-size: 10px;
    line-height: 1.45;
}

.enterprise-visual {
    position: relative;
}

.enterprise-visual > img {
    width: 100%;
    height: 430px;

    object-fit: cover;

    border-radius: 21px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.13);
}

.enterprise-glass-card {
    position: absolute;

    right: -25px;
    bottom: 110px;

    width: 250px;

    padding: 25px 28px;

    border-radius: 14px;
}

.enterprise-glass-card strong {
    display: block;

    font-size: 14px;
    line-height: 1.4;

    font-weight: 600;
}

.small-rule {
    display: block;

    width: 35px;
    height: 1px;

    margin: 16px 0;

    background: #777;
}

.enterprise-glass-card p {
    font-size: 10px;
    line-height: 1.6;
}


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

.site-footer {
    padding: 75px 0 80px;

    background: #171717;
    color: white;
}

.footer-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;
}

.footer-container h2 {
    margin-bottom: 7px;

    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.footer-container > div > a {
    display: inline-block;

    margin-bottom: 25px;

    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-container p {
    max-width: 370px;

    font-size: 10px;
    line-height: 1.6;

    color: #aaa;
}


/* ========================================
   VIDEO MODAL
======================================== */

.video-modal {
    position: fixed;

    inset: 0;

    z-index: 999;

    padding: 50px;

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

    background: rgba(0, 0, 0, 0.93);
}

.video-modal.open {
    display: flex;
}

.video-wrapper {
    width: min(1100px, 90vw);

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 15px;

    background: #111;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-close {
    position: absolute;

    top: 30px;
    right: 40px;

    border: 0;

    background: none;
    color: white;

    font-size: 45px;
    font-weight: 200;

    cursor: pointer;
}


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

@media (max-width: 1000px) {

    .container {
        width: min(100% - 50px, 900px);
    }

    .desktop-nav,
    .nav-cta {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero {
        padding-top: 130px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-copy {
        padding-left: 0;
    }

    .hero-visual {
        min-height: auto;
    }

    .hero-glass-card {
        left: 25px;
    }

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

    .metric:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid #d6d4cf;
    }

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

    .product-image {
        height: 360px;
    }

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

    .enterprise-copy {
        padding-left: 0;
    }

}


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

@media (max-width: 650px) {

    .container {
        width: calc(100% - 34px);
    }

    .wide-container {
        width: calc(100% - 20px);
    }

    .nav-container {
        height: 70px;
    }

    .brand-logo {
        width: 115px;
    }

    .hero {
        padding-top: 110px;
    }

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

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

    .hero-visual > img {
        height: 360px;
    }

    .hero-glass-card {
        width: 220px;

        left: 15px;
        bottom: 20px;
    }

    .metrics {
        margin-top: 60px;
    }

    .metric {
        padding: 22px;
    }

    .film-section {
        padding-top: 30px;
    }

    .film-card {
        min-height: 500px;
    }

    .film-content {
        width: auto;

        padding:
            80px
            30px
            60px;
    }

    .film-content h2 {
        font-size: 43px;
    }

    .section-heading-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .section-heading-grid h2 {
        font-size: 37px;
    }

    .product-image {
        height: 230px;
    }

    .enterprise-copy h2 {
        font-size: 40px;
    }

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

    .enterprise-visual > img {
        height: 350px;
    }

    .enterprise-glass-card {
        right: 15px;
        bottom: -55px;
    }

    .site-footer {
        padding-top: 100px;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

}