:root{
    --bg:#06100d;
    --bg2:#0b1118;
    --panel:rgba(255,255,255,.055);
    --panel2:rgba(255,255,255,.035);
    --line:rgba(255,255,255,.09);
    --text:#ffffff;
    --muted:#a7b6c7;
    --soft:#d7e4ef;
    --green:#6CFF8F;
    --green2:#24d875;
    --gold:#d6f7a3;
    --danger:#ff4d4d;
    --shadow:0 30px 90px rgba(0,0,0,.42);
    --radius:28px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins','Noto Sans Thai',sans-serif;
    scroll-behavior:smooth;
}

html{
    scroll-behavior:smooth;
}

body{
    min-height:100vh;
    background:
    radial-gradient(circle at top left, rgba(108,255,143,.14), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(36,216,117,.08), transparent 28%),
    linear-gradient(180deg,#030806 0%,#0b1118 45%,#06100d 100%);
    color:var(--text);
    overflow-x:hidden;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:-3;
    background:
    linear-gradient(rgba(108,255,143,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,255,143,.035) 1px, transparent 1px);
    background-size:74px 74px;
    mask-image:linear-gradient(to bottom, rgba(0,0,0,.8), transparent 70%);
}

.page-noise{
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:9000;
    opacity:.035;
    background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.cursor-glow{
    position:fixed;
    left:0;
    top:0;
    width:420px;
    height:420px;
    border-radius:50%;
    transform:translate(-50%,-50%);
    background:radial-gradient(circle, rgba(108,255,143,.13), transparent 65%);
    pointer-events:none;
    z-index:-1;
    filter:blur(10px);
}

.bg{
    position:fixed;
    border-radius:50%;
    filter:blur(130px);
    pointer-events:none;
    z-index:-2;
    animation:float 12s ease-in-out infinite;
}

.bg-one{
    width:520px;
    height:520px;
    top:-170px;
    left:-140px;
    background:rgba(108,255,143,.16);
}

.bg-two{
    width:560px;
    height:560px;
    right:-190px;
    bottom:-170px;
    background:rgba(36,216,117,.12);
    animation-delay:3s;
}

.bg-three{
    width:420px;
    height:420px;
    left:48%;
    top:44%;
    background:rgba(214,247,163,.06);
    animation-delay:6s;
}

@keyframes float{
    0%,100%{transform:translateY(0) scale(1);}
    50%{transform:translateY(42px) scale(1.06);}
}

/* =========================
   NAVBAR
========================= */

.top-navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    min-height:86px;
    padding:14px 6%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    background:rgba(4,10,8,.58);
    border-bottom:1px solid rgba(255,255,255,.08);
    box-shadow:0 18px 55px rgba(0,0,0,.28);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    z-index:5000;
    transition:.35s ease;
}

.top-navbar.scrolled{
    min-height:74px;
    background:rgba(4,10,8,.82);
    border-bottom-color:rgba(108,255,143,.16);
}

.nav-logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:white;
    font-weight:800;
    white-space:nowrap;
}

.nav-logo img{
    width:52px;
    height:52px;
    object-fit:cover;
    border-radius:14px;
    border:1px solid rgba(108,255,143,.32);
    box-shadow:0 0 24px rgba(108,255,143,.18);
    transition:.35s ease;
}

.nav-logo:hover img{
    transform:scale(1.06) rotate(-2deg);
    box-shadow:0 0 34px rgba(108,255,143,.35);
}

.nav-logo span{
    font-size:17px;
    letter-spacing:.2px;
}

.nav-menu{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    flex:1;
}

.nav-menu a{
    color:#d6e2ed;
    text-decoration:none;
    font-weight:600;
    font-size:14px;
    padding:11px 14px;
    border-radius:999px;
    transition:.3s ease;
    position:relative;
}

.nav-menu a:hover,
.nav-menu a.active{
    color:var(--green);
    background:rgba(108,255,143,.08);
    box-shadow:inset 0 0 0 1px rgba(108,255,143,.16);
}

.menu-toggle{
    display:none;
    width:46px;
    height:46px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.06);
    color:white;
    cursor:pointer;
    transition:.3s ease;
    position:relative;
}

.menu-toggle span{
    position:absolute;
    left:12px;
    width:20px;
    height:2px;
    border-radius:99px;
    background:white;
    transition:.3s ease;
}

.menu-toggle span:nth-child(1){top:14px;}
.menu-toggle span:nth-child(2){top:22px;}
.menu-toggle span:nth-child(3){top:30px;}

