:root { --ink:#0d1b3d; --ink-soft:#405070; --blue:#1666d8; --blue-dark:#0747a6; --surface:#f4f8fd; --line:#dfe7f2; --white:#fff; --shadow:0 18px 45px rgba(6,35,87,.12); }
* { box-sizing:border-box; } html { scroll-behavior:smooth; } body { margin:0; color:var(--ink); background:var(--white); font-family:"Noto Sans Thai","Segoe UI",Tahoma,Arial,sans-serif; line-height:1.65; } a { color:inherit; } .container { width:min(1120px,calc(100% - 48px)); margin-inline:auto; } .sr-only,.skip-link:not(:focus) { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; } .skip-link:focus { position:fixed; top:1rem; left:1rem; z-index:100; padding:.7rem 1rem; color:var(--white); background:var(--ink); border-radius:.4rem; }
.site-header { position:sticky; top:0; z-index:20; background:rgba(255,255,255,.95); border-bottom:1px solid rgba(223,231,242,.8); backdrop-filter:blur(12px); } .header-inner { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:2rem; } .brand { display:inline-flex; align-items:center; gap:.72rem; color:var(--ink); font-size:1rem; font-weight:800; text-decoration:none; letter-spacing:-.02em; } .brand-mark { display:grid; width:30px; height:30px; place-items:center; color:var(--white); background:linear-gradient(145deg,#2387ee,#0b4fb7); border-radius:8px; font-size:.9rem; box-shadow:0 5px 12px rgba(22,102,216,.28); } .primary-navigation { display:flex; align-items:center; gap:1.7rem; font-size:.92rem; font-weight:650; } .primary-navigation a { color:#4d5b75; text-decoration:none; transition:color .2s ease; } .primary-navigation a:hover,.primary-navigation a.active { color:var(--blue); } .primary-navigation .nav-cta { padding:.58rem .9rem; color:var(--white); background:var(--blue); border-radius:.45rem; } .primary-navigation .nav-cta:hover { color:var(--white); background:var(--blue-dark); } .menu-button { display:none; border:0; background:transparent; color:var(--ink); cursor:pointer; } .menu-button__icon,.menu-button__icon::before,.menu-button__icon::after { display:block; width:22px; height:2px; background:currentColor; border-radius:10px; transition:transform .2s ease,opacity .2s ease; } .menu-button__icon { position:relative; } .menu-button__icon::before,.menu-button__icon::after { position:absolute; left:0; content:""; } .menu-button__icon::before { top:-7px; } .menu-button__icon::after { top:7px; } .menu-button[aria-expanded="true"] .menu-button__icon { background:transparent; } .menu-button[aria-expanded="true"] .menu-button__icon::before { transform:translateY(7px) rotate(45deg); } .menu-button[aria-expanded="true"] .menu-button__icon::after { transform:translateY(-7px) rotate(-45deg); }
.hero { position:relative; isolation:isolate; min-height:580px; display:grid; align-items:center; overflow:hidden; color:var(--white); background:#061646; } .hero-background { position:absolute; inset:0; z-index:-2; background:linear-gradient(90deg,rgba(2,13,55,.97) 0%,rgba(3,19,67,.91) 38%,rgba(3,22,79,.43) 76%),url("../../25626.jpg") center/cover no-repeat; } .hero-background::after { position:absolute; inset:0; content:""; background:radial-gradient(circle at 75% 86%,rgba(42,205,231,.25),transparent 25%); } .hero-content { padding-block:5.3rem; } .eyebrow { margin:0 0 1rem; color:#a9eefa; font-size:.75rem; font-weight:800; letter-spacing:.14em; } .hero h1 { max-width:680px; margin:0; font-size:clamp(2.7rem,5.3vw,4.75rem); line-height:1.13; letter-spacing:-.055em; } .hero-description { max-width:570px; margin:1.55rem 0 2rem; color:#d6e7ff; font-size:1.09rem; } .hero-actions { display:flex; flex-wrap:wrap; gap:.85rem; } .button { display:inline-flex; align-items:center; justify-content:center; gap:.65rem; min-height:48px; padding:.74rem 1.15rem; border:1px solid transparent; border-radius:.45rem; font-size:.93rem; font-weight:750; text-decoration:none; transition:transform .2s ease,background .2s ease,border .2s ease; } .button:hover { transform:translateY(-2px); } .button-primary { color:var(--white); background:#1586e9; box-shadow:0 10px 20px rgba(9,150,233,.25); } .button-primary:hover { background:#0874d1; } .button-secondary { color:var(--white); border-color:rgba(255,255,255,.5); background:rgba(255,255,255,.07); } .button-secondary:hover { border-color:var(--white); background:rgba(255,255,255,.15); }
.product-section { padding:6.6rem 0 7rem; } .section-heading { display:flex; justify-content:space-between; align-items:end; gap:2rem; margin-bottom:2.4rem; } .eyebrow-dark { color:var(--blue); } .section-heading h2,.steps-section h2,.cta-panel h2 { margin:0; line-height:1.2; letter-spacing:-.04em; } .section-heading h2,.steps-section h2 { font-size:clamp(2rem,4vw,3rem); } .section-heading>p { max-width:400px; margin:0; color:var(--ink-soft); } .product-card { overflow:hidden; display:grid; grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr); min-height:300px; background:var(--white); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); } .product-card__visual { position:relative; overflow:hidden; min-height:230px; background:linear-gradient(145deg,#0a2e75,#116bd0); } .product-card__visual::before { position:absolute; inset:25px; content:""; border:1px solid rgba(116,240,255,.45); border-radius:50%; transform:rotate(-20deg); } .circuit { position:absolute; border:2px solid rgba(77,226,245,.65); border-radius:100%; } .circuit-one { width:260px; height:260px; top:-85px; right:-75px; } .circuit-two { width:180px; height:180px; bottom:-110px; left:-50px; } .board-chip { position:absolute; top:50%; left:50%; display:grid; width:100px; height:100px; place-items:center; color:#79f7ff; border:3px solid #72eaf8; border-radius:18px; box-shadow:0 0 0 12px rgba(114,234,248,.14),0 0 38px rgba(54,224,245,.8); font-size:1.9rem; font-weight:900; letter-spacing:.04em; transform:translate(-50%,-50%) rotate(8deg); } .product-card__content { padding:clamp(2rem,5vw,3.4rem); } .product-tag { display:inline-block; padding:.23rem .65rem; color:var(--blue); background:#eaf4ff; border-radius:99px; font-size:.73rem; font-weight:750; } .product-card h3 { margin:.8rem 0; font-size:clamp(1.8rem,3vw,2.35rem); letter-spacing:-.04em; } .product-card p { max-width:590px; margin:0 0 1.25rem; color:var(--ink-soft); } .text-link { color:var(--blue); font-weight:800; text-decoration:none; } .text-link:hover { color:var(--blue-dark); } .text-link span { display:inline-block; transition:transform .2s ease; } .text-link:hover span { transform:translateX(4px); }
.steps-section { padding:6rem 0; background:var(--surface); } .steps-layout { display:grid; grid-template-columns:.9fr 1.1fr; gap:7rem; align-items:start; } .section-intro { max-width:390px; color:var(--ink-soft); } .steps-list { display:grid; gap:1.35rem; padding:0; margin:0; list-style:none; } .steps-list li { display:grid; grid-template-columns:52px 1fr; gap:1.1rem; padding:1rem 0; border-bottom:1px solid var(--line); } .step-number { color:var(--blue); font-size:.85rem; font-weight:850; letter-spacing:.06em; } .steps-list h3 { margin:0 0 .2rem; font-size:1.08rem; } .steps-list p { margin:0; color:var(--ink-soft); font-size:.95rem; } .cta-section { padding:5rem 0; background:#082a6d; } .cta-panel { display:flex; align-items:center; justify-content:space-between; gap:2rem; padding:clamp(2rem,5vw,3.4rem); color:var(--white); background:linear-gradient(110deg,rgba(22,102,216,.75),rgba(16,180,214,.55)); border:1px solid rgba(147,234,255,.3); border-radius:15px; } .cta-panel h2 { max-width:620px; font-size:clamp(1.7rem,3vw,2.4rem); } .cta-panel .eyebrow { color:#cffaff; } .button-light { flex:none; color:var(--blue-dark); background:var(--white); } .button-light:hover { background:#e8f8ff; } .site-footer { padding:1.5rem 0; background:#061a49; color:#b9c9e5; } .footer-inner { display:flex; align-items:center; justify-content:space-between; gap:1rem; } .site-footer .brand { color:var(--white); } .footer-inner p { margin:0; font-size:.82rem; }
@media (max-width:720px) { .container { width:min(100% - 36px,1120px); } .header-inner { min-height:67px; } .menu-button { display:block; padding:.75rem .15rem .75rem .75rem; } .primary-navigation { position:absolute; top:100%; left:0; right:0; display:grid; gap:0; max-height:0; overflow:hidden; padding:0 1.1rem; background:var(--white); box-shadow:0 14px 22px rgba(6,35,87,.1); opacity:0; transition:max-height .25s ease,opacity .2s ease,padding .25s ease; } .primary-navigation.is-open { max-height:280px; padding:.65rem 1.1rem 1rem; opacity:1; } .primary-navigation a { padding:.75rem .25rem; } .primary-navigation .nav-cta { margin-top:.35rem; padding:.7rem .85rem; text-align:center; } .hero { min-height:535px; } .hero-background { background-position:63% center; } .hero-content { padding-block:4rem; } .hero h1 { font-size:clamp(2.55rem,12vw,3.4rem); } .hero-description { font-size:1rem; } .section-heading,.cta-panel,.footer-inner { align-items:flex-start; flex-direction:column; } .section-heading { gap:1rem; } .product-section,.steps-section { padding:4.4rem 0; } .product-card { grid-template-columns:1fr; } .product-card__visual { min-height:210px; } .steps-layout { grid-template-columns:1fr; gap:2.5rem; } .cta-section { padding:3.8rem 0; } .cta-panel { gap:1.4rem; } .button-light { width:100%; } .footer-inner { gap:.55rem; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition-duration:.01ms!important; } }

/* Documentation sidebar */
body { margin-left: 300px; }
.documentation-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; width: 300px; overflow-y: auto; color: #b8c7e2; background: #071a47; box-shadow: 6px 0 26px rgba(1, 13, 42, .18); }
.sidebar-brand { padding: 1.7rem 1.35rem 1.35rem; border-bottom: 1px solid rgba(187, 214, 255, .15); }
.sidebar-brand .brand { color: #fff; }.sidebar-brand p { margin: .45rem 0 0 2.7rem; color: #96abd1; font-size: .73rem; }
.sidebar-navigation { padding: 1rem .7rem 2rem; }.sidebar-navigation a { display: block; color: #b8c7e2; text-decoration: none; }
.sidebar-link { display: flex !important; align-items: center; gap: .7rem; padding: .72rem .8rem; border-radius: .45rem; font-size: .92rem; font-weight: 700; transition: background .18s ease, color .18s ease; }
.sidebar-link span { width: 18px; color: #73dcf7; text-align: center; }.sidebar-link:hover, .sidebar-link.active { color: #fff; background: rgba(72, 157, 242, .22); }.sidebar-link--product { margin-top: .55rem; color: #a4e9f7 !important; }
.sidebar-group { margin: 1.2rem .25rem 0; padding: 0 0 0 .85rem; border-left: 1px solid rgba(134, 195, 255, .27); }.sidebar-group__label { margin: 0 0 .45rem; color: #7f96c2; font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-group a { padding: .4rem 0; color: #aebedd; font-size: .85rem; transition: color .18s ease, transform .18s ease; }.sidebar-group a:hover { color: #fff; transform: translateX(3px); }
.menu-scrim { display: none; }.header-title { display: grid; line-height: 1.2; }.header-title span { color: #7887a2; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.header-title strong { font-size: 1.05rem; }.header-product-link { color: var(--blue); font-size: .9rem; font-weight: 800; text-decoration: none; }.header-product-link:hover { color: var(--blue-dark); }

@media (max-width: 920px) { body { margin-left: 0; }.documentation-sidebar { width: min(300px, calc(100vw - 46px)); transform: translateX(-105%); transition: transform .25s ease; }.documentation-sidebar.is-open { transform: translateX(0); }.menu-scrim { position: fixed; inset: 0; z-index: 30; background: rgba(1, 14, 44, .48); opacity: 0; pointer-events: none; transition: opacity .25s ease; }.menu-scrim.is-visible { display: block; opacity: 1; pointer-events: auto; }.menu-button { display: block; padding: .75rem .15rem .75rem 0; }.header-inner { justify-content: flex-start; gap: 1rem; }.header-product-link { margin-left: auto; }.site-header { z-index: 25; } }
@media (max-width: 500px) { .header-product-link { font-size: .82rem; }.header-title strong { font-size: .95rem; } }

/* Home page: shared documentation layout */
.home-page { margin-left: 320px; color: #2c3e50; background: #fff; font-size: 16px; scroll-padding-top: 80px; }
.home-page .container { max-width: 1200px; padding: 0 20px; }
.home-page .sidebar { position: fixed; top: 0; left: 0; z-index: 1001; width: 320px; height: 100vh; overflow-y: auto; color: #2c3e50; background: #f8f9fa; border-right: 1px solid #e9ecef; box-shadow: 2px 0 15px rgba(0,0,0,.08); }
.home-page .sidebar-header { padding: 2rem 1.5rem; text-align: center; background: #fff; border-bottom: 1px solid #e9ecef; }.home-page .sidebar-header h2 { margin: 0 0 .5rem; color: #2c3e50; font-size: 1.4rem; font-weight: 600; }.home-page .sidebar-header p { margin: 0; color: #6c757d; font-size: .85rem; }
.home-page .sidebar-search { padding: 1rem 1.5rem; background: #fff; border-bottom: 1px solid #e9ecef; }.home-page .sidebar-search input { width: 100%; padding: .75rem; color: #2c3e50; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 6px; font-size: .9rem; transition: all .3s ease; }.home-page .sidebar-search input:focus { outline: none; background: #fff; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102,126,234,.1); }
.home-page .sidebar-menu { padding: .5rem 0; }.home-page .sidebar-menu ul { padding: 0; margin: 0; list-style: none; }.home-page .sidebar-menu li { margin: 0; }.home-page .sidebar-menu a { display: block; padding: .8rem 1.5rem; color: #495057; border-left: 3px solid transparent; font-size: .9rem; font-weight: 500; text-decoration: none; transition: all .2s ease; }.home-page .sidebar-menu a:hover { color: #2c3e50; background: #e9ecef; border-left-color: #667eea; }.home-page .sidebar-menu a.active { color: #667eea; background: #e3f2fd; border-left-color: #667eea; font-weight: 600; }
.home-page .submenu { display: none; margin: 0; background: #f8f9fa; }.home-page .submenu li a { padding: .6rem 1.5rem .6rem 2.5rem; color: #6c757d; font-size: .85rem; font-weight: 400; }.home-page .submenu li a:hover { color: #495057; background: #dee2e6; }.home-page .has-submenu.active .submenu { display: block; }.home-page .menu-toggle { cursor: pointer; }.home-page .menu-toggle::after { content: ' ▼'; font-size: .8rem; }.home-page .has-submenu.active .menu-toggle::after { content: ' ▲'; }
.home-page .sidebar-toggle { position: fixed; top: 1rem; left: 17rem; z-index: 1002; padding: .75rem; color: #fff; background: #667eea; border: 0; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer; transition: all .3s ease; }.home-page .sidebar-toggle:hover { background: #5a67d8; transform: scale(1.05); }.home-page .sidebar-toggle.collapsed { left: 1rem; }.home-page .sidebar.collapsed { width: 0; overflow: hidden; }.home-page .sidebar.collapsed .sidebar-header,.home-page .sidebar.collapsed .sidebar-search,.home-page .sidebar.collapsed .sidebar-menu { opacity: 0; transition: opacity .3s ease; }
.home-page .mobile-menu-toggle { display: none; position: fixed; top: 1rem; left: 1rem; z-index: 1002; padding: .5rem; color: #fff; background: #667eea; border: 0; border-radius: 5px; cursor: pointer; }
.home-page header { position: sticky; top: 0; z-index: 1000; padding: 1rem 0; color: #fff; background: rgba(102,126,234,.95); border-bottom: 1px solid #e9ecef; box-shadow: 0 2px 8px rgba(0,0,0,.08); }.home-page header nav { display: flex; align-items: center; justify-content: space-between; }.home-page .logo { color: #fff; font-size: 1.5rem; font-weight: 700; }.home-page .nav-links { display: flex; gap: 2rem; padding: 0; margin: 0; list-style: none; }.home-page .nav-links a { color: #fff; font-weight: 500; text-decoration: none; transition: color .3s ease; }.home-page .nav-links a:hover,.home-page .nav-links a.active { color: #e4712e; }
.home-page .hero { display: block; min-height: auto; padding: 4rem 20px; overflow: visible; color: #2c3e50; background: #f8f9fa; border-bottom: 1px solid #e9ecef; text-align: center; }.home-page .hero-background { display: none; }.home-page .hero-content { max-width: 760px; padding: 0; margin: 0 auto; }.home-page .hero h1 { max-width: none; margin: 0 0 1rem; color: #2c3e50; font-size: 3rem; font-weight: 700; letter-spacing: normal; line-height: 1.2; }.home-page .hero p { margin: 0 auto 2rem; color: #6c757d; font-size: 1.2rem; line-height: 1.6; }.home-page .btn { display: inline-block; padding: 12px 24px; color: #fff; background: #667eea; border-radius: 6px; font-size: .95rem; font-weight: 600; text-decoration: none; transition: all .3s ease; }.home-page .btn:hover { background: #5a67d8; box-shadow: 0 4px 12px rgba(102,126,234,.3); transform: translateY(-1px); }
.home-page .section { max-width: 900px; padding: 2rem 0; margin: 0 auto 1rem; }.home-page .section h2 { margin: 0 0 1.5rem; padding-bottom: .5rem; color: #2c3e50; border-bottom: 2px solid #e9ecef; font-size: 2rem; }.home-page .section > p { color: #495057; }.home-page .features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; margin-top: 2rem; }.home-page .feature-card { padding: 1.5rem; background: #fff; border: 1px solid #e9ecef; border-radius: 8px; transition: all .3s ease; }.home-page .feature-card:hover { border-color: #667eea; box-shadow: 0 4px 12px rgba(102,126,234,.1); }.home-page .feature-card h3 { margin: 0 0 1rem; color: #2c3e50; font-size: 1.2rem; }.home-page .feature-card p { min-height: 82px; color: #495057; }.home-page .card-icon { margin-bottom: 1rem; font-size: 3rem; text-align: center; }.home-page .info-box { padding: 1rem 1.5rem; background: #e3f2fd; border-left: 4px solid #667eea; border-radius: 0 6px 6px 0; }.home-page .home-help { padding-bottom: 4rem; }.home-page footer { padding: 2rem 0; color: #fff; background: #2c3e50; text-align: center; }.home-page footer p { margin: 0; }

@media (max-width: 768px) { .home-page { margin-left: 0; }.home-page .sidebar { width: 320px; transform: translateX(-100%); transition: transform .3s ease; }.home-page .sidebar.open { transform: translateX(0); }.home-page .sidebar.collapsed { width: 320px; }.home-page .sidebar-toggle { display: none; }.home-page .mobile-menu-toggle { display: block; }.home-page .nav-links { display: none; }.home-page .hero h1 { font-size: 2.5rem; }.home-page .hero p { font-size: 1.1rem; }.home-page .feature-card p { min-height: 0; } }
