/* =========================================================
   CLIMASENSE WEBSITE
   Main Stylesheet
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {

    --bg-main: #f5f8f6;
    --bg-secondary: #eaf2ed;
    --bg-card: rgba(255, 255, 255, 0.92);

    --green: #07883f;
    --green-light: #18b85b;
    --green-dark: #056b32;

    --text-primary: #10231a;
    --text-secondary: #43564b;
    --text-muted: #63756b;

    --border: rgba(16, 35, 26, 0.12);

    --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);

    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;

    --container: 1200px;

}


/* =========================================================
   2. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: "Inter", sans-serif;

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(35, 180, 105, 0.09),
            transparent 35%
        ),
        var(--bg-main);

    color: var(--text-primary);

    line-height: 1.6;

    overflow-x: hidden;

}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* =========================================================
   3. CONTAINER
   ========================================================= */

.section-container,
.nav-container,
.hero-container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: auto;

}


/* =========================================================
   4. NAVBAR
   ========================================================= */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(16, 35, 26, 0.08);

}

.nav-container {

    height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* Logo */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-family: "Manrope", sans-serif;

    font-size: 21px;

    font-weight: 800;

    letter-spacing: -0.5px;

}

.logo-mark {

    width: 36px;
    height: 36px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        var(--green),
        var(--green-dark)
    );

    color: #ffffff;

    font-weight: 900;

    box-shadow:
        0 0 25px rgba(7,136,63,0.25);

}

.logo-text span {
    color: var(--green);
}


/* Navigation */

.nav-links {

    display: flex;

    align-items: center;

    gap: 34px;

}

.nav-links a {

    color: var(--text-secondary);

    font-size: 14px;

    font-weight: 500;

    transition: 0.3s ease;

}

.nav-links a:hover,
.nav-links a.active {

    color: var(--text-primary);

}


/* Navigation actions */

.nav-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}

.login-btn {

    padding: 10px 18px;

    font-size: 14px;

    color: var(--text-secondary);

    transition: 0.3s;

}

.login-btn:hover {
    color: white;
}


.buy-btn {

    padding: 11px 20px;

    border-radius: 100px;

    background: var(--green);

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    transition: 0.3s ease;

}

.buy-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(7,136,63,0.22);

}


/* Mobile menu */

.mobile-menu-btn {

    display: none;

    background: none;

    border: none;

    color: var(--text-primary);

    font-size: 25px;

    cursor: pointer;

}


/* =========================================================
   5. HERO
   ========================================================= */

.hero {

    min-height: 100vh;

    padding-top: 82px;

    position: relative;

    overflow: hidden;

}


.hero-background {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 70% 45%,
            rgba(7,136,63,0.13),
            transparent 30%
        ),

        radial-gradient(
            circle at 20% 20%,
            rgba(5,107,50,0.08),
            transparent 30%
        );

    pointer-events: none;

}


.hero-container {

    min-height: calc(100vh - 82px);

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 60px;

}


/* Hero content */

.hero-content {

    position: relative;

    z-index: 2;

    padding: 70px 0;

}


.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

    border: 1px solid rgba(7,136,63,0.2);

    background: rgba(7,136,63,0.05);

    border-radius: 100px;

    color: var(--green-light);

    font-size: 12px;

    font-weight: 600;

    margin-bottom: 25px;

}


.status-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 12px var(--green);

}


.hero h1 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        48px,
        6vw,
        78px
    );

    line-height: 1.02;

    letter-spacing: -3px;

    max-width: 720px;

    margin-bottom: 28px;

}

.hero h1 span {

    display: block;

    background: linear-gradient(
        100deg,
        var(--green),
        #9cf7c4
    );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

}


.hero-description {

    max-width: 570px;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 35px;

}


/* Hero buttons */

.hero-buttons {

    display: flex;

    gap: 13px;

    flex-wrap: wrap;

}


.primary-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    padding: 14px 22px;

    border-radius: 100px;

    background: var(--green);

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    transition: 0.3s ease;

}

.primary-btn span {

    font-size: 19px;

    transition: 0.3s ease;

}

.primary-btn:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(7,136,63,0.2);

}

.primary-btn:hover span {
    transform: translateX(4px);
}


.secondary-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 13px 21px;

    border-radius: 100px;

    border: 1px solid var(--border);

    background: rgba(16, 35, 26, 0.025);

    color: var(--text-primary);

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s ease;

}

.secondary-btn:hover {

    border-color:
        rgba(7,136,63,0.35);

    background:
        rgba(7,136,63,0.06);

    transform: translateY(-2px);

}


/* Trust */

.hero-trust {

    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 55px;

}

.trust-item {

    display: flex;

    flex-direction: column;

    gap: 2px;

}

.trust-item strong {

    font-size: 12px;

    font-weight: 700;

}

.trust-item span {

    font-size: 10px;

    color: var(--text-muted);

}

.trust-divider {

    width: 1px;

    height: 28px;

    background: var(--border);

}


/* =========================================================
   6. HERO DEVICE VISUAL
   ========================================================= */

.hero-visual {

    position: relative;

    min-height: 600px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.glow-circle {

    position: absolute;

    width: 440px;
    height: 440px;

    border-radius: 50%;

    background:

        radial-gradient(
            circle,
            rgba(7,136,63,0.14),
            transparent 65%
        );

    filter: blur(8px);

}


/* Device */

.device-container {

    position: relative;

    z-index: 2;

    animation: floating 6s ease-in-out infinite;

}


@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

}


.device-placeholder {

    width: 265px;
    height: 390px;

    border-radius: 30px;

    background:

        linear-gradient(
            145deg,
            #18241e,
            #080d0a
        );

    border: 1px solid rgba(255,255,255,0.13);

    box-shadow:

        0 40px 100px rgba(0,0,0,0.55),

        inset 0 1px 0
        rgba(255,255,255,0.08);

    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}


.device-top {

    font-size: 10px;

    letter-spacing: 3px;

    color: var(--green);

    font-weight: 800;

}


.device-screen {

    height: 205px;

    border-radius: 18px;

    background:

        radial-gradient(
            circle at 50% 20%,
            rgba(7,136,63,0.12),
            transparent 70%
        ),

        #050906;

    border: 1px solid rgba(7,136,63,0.15);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    box-shadow:

        inset 0 0 35px
        rgba(7,136,63,0.04);

}


.screen-title {

    font-size: 9px;

    letter-spacing: 2px;

    color: var(--text-muted);

    margin-bottom: 15px;

}


.screen-value {

    font-size: 48px;

    font-weight: 700;

    color: white;

    letter-spacing: -2px;

}


.screen-value small {

    font-size: 13px;

    color: var(--text-muted);

}


.screen-status {

    margin-top: 13px;

    font-size: 10px;

    color: var(--green);

}


.device-bottom {

    font-size: 8px;

    letter-spacing: 2px;

    color: var(--text-muted);

    text-align: center;

}


/* Floating cards */

.floating-card {

    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 16px;

    min-width: 150px;

    border-radius: 14px;

    background: rgba(15,28,21,0.82);

    border: 1px solid rgba(16, 35, 26, 0.12);

    backdrop-filter: blur(14px);

    box-shadow: var(--shadow);

}


.floating-card span {

    display: block;

    font-size: 9px;

    color: var(--text-muted);

}


.floating-card strong {

    display: block;

    margin-top: 2px;

    font-size: 15px;

}


.floating-icon {

    width: 32px;
    height: 32px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    background:
        rgba(7,136,63,0.08);

}


.temperature-card {

    top: 21%;

    left: 3%;

}


.humidity-card {

    top: 57%;

    right: 0;

}


.vpd-card {

    bottom: 13%;

    left: 8%;

}


/* =========================================================
   7. SECTION COMMON
   ========================================================= */

section {

    position: relative;

}


.section-heading {

    margin-bottom: 50px;

}

.section-heading.center {

    text-align: center;

    max-width: 680px;

    margin-left: auto;
    margin-right: auto;

}


.section-label {

    display: inline-block;

    margin-bottom: 15px;

    font-size: 11px;

    letter-spacing: 2.5px;

    color: var(--green);

    font-weight: 700;

}


.section-heading h2,
.about-content h2,
.product-header h2,
.cta-content h2 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        34px,
        4vw,
        52px
    );

    line-height: 1.1;

    letter-spacing: -2px;

}


.section-heading h2 span,
.about-content h2 span,
.product-header h2 span,
.cta-content h2 span {

    color: var(--green);

}


.section-heading p {

    margin-top: 18px;

    color: var(--text-secondary);

    font-size: 15px;

}