.menu-toggle.active span:nth-child(1){top:22px;transform:rotate(45deg);}
.menu-toggle.active span:nth-child(2){opacity:0;}
.menu-toggle.active span:nth-child(3){top:22px;transform:rotate(-45deg);}

.menu-toggle:hover{
    border-color:var(--green);
    box-shadow:0 0 22px rgba(108,255,143,.18);
}

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

.hero{
    min-height:100vh;
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
    align-items:center;
    gap:48px;
    padding:150px 8% 95px;
    overflow:hidden;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
    background:
    linear-gradient(90deg, rgba(2,8,6,.94) 0%, rgba(2,8,6,.76) 43%, rgba(2,8,6,.58) 100%),
    url('https://images.unsplash.com/photo-1516253593875-bd7ba052fbc5?q=80&w=1800') center/cover;
}

.hero::after{
    content:"";
    position:absolute;
    inset:auto 0 0 0;
    height:220px;
    z-index:-1;
    background:linear-gradient(to bottom, transparent, #07100d 82%);
}

.hero-grid{
    position:absolute;
    inset:0;
    z-index:-1;
    background:
    linear-gradient(rgba(108,255,143,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,255,143,.05) 1px, transparent 1px);
    background-size:62px 62px;
    transform:perspective(900px) rotateX(62deg) translateY(-20%);
    transform-origin:top;
    animation:gridMove 10s linear infinite;
    opacity:.42;
}

@keyframes gridMove{
    from{background-position:0 0;}
    to{background-position:0 62px;}
}

.hero-orb{
    position:absolute;
    border-radius:50%;
    filter:blur(45px);
    pointer-events:none;
}

.hero-orb-one{
    width:260px;
    height:260px;
    right:8%;
    top:24%;
    background:rgba(108,255,143,.18);
    animation:orbitPulse 5s ease-in-out infinite;
}

.hero-orb-two{
    width:170px;
    height:170px;
    left:38%;
    bottom:13%;
    background:rgba(214,247,163,.12);
    animation:orbitPulse 6s ease-in-out infinite reverse;
}

@keyframes orbitPulse{
    0%,100%{transform:scale(1);opacity:.75;}
    50%{transform:scale(1.15);opacity:1;}
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:760px;
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:var(--green);
    background:rgba(108,255,143,.08);
    border:1px solid rgba(108,255,143,.18);
    border-radius:999px;
    padding:9px 15px;
    font-size:13px;
    font-weight:700;
    margin-bottom:24px;
    box-shadow:0 0 30px rgba(108,255,143,.08);
}

.pulse-dot{
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--green);
    box-shadow:0 0 0 rgba(108,255,143,.65);
    animation:pulse 1.8s infinite;
}

@keyframes pulse{
    0%{box-shadow:0 0 0 0 rgba(108,255,143,.65);}
    70%{box-shadow:0 0 0 12px rgba(108,255,143,0);}
    100%{box-shadow:0 0 0 0 rgba(108,255,143,0);}
}

.hero h1{
    font-size:clamp(52px,7vw,102px);
    line-height:.98;
    letter-spacing:-3px;
    margin-bottom:26px;
}

.hero h1 span,
.section-heading h2 span,
.section-title span{
    color:var(--green);
    text-shadow:0 0 32px rgba(108,255,143,.22);
}

.hero-thai{
    font-size:clamp(19px,2.25vw,28px);
    color:#eef8f0;
    line-height:1.65;
    margin-bottom:10px;
    font-weight:700;
}

.hero-subtitle{
    max-width:680px;
    color:var(--muted);
    line-height:1.85;
    font-size:17px;
    margin-bottom:30px;
}

.hero-actions{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:15px 25px;
    border-radius:16px;
    text-decoration:none;
    font-weight:800;
    border:none;
    cursor:pointer;
    transition:.35s ease;
    font-size:15px;
}

.primary-btn{
    background:linear-gradient(135deg,var(--green),#c8ffd7);
    color:#04100a;
    box-shadow:0 0 34px rgba(108,255,143,.24);
}

.ghost-btn{
    color:#eaffef;
    border:1px solid rgba(108,255,143,.26);
    background:rgba(108,255,143,.07);
}

.glass-btn{
    color:white;
    border:1px solid rgba(255,255,255,.13);
    background:rgba(255,255,255,.06);
}

.btn:hover{
    transform:translateY(-5px) scale(1.02);
    box-shadow:0 0 45px rgba(108,255,143,.32);
}

.hero-metrics{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    max-width:650px;
    margin-top:36px;
}

.metric-card{
    padding:18px;
    border-radius:22px;
    background:rgba(255,255,255,.055);
    border:1px solid rgba(255,255,255,.09);
    backdrop-filter:blur(14px);
}

.metric-card strong{
    display:block;
    font-size:28px;
    color:var(--green);
    line-height:1;
    margin-bottom:8px;
}

.metric-card span{
    color:var(--muted);
    font-size:13px;
    line-height:1.45;
}

.hero-visual{
    justify-self:center;
    width:min(100%,520px);
    transition:transform .25s ease;
}

.greenhouse-shell{
    position:relative;
    min-height:560px;
    border-radius:42px;
    border:1px solid rgba(108,255,143,.22);
    background:
    linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.035)),
    radial-gradient(circle at top, rgba(108,255,143,.16), transparent 40%);
    box-shadow:var(--shadow), inset 0 0 70px rgba(108,255,143,.06);
    overflow:hidden;
    backdrop-filter:blur(18px);
}

