﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: 'Inter',sans-serif;
    background: #f0f6ff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative
}

#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none
}

.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.2;
    animation: blobMove ease-in-out infinite;
    pointer-events: none
}

.blob1 {
    width: 500px;
    height: 500px;
    background: #93c5fd;
    top: -100px;
    right: -80px;
    animation-duration: 9s
}

.blob2 {
    width: 380px;
    height: 380px;
    background: #bfdbfe;
    bottom: -60px;
    left: -60px;
    animation-duration: 11s;
    animation-delay: 2s
}

.blob3 {
    width: 280px;
    height: 280px;
    background: #dbeafe;
    top: 40%;
    right: 8%;
    animation-duration: 7s;
    animation-delay: 1s
}

@keyframes blobMove {
    0%,100% {
        transform: scale(1) translate(0,0)
    }

    50% {
        transform: scale(1.1) translate(16px,-16px)
    }
}

.wrap {
    display: flex;
    width: 100%;
    max-width: 1100px;
    align-items: center;
    padding: 40px 20px;
    gap: 60px;
    position: relative;
    z-index: 10
}

/* LEFT */
.left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 420px
}



.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

    .brand-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.brand-text {
    display: flex;
    flex-direction: column;
}

.text-wrapper {
    display: flex;
    align-items: baseline;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 0;
    background: linear-gradient(90deg, #44c1f5, #0769fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

    .logo-text b {
        background: linear-gradient(90deg, #0769fa, #0049b3);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 800;
    }

.brand-subtitle {
    font-size: 11px;
    font-weight: 500;
    color: #5f6c84;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
/*
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: transparent; 
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    box-shadow: 0 4px 16px rgba(0,0,0,0.1); 
}

    .brand-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.brand-name {
    font-size: 17px;
    font-weight: 700;
    color: #111
}

    .brand-name span {
        color: #1a73e8
    }*/

h1 {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 6px;
    letter-spacing: -0.5px
}

    h1 span {
        color: #1a73e8
    }

.sub {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 36px;
    line-height: 1.6
}

.fg {
    margin-bottom: 18px
}

    .fg label {
        display: block;
        font-size: 11px;
        font-weight: 700;
        color: #374151;
        margin-bottom: 7px;
        letter-spacing: 0.8px;
        text-transform: uppercase
    }

.fi {
    width: 100%;
    height: 50px;
    background: #fff;
    border: 1.5px solid #e0eaff;
    border-radius: 12px;
    padding: 0 44px 0 16px;
    font-size: 14px;
    color: #111;
    font-family: 'Inter',sans-serif;
    outline: none;
    transition: all .2s;
    box-shadow: 0 1px 4px rgba(26,115,232,0.06)
}

    .fi:focus {
        border-color: #1a73e8;
        box-shadow: 0 0 0 4px rgba(26,115,232,0.1)
    }

    .fi::placeholder {
        color: #94a3b8
    }

.iw {
    position: relative
}

.ey {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 15px;
    transition: color .2s
}

    .ey:hover {
        color: #1a73e8
    }

.kr {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 22px
}

    .kr input {
        width: 16px;
        height: 16px;
        accent-color: #1a73e8;
        cursor: pointer
    }

    .kr label {
        font-size: 13px;
        color: #64748b;
        cursor: pointer
    }


.btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(180deg, #03c6ff 0%, #0352d1 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 -2px 0 rgba(0,0,0,0.2) inset, 0 2px 0 #0044bb, 0 4px 16px rgba(0, 80, 200, 0.45), 0 0px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transform: translateY(0);
}

.btn-text {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.75s ease;
}

.btn:hover::before {
    left: 150%;
}

.btn:hover {
    background: linear-gradient(180deg, #1dd0ff 0%, #0a5ee0 100%);
    color: #e0f4ff;
    box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 -2px 0 rgba(0,0,0,0.2) inset, 0 2px 0 #0044bb, 0 6px 20px rgba(3, 150, 220, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15), 0 0 12px rgba(3, 198, 255, 0.15);
    transform: translateY(-3px);
    filter: brightness(1.04);
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(0, 0, 0, 0.2);
}

    .btn:hover .btn-text {
        transform: scale(1.5); /* ← ขยายตัวหนังสือนุ่มๆ */
    }

.btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(180deg, #03c6ff 0%, #0352d1 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 -2px 0 rgba(0,0,0,0.2) inset, 0 2px 0 #0044bb, 0 4px 16px rgba(0, 80, 200, 0.45), 0 0px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transform: translateY(0);
}

.btn-text {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.75s ease;
}

.btn:hover::before {
    left: 150%;
}

.btn:hover {
    background: linear-gradient(180deg, #1dd0ff 0%, #0a5ee0 100%);
    color: #e0f4ff;
    box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 -2px 0 rgba(0,0,0,0.2) inset, 0 2px 0 #0044bb, 0 6px 20px rgba(3, 150, 220, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15), 0 0 12px rgba(3, 198, 255, 0.15);
    transform: translateY(-3px);
    filter: brightness(1.04);
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(0, 0, 0, 0.2);
}

    .btn:hover .btn-text {
        transform: scale(1.5); /* ← ขยายตัวหนังสือนุ่มๆ */
    }

.btn:active {
    background: linear-gradient(180deg, #0352d1 0%, #03c6ff 100%);
    color: #fff;
    box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 -1px 0 rgba(0,0,0,0.15) inset, 0 2px 0 #0044bb, 0 3px 8px rgba(0, 80, 200, 0.35);
    transform: translateY(4px);
    transition: all 0.08s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

    .btn:active .btn-text {
        transform: scale(0.95); /* ← เล็กลงนิดนึง ให้รู้สึกกด */
    }

.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 14px
}

.div-line {
    flex: 1;
    height: 1px;
    background: #dbeafe
}

.div-txt {
    font-size: 10.5px;
    color: #1a73e8;
    font-weight: 600;
    letter-spacing: 0.8px
}

.maker-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px
}

.mk {
    background: #fff;
    border: 1.5px solid #dbeafe;
    border-radius: 10px;
    padding: 9px 4px;
    text-align: center;
    transition: all .2s;
    cursor: default
}

    .mk:hover {
        border-color: #1a73e8;
        background: #eff6ff
    }

.mk-l {
    font-size: 11px;
    font-weight: 700;
    color: #1e40af
}

.mk-s {
    font-size: 9px;
    color: #93c5fd;
    margin-top: 2px
}

.foot {
    font-size: 11px;
    color: #7c9bc2;
    margin-top: 20px;
    text-align: center
}

/* RIGHT - CAROUSEL */
.right {
    flex: 1.2;
    position: relative;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px
}

/* Floating badges */
.bf {
    position: absolute;
    background: #4397ff5e;
    border-radius: 40px;
    padding: 8px 14px;
    box-shadow: 0 4px 20px rgba(26,115,232,0.15);
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    animation: bfloat ease-in-out infinite;
    border: 1px solid #1a73e878;
    z-index: 20
}

@keyframes bfloat {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-7px)
    }
}

.bf1 {
    top: 10px;
    right: 0;
    animation-duration: 3.6s;
    color: #059669
}

.bf2 {
    bottom: 60px;
    left: 0;
    animation-duration: 4.4s;
    animation-delay: .7s;
    color: #1a73e8
}

.bf3 {
    top: 180px;
    right: -20px;
    animation-duration: 3.9s;
    animation-delay: 1.2s;
    color: #d08301
}

.bf-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%
}

/* Carousel wrapper */
.carousel-outer {
    position: relative;
    width: 340px;
    height: 380px;
    overflow: hidden
}

.carousel-track {
    display: flex;
    width: 400%;
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1)
}

.carousel-slide {
    width: 25%;
    padding: 0 10px
}

/* Card stack inside each slide */
.card-stack {
    position: relative;
    width: 320px;
    height: 360px
}

.vis-card {
    position: absolute;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(26,115,232,0.1);
    border: 1px solid #dbeafe;
    padding: 20px 22px
}

.vc-main {
    width: 310px;
    left: 5px;
    top: 50px;
    z-index: 3;
    animation: cf 4s ease-in-out infinite
}

.vc-b1 {
    width: 295px;
    left: 12px;
    top: 26px;
    z-index: 2;
    background: #f8fbff;
    animation: cf 4s ease-in-out infinite;
    animation-delay: .3s
}

.vc-b2 {
    width: 280px;
    left: 20px;
    top: 6px;
    z-index: 1;
    background: #eff6ff;
    animation: cf 4s ease-in-out infinite;
    animation-delay: .6s
}

@keyframes cf {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

.vc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px
}

.vc-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a
}

.vc-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px
}