/* =========================================================
   8. CLIMATE SECTION
   ========================================================= */

.climate-section {

    padding: 120px 0;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(16, 35, 26, 0.018),
            transparent
        );

}


.climate-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

}


.climate-card {

    padding: 27px;

    min-height: 240px;

    border-radius: var(--radius-md);

    border: 1px solid var(--border);

    background: var(--bg-card);

    backdrop-filter: blur(12px);

    transition: 0.4s ease;

}


.climate-card:hover {

    transform: translateY(-6px);

    border-color:
        rgba(7,136,63,0.22);

}


.highlight-card {

    background:

        linear-gradient(
            145deg,
            rgba(7,136,63,0.07),
            rgba(16, 35, 26, 0.025)
        );

}


.card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: var(--text-secondary);

    font-size: 12px;

}


.card-icon {

    font-size: 18px;

}


.climate-value {

    display: block;

    margin-top: 28px;

    font-family: "Manrope", sans-serif;

    font-size: 48px;

    line-height: 1;

    letter-spacing: -2px;

}


.climate-value span {

    font-size: 17px;

    color: var(--text-secondary);

    letter-spacing: 0;

}


.climate-card small {

    display: block;

    margin-top: 15px;

    color: var(--text-muted);

    font-size: 10px;

}


/* Mini chart */

.mini-chart {

    display: flex;

    align-items: end;

    gap: 4px;

    height: 30px;

    margin-top: 24px;

}


.mini-chart div {

    flex: 1;

    border-radius: 4px 4px 0 0;

    background:
        rgba(7,136,63,0.35);

}


.mini-chart div:nth-child(1) {
    height: 35%;
}

.mini-chart div:nth-child(2) {
    height: 55%;
}

.mini-chart div:nth-child(3) {
    height: 42%;
}

.mini-chart div:nth-child(4) {
    height: 72%;
}

.mini-chart div:nth-child(5) {
    height: 60%;
}

.mini-chart div:nth-child(6) {
    height: 85%;
}

.mini-chart div:nth-child(7) {
    height: 70%;
}

.mini-chart div:nth-child(8) {
    height: 95%;
}


/* =========================================================
   9. ABOUT PREVIEW
   ========================================================= */

.about-preview {

    padding: 130px 0;

}


.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;

}


/* About visual */

.about-visual {

    min-height: 430px;

    display: grid;

    place-items: center;

}


.about-box {

    width: min(100%, 480px);

    min-height: 350px;

    border-radius: 30px;

    border: 1px solid var(--border);

    background:

        radial-gradient(
            circle at center,
            rgba(7,136,63,0.09),
            transparent 60%
        ),

        rgba(16, 35, 26, 0.025);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    box-shadow: var(--shadow);

}


.about-symbol {

    width: 70px;
    height: 70px;

    border-radius: 20px;

    display: grid;

    place-items: center;

    font-size: 35px;

    color: var(--green);

    border: 1px solid
        rgba(7,136,63,0.25);

    background:
        rgba(7,136,63,0.05);

    margin-bottom: 35px;

}


.about-equation {

    display: flex;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;

    justify-content: center;

    font-size: 16px;

}


.about-equation b {

    color: var(--green);

}


.about-result {

    margin-top: 35px;

    padding: 12px 22px;

    border-radius: 100px;

    background:
        rgba(7,136,63,0.08);

    color: var(--green-light);

    font-size: 12px;

    font-weight: 700;

}


/* About text */

.about-content p {

    color: var(--text-secondary);

    font-size: 15px;

    line-height: 1.8;

    margin-top: 20px;

}


.text-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 30px;

    color: var(--green);

    font-size: 13px;

    font-weight: 700;

}


.text-link span {

    font-size: 18px;

    transition: 0.3s;

}


.text-link:hover span {

    transform: translateX(5px);

}


/* =========================================================
   10. PRODUCT
   ========================================================= */

.product-preview {

    padding: 130px 0;

    background:

        linear-gradient(
            180deg,
            rgba(16, 35, 26, 0.018),
            transparent
        );

}


.product-header {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 30px;

    margin-bottom: 60px;

}


.product-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;

}


/* Product image */

.product-image {

    min-height: 500px;

    display: grid;

    place-items: center;

    border-radius: 30px;

    border: 1px solid var(--border);

    background:

        radial-gradient(
            circle,
            rgba(7,136,63,0.08),
            transparent 60%
        ),

        rgba(255,255,255,0.02);

}


.product-device {

    width: 230px;
    height: 330px;

    border-radius: 27px;

    background:
        linear-gradient(
            145deg,
            #1b2820,
            #070c09
        );

    border: 1px solid
        rgba(255,255,255,0.12);

    box-shadow:
        0 40px 80px rgba(0,0,0,0.5);

    padding: 24px;

}


.device-logo {

    color: var(--green);

    font-size: 11px;

    letter-spacing: 2px;

    font-weight: 800;

}


.product-display {

    margin-top: 90px;

    display: flex;

    flex-direction: column;

    gap: 10px;

    padding: 18px;

    border-radius: 15px;

    background: #050906;

    border: 1px solid
        rgba(7,136,63,0.12);

}


.product-display span {

    font-size: 12px;

    color: var(--text-secondary);

}


/* Product information */

.product-info > p {

    color: var(--text-secondary);

    font-size: 16px;

    margin-bottom: 35px;

}


.feature-list {

    display: flex;

    flex-direction: column;

    margin-bottom: 35px;

}


.feature-item {

    display: grid;

    grid-template-columns: 45px 1fr;

    gap: 15px;

    padding: 18px 0;

    border-bottom: 1px solid var(--border);

}


.feature-item > span {

    color: var(--green);

    font-size: 11px;

    font-weight: 700;

}


.feature-item strong {

    font-size: 13px;

}


.feature-item p {

    margin-top: 4px;

    color: var(--text-muted);

    font-size: 11px;

}


/* =========================================================
   11. RESEARCH
   ========================================================= */

.research-section {

    padding: 130px 0;

}


.research-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

}


.research-card {

    position: relative;

    min-height: 370px;

    padding: 30px;

    border-radius: var(--radius-md);

    border: 1px solid var(--border);

    background:

        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.92),
            rgba(16, 35, 26, 0.018)
        );

    transition: 0.4s ease;

    overflow: hidden;

}


.research-card::before {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    top: -100px;
    right: -100px;

    background:
        rgba(7,136,63,0.07);

    filter: blur(20px);

}


.research-card:hover {

    transform: translateY(-7px);

    border-color:
        rgba(7,136,63,0.2);

}


.research-number {

    font-family: "Manrope", sans-serif;

    font-size: 45px;

    font-weight: 800;

    color:
        rgba(7,136,63,0.12);

    margin-bottom: 35px;

}


.research-category {

    font-size: 9px;

    letter-spacing: 2px;

    color: var(--green);

    font-weight: 700;

}


.research-card h3 {

    margin-top: 13px;

    font-family: "Manrope", sans-serif;

    font-size: 22px;

    line-height: 1.25;

    letter-spacing: -0.7px;

}


.research-card p {

    margin-top: 15px;

    color: var(--text-muted);

    font-size: 12px;

    line-height: 1.7;

}


.article-link {

    position: absolute;

    bottom: 28px;

    color: var(--green);

    font-size: 12px;

    font-weight: 700;

}


.research-more {

    display: flex;

    justify-content: center;

    margin-top: 45px;

}


/* =========================================================
   12. CTA
   ========================================================= */

.cta-section {

    padding: 150px 0;

    overflow: hidden;

}


.cta-glow {

    position: absolute;

    width: 600px;
    height: 300px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(
            ellipse,
            rgba(7,136,63,0.12),
            transparent 65%
        );

    pointer-events: none;

}


.cta-content {

    position: relative;

    z-index: 2;

    text-align: center;

    max-width: 750px;

}


.cta-content h2 {

    margin-bottom: 20px;

}


.cta-content p {

    color: var(--text-secondary);

    max-width: 570px;

    margin: auto;

    font-size: 15px;

}


.cta-buttons {

    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 30px;

}


/* =========================================================
   13. FOOTER
   ========================================================= */

.footer {

    padding-top: 80px;

    border-top: 1px solid var(--border);

    background: #eaf2ed;

}


.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 70px;

}


.footer-brand p {

    max-width: 280px;

    margin-top: 18px;

    color: var(--text-muted);

    font-size: 12px;

    line-height: 1.7;

}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 11px;

}


.footer-column h4 {

    margin-bottom: 8px;

    font-size: 12px;

}


.footer-column a {

    color: var(--text-muted);

    font-size: 11px;

    transition: 0.3s;

}


