body{
font-family:'Prompt',sans-serif;
margin:0;
background:#fff;
color:#111;
line-height:1.6;
}

/* ======================
   NAVBAR — UNICORN STYLE
====================== */

.navbar{
position:fixed;
top:0;
left:0;
width:100%;

display:flex;
justify-content:center;

background:rgba(0,0,0,0.65);
backdrop-filter:blur(12px);
z-index:999;
}

/* Inner Container (สำคัญมาก) */
.navbar-inner{
width:100%;
max-width:1200px;

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

padding:18px 30px;
}

/* Logo */
.navbar h2{
margin:0;
font-weight:600;
letter-spacing:1px;
}

/* Menu */
.navbar nav{
display:flex;
gap:32px;
}

/* Links */
.navbar nav a{
text-decoration:none;
color:#fff;
font-weight:300;
transition:.3s;
}

.navbar nav a:hover{
color:#7cffb2;
}


.navbar.scrolled{
background:rgba(0,0,0,0.9);
}


/* HERO */
.hero{
height:100vh;
position:relative;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
color:#fff;
overflow:hidden;
}

.hero-video{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
z-index:-1;
}

.hero::after{
content:"";
position:absolute;
inset:0;
background:rgba(0,0,0,.45);
}

.hero-content h1{
font-size:clamp(36px,6vw,72px);
margin-bottom:20px;
}

.hero-actions button{
margin:10px;
padding:14px 30px;
border-radius:8px;
border:none;
cursor:pointer;
font-size:16px;
}

.primary{
background:#16a34a;
color:#fff;
box-shadow:0 10px 30px rgba(22,163,74,.3);
}

.secondary{
background:#fff;
color:#111;
}

/* SECTIONS */
section{
padding:120px 20px;
text-align:center;
}

h2{
font-size:clamp(28px,4vw,48px);
margin-bottom:30px;
}

/* GRID */
.grid{
max-width:1100px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

/* CARD */
.card{
padding:30px;
border:1px solid #eee;
border-radius:12px;
transition:.3s;
background:#fff;
}

.card:hover{
transform:translateY(-6px);
box-shadow:0 10px 40px rgba(0,0,0,.08);
}

/* DASHBOARD */
.dashboard-box{
max-width:600px;
margin:auto;
padding:30px;
border-radius:12px;
border:1px solid #eee;
box-shadow:0 10px 40px rgba(0,0,0,.05);
}

/* IMPACT */
.impact ul{
list-style:none;
padding:0;
font-size:20px;
}

/* CTA */
.final-cta{
background:#f9fafb;
}

footer{
text-align:center;
padding:40px;
border-top:1px solid #eee;
color:#666;
}

#loader{
position:fixed;
inset:0;
background:#111;
color:#fff;
display:flex;
justify-content:center;
align-items:center;
z-index:9999;
font-size:28px;
letter-spacing:2px;
transition:opacity .8s ease;
}

.reveal{
opacity:0;
transform:translateY(60px);
transition:all 1s ease;
}

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

.navbar{
backdrop-filter:blur(14px);
background:rgba(255,255,255,.55);
box-shadow:0 8px 30px rgba(0,0,0,.05);
}

.hero-video{
transform:scale(1.2);
transition:transform .2s linear;
}

.card{
transition:.4s cubic-bezier(.22,1,.36,1);
}

.card:hover{
transform:translateY(-8px) scale(1.02);
}

section{
position:relative;
}

section:not(:last-child)::after{
content:"";
position:absolute;
bottom:0;
left:50%;
width:60%;
height:1px;
background:linear-gradient(
90deg,
transparent,
#eee,
transparent);
transform:translateX(-50%);
}

/* ============================= */
/* HERO BACKGROUND PREMIUM */
/* ============================= */

.hero {

    min-height: 90vh;

    background:
        linear-gradient(
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.45)
        ),
        url("https://images.unsplash.com/photo-1500382017468-9049fed747ef");

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

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

    color: #ffffff;
    text-align: center;

}


/* ทำให้ข้อความอ่านง่ายขึ้น */

.hero h1 {

    text-shadow: 0 5px 20px rgba(0,0,0,0.4);
}


.hero p {

    color: rgba(255,255,255,0.9);

    text-shadow: 0 3px 10px rgba(0,0,0,0.4);
}


/* ปุ่มแบบ Premium */

.hero button {

    background: #16a34a;

    box-shadow:
        0 10px 30px rgba(22,163,74,0.3);

}