.greenhouse-shell::before{
    content:"";
    position:absolute;
    inset:40px 52px;
    border-radius:45% 45% 18px 18px / 52% 52% 18px 18px;
    border:2px solid rgba(108,255,143,.35);
    box-shadow:inset 0 0 34px rgba(108,255,143,.1),0 0 35px rgba(108,255,143,.12);
}

.greenhouse-shell::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.13) 42%, transparent 44%);
    transform:translateX(-100%);
    animation:shellShine 5s ease-in-out infinite;
}

@keyframes shellShine{
    0%,45%{transform:translateX(-120%);}
    68%,100%{transform:translateX(120%);}
}

.shell-glow{
    position:absolute;
    width:260px;
    height:260px;
    border-radius:50%;
    left:50%;
    top:52%;
    transform:translate(-50%,-50%);
    background:rgba(108,255,143,.16);
    filter:blur(65px);
}

.scan-line{
    position:absolute;
    left:44px;
    right:44px;
    height:2px;
    top:110px;
    background:linear-gradient(90deg, transparent, var(--green), transparent);
    box-shadow:0 0 22px var(--green);
    animation:scan 4s ease-in-out infinite;
}

@keyframes scan{
    0%,100%{top:105px;opacity:.45;}
    50%{top:430px;opacity:1;}
}

/* =========================
   Cannabis Animation Visual
========================= */

.cannabis-plant{
    position:absolute;
    left:50%;
    bottom:56px;
    width:320px;
    height:360px;
    transform:translateX(-50%);
    z-index:2;
    pointer-events:none;
}

.plant-glow{
    position:absolute;
    left:50%;
    bottom:70px;
    width:220px;
    height:220px;
    transform:translateX(-50%);
    border-radius:50%;
    background:rgba(108,255,143,.16);
    filter:blur(55px);
    animation:plantPulse 3.8s ease-in-out infinite;
}

@keyframes plantPulse{
    0%,100%{
        transform:translateX(-50%) scale(1);
        opacity:.75;
    }
    50%{
        transform:translateX(-50%) scale(1.08);
        opacity:1;
    }
}