.footer-column a:hover {

    color: var(--green);

}


.footer-bottom {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 20px 0;

    border-top: 1px solid var(--border);

    color: var(--text-muted);

    font-size: 9px;

}


/* =========================================================
   14. SCROLL ANIMATION
   ========================================================= */

.reveal {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;

}


.reveal.visible {

    opacity: 1;

    transform: translateY(0);

}


/* =========================================================
   15. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {


    .nav-links,
    .nav-actions {

        display: none;

    }


    .mobile-menu-btn {

        display: block;

    }


    .hero-container {

        grid-template-columns: 1fr;

        text-align: center;

    }


    .hero-content {

        padding-bottom: 20px;

    }


    .hero-description {

        margin-left: auto;
        margin-right: auto;

    }


    .hero-buttons {

        justify-content: center;

    }


    .hero-trust {

        justify-content: center;

    }


    .hero-visual {

        min-height: 500px;

    }


    .climate-grid,
    .research-grid {

        grid-template-columns: 1fr 1fr;

    }


    .about-grid,
    .product-grid {

        grid-template-columns: 1fr;

    }


    .about-content {

        text-align: center;

    }


    .product-header {

        align-items: start;

        flex-direction: column;

    }


    .footer-grid {

        grid-template-columns:
            1fr 1fr;

    }

}


/* =========================================================
   16. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 600px) {


    .section-container,
    .nav-container,
    .hero-container {

        width:
            min(
                calc(100% - 28px),
                var(--container)
            );

    }


    .nav-container {

        height: 70px;

    }


    .hero {

        padding-top: 70px;

    }


    .hero-container {

        min-height: auto;

    }


    .hero-content {

        padding-top: 70px;

    }


    .hero h1 {

        font-size: 45px;

        letter-spacing: -2px;

    }


    .hero-description {

        font-size: 14px;

    }


    .hero-trust {

        gap: 10px;

    }


    .trust-item span {

        font-size: 8px;

    }


    .trust-divider {

        height: 25px;

    }


    .hero-visual {

        min-height: 430px;

    }


    .device-placeholder {

        width: 220px;
        height: 325px;

    }


    .screen-value {

        font-size: 40px;

    }


    .floating-card {

        transform: scale(0.85);

    }


    .temperature-card {

        left: -8%;

    }


    .humidity-card {

        right: -8%;

    }


    .vpd-card {

        left: -5%;

    }


    .climate-section,
    .about-preview,
    .product-preview,
    .research-section {

        padding: 90px 0;

    }


    .climate-grid,
    .research-grid {

        grid-template-columns: 1fr;

    }


    .section-heading h2,
    .about-content h2,
    .product-header h2,
    .cta-content h2 {

        font-size: 34px;

        letter-spacing: -1.5px;

    }


    .about-box {

        min-height: 300px;

    }


    .about-equation {

        font-size: 13px;

    }


    .product-image {

        min-height: 400px;

    }


    .cta-section {

        padding: 100px 0;

    }


    .cta-buttons {

        flex-direction: column;

        align-items: center;

    }


    .footer-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .footer-bottom {

        flex-direction: column;

    }

}
/* =========================================================
   ABOUT PAGE
========================================================= */

.page-hero {

    min-height: 65vh;

    padding-top: 82px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

}


.page-hero::before {

    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -200px;
    top: 0;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(7,136,63,0.12),
            transparent 65%
        );

    pointer-events: none;

}


.page-hero-content {

    max-width: 800px;

    padding: 100px 0 80px;

}


.page-hero-content h1 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        48px,
        6vw,
        75px
    );

    line-height: 1.03;

    letter-spacing: -3px;

}


.page-hero-content h1 span {

    display: block;

    color: var(--green);

}


.page-hero-content p {

    max-width: 650px;

    margin-top: 25px;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 1.8;

}


/* =========================================================
   SCIENCE CARD
========================================================= */

.science-card {

    width: min(100%, 430px);

    padding: 35px;

    border-radius: 28px;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            rgba(7,136,63,0.06),
            rgba(16, 35, 26, 0.025)
        );

    box-shadow: var(--shadow);

}


.science-item {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px;

    border-radius: 15px;

    background:
        rgba(16, 35, 26, 0.035);

}


.science-icon {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background:
        rgba(7,136,63,0.08);

}


.science-item strong {

    display: block;

    font-size: 14px;

}


.science-item small {

    display: block;

    margin-top: 3px;

    color: var(--text-muted);

    font-size: 10px;

}


.science-operator {

    height: 30px;

    display: grid;

    place-items: center;

    color: var(--green);

    font-size: 18px;

}


.science-result {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 25px;

    padding: 17px;

    border-radius: 15px;

    background:
        rgba(7,136,63,0.07);

    border: 1px solid
        rgba(7,136,63,0.12);

}


.science-result span {

    color: var(--green);

}


.science-result strong {

    color: var(--green-light);

    font-size: 13px;

}


/* =========================================================
   WHY
========================================================= */

.why-section {

    padding: 120px 0;

    background:
        rgba(16, 35, 26, 0.018);

}


.why-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

}


.why-card {

    position: relative;

    padding: 28px;

    min-height: 280px;

    border-radius: 20px;

    border: 1px solid var(--border);

    background:
        rgba(16, 35, 26, 0.025);

    transition: 0.35s ease;

}


.why-card:hover {

    transform: translateY(-6px);

    border-color:
        rgba(7,136,63,0.2);

}


.why-number {

    font-size: 11px;

    color: var(--green);

    font-weight: 700;

}


.why-icon {

    margin-top: 35px;

    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 14px;

    background:
        rgba(7,136,63,0.08);

    color: var(--green);

    font-size: 20px;

}


.why-card h3 {

    margin-top: 22px;

    font-family: "Manrope", sans-serif;

    font-size: 20px;

}


.why-card p {

    margin-top: 10px;

    color: var(--text-muted);

    font-size: 12px;

    line-height: 1.7;

}


/* =========================================================
   FOCUS
========================================================= */

.focus-section {

    padding: 130px 0;

}


.focus-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;

}


.focus-card {

    position: relative;

    padding: 35px;

    min-height: 260px;

    border-radius: 22px;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            rgba(16, 35, 26, 0.04),
            rgba(16, 35, 26, 0.018)
        );

    overflow: hidden;

    transition: 0.35s ease;

}


.focus-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(7,136,63,0.2);

}


.focus-number {

    position: absolute;

    right: 25px;
    top: 20px;

    font-family: "Manrope", sans-serif;

    font-size: 50px;

    font-weight: 800;

    color:
        rgba(7,136,63,0.08);

}


.focus-icon {

    font-size: 25px;

}


.focus-card h3 {

    margin-top: 20px;

    font-family: "Manrope", sans-serif;

    font-size: 23px;

}


.focus-card p {

    max-width: 500px;

    margin-top: 12px;

    color: var(--text-muted);

    font-size: 13px;

    line-height: 1.8;

}


/* =========================================================
   APPROACH
========================================================= */

.approach-section {

    padding: 100px 0;

}


.approach-box {

    padding: 60px;

    border-radius: 30px;

    border: 1px solid var(--border);

    background:

        radial-gradient(
            circle at 80% 30%,
            rgba(7,136,63,0.07),
            transparent 40%
        ),

        rgba(16, 35, 26, 0.025);

}


.approach-content {

    max-width: 650px;

}


.approach-content p {

    margin-top: 20px;

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.8;

}


.approach-flow {

    display: flex;

    align-items: center;

    margin-top: 60px;

}


.flow-step {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    min-width: 100px;

}


.flow-circle {

    width: 55px;
    height: 55px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    border: 1px solid
        rgba(7,136,63,0.3);

    background:
        rgba(7,136,63,0.07);

    color: var(--green);

    font-size: 11px;

    font-weight: 700;

}


.flow-step strong {

    margin-top: 12px;

    font-size: 12px;

}


.flow-step span {

    margin-top: 3px;

    color: var(--text-muted);

    font-size: 9px;

}


.flow-line {

    flex: 1;

    height: 1px;

    background:
        rgba(7,136,63,0.18);

}


/* =========================================================
   RESEARCH BANNER
========================================================= */

.about-research {

    padding: 70px 0 130px;

}


.research-banner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 50px;

    border-radius: 25px;

    border: 1px solid
        rgba(7,136,63,0.14);

    background:

        linear-gradient(
            100deg,
            rgba(7,136,63,0.06),
            rgba(255,255,255,0.02)
        );

}


.research-banner h2 {

    font-family: "Manrope", sans-serif;

    font-size: 38px;

    letter-spacing: -1.5px;

}