.badge-blue {
    background: #eff6ff;
    color: #1a73e8
}

.badge-green {
    background: #f0fdf4;
    color: #059669
}

.badge-amber {
    background: #fff7ed;
    color: #f59e0b
}

.badge-purple {
    background: #f5f3ff;
    color: #7c3aed
}

.vc-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px
}

.vc-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0
}

.l1 {
    font-size: 12px;
    font-weight: 600;
    color: #0f172a
}

.l2 {
    font-size: 10.5px;
    color: #94a3b8
}

.vc-bar {
    height: 5px;
    background: #dbeafe;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 14px
}

.vc-fill {
    height: 100%;
    border-radius: 5px;
    animation: grow 1.8s ease-out .5s forwards;
    width: 0
}

.fill-blue {
    background: linear-gradient(90deg,#1a73e8,#3b82f6)
}

.fill-green {
    background: linear-gradient(90deg,#059669,#34d399)
}

.fill-amber {
    background: linear-gradient(90deg,#f59e0b,#fbbf24)
}

.fill-purple {
    background: linear-gradient(90deg,#7c3aed,#a78bfa)
}

@keyframes grow {
    to {
        width: var(--fill-w,68%)
    }
}

/* Stats card style */
.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px
}

.stat-box {
    background: #f8fbff;
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid #dbeafe
}

.stat-num {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a
}

.stat-lbl {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 2px
}

.stat-chg {
    font-size: 10px;
    font-weight: 600;
    color: #059669;
    margin-top: 3px
}

/* Dots */
.dots {
    display: flex;
    gap: 8px;
    align-items: center
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dbeafe;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0
}

    .dot.active {
        width: 24px;
        border-radius: 4px;
        background: #1a73e8
    }

/* Slide label */
.slide-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px
}

input[type="password"]::-ms-reveal,
input[type="password"]::-webkit-credentials-auto-fill-button {
    display: none !important;
}