.plant-stem{
    position:absolute;
    left:50%;
    bottom:0;
    width:10px;
    height:240px;
    transform:translateX(-50%);
    border-radius:999px;
    background:linear-gradient(180deg,#b9ffd0 0%, #65f69a 20%, #1d9f59 100%);
    box-shadow:
    0 0 18px rgba(108,255,143,.28),
    0 0 40px rgba(108,255,143,.12);
}

.plant-stem::before,
.plant-stem::after{
    content:"";
    position:absolute;
    top:122px;
    width:88px;
    height:5px;
    background:linear-gradient(90deg,#53dd84,#1d9f59);
    border-radius:999px;
    box-shadow:0 0 12px rgba(108,255,143,.22);
}

.plant-stem::before{
    right:50%;
    transform-origin:right center;
    transform:rotate(-28deg);
}

.plant-stem::after{
    left:50%;
    transform-origin:left center;
    transform:rotate(28deg);
}

.leaf{
    position:absolute;
    width:126px;
    height:126px;
    transform-origin:center bottom;
    animation:leafFloat 4s ease-in-out infinite;
    filter:drop-shadow(0 0 15px rgba(108,255,143,.28));
}

.leaf-top{
    left:50%;
    top:8px;
    transform:translateX(-50%) scale(1.05);
    animation-delay:0s;
}

.leaf-mid.leaf-left{
    left:30px;
    top:98px;
    transform:rotate(-20deg) scale(.88);
    animation-delay:.45s;
}

.leaf-mid.leaf-right{
    right:30px;
    top:98px;
    transform:rotate(20deg) scale(.88);
    animation-delay:.7s;
}

.leaf-low.leaf-left{
    left:12px;
    top:168px;
    transform:rotate(-34deg) scale(.7);
    animation-delay:1s;
}

.leaf-low.leaf-right{
    right:12px;
    top:168px;
    transform:rotate(34deg) scale(.7);
    animation-delay:1.2s;
}

@keyframes leafFloat{
    0%,100%{
        margin-top:0;
        filter:drop-shadow(0 0 15px rgba(108,255,143,.26));
    }
    50%{
        margin-top:-6px;
        filter:drop-shadow(0 0 22px rgba(108,255,143,.38));
    }
}

.leaf-core{
    position:absolute;
    left:50%;
    bottom:8px;
    width:6px;
    height:78px;
    transform:translateX(-50%);
    border-radius:999px;
    background:linear-gradient(180deg,#d9ffe6 0%, #57ef91 45%, #16924c 100%);
    box-shadow:0 0 14px rgba(108,255,143,.2);
}

.leaf-blade{
    position:absolute;
    left:50%;
    bottom:28px;
    width:34px;
    height:78px;
    transform-origin:bottom center;
    border-radius:80% 80% 18% 18%;
    background:
    linear-gradient(180deg, rgba(226,255,236,.98) 0%, rgba(126,255,173,.98) 26%, rgba(30,158,88,.96) 100%);
    box-shadow:
    inset 0 0 12px rgba(255,255,255,.18),
    0 0 12px rgba(108,255,143,.14);
    clip-path:polygon(
        50% 0%,
        63% 12%,
        75% 22%,
        82% 34%,
        88% 48%,
        92% 64%,
        94% 80%,
        86% 100%,
        50% 92%,
        14% 100%,
        6% 80%,
        8% 64%,
        12% 48%,
        18% 34%,
        25% 22%,
        37% 12%
    );
}

.leaf-blade::after{
    content:"";
    position:absolute;
    left:50%;
    top:10px;
    width:2px;
    height:56px;
    transform:translateX(-50%);
    background:rgba(245,255,248,.5);
    box-shadow:
    -8px 12px 0 rgba(245,255,248,.16),
    8px 12px 0 rgba(245,255,248,.16),
    -12px 22px 0 rgba(245,255,248,.12),
    12px 22px 0 rgba(245,255,248,.12);
}

.leaf .b1{
    transform:translateX(-50%) rotate(-62deg) scale(.86);
}
.leaf .b2{
    transform:translateX(-50%) rotate(-38deg) scale(.92);
}
.leaf .b3{
    transform:translateX(-50%) rotate(-16deg) scale(.98);
}
.leaf .b4{
    transform:translateX(-50%) rotate(0deg) scale(1.08);
}
.leaf .b5{
    transform:translateX(-50%) rotate(16deg) scale(.98);
}
.leaf .b6{
    transform:translateX(-50%) rotate(38deg) scale(.92);
}
.leaf .b7{
    transform:translateX(-50%) rotate(62deg) scale(.86);
}

.cannabis-plant::after{
    content:"";
    position:absolute;
    inset:22px 26px 50px 26px;
    border-radius:28px;
    border:1px solid rgba(108,255,143,.06);
    box-shadow:inset 0 0 35px rgba(108,255,143,.04);
    animation:plantAura 5s linear infinite;
}

@keyframes plantAura{
    0%{
        opacity:.45;
        transform:scale(1);
    }
    50%{
        opacity:.7;
        transform:scale(1.02);
    }
    100%{
        opacity:.45;
        transform:scale(1);
    }
}

@media(max-width:700px){

    .cannabis-plant{
        width:250px;
        height:300px;
        bottom:30px;
    }

    .plant-stem{
        height:190px;
    }

    .leaf{
        width:102px;
        height:102px;
    }

    .leaf-core{
        height:64px;
    }

    .leaf-blade{
        width:28px;
        height:64px;
    }

}

.sensor-map{
    position:absolute;
    inset:76px 72px auto auto;
    width:150px;
    height:90px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    z-index:3;
}

.sensor{
    border-radius:16px;
    background:rgba(0,0,0,.28);
    border:1px solid rgba(255,255,255,.09);
    position:relative;
}

.sensor::after{
    content:"";
    position:absolute;
    width:9px;
    height:9px;
    border-radius:50%;
    background:#94a3b8;
    right:10px;
    top:10px;
}

.sensor.active::after{
    background:var(--green);
    box-shadow:0 0 15px var(--green);
}

.data-chip{
    position:absolute;
    z-index:4;
    width:170px;
    padding:14px 16px;
    border-radius:18px;
    background:rgba(4,10,8,.72);
    border:1px solid rgba(108,255,143,.22);
    box-shadow:0 18px 40px rgba(0,0,0,.32);
    backdrop-filter:blur(12px);
}

.data-chip small{
    display:block;
    color:var(--muted);
    margin-bottom:5px;
}

.data-chip strong{
    color:var(--green);
}

.chip-top{left:-28px;top:120px;animation:chipFloat 4s ease-in-out infinite;}
.chip-bottom{right:-26px;bottom:105px;animation:chipFloat 4.6s ease-in-out infinite reverse;}

@keyframes chipFloat{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-14px);}
}

.scroll-cue{
    position:absolute;
    left:50%;
    bottom:28px;
    width:34px;
    height:52px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.22);
    transform:translateX(-50%);
    display:flex;
    justify-content:center;
    padding-top:9px;
}