.research-banner h2 span {

    color: var(--green);

}


.research-banner p {

    margin-top: 12px;

    color: var(--text-secondary);

    font-size: 13px;

}


/* =========================================================
   ABOUT RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .why-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .about-grid {

        gap: 50px;

    }

    .approach-flow {

        flex-wrap: wrap;

        gap: 20px;

    }

    .flow-line {

        min-width: 40px;

    }

    .research-banner {

        flex-direction: column;

        align-items: flex-start;

    }

}


@media (max-width: 600px) {

    .page-hero {

        min-height: 70vh;

    }

    .page-hero-content {

        padding-top: 90px;

    }

    .page-hero-content h1 {

        font-size: 45px;

    }

    .page-hero-content p {

        font-size: 14px;

    }

    .why-grid {

        grid-template-columns: 1fr;

    }

    .focus-grid {

        grid-template-columns: 1fr;

    }

    .approach-box {

        padding: 30px 22px;

    }

    .approach-flow {

        flex-direction: column;

        align-items: center;

    }

    .flow-line {

        width: 1px;

        height: 35px;

        min-width: 0;

    }

    .research-banner {

        padding: 30px;

    }

    .research-banner h2 {

        font-size: 30px;

    }

}

/* =========================================================
   PRODUCT PAGE
========================================================= */

.product-hero {

    min-height: 100vh;

    padding-top: 82px;

    display: flex;

    align-items: center;

    overflow: hidden;

}


.product-hero-grid {

    min-height: calc(100vh - 82px);

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;

}


.product-hero-content {

    padding: 70px 0;

}


.product-hero-content h1 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        48px,
        6vw,
        72px
    );

    line-height: 1.03;

    letter-spacing: -3px;

}


.product-hero-content h1 span {

    display: block;

    color: var(--green);

}


.product-hero-content > p {

    max-width: 570px;

    margin-top: 25px;

    color: var(--text-secondary);

    font-size: 16px;

    line-height: 1.8;

}


.product-hero-buttons {

    display: flex;

    gap: 12px;

    margin-top: 32px;

    flex-wrap: wrap;

}


.product-mini-info {

    display: flex;

    gap: 28px;

    margin-top: 50px;

}


.product-mini-info div {

    display: flex;

    flex-direction: column;

}


.product-mini-info strong {

    font-size: 12px;

}


.product-mini-info span {

    margin-top: 3px;

    color: var(--text-muted);

    font-size: 9px;

}


/* =========================================================
   PRODUCT HERO DEVICE
========================================================= */

.product-hero-visual {

    position: relative;

    min-height: 650px;

    display: grid;

    place-items: center;

}


.product-glow {

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:

        radial-gradient(
            circle,
            rgba(7,136,63,0.15),
            transparent 65%
        );

    filter: blur(8px);

}


.product-device-large {

    position: relative;

    z-index: 2;

    width: 310px;

    height: 460px;

    padding: 28px;

    border-radius: 32px;

    background:

        linear-gradient(
            145deg,
            #1a2820,
            #060b08
        );

    border: 1px solid
        rgba(255,255,255,0.13);

    box-shadow:

        0 50px 110px
        rgba(0,0,0,0.55);

    animation:
        productFloat 6s ease-in-out infinite;

}


@keyframes productFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }

}


.large-device-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 10px;

    letter-spacing: 2px;

    color: var(--green);

    font-weight: 800;

}


.device-status {

    font-size: 8px;

    color: var(--green);

    letter-spacing: 1px;

}


.large-device-screen {

    margin-top: 65px;

    padding: 25px 20px;

    border-radius: 20px;

    background: #040806;

    border: 1px solid
        rgba(7,136,63,0.14);

}


.dashboard-mini-title {

    color: var(--text-muted);

    font-size: 8px;

    letter-spacing: 2px;

}


.large-temperature {

    margin-top: 20px;

    font-size: 58px;

    font-family: "Manrope", sans-serif;

    font-weight: 700;

    letter-spacing: -3px;

}


.large-temperature small {

    font-size: 14px;

    color: var(--text-muted);

    letter-spacing: 0;

}


.mini-metrics {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 25px;

}


.mini-metrics div {

    padding: 12px;

    border-radius: 10px;

    background:
        rgba(16, 35, 26, 0.035);

}


.mini-metrics span {

    display: block;

    color: var(--text-muted);

    font-size: 8px;

}


.mini-metrics strong {

    display: block;

    margin-top: 4px;

    font-size: 13px;

}


.screen-bar {

    height: 3px;

    margin-top: 25px;

    border-radius: 20px;

    background:
        rgba(255,255,255,0.06);

    overflow: hidden;

}


.screen-bar span {

    display: block;

    width: 68%;

    height: 100%;

    background: var(--green);

}


.large-device-footer {

    position: absolute;

    bottom: 25px;

    left: 0;

    width: 100%;

    text-align: center;

    font-size: 8px;

    letter-spacing: 2px;

    color: var(--text-muted);

}


.product-float-card {

    position: absolute;

    z-index: 5;

    min-width: 145px;

    padding: 14px 17px;

    border-radius: 14px;

    background:
        rgba(12,25,18,0.85);

    border: 1px solid var(--border);

    backdrop-filter: blur(15px);

    box-shadow: var(--shadow);

}


.product-float-card span {

    display: block;

    color: var(--text-muted);

    font-size: 9px;

}


.product-float-card strong {

    display: block;

    margin-top: 3px;

    font-size: 15px;

}


.product-float-top {

    top: 23%;

    left: 2%;

}


.product-float-bottom {

    bottom: 18%;

    right: 0;

}


/* =========================================================
   PRODUCT INTRO
========================================================= */

.product-intro {

    padding: 120px 0;

    background:
        rgba(16, 35, 26, 0.018);

}


.product-stat-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

}


.product-stat {

    padding: 30px;

    min-height: 230px;

    border-radius: 20px;

    border: 1px solid var(--border);

    background:
        rgba(16, 35, 26, 0.025);

}


.product-stat > strong {

    color: var(--green);

    font-size: 10px;

}


.product-stat h3 {

    margin-top: 45px;

    font-family: "Manrope", sans-serif;

    font-size: 20px;

}


.product-stat p {

    margin-top: 10px;

    color: var(--text-muted);

    font-size: 11px;

    line-height: 1.7;

}


/* =========================================================
   PRODUCT FEATURES
========================================================= */

.product-features {

    padding: 130px 0;

}


.product-feature-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

}


.product-feature-card {

    position: relative;

    min-height: 300px;

    padding: 30px;

    border-radius: 22px;

    border: 1px solid var(--border);

    background:
        rgba(16, 35, 26, 0.025);

    overflow: hidden;

    transition: 0.35s ease;

}


.product-feature-card:hover {

    transform: translateY(-6px);

    border-color:
        rgba(7,136,63,0.2);

}


.feature-highlight {

    background:

        linear-gradient(
            145deg,
            rgba(7,136,63,0.08),
            rgba(255,255,255,0.02)
        );

}


.feature-index {

    position: absolute;

    top: 25px;

    right: 25px;

    color:
        rgba(7,136,63,0.35);

    font-size: 10px;

}


.feature-large-icon {

    margin-top: 20px;

    font-size: 30px;

}


.product-feature-card h3 {

    margin-top: 25px;

    font-family: "Manrope", sans-serif;

    font-size: 22px;

}


.product-feature-card p {

    margin-top: 10px;

    color: var(--text-muted);

    font-size: 12px;

    line-height: 1.8;

}


/* =========================================================
   HOW IT WORKS
========================================================= */

.product-how {

    padding: 120px 0;

    background:
        rgba(16, 35, 26, 0.018);

}


.technology-flow {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

}


.technology-step {

    width: 200px;

    min-height: 250px;

    padding: 25px;

    text-align: center;

    border-radius: 20px;

    border: 1px solid var(--border);

    background:
        rgba(16, 35, 26, 0.025);

}


.technology-number {

    color: var(--green);

    font-size: 9px;

    font-weight: 700;

}


.technology-icon {

    margin-top: 28px;

    font-size: 27px;

}


.technology-step h3 {

    margin-top: 17px;

    font-family: "Manrope", sans-serif;

    font-size: 17px;

}


.technology-step p {

    margin-top: 8px;

    color: var(--text-muted);

    font-size: 10px;

    line-height: 1.7;

}


.technology-connector {

    color: var(--green);

    font-size: 22px;

}


/* =========================================================
   DASHBOARD
========================================================= */

.dashboard-preview {

    padding: 130px 0;

}


.dashboard-grid {

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    align-items: center;

    gap: 80px;

}