.hero button:hover {

    background: #15803d;

    transform: translateY(-3px);

    box-shadow:
        0 15px 40px rgba(22,163,74,0.4);
}


/* ทำให้ข้อความอ่านง่ายขึ้น */

.hero h1 {

    text-shadow: 0 5px 20px rgba(0,0,0,0.4);
}


.hero p {

    color: rgba(255,255,255,0.9);

    text-shadow: 0 3px 10px rgba(0,0,0,0.4);
}


/* ปุ่มแบบ Premium */

.hero button {

    background: #16a34a;

    box-shadow:
        0 10px 30px rgba(22,163,74,0.3);

}


.hero button:hover {

    background: #15803d;

    transform: translateY(-3px);

    box-shadow:
        0 15px 40px rgba(22,163,74,0.4);
}



.gateway-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
max-width:1100px;
margin:auto;
}

.gateway-card{
padding:40px;
border-radius:14px;
border:1px solid #eee;
text-decoration:none;
color:#111;
font-weight:600;
transition:.4s;
background:#fff;
}

.gateway-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 60px rgba(0,0,0,.08);
}


.data-grid{
display:flex;
justify-content:center;
gap:40px;
flex-wrap:wrap;
}

.data-box{
padding:40px;
border:1px solid #eee;
border-radius:12px;
min-width:200px;
}


main{
margin-top:80px;
}


@media(max-width:768px){
.navbar{
padding:15px;
}
.hero h1{
font-size:32px;
}
}


.hero.small{
height:60vh;
background:#111;
color:#fff;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
}


body.loaded #loader{
opacity:0;
pointer-events:none;
}


/* ============================= */
/* NAV SYSTEM PRO */
/* ============================= */

.navbar{
position:fixed;
top:0;
width:100%;
background:rgba(15,15,15,.55);
backdrop-filter:blur(16px);
z-index:9999;
display:flex;
justify-content:center;
transition:.4s;
}

.nav-wrapper{
max-width:1200px;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 30px;
color:#fff;
}

.logo{
font-weight:700;
font-size:20px;
}

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

.nav-item{
position:relative;
}

.nav-links a{
color:#fff;
text-decoration:none;
font-weight:500;
transition:.3s;
}

.nav-links a:hover{
color:#7cffb2;
}

/* ================= */
/* MEGA MENU */
/* ================= */

.mega-menu{
position:absolute;
top:40px;
left:0;
background:#111;
padding:40px;
display:flex;
gap:60px;
opacity:0;
visibility:hidden;
transform:translateY(20px);
transition:.3s;
border-radius:12px;
box-shadow:0 20px 60px rgba(0,0,0,.4);
}

.nav-item.mega:hover .mega-menu{
opacity:1;
visibility:visible;
transform:translateY(0);
}

.mega-col{
display:flex;
flex-direction:column;
gap:10px;
min-width:160px;
}

.mega-col h4{
color:#7cffb2;
margin-bottom:10px;
}

/* CTA */

.nav-cta{
border:1px solid #7cffb2;
padding:8px 18px;
border-radius:20px;
}

/* ================= */
/* MOBILE NAV */
/* ================= */

.menu-toggle{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
}

.menu-toggle span{
width:26px;
height:2px;
background:#fff;
}

.mobile-menu{
position:fixed;
top:0;
right:-100%;
width:260px;
height:100vh;
background:#111;
display:flex;
flex-direction:column;
padding:120px 30px;
gap:26px;
transition:.4s;
z-index:9998;
}

.mobile-menu.active{
right:0;
}

.mobile-menu a{
color:#fff;
text-decoration:none;
font-size:18px;
}

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

@media(max-width:900px){

.nav-links{
display:none;
}

.menu-toggle{
display:flex;
}

}


/* ========================= */
/* PLATFORM OS LAYOUT */
/* ========================= */

#app{
margin-top:80px;
}

#app-shell{
display:flex;
min-height:100vh;
background:#0f0f0f;
color:#fff;
}

.sidebar{
width:240px;
background:#111;
padding:30px;
}

.sidebar h3{
color:#7cffb2;
margin-bottom:20px;
}

.sidebar ul{
list-style:none;
padding:0;
}

.sidebar li{
padding:12px 0;
cursor:pointer;
opacity:.7;
transition:.3s;
}

.sidebar li:hover{
opacity:1;
color:#7cffb2;
}

.app-content{
flex:1;
padding:50px;
}