.scroll-cue span{
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--green);
    animation:scrollDot 1.7s infinite;
}

@keyframes scrollDot{
    0%{transform:translateY(0);opacity:1;}
    100%{transform:translateY(23px);opacity:0;}
}

/* =========================
   SECTIONS
========================= */

section{
    padding:115px 8%;
    position:relative;
}

.trust-strip{
    margin:-38px auto 0;
    width:min(1120px,86vw);
    padding:22px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    border-radius:28px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.1);
    box-shadow:var(--shadow);
    backdrop-filter:blur(18px);
    z-index:5;
}

.trust-item{
    padding:18px;
    border-radius:20px;
    background:rgba(0,0,0,.18);
    border:1px solid rgba(255,255,255,.06);
}

.trust-item strong{
    display:block;
    color:var(--green);
    margin-bottom:7px;
}

.trust-item span{
    color:var(--muted);
    font-size:13px;
    line-height:1.55;
}

.section-heading{
    max-width:780px;
    margin:0 auto 58px;
    text-align:center;
}

.section-heading span{
    color:var(--green);
    font-size:13px;
    letter-spacing:2px;
    text-transform:uppercase;
    font-weight:800;
}

.section-heading h2,
.section-title{
    font-size:clamp(36px,4.8vw,64px);
    line-height:1.05;
    letter-spacing:-1.5px;
    margin:14px 0 16px;
}

.section-heading p{
    color:var(--muted);
    line-height:1.8;
}

.section-heading.compact{
    margin-bottom:36px;
}

.premium-card,
.contact-layout{
    border-radius:var(--radius);
    background:linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.028));
    border:1px solid rgba(255,255,255,.09);
    box-shadow:var(--shadow), inset 0 0 60px rgba(108,255,143,.025);
    backdrop-filter:blur(18px);
}

.about{
    display:grid;
    grid-template-columns:minmax(280px,.8fr) 1.2fr;
    gap:56px;
    align-items:center;
    padding:34px;
}

.image-frame,
.location-frame{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    border:1px solid rgba(108,255,143,.18);
    box-shadow:0 24px 70px rgba(0,0,0,.28);
    transition:transform .25s ease;
}

.image-frame::after,
.location-frame::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg, rgba(108,255,143,.16), transparent 40%, rgba(255,255,255,.06));
    pointer-events:none;
}

.image-frame img,
.location-frame img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:.65s ease;
}

.image-frame{
    min-height:430px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.04);
}

.image-frame img{
    width:min(78%,340px);
    height:auto;
    object-fit:contain;
    filter:drop-shadow(0 0 26px rgba(108,255,143,.2));
}

.image-frame:hover img,
.location-frame:hover img{
    transform:scale(1.045);
}

.about-text h3,
.about-text h2{
    font-size:clamp(29px,3.3vw,46px);
    line-height:1.18;
    margin-bottom:22px;
}

.about-text p{
    color:#c5d4df;
    line-height:1.9;
    margin-bottom:16px;
}

.about-pills{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:22px;
}

.about-pills span{
    padding:9px 13px;
    border-radius:999px;
    color:var(--green);
    background:rgba(108,255,143,.08);
    border:1px solid rgba(108,255,143,.16);
    font-weight:700;
    font-size:13px;
}

.process-section{
    padding-top:65px;
}

.process-line{
    max-width:1180px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    position:relative;
}

.process-step{
    position:relative;
    padding:28px;
    border-radius:26px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
    overflow:hidden;
    transition:.35s ease;
}

.process-step::before{
    content:"";
    position:absolute;
    inset:auto -40px -80px auto;
    width:160px;
    height:160px;
    border-radius:50%;
    background:rgba(108,255,143,.12);
    filter:blur(45px);
}

.process-step:hover{
    transform:translateY(-8px);
    border-color:rgba(108,255,143,.28);
    box-shadow:0 22px 60px rgba(0,0,0,.28);
}