.dashboard-content p {

    margin-top: 20px;

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.8;

}


.dashboard-content .primary-btn {

    margin-top: 30px;

}


.dashboard-screen {

    padding: 25px;

    border-radius: 22px;

    border: 1px solid var(--border);

    background:
        #08120d;

    box-shadow: var(--shadow);

}


.dashboard-top {

    display: flex;

    justify-content: space-between;

    color: var(--green);

    font-size: 9px;

    font-weight: 700;

}


.dashboard-live {

    font-size: 8px;

}


.dashboard-title {

    margin-top: 25px;

    font-family: "Manrope", sans-serif;

    font-size: 23px;

}


.dashboard-metric-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-top: 25px;

}


.dashboard-metric {

    padding: 15px;

    border-radius: 12px;

    background:
        rgba(16, 35, 26, 0.035);

}


.dashboard-metric span {

    display: block;

    color: var(--text-muted);

    font-size: 8px;

}


.dashboard-metric strong {

    display: block;

    margin-top: 8px;

    font-size: 17px;

}


.dashboard-chart {

    margin-top: 25px;

    padding: 20px;

    height: 150px;

    border-radius: 15px;

    background:
        rgba(16, 35, 26, 0.025);

}


.chart-label {

    color: var(--text-muted);

    font-size: 9px;

}


.chart-line {

    height: 80px;

    margin-top: 20px;

    display: flex;

    align-items: end;

    gap: 5px;

}


.chart-line span {

    flex: 1;

    border-radius:
        4px 4px 0 0;

    background:
        rgba(7,136,63,0.3);

}


.chart-line span:nth-child(1) {
    height: 30%;
}

.chart-line span:nth-child(2) {
    height: 50%;
}

.chart-line span:nth-child(3) {
    height: 42%;
}

.chart-line span:nth-child(4) {
    height: 70%;
}

.chart-line span:nth-child(5) {
    height: 55%;
}

.chart-line span:nth-child(6) {
    height: 78%;
}

.chart-line span:nth-child(7) {
    height: 68%;
}

.chart-line span:nth-child(8) {
    height: 90%;
}


/* =========================================================
   BUY SECTION
========================================================= */

.product-buy-section {

    padding: 80px 0 130px;

}


.buy-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 55px;

    border-radius: 28px;

    border: 1px solid
        rgba(7,136,63,0.16);

    background:

        radial-gradient(
            circle at 80% 50%,
            rgba(7,136,63,0.08),
            transparent 45%
        ),

        rgba(16, 35, 26, 0.025);

}


.buy-box h2 {

    font-family: "Manrope", sans-serif;

    font-size: 40px;

    line-height: 1.1;

    letter-spacing: -1.5px;

}


.buy-box h2 span {

    color: var(--green);

}


.buy-box p {

    margin-top: 12px;

    color: var(--text-secondary);

    font-size: 12px;

}


.buy-actions {

    display: flex;

    gap: 10px;

    flex-shrink: 0;

}


/* =========================================================
   PRODUCT RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .product-hero-grid {

        grid-template-columns: 1fr;

        text-align: center;

    }

    .product-hero-content > p {

        margin-left: auto;
        margin-right: auto;

    }

    .product-hero-buttons {

        justify-content: center;

    }

    .product-mini-info {

        justify-content: center;

    }

    .product-stat-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .product-feature-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .technology-flow {

        flex-wrap: wrap;

    }

    .dashboard-grid {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 700px) {

    .product-hero {

        padding-top: 70px;

    }

    .product-hero-content {

        padding-top: 70px;

    }

    .product-hero-content h1 {

        font-size: 45px;

    }

    .product-hero-visual {

        min-height: 500px;

    }

    .product-device-large {

        width: 270px;

        height: 410px;

    }

    .product-float-top {

        left: -5%;

    }

    .product-float-bottom {

        right: -5%;

    }

    .product-stat-grid,
    .product-feature-grid {

        grid-template-columns: 1fr;

    }

    .technology-flow {

        flex-direction: column;

    }

    .technology-connector {

        transform:
            rotate(90deg);

    }

    .dashboard-metric-grid {

        grid-template-columns: 1fr;

    }

    .buy-box {

        flex-direction: column;

        align-items: flex-start;

        padding: 32px;

    }

    .buy-box h2 {

        font-size: 31px;

    }

    .buy-actions {

        flex-direction: column;

        width: 100%;

    }

}

/* =========================================================
   RESEARCH PAGE
========================================================= */

.research-introduction {

    padding: 100px 0;

}


.research-intro-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: start;

}


.research-intro-title h2 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        35px,
        4vw,
        50px
    );

    line-height: 1.1;

    letter-spacing: -2px;

}


.research-intro-title h2 span {

    color: var(--green);

}


.research-intro-text p {

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.9;

    margin-bottom: 20px;

}


/* =========================================================
   RESEARCH AREAS
========================================================= */

.research-areas {

    padding: 120px 0;

    background:
        rgba(16, 35, 26, 0.018);

}


.research-area-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

}


.research-area-card {

    position: relative;

    padding: 30px;

    min-height: 300px;

    border-radius: 20px;

    border: 1px solid var(--border);

    background:
        rgba(16, 35, 26, 0.025);

    transition: 0.35s ease;

}


.research-area-card:hover {

    transform: translateY(-6px);

    border-color:
        rgba(7,136,63,0.22);

}


.research-area-card > span {

    position: absolute;

    right: 25px;
    top: 20px;

    color:
        rgba(7,136,63,0.3);

    font-size: 10px;

    font-weight: 700;

}


.research-area-icon {

    margin-top: 25px;

    font-size: 28px;

}


.research-area-card h3 {

    margin-top: 25px;

    font-family: "Manrope", sans-serif;

    font-size: 19px;

    line-height: 1.3;

}


.research-area-card p {

    margin-top: 12px;

    color: var(--text-muted);

    font-size: 11px;

    line-height: 1.8;

}


/* =========================================================
   FEATURED RESEARCH
========================================================= */

.featured-research {

    padding: 130px 0;

}


.featured-research-card {

    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 470px;

    border-radius: 28px;

    overflow: hidden;

    border: 1px solid var(--border);

    background:
        rgba(16, 35, 26, 0.025);

}


.featured-research-visual {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px;

    background:

        radial-gradient(
            circle at center,
            rgba(7,136,63,0.09),
            transparent 65%
        );

}


.research-graph {

    width: 100%;

    max-width: 440px;

    height: 280px;

    padding: 25px;

    border-radius: 18px;

    border: 1px solid
        rgba(7,136,63,0.12);

    background:
        rgba(4,10,7,0.7);

}


.graph-title {

    color: var(--green);

    font-size: 9px;

    letter-spacing: 2px;

    font-weight: 700;

}


.graph-area {

    display: flex;

    height: 200px;

    margin-top: 20px;

}


.graph-y-axis {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 5px 10px 5px 0;

    color: var(--text-muted);

    font-size: 8px;

}


.graph-bars {

    flex: 1;

    display: flex;

    align-items: end;

    gap: 12px;

    border-left: 1px solid
        rgba(255,255,255,0.07);

    border-bottom: 1px solid
        rgba(255,255,255,0.07);

    padding-left: 15px;

}


.graph-bars i {

    flex: 1;

    display: block;

    border-radius:
        5px 5px 0 0;

    background:
        rgba(7,136,63,0.4);

}


.featured-research-content {

    padding: 55px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.featured-research-content h3 {

    margin-top: 15px;

    max-width: 480px;

    font-family: "Manrope", sans-serif;

    font-size: 34px;

    line-height: 1.15;

    letter-spacing: -1.3px;

}


.featured-research-content > p {

    max-width: 500px;

    margin-top: 18px;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.8;

}


.research-meta {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    margin-top: 25px;

}


.research-meta span {

    padding: 7px 11px;

    border-radius: 100px;

    border: 1px solid var(--border);

    color: var(--text-muted);

    font-size: 9px;

}


.featured-research-content .primary-btn {

    align-self: flex-start;

    margin-top: 30px;

}


/* =========================================================
   RESEARCH ARTICLES
========================================================= */

.research-articles {

    padding: 130px 0;

    background:
        rgba(16, 35, 26, 0.018);

}


.research-article-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;

}


.research-article-card {

    position: relative;

    min-height: 330px;

    padding: 30px;

    border-radius: 22px;

    border: 1px solid var(--border);

    background:
        rgba(16, 35, 26, 0.025);

    transition: 0.35s ease;

}


.research-article-card:hover {

    transform: translateY(-6px);

    border-color:
        rgba(7,136,63,0.2);

}


