 :root {
        --primary: #FF4D5E;
        --secondary: #FF9021;
        --dark: #0F172A;
        --glass: rgba(255, 255, 255, 0.03);
    }

    body { 
        margin: 0; background: var(--dark); color: #fff; 
        font-family: 'Kanit', sans-serif; overflow-x: hidden; 
    }

    /* --- Background Layer --- */
    .bg-glow {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
        background: radial-gradient(circle at 80% 20%, rgba(255, 77, 94, 0.15), transparent 40%),
                    radial-gradient(circle at 20% 80%, rgba(255, 144, 33, 0.15), transparent 40%);
    }

    /* --- Hero Section --- */
    .hero-v7 {
        min-height: 100vh; display: flex; align-items: center; padding: 100px 5%;
        position: relative;
    }

    /* ใช้ Flex แทน Grid เพื่อคุมลำดับใน Mobile */
    .hero-flex {
        display: flex; flex-direction: row; align-items: center; gap: 40px; width: 100%;
    }

    .content-v7 { flex: 1; z-index: 10; }
    .image-composition { flex: 1.2; position: relative; height: 600px; }

    /* Typography */
    .brand-title { font-size: clamp(3rem, 8vw, 5rem); font-weight: 900; line-height: 0.9; margin: 0; letter-spacing: -2px; }
    .gradient-text {
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }

    /* --- Multi-Image Float System --- */
    .float-img {
        position: absolute; border-radius: 24px; overflow: hidden;
        box-shadow: 0 20px 50px rgba(0,0,0,0.5);
        border: 1px solid rgba(255,255,255,0.1);
        transition: 0.5s ease;
    }

    .img-main { width: 280px; z-index: 5; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: floatMain 6s infinite ease-in-out; }
    .img-sub-1 { width: 180px; z-index: 4; top: 10%; right: 5%; animation: floatMain 8s infinite reverse; }
    .img-sub-2 { width: 160px; z-index: 3; bottom: 15%; left: 5%; opacity: 0.8; }
    .img-sub-3 { width: 140px; z-index: 2; top: 20%; left: 10%; opacity: 0.5; filter: blur(1px); }

    @keyframes floatMain {
        0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(0); }
        50% { transform: translate(-50%, -50%) translateY(-20px) rotate(2deg); }
    }

   .glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 5px solid var(--primary); /* เส้นสีแดงนำสายตา */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 24px;
    padding: 35px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-left: 5px solid var(--secondary);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-5px);
}

    .feature-pill {
        display: inline-flex; align-items: center; gap: 10px;
        background: rgba(255,255,255,0.1); padding: 8px 20px;
        border-radius: 100px; font-size: 0.9rem; margin-bottom: 20px;
    }

    /* --- CTA Buttons --- */
    .cta-container { display: flex; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
    .btn-glow {
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        color: #fff; padding: 18px 45px; border-radius: 15px;
        text-decoration: none; font-weight: 700; font-size: 1.1rem;
        box-shadow: 0 10px 30px rgba(255, 77, 94, 0.4);
        transition: 0.3s; text-align: center;
    }
    .btn-glow:hover { transform: scale(1.05); filter: brightness(1.1); }

    /* --- Responsive Fix --- */
    @media (max-width: 1024px) {
        .hero-v7 { padding-top: 60px; }
        .hero-flex { flex-direction: column; text-align: center; }
        .image-composition { 
            order: 2; /* ย้ายรูปไปไว้ข้างล่างข้อความ */
            height: 450px; width: 100%; 
            margin-top: 40px;
        }
        .img-main { width: 200px; }
        .img-sub-1 { width: 130px; top: 5%; right: 10%; }
        .img-sub-2 { width: 120px; bottom: 10%; left: 10%; }
        .img-sub-3 { display: none; } /* ซ่อนรูปที่รกเกินไปในมือถือ */
        
        .cta-container { justify-content: center; }
        .glass-card { padding: 25px; text-align: left; }
    }

    /* แก้ไข .hero-v7 */
.hero-v7 {
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    padding: 120px 5% 60px 5%; /* เพิ่ม Padding ด้านบนเป็น 120px */
    position: relative;
    padding-top: 200px;
}

/* เพิ่มระยะห่างให้แต่ละบล็อกใน content-v7 */
.content-v7 > * {
    margin-bottom: 25px; /* ให้ทุกลูกของ content มีระยะห่างกันเอง */
}

/* ปรับระยะใน Mobile ให้กว้างขึ้นอีก */
@media (max-width: 1024px) {
    .hero-v7 { 
        padding-top: 140px; /* มือถือเพิ่มระยะหลบขอบบน/เมนู */
        padding-bottom: 80px;
    }
}


 .scatter-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        min-height: 550px;
        perspective: 1000px;
    }

    .scatter-card {
        flex: 1;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 25px;
        padding: 15px;
        position: relative;
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 15px 35px rgba(0,0,0,0.3);
        animation: entrance 0.8s ease-out forwards;
        animation-delay: var(--delay);
        opacity: 0;
    }

    /* --- Variations สำหรับความหลากหลาย --- */
    .card-rotate-left { transform: rotate(-5deg); }
    .card-rotate-right { transform: rotate(5deg); }
    .card-elevated { transform: translateY(-40px); }
    .card-lower { transform: translateY(40px); }

    /* --- Hover ลูกเล่นรายใบ --- */
    .scatter-card:hover {
        transform: translateY(-20px) rotate(0deg) scale(1.1);
        z-index: 10;
        border-color: var(--secondary);
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    }

    .scatter-card img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

    .step-num-v12 {
        position: absolute;
        top: -15px; left: -15px;
        width: 40px; height: 40px;
        background: var(--primary);
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-weight: 800; box-shadow: 0 5px 15px rgba(255, 77, 94, 0.4);
    }
    .step-num-v12.success { background: #2ecc71; box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4); }

    .card-desc-v12 { margin-top: 20px; text-align: center; }
    .card-desc-v12 h4 { font-size: 1.1rem; color: #fff; margin: 0; }
    .card-desc-v12 p { font-size: 0.85rem; color: #94a3b8; margin: 5px 0 0; line-height: 1.4; }

    /* Animation ตอนโหลดหน้าเว็บ */
    @keyframes entrance {
        from { opacity: 0; transform: translateY(50px) rotate(10deg); }
        to { opacity: 1; }
    }

    /* Mobile Responsive */
    @media (max-width: 900px) {
        .scatter-container { flex-direction: column; gap: 40px; }
        .scatter-card { transform: none !important; width: 100%; max-width: 300px; }
    }



       .review-card-v14 {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 25px;
        padding: 30px;
        transition: 0.4s;
    }
    .review-card-v14:hover {
        background: rgba(255, 255, 255, 0.07);
        transform: translateY(-5px);
        border-color: var(--secondary);
    }

    @keyframes ticker-fade {
        0%, 100% { opacity: 0; transform: translateY(10px); }
        10%, 90% { opacity: 1; transform: translateY(0); }
    }




    
    /* Container หลักของวงแหวน */
.orb-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* การจัดวางโลโก้ตรงกลาง */
.logo-wrapper {
    width: 140px;
    height: 140px;
    z-index: 10;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    border-radius: 35px;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 20px;
    box-shadow: 0 0 50px rgba(255, 77, 94, 0.4);
    animation: pulse-glow 3s infinite ease-in-out;
}

.logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

/* วงแหวนประลอย */
.ring {
    position: absolute;
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: 50%;
    animation: spin 40s linear infinite;
}
.r-1 { width: 380px; height: 380px; }
.r-2 { width: 300px; height: 300px; animation-direction: reverse; animation-duration: 25s; }
.r-3 { width: 220px; height: 220px; animation-duration: 15s; }

/* ไอคอนลอยตัวกระจายรอบๆ */
.float-item {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 5;
    animation: float-soft 6s infinite ease-in-out;
}

.fi-1 { top: 15%; left: 10%; color: #2ecc71; }
.fi-2 { bottom: 20%; right: 5%; color: #f1c40f; animation-delay: 1s; }
.fi-3 { top: 10%; right: 15%; animation-delay: 2s; }

/* รายการความปลอดภัยด้านขวา */
.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.s-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}
.s-card:hover { background: rgba(255,255,255,0.07); border-color: #ff9021; }
.s-card i { color: #ff9021; font-size: 1.1rem; }
.s-card span { font-size: 0.9rem; color: #fff; opacity: 0.8; }

/* Animations */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse-glow { 0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(255, 77, 94, 0.3); } 50% { transform: scale(1.05); box-shadow: 0 0 60px rgba(255, 77, 94, 0.6); } }
@keyframes float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }



#ticker-content {
        transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
        will-change: opacity, transform;
        display: inline-block;
        opacity: 1;
        transform: translateY(0);
    }

    /* ลบ Animation เดิมที่เคยเขียนใน @keyframes ออกเพื่อใช้ JS คุมแทน */
    /* หรือถ้าจะใช้ CSS Animation อย่างเดียว ต้องตั้งค่าดั่งนี้ */
    @keyframes ticker-fade {
        0% { opacity: 0; transform: translateY(10px); }
        10% { opacity: 1; transform: translateY(0); }
        90% { opacity: 1; transform: translateY(0); }
        100% { opacity: 0; transform: translateY(-10px); }
    }



    