.process-step span{
    display:inline-flex;
    width:44px;
    height:44px;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    background:rgba(108,255,143,.12);
    color:var(--green);
    border:1px solid rgba(108,255,143,.2);
    font-weight:900;
    margin-bottom:20px;
}

.process-step h3{
    color:white;
    margin-bottom:12px;
    font-size:20px;
}

.process-step p{
    color:var(--muted);
    line-height:1.75;
    font-size:14px;
}

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

.card{
    position:relative;
    min-height:305px;
    border-radius:28px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
    overflow:hidden;
    transition:.35s ease;
}

.card::before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(108,255,143,.18), transparent 38%);
    opacity:0;
    transition:.3s ease;
}

.card::after{
    content:"";
    position:absolute;
    left:-80%;
    top:0;
    width:55%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
    transform:skewX(-18deg);
    transition:.65s ease;
}

.card:hover{
    transform:translateY(-12px);
    border-color:rgba(108,255,143,.35);
    box-shadow:0 24px 70px rgba(0,0,0,.34),0 0 34px rgba(108,255,143,.09);
}

.card:hover::before{opacity:1;}
.card:hover::after{left:125%;}

.card a{
    position:relative;
    z-index:2;
    display:flex;
    height:100%;
    flex-direction:column;
    color:inherit;
    text-decoration:none;
    padding:30px;
}

.card-icon{
    width:60px;
    height:60px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    background:rgba(108,255,143,.1);
    border:1px solid rgba(108,255,143,.18);
    margin-bottom:28px;
}

.card h3{
    color:var(--green);
    font-size:23px;
    margin-bottom:14px;
}

.card p{
    color:var(--muted);
    line-height:1.75;
    flex:1;
}

.card-link{
    margin-top:24px;
    color:white;
    font-weight:800;
}

.contact-layout{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:42px;
    padding:34px;
    align-items:center;
}

.location-frame{
    min-height:430px;
}

.location-badge{
    position:absolute;
    left:18px;
    bottom:18px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 14px;
    border-radius:18px;
    background:rgba(4,10,8,.72);
    border:1px solid rgba(108,255,143,.22);
    backdrop-filter:blur(12px);
    z-index:2;
}

.contact-box{
    padding:18px 10px;
}

.contact-label{
    color:var(--green);
    letter-spacing:2px;
    font-size:13px;
    font-weight:900;
    text-transform:uppercase;
}

.contact-box h2{
    font-size:clamp(32px,4vw,52px);
    line-height:1.1;
    margin:12px 0 18px;
}

.contact-box p{
    color:#c5d4df;
    line-height:1.8;
    margin-bottom:12px;
}

.contact-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:22px 0 26px;
}

.mini-contact{
    display:inline-flex;
    padding:10px 12px;
    border-radius:999px;
    color:var(--green);
    text-decoration:none;
    background:rgba(108,255,143,.08);
    border:1px solid rgba(108,255,143,.16);
    font-size:13px;
    font-weight:700;
    transition:.3s ease;
}

.mini-contact:hover{
    transform:translateY(-3px);
    background:rgba(108,255,143,.13);
}

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

.modal{
    position:fixed;
    inset:0;
    z-index:7000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(0,0,0,.72);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    opacity:0;
    visibility:hidden;
    transition:.35s ease;
}

.modal.show{
    opacity:1;
    visibility:visible;
}

.modal-content{
    position:relative;
    width:min(94vw,450px);
    padding:34px;
    border-radius:28px;
    background:rgba(10,18,23,.96);
    border:1px solid rgba(108,255,143,.24);
    box-shadow:0 30px 90px rgba(0,0,0,.55),0 0 35px rgba(108,255,143,.13);
    transform:translateY(34px) scale(.92);
    transition:.35s ease;
    overflow:hidden;
}

.modal.show .modal-content{
    transform:translateY(0) scale(1);
}

.modal-content::before{
    content:"";
    position:absolute;
    width:190px;
    height:190px;
    right:-80px;
    top:-80px;
    border-radius:50%;
    background:var(--green);
    filter:blur(92px);
    opacity:.13;
}

.modal-content h3{
    color:var(--green);
    font-size:29px;
    margin-bottom:18px;
    position:relative;
    z-index:2;
}

.modal-content p{
    color:#cbd5e1;
    line-height:1.75;
    margin-bottom:14px;
    position:relative;
    z-index:2;
}

.modal-content a:not(.btn){
    color:var(--green);
    text-decoration:none;
}