.article-top {

    display: flex;

    justify-content: space-between;

    color: var(--green);

    font-size: 9px;

    letter-spacing: 1.5px;

    font-weight: 700;

}


.article-top span:last-child {

    color: var(--text-muted);

}


.article-icon {

    margin-top: 40px;

    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 14px;

    background:
        rgba(7,136,63,0.07);

    color: var(--green);

    font-size: 20px;

}


.research-article-card h3 {

    max-width: 430px;

    margin-top: 22px;

    font-family: "Manrope", sans-serif;

    font-size: 23px;

    line-height: 1.25;

}


.research-article-card > p {

    max-width: 500px;

    margin-top: 12px;

    color: var(--text-muted);

    font-size: 12px;

    line-height: 1.8;

}


.article-bottom {

    position: absolute;

    left: 30px;
    right: 30px;
    bottom: 25px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-top: 15px;

    border-top: 1px solid var(--border);

}


.article-bottom span {

    color: var(--text-muted);

    font-size: 9px;

}


.article-bottom a {

    color: var(--green);

    font-size: 13px;

    font-weight: 700;

}


/* =========================================================
   RESEARCH NOTE
========================================================= */

.research-note {

    padding: 80px 0 130px;

}


.research-note-box {

    display: flex;

    align-items: center;

    gap: 35px;

    padding: 50px;

    border-radius: 25px;

    border: 1px solid
        rgba(7,136,63,0.14);

    background:

        linear-gradient(
            100deg,
            rgba(7,136,63,0.06),
            rgba(255,255,255,0.02)
        );

}


.research-note-icon {

    width: 65px;
    height: 65px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 18px;

    background:
        rgba(7,136,63,0.08);

    font-size: 27px;

}


.research-note-box h2 {

    font-family: "Manrope", sans-serif;

    font-size: 35px;

    letter-spacing: -1.3px;

}


.research-note-box h2 span {

    color: var(--green);

}


.research-note-box p {

    margin-top: 8px;

    color: var(--text-secondary);

    font-size: 12px;

}


/* =========================================================
   RESEARCH RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .research-area-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .featured-research-card {

        grid-template-columns: 1fr;

    }

    .research-intro-grid {

        gap: 50px;

    }

}


@media (max-width: 650px) {

    .research-introduction,
    .research-areas,
    .featured-research,
    .research-articles {

        padding: 90px 0;

    }

    .research-intro-grid {

        grid-template-columns: 1fr;

    }

    .research-area-grid,
    .research-article-grid {

        grid-template-columns: 1fr;

    }

    .featured-research-content {

        padding: 32px;

    }

    .featured-research-content h3 {

        font-size: 28px;

    }

    .featured-research-visual {

        padding: 25px;

    }

    .research-note-box {

        flex-direction: column;

        align-items: flex-start;

        padding: 32px;

    }

    .research-note-box h2 {

        font-size: 29px;

    }

}

/* =========================================================
   LIGHT THEME OVERRIDES
   ========================================================= */

body {
    background: var(--bg-main);
    color: var(--text-primary);
}

.navbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(16, 35, 26, 0.10);
    box-shadow: 0 4px 24px rgba(16, 35, 26, 0.06);
}

.nav-links a,
.login-btn {
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active,
.login-btn:hover {
    color: var(--green);
}

.buy-btn,
.primary-btn {
    background: var(--green);
    color: #ffffff;
}

.secondary-btn {
    background: #ffffff;
    color: var(--text-primary);
    border-color: var(--border);
}

.section-heading p,
.hero-description,
.about-content p,
.product-info > p,
.product-hero-content > p,
.cta-content p {
    color: var(--text-secondary);
}

.climate-card,
.research-card,
.product-stat,
.product-feature-card,
.technology-step,
.why-card,
.focus-card,
.science-card,
.research-area-card,
.research-article-card {
    background: #ffffff;
    border-color: var(--border);
    box-shadow: 0 10px 30px rgba(16, 35, 26, 0.055);
}

.climate-card:hover,
.research-card:hover,
.product-feature-card:hover,
.why-card:hover,
.focus-card:hover,
.research-area-card:hover,
.research-article-card:hover {
    border-color: rgba(7, 136, 63, 0.28);
    box-shadow: 0 16px 38px rgba(16, 35, 26, 0.09);
}

.about-box,
.approach-box,
.research-banner,
.research-note-box,
.buy-box,
.featured-research-card {
    background: #ffffff;
    border-color: var(--border);
    box-shadow: 0 12px 35px rgba(16, 35, 26, 0.055);
}

.page-hero::before {
    background: radial-gradient(
        circle,
        rgba(7, 136, 63, 0.10),
        transparent 65%
    );
}

.hero-background {
    background:
        radial-gradient(
            circle at 70% 45%,
            rgba(7, 136, 63, 0.09),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 20%,
            rgba(5, 107, 50, 0.06),
            transparent 30%
        );
}

.footer {
    background: #eaf2ed;
}

.footer-column a {
    color: var(--text-secondary);
}

.footer-column a:hover {
    color: var(--green);
}

/* Better contrast for light backgrounds */
.article-top span:last-child,
.article-bottom span {
    color: var(--text-secondary);
}

/* =========================================
   REAL CLIMASENSE HERO PRODUCT
========================================= */

.hero-product {
    width: 100%;
    max-width: 720px;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
}

.hero-product::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(7, 136, 63, 0.18),
            transparent 70%
        );

    filter: blur(20px);

    z-index: 0;
}

.hero-product img {
    position: relative;

    z-index: 1;

    width: 100%;
    height: auto;

    display: block;

    object-fit: contain;

    filter:
        drop-shadow(
            0 30px 45px
            rgba(16, 35, 26, 0.22)
        );

    transition:
        transform 0.5s ease;
}

.hero-product:hover img {
    transform:
        translateY(-8px)
        scale(1.015);
}


/* =========================================================
   CLIMASENSE HERO — FINAL PRODUCT COMPOSITION
   Uses a transparent product PNG + CSS environmental background.
   Optional photo background: images/greenhouse-bg.jpg
========================================================= */

.hero {
    min-height: 100vh;
    padding-top: 82px;
    position: relative;
    overflow: hidden;
    isolation: isolate;

    background:
        radial-gradient(circle at 78% 36%, rgba(78, 196, 119, 0.18) 0%, rgba(78, 196, 119, 0.07) 24%, transparent 50%),
        radial-gradient(circle at 92% 85%, rgba(15, 139, 70, 0.12) 0%, transparent 36%),
        linear-gradient(115deg, #f8fbf9 0%, #f3f8f5 46%, #eaf5ed 100%);
}

.hero::before {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    right: -240px;
    top: 70px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(92, 210, 132, 0.18) 0%,
            rgba(92, 210, 132, 0.08) 35%,
            transparent 70%);
    filter: blur(25px);
    pointer-events: none;
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    left: -170px;
    bottom: -230px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(37, 164, 88, 0.10),
        transparent 68%);
    filter: blur(25px);
    pointer-events: none;
    z-index: -1;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 1;

    background:
        radial-gradient(ellipse at 7% 72%, rgba(86, 183, 108, 0.12) 0%, transparent 24%),
        radial-gradient(ellipse at 98% 48%, rgba(74, 181, 105, 0.13) 0%, transparent 25%);
}

/* Soft blurred foliage shapes — gives the hero a photographic greenhouse feel
   even without an external background image. */
.hero-background::before,
.hero-background::after {
    content: "";
    position: absolute;
    filter: blur(18px);
    opacity: 0.34;
    pointer-events: none;
}

.hero-background::before {
    width: 360px;
    height: 220px;
    left: -80px;
    bottom: 15px;
    border-radius: 55% 45% 60% 40%;
    transform: rotate(-18deg);
    background:
        radial-gradient(ellipse at 25% 50%, rgba(38, 157, 79, .35) 0 12%, transparent 13%),
        radial-gradient(ellipse at 48% 35%, rgba(52, 180, 92, .30) 0 13%, transparent 14%),
        radial-gradient(ellipse at 70% 58%, rgba(35, 145, 72, .28) 0 15%, transparent 16%);
}

.hero-background::after {
    width: 430px;
    height: 250px;
    right: -100px;
    bottom: 5px;
    border-radius: 50%;
    transform: rotate(12deg);
    background:
        radial-gradient(ellipse at 20% 55%, rgba(38, 157, 79, .26) 0 13%, transparent 14%),
        radial-gradient(ellipse at 45% 35%, rgba(52, 180, 92, .32) 0 14%, transparent 15%),
        radial-gradient(ellipse at 72% 62%, rgba(35, 145, 72, .25) 0 16%, transparent 17%);
}

.hero-container {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 35px;
}

.hero-content {
    position: relative;
    z-index: 5;
    padding: 60px 0 70px;
}

.hero h1 {
    max-width: 680px;
    color: #0d2118;
}

.hero h1 span {
    background: linear-gradient(100deg, #07883f 0%, #42bf79 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    color: #40574b;
    max-width: 590px;
}

.hero-visual {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-product-stage {
    position: relative;
    width: min(100%, 720px);
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-glow {
    position: absolute;
    width: 580px;
    height: 580px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(48, 190, 105, 0.20) 0%,
            rgba(48, 190, 105, 0.10) 36%,
            transparent 70%);
    filter: blur(18px);
    z-index: 0;
}

.hero-ring {
    position: absolute;
    border: 1px solid rgba(7, 136, 63, 0.13);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-ring-one {
    width: 590px;
    height: 590px;
    transform: rotate(-16deg);
}

.hero-ring-two {
    width: 470px;
    height: 470px;
    border-color: rgba(7, 136, 63, 0.08);
    transform: rotate(18deg);
}

.hero-product-image {
    position: relative;
    z-index: 2;
    display: block;
    width: min(100%, 650px);
    max-height: 610px;
    height: auto;
    object-fit: contain;

    /* IMPORTANT: transparent PNG, so no rectangular image box */
    mix-blend-mode: normal;

    filter:
        drop-shadow(0 30px 35px rgba(16, 35, 26, 0.16))
        drop-shadow(0 8px 12px rgba(7, 136, 63, 0.08));

    animation: climasenseProductFloat 6s ease-in-out infinite;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.hero-product-stage:hover .hero-product-image {
    transform: translateY(-8px) scale(1.015);
    filter:
        drop-shadow(0 35px 42px rgba(16, 35, 26, 0.18))
        drop-shadow(0 10px 15px rgba(7, 136, 63, 0.10));
}

@keyframes climasenseProductFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.hero-leaf {
    position: absolute;
    z-index: 1;
    font-size: 34px;
    opacity: 0.52;
    filter: blur(0.4px);
    pointer-events: none;
    animation: leafFloat 7s ease-in-out infinite;
}

.leaf-one {
    top: 11%;
    left: 8%;
    transform: rotate(-25deg);
}

.leaf-two {
    top: 26%;
    right: 5%;
    font-size: 42px;
    animation-delay: -2s;
    transform: rotate(35deg);
}

.leaf-three {
    bottom: 14%;
    left: 17%;
    font-size: 27px;
    animation-delay: -4s;
    transform: rotate(15deg);
}

@keyframes leafFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(-10deg);
    }
    50% {
        transform: translate3d(0, -12px, 0) rotate(5deg);
    }
}

/* Floating climate cards */
.hero-data-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 164px;
    padding: 14px 17px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow:
        0 20px 45px rgba(26, 73, 45, 0.13),
        0 3px 12px rgba(26, 73, 45, 0.06);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    animation: cardFloat 5.5s ease-in-out infinite;
}

.hero-data-card small {
    display: block;
    margin-bottom: 2px;
    color: #6b7c73;
    font-size: 11px;
    line-height: 1.2;
}

.hero-data-card strong {
    display: block;
    color: #12261c;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}

.hero-data-card span {
    display: block;
    margin-top: 3px;
    color: #07883f;
    font-size: 10px;
    font-weight: 700;
}

.data-card-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(7, 136, 63, 0.08);
    font-size: 18px;
}

.temperature-card {
    top: 8%;
    left: 4%;
}

.humidity-card {
    top: 27%;
    right: 0;
    animation-delay: -1.5s;
}

.vpd-card {
    bottom: 10%;
    right: 9%;
    animation-delay: -3s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

/* Slightly more premium trust row */
.hero-trust {
    margin-top: 48px;
}

.trust-item strong {
    color: #193027;
}

.trust-item span {
    color: #66786f;
}

/* Tablet */
@media (max-width: 900px) {
    .hero {
        padding-top: 70px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .hero-content {
        padding: 65px 0 20px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        min-height: 560px;
    }

    .hero-product-stage {
        min-height: 550px;
    }

    .hero-product-image {
        width: min(100%, 600px);
    }

    .temperature-card {
        left: 3%;
        top: 8%;
    }

    .humidity-card {
        right: 2%;
        top: 28%;
    }

    .vpd-card {
        left: 9%;
        right: auto;
        bottom: 9%;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .hero {
        padding-top: 70px;
    }

    .hero-content {
        padding-top: 50px;
    }

    .hero h1 {
        font-size: 45px;
        letter-spacing: -2px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .hero-product-stage {
        min-height: 420px;
    }

    .hero-glow {
        width: 330px;
        height: 330px;
    }

    .hero-ring-one {
        width: 350px;
        height: 350px;
    }

    .hero-ring-two {
        width: 280px;
        height: 280px;
    }

    .hero-product-image {
        width: 100%;
        max-width: 430px;
        max-height: 390px;
    }

    .hero-data-card {
        min-width: 128px;
        padding: 9px 11px;
        gap: 8px;
        border-radius: 13px;
        transform: scale(0.82);
    }

    .data-card-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 9px;
        font-size: 14px;
    }

    .hero-data-card strong {
        font-size: 15px;
    }

    .hero-data-card small {
        font-size: 9px;
    }

    .hero-data-card span {
        font-size: 8px;
    }

    .temperature-card {
        top: 3%;
        left: -7%;
    }

    .humidity-card {
        top: 31%;
        right: -8%;
    }

    .vpd-card {
        bottom: 4%;
        left: -5%;
    }

    .hero-leaf {
        font-size: 24px;
    }
}

/* =====================================================
   PRODUCT HERO - VIDEO
===================================================== */

.product-hero-visual {
    position: relative;
    width: 100%;
    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;
}


/* Soft background glow */

.product-hero-visual::before {
    content: "";

    position: absolute;

    width: 560px;
    height: 560px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(40, 190, 105, 0.18) 0%,
            rgba(40, 190, 105, 0.08) 38%,
            transparent 72%
        );

    filter: blur(25px);

    z-index: 0;
}


/* Video container */

.product-video-wrapper {
    position: relative;

    width: min(100%, 650px);
    height: 550px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 32px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(7, 136, 63, 0.12),
            transparent 70%
        );

    z-index: 1;
}


/* Actual video */

.product-hero-video {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 32px;

    display: block;

    filter:
        saturate(1.05)
        contrast(1.02);

    box-shadow:
        0 30px 70px
        rgba(16, 35, 26, 0.18);
}


/* Soft overlay over video */

.video-overlay {
    position: absolute;

    inset: 0;

    pointer-events: none;

    border-radius: 32px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.08),
            transparent 45%,
            rgba(7,136,63,0.06)
        );

    z-index: 2;
}


/* =====================================================
   FLOATING DATA CARDS
===================================================== */

.video-data-card {
    position: absolute;

    z-index: 5;

    min-width: 155px;

    padding: 14px 18px;

    background:
        rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border:
        1px solid
        rgba(255,255,255,0.75);

    border-radius: 17px;

    box-shadow:
        0 18px 45px
        rgba(16,35,26,0.14);

    transition:
        transform 0.35s ease;
}


.video-data-card:hover {
    transform: translateY(-5px);
}


.video-data-card small {
    display: block;

    margin-bottom: 4px;

    color: #66776d;

    font-size: 11px;
    font-weight: 500;
}


.video-data-card strong {
    display: block;

    color: #10231a;

    font-size: 19px;
    font-weight: 800;

    line-height: 1.2;
}


.video-data-card span {
    display: block;

    margin-top: 4px;

    color: #07883f;

    font-size: 10px;
    font-weight: 600;
}


/* Card positions */

.temperature-video-card {
    top: 70px;
    left: -25px;
}


.humidity-video-card {
    top: 190px;
    right: -25px;
}