.modal-content .btn{
    position:relative;
    z-index:2;
    width:100%;
    margin-top:16px;
}

.close{
    position:absolute;
    top:14px;
    right:14px;
    z-index:3;
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;
    color:#d1d5db;
    background:rgba(255,255,255,.08);
    font-size:26px;
    line-height:1;
    cursor:pointer;
    transition:.3s ease;
}

.close:hover{
    background:var(--danger);
    color:white;
    transform:rotate(90deg);
}

.qr-box{
    position:relative;
    z-index:2;
    text-align:center;
    margin:20px 0;
}

.qr-box img{
    width:200px;
    height:200px;
    object-fit:cover;
    border-radius:16px;
    border:1px solid rgba(108,255,143,.24);
    box-shadow:0 0 26px rgba(108,255,143,.12);
}

footer{
    padding:38px;
    text-align:center;
    color:#94a3b8;
    border-top:1px solid rgba(255,255,255,.06);
    background:rgba(0,0,0,.18);
}

/* =========================
   REVEAL
========================= */

.reveal{
    opacity:0;
    transform:translateY(64px);
    transition:opacity .9s ease, transform .9s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

.delay-1{transition-delay:.15s;}

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

@media(max-width:1180px){
    .hero{
        grid-template-columns:1fr;
    }

    .hero-visual{
        width:min(100%,470px);
        margin-top:8px;
    }

    .greenhouse-shell{
        min-height:470px;
    }

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

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

@media(max-width:980px){
    .top-navbar{
        padding:14px 5%;
        flex-wrap:wrap;
        align-items:center;
    }

    .nav-logo{order:1;}

    .menu-toggle{
        display:block;
        order:2;
        margin-left:auto;
    }

    .nav-menu{
        order:3;
        width:100%;
        flex:0 0 100%;
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:0;
        max-height:0;
        opacity:0;
        overflow:hidden;
        padding:0;
        transform:translateY(-12px);
        transition:max-height .45s ease, opacity .35s ease, transform .35s ease, padding .35s ease;
    }

    .nav-menu.active{
        max-height:430px;
        opacity:1;
        padding:16px 0 6px;
        transform:translateY(0);
    }

    .nav-menu a{
        width:100%;
        padding:13px 2px;
        border-radius:0;
        border-bottom:1px solid rgba(255,255,255,.06);
    }

    .hero{
        padding-top:175px;
    }

    .about,
    .contact-layout{
        grid-template-columns:1fr;
    }

    .trust-strip{
        grid-template-columns:1fr;
    }
}

@media(max-width:720px){
    .hero{
        padding:160px 6% 78px;
    }

    .hero h1{
        letter-spacing:-1.6px;
    }

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

    .btn{
        width:100%;
    }

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

    section{
        padding:82px 6%;
    }

    .grid,
    .process-line{
        grid-template-columns:1fr;
    }

    .about,
    .contact-layout{
        padding:22px;
        gap:30px;
    }

    .image-frame,
    .location-frame{
        min-height:300px;
    }

    .greenhouse-shell{
        min-height:420px;
        border-radius:32px;
    }

    .greenhouse-shell::before{
        inset:40px 32px;
    }

    .canopy{
        left:56px;
        right:56px;
        bottom:72px;
    }

    .data-chip{
        width:145px;
        font-size:13px;
    }

    .chip-top{left:12px;top:110px;}
    .chip-bottom{right:12px;bottom:72px;}
}

@media(max-width:520px){
    .nav-logo span{
        font-size:14px;
        max-width:190px;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .nav-logo img{
        width:47px;
        height:47px;
    }

    .hero-subtitle{
        font-size:15px;
    }

    .greenhouse-shell{
        min-height:360px;
    }

    .sensor-map{
        display:none;
    }

    .canopy span{
        width:34px;
    }

    .canopy span:nth-child(3){height:178px;}

    .modal-content{
        padding:30px 22px;
    }
}
/* =========================
   Premium Standards Heading Fix
========================= */

#services .section-heading{
    max-width:980px;
    margin:0 auto 70px;
    text-align:center;
}

#services .section-heading > span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 16px;
    border-radius:999px;
    color:var(--green);
    background:rgba(108,255,143,.08);
    border:1px solid rgba(108,255,143,.18);
    box-shadow:0 0 30px rgba(108,255,143,.08);
    font-weight:800;
    letter-spacing:.4px;
    margin-bottom:20px;
}

#services .section-heading h2{
    font-size:clamp(56px,7vw,96px);
    line-height:.95;
    letter-spacing:-4px;
    margin-bottom:20px;
    color:#ffffff;
}

#services .section-heading h2 span{
    display:inline-block;
    font-size:1em;
    color:transparent;
    background:linear-gradient(135deg,#eaffef 0%,#9dffb6 35%,#6CFF8F 70%,#24d875 100%);
    -webkit-background-clip:text;
    background-clip:text;
    text-shadow:none;
    filter:drop-shadow(0 0 22px rgba(108,255,143,.22));
    position:relative;
}

#services .section-heading h2 span::after{
    content:"";
    position:absolute;
    left:4%;
    right:4%;
    bottom:-10px;
    height:6px;
    border-radius:999px;
    background:linear-gradient(90deg,transparent,var(--green),transparent);
    box-shadow:0 0 22px rgba(108,255,143,.35);
    opacity:.75;
}

#services .section-heading p{
    max-width:680px;
    margin:26px auto 0;
    color:var(--muted);
    font-size:18px;
    line-height:1.8;
}

@media(max-width:600px){
    #services .section-heading h2{
        font-size:clamp(42px,13vw,58px);
        letter-spacing:-2px;
    }

    #services .section-heading{
        margin-bottom:45px;
    }
}
/* =========================
   Real Cannabis Plant Visual
   ใช้รูปจริงแทน CSS-drawn plant
========================= */

:root{
    --plant-image:url("https://www.cannaconnection.com/7992/white-widow-xxl-autoflowering.jpg");
}

.cannabis-plant{
    position:absolute;
    left:50%;
    bottom:42px;
    width:360px;
    height:405px;
    transform:translateX(-50%);
    z-index:3;
    pointer-events:none;
    animation:realPlantSway 5.5s ease-in-out infinite;
}

/* ซ่อนชิ้นส่วนใบที่วาดด้วย CSS เดิม แต่เหลือ glow ไว้ */
.cannabis-plant > *:not(.plant-glow){
    display:none !important;
}

.cannabis-plant::before{
    content:"";
    position:absolute;
    inset:0;
    background-image:var(--plant-image);
    background-repeat:no-repeat;
    background-position:center bottom;
    background-size:contain;
    filter:
    drop-shadow(0 0 14px rgba(108,255,143,.25))
    drop-shadow(0 0 34px rgba(108,255,143,.16));
    animation:realPlantBreath 4.2s ease-in-out infinite;
    z-index:3;
}

.cannabis-plant::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:26px;
    width:270px;
    height:270px;
    transform:translateX(-50%);
    border-radius:50%;
    background:
    radial-gradient(circle, rgba(108,255,143,.13), transparent 66%);
    border:1px solid rgba(108,255,143,.08);
    box-shadow:
    inset 0 0 40px rgba(108,255,143,.04),
    0 0 45px rgba(108,255,143,.08);
    z-index:1;
    animation:plantHalo 5s ease-in-out infinite;
}

.plant-glow{
    display:block !important;
    position:absolute;
    left:50%;
    bottom:76px;
    width:260px;
    height:260px;
    transform:translateX(-50%);
    border-radius:50%;
    background:rgba(108,255,143,.18);
    filter:blur(58px);
    z-index:0;
    animation:plantGlowPulse 4s ease-in-out infinite;
}

/* ให้ sensor/chip อยู่หน้ารูป */
.sensor-map,
.data-chip,
.scan-line{
    z-index:6;
}

/* scan line ดูเหมือนสแกนผ่านต้นจริง */
.scan-line{
    height:2px;
    left:54px;
    right:54px;
    opacity:.9;
    mix-blend-mode:screen;
}

@keyframes realPlantSway{
    0%,100%{
        transform:translateX(-50%) rotate(-1.2deg);
    }
    50%{
        transform:translateX(-50%) rotate(1.4deg);
    }
}

@keyframes realPlantBreath{
    0%,100%{
        transform:translateY(0) scale(1);
        filter:
        drop-shadow(0 0 14px rgba(108,255,143,.25))
        drop-shadow(0 0 34px rgba(108,255,143,.16));
    }
    50%{
        transform:translateY(-8px) scale(1.025);
        filter:
        drop-shadow(0 0 22px rgba(108,255,143,.34))
        drop-shadow(0 0 52px rgba(108,255,143,.22));
    }
}

@keyframes plantHalo{
    0%,100%{
        opacity:.55;
        transform:translateX(-50%) scale(1);
    }
    50%{
        opacity:.85;
        transform:translateX(-50%) scale(1.08);
    }
}

@keyframes plantGlowPulse{
    0%,100%{
        opacity:.75;
        transform:translateX(-50%) scale(1);
    }
    50%{
        opacity:1;
        transform:translateX(-50%) scale(1.12);
    }
}