.vpd-video-card {
    bottom: 70px;
    right: 20px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {

    .product-hero-visual {
        min-height: 500px;
        margin-top: 40px;
    }

    .product-video-wrapper {
        height: 480px;
        border-radius: 26px;
    }

    .product-hero-video {
        border-radius: 26px;
    }

    .video-overlay {
        border-radius: 26px;
    }

    .temperature-video-card {
        left: 5px;
        top: 50px;
    }

    .humidity-video-card {
        right: 5px;
        top: 170px;
    }

    .vpd-video-card {
        right: 20px;
        bottom: 45px;
    }

}


@media (max-width: 600px) {

    .product-hero-visual {
        min-height: 400px;
    }

    .product-video-wrapper {
        height: 390px;
        border-radius: 22px;
    }

    .product-hero-video {
        border-radius: 22px;
    }

    .video-overlay {
        border-radius: 22px;
    }

    .video-data-card {
        min-width: 120px;

        padding: 10px 12px;

        border-radius: 13px;
    }

    .video-data-card strong {
        font-size: 15px;
    }

    .video-data-card small {
        font-size: 9px;
    }

    .video-data-card span {
        font-size: 8px;
    }

    .temperature-video-card {
        top: 25px;
        left: -8px;
    }

    .humidity-video-card {
        top: 135px;
        right: -8px;
    }

    .vpd-video-card {
        bottom: 25px;
        right: 5px;
    }

}

/* =========================================================
   FINAL RESPONSIVE FIXES
   These rules intentionally override older responsive rules above.
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.mobile-menu-btn {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 10001;
    font-size: 0;
}

/* Build the hamburger without requiring HTML spans.
   This works with the current HTML:
   <button id="mobileMenuBtn">☰</button>
*/
.mobile-menu-btn::before {
    content: "☰";
    display: block;
    font-size: 29px;
    line-height: 1;
    color: var(--text-primary);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu-btn.active::before {
    content: "×";
    font-size: 36px;
    transform: translateY(-1px);
}


/* =========================================================
   TABLET / MOBILE NAV
========================================================= */

@media (max-width: 900px) {

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10000;
    }

    .nav-container {
        position: relative;
        width: min(calc(100% - 28px), var(--container));
        height: 70px;
        margin: 0 auto;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;

        width: 100%;
        max-height: calc(100vh - 70px);
        overflow-y: auto;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;

        padding: 14px;

        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        border-top: 1px solid rgba(16, 35, 26, 0.07);
        border-bottom: 1px solid rgba(16, 35, 26, 0.08);

        box-shadow: 0 18px 40px rgba(16, 35, 26, 0.12);

        z-index: 9999;
    }

    /* IMPORTANT: this matches main.js */
    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links > a {
        width: 100%;
        padding: 13px 12px;
        text-align: center;
        border-radius: 10px;
        color: var(--text-secondary);
        font-size: 15px;
    }

    .nav-links > a:hover,
    .nav-links > a.active {
        color: var(--green);
        background: rgba(7, 136, 63, 0.06);
    }

    /* Desktop Login / Buy Now are hidden on mobile.
       If your HTML has these inside nav-links, they can still be
       shown by the optional .mobile-nav-actions block below. */
    .nav-actions {
        display: none;
    }

    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 9px;
        width: 100%;
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid rgba(16, 35, 26, 0.08);
    }

    .mobile-nav-actions .login-btn,
    .mobile-nav-actions .buy-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .mobile-menu-btn {
        display: flex;
    }
}


/* =========================================================
   PRODUCT PAGE — TABLET
========================================================= */

@media (max-width: 1000px) {

    .product-hero {
        min-height: auto;
        padding-top: 70px;
    }

    .product-hero-grid {
        width: min(calc(100% - 40px), var(--container));
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        margin: 0 auto;
    }

    .product-hero-content {
        width: 100%;
        padding: 70px 0 20px;
        text-align: center;
    }

    .product-hero-content h1,
    .product-hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .product-hero-buttons {
        justify-content: center;
    }

    .product-mini-info {
        justify-content: center;
    }

    .product-hero-visual {
        width: 100%;
        min-height: 540px;
        margin: 0 auto;
        overflow: visible;
    }

    .product-video-wrapper {
        width: min(100%, 650px);
        height: 480px;
    }
}


/* =========================================================
   PRODUCT PAGE — MOBILE
========================================================= */

@media (max-width: 600px) {

    .product-hero {
        width: 100%;
        min-height: auto;
        padding-top: 70px;
        overflow: hidden;
    }

    .product-hero-grid {
        width: calc(100% - 28px);
        max-width: var(--container);
        min-height: auto;
        margin: 0 auto;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .product-hero-content {
        width: 100%;
        max-width: 100%;
        padding: 48px 0 10px;
        text-align: center;
        min-width: 0;
    }

    .product-hero-content h1 {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        font-size: clamp(39px, 11vw, 52px);
        line-height: 1.04;
        letter-spacing: -2px;
        overflow-wrap: normal;
        word-break: normal;
    }

    .product-hero-content h1 span {
        display: block;
    }

    .product-hero-content > p {
        width: 100%;
        max-width: 520px;
        margin: 22px auto 0;
        padding: 0 4px;
        font-size: 15px;
        line-height: 1.7;
        text-align: center;
    }

    .product-hero-buttons {
        width: 100%;
        margin: 28px auto 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 11px;
    }

    .product-hero-buttons a,
    .product-hero-buttons .btn,
    .product-hero-buttons .primary-btn,
    .product-hero-buttons .secondary-btn {
        width: min(100%, 330px);
        min-width: 0;
        box-sizing: border-box;
        text-align: center;
    }

    .product-mini-info {
        width: 100%;
        justify-content: center;
        gap: 20px;
        margin-top: 38px;
        flex-wrap: wrap;
    }

    .product-hero-visual {
        width: 100%;
        min-height: 410px;
        margin: 10px auto 0;
        padding: 0;
        overflow: visible;
    }

    /* Video version */
    .product-video-wrapper {
        width: 100%;
        max-width: 430px;
        height: 390px;
        margin: 0 auto;
        border-radius: 22px;
    }

    .product-hero-video,
    .video-overlay {
        border-radius: 22px;
    }

    .video-data-card {
        min-width: 118px;
        padding: 10px 12px;
        border-radius: 13px;
    }

    .video-data-card strong {
        font-size: 15px;
    }

    .video-data-card small {
        font-size: 9px;
    }

    .video-data-card span {
        font-size: 8px;
    }

    .temperature-video-card {
        top: 25px;
        left: -6px;
    }

    .humidity-video-card {
        top: 135px;
        right: -6px;
    }

    .vpd-video-card {
        bottom: 25px;
        right: 4px;
    }

    /* Old CSS device version, if still present on product.html */
    .product-device-large {
        width: 255px;
        height: 380px;
        padding: 23px;
    }

    .large-device-screen {
        margin-top: 48px;
        padding: 20px 16px;
    }

    .large-temperature {
        font-size: 46px;
    }

    .product-float-card {
        min-width: 118px;
        padding: 10px 12px;
    }

    .product-float-top {
        top: 18%;
        left: 0;
    }

    .product-float-bottom {
        bottom: 15%;
        right: 0;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .logo {
        gap: 7px;
        font-size: 18px;
    }

    .logo-mark {
        width: 34px;
        height: 34px;
    }

    .nav-container {
        width: calc(100% - 20px);
    }

    .hero h1 {
        font-size: 40px;
    }

    .product-hero-grid {
        width: calc(100% - 22px);
    }

    .product-hero-content h1 {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .product-hero-content > p {
        font-size: 14px;
    }

    .product-video-wrapper {
        height: 350px;
        border-radius: 20px;
    }

    .product-hero-video,
    .video-overlay {
        border-radius: 20px;
    }

    .video-data-card {
        transform: scale(0.88);
        transform-origin: center;
    }

    .temperature-video-card {
        left: -10px;
    }

    .humidity-video-card {
        right: -10px;
    }
}

/* ==========================================
   PRODUCT HERO — CENTER ALIGNMENT FIX
   ========================================== */

@media (max-width: 1000px) {

    .product-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
        gap: 25px;
    }

    .product-hero-content {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
        padding: 65px 0 20px;
        text-align: center;
    }

    .product-hero-content h1 {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .product-hero-content > p {
        max-width: 570px;
        margin: 25px auto 0;
        text-align: center;
    }

    .product-hero-buttons,
    .product-mini-info {
        justify-content: center;
    }

    .product-hero-visual {
        width: 100%;
        min-width: 0;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {

    .product-hero-content {
        padding: 55px 0 10px;
    }

    .product-hero-content h1 {
        font-size: clamp(34px, 10vw, 45px);
        letter-spacing: -1.5px;
    }

    .product-hero-content > p {
        font-size: 14px;
        line-height: 1.8;
    }

    .product-hero-buttons {
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .product-mini-info {
        flex-wrap: wrap;
        gap: 20px;
        text-align: center;
    }

    .product-mini-info div {
        align-items: center;
    }
}
.mobile-nav-actions {
    display: none;
}


@media (max-width: 768px) {

    .nav-actions {
        display: none;
    }

    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 12px;
        padding-top: 16px;
        border-top: 1px solid rgba(16, 35, 26, 0.08);
    }

    .mobile-nav-actions a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

}