:root {
    color-scheme: dark;
    --canvas: #060b1d;
    --surface: rgba(15, 28, 65, 0.88);
    --line: rgba(169, 190, 255, 0.2);
    --line-strong: rgba(183, 202, 255, 0.34);
    --text: #f5f7ff;
    --muted: #b8c4e4;
    --muted-deep: #8c9bc4;
    --aqua: #61e6d4;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.33);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family: "DM Sans", "Noto Sans Thai", system-ui, sans-serif;
    background:
        radial-gradient(circle at 4% 5%, rgba(35, 211, 217, 0.13), transparent 22rem),
        radial-gradient(circle at 94% 15%, rgba(151, 78, 255, 0.2), transparent 27rem),
        radial-gradient(circle at 53% 77%, rgba(31, 91, 250, 0.1), transparent 29rem),
        var(--canvas);
}
body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    content: "";
    opacity: 0.33;
    background-image: linear-gradient(rgba(201, 214, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 214, 255, 0.055) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, #000, transparent 86%);
}
a { color: var(--aqua); }
a:hover { color: #affff2; }
.site-shell { width: min(100% - 40px, 1240px); margin: 0 auto; }
.site-header { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.site-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-family: "Space Grotesk", "Noto Sans Thai", sans-serif; font-size: 17px; font-weight: 600; letter-spacing: -0.04em; text-decoration: none; }
.site-brand b { font-weight: 700; }
.site-brand:hover { color: #fff; }
.site-logo { display: block; width: 42px; height: 42px; flex: 0 0 42px; object-fit: contain; filter: drop-shadow(0 0.55rem 0.85rem rgba(56, 213, 229, 0.28)); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.site-nav a:hover { color: var(--text); }
.site-nav .nav-sign-in { padding: 10px 15px; color: #061729; background: linear-gradient(135deg, #6ff0df, #53cdd0); border-radius: 10px; box-shadow: 0 10px 22px rgba(62, 221, 197, 0.18); }
.site-nav .nav-sign-in:hover { color: #03111f; filter: brightness(1.07); }

.hero-section { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr); gap: clamp(28px, 6vw, 76px); align-items: center; min-height: 530px; padding: clamp(62px, 9vw, 112px) clamp(4px, 1vw, 16px) 82px; }
.eyebrow { margin: 0 0 15px; color: #c196ff; font-size: 11px; font-weight: 800; letter-spacing: 0.15em; line-height: 1.2; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", "Noto Sans Thai", sans-serif; }
.hero-copy h1 { max-width: 680px; margin-bottom: 24px; font-size: clamp(45px, 5.7vw, 74px); font-weight: 700; letter-spacing: -0.075em; line-height: 1.03; }
.hero-title-tagline { max-width: 600px; margin: -8px 0 24px; color: #dce5ff; font-family: "Space Grotesk", "Noto Sans Thai", sans-serif; font-size: clamp(22px, 2.35vw, 32px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.18; }
.hero-lead { max-width: 650px; margin-bottom: 31px; color: var(--muted); font-size: clamp(17px, 1.75vw, 20px); line-height: 1.65; }
.hero-actions, .trust-banner { display: flex; align-items: center; gap: 14px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 18px; font-size: 14px; font-weight: 800; text-decoration: none; border: 1px solid transparent; border-radius: 12px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #06192d; background: linear-gradient(135deg, #75f3df, #55d7d3 58%, #68bbff); box-shadow: 0 13px 28px rgba(57, 219, 195, 0.23); }
.button-primary:hover { color: #03111d; box-shadow: 0 18px 35px rgba(57, 219, 195, 0.32); }
.button-secondary { color: #dce5ff; background: rgba(31, 50, 101, 0.57); border-color: var(--line-strong); }
.button-secondary:hover { color: #fff; border-color: rgba(151, 255, 235, 0.58); }

.hero-panel { position: relative; min-height: 355px; display: flex; overflow: hidden; align-items: center; justify-content: center; flex-direction: column; padding: 50px 42px; text-align: center; background: linear-gradient(145deg, rgba(22, 43, 99, 0.94), rgba(12, 24, 58, 0.9)); border: 1px solid var(--line-strong); border-radius: 29px; box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.09); }
.hero-panel::after { position: absolute; top: -40%; right: -38%; width: 320px; height: 320px; content: ""; opacity: 0.75; background: radial-gradient(circle, rgba(192, 85, 255, 0.58), transparent 66%); filter: blur(11px); }
.hero-orbit { position: absolute; width: 340px; aspect-ratio: 1; border: 1px solid rgba(101, 242, 219, 0.2); border-radius: 50%; }
.orbit-one { transform: rotate(-22deg) scaleX(1.24); }
.orbit-two { transform: rotate(47deg) scaleY(0.72); border-color: rgba(143, 122, 255, 0.25); }
.hero-status { z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 8px 12px; color: #bffdef; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(15, 76, 94, 0.52); border: 1px solid rgba(99, 241, 213, 0.31); border-radius: 999px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 11px var(--aqua); }
.hero-mark { z-index: 1; display: flex; width: 76px; height: 53px; align-items: center; justify-content: center; gap: 7px; margin-bottom: 24px; background: linear-gradient(135deg, #6f75ff, #4dcbdd 58%, #9c67f5); border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 50%; box-shadow: 0 15px 31px rgba(82, 189, 233, 0.3); }
.hero-mark span { width: 9px; height: 9px; border-radius: 50%; background: #f6fbff; box-shadow: 0 0 12px rgba(255, 255, 255, 0.85); }
.hero-panel p, .hero-panel strong { position: relative; z-index: 1; }
.hero-panel p { margin-bottom: 9px; color: #b899ff; font-size: 10px; font-weight: 800; letter-spacing: 0.13em; }
.hero-panel strong { max-width: 270px; font-size: 21px; line-height: 1.26; }

.feature-section { padding: 30px 0 88px; }
.section-heading { max-width: 690px; margin-bottom: 30px; }
.section-heading h2, .data-copy h2, .trust-banner h2 { margin-bottom: 0; font-size: clamp(31px, 3.7vw, 48px); letter-spacing: -0.065em; line-height: 1.08; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature-card { min-height: 230px; padding: 25px; background: linear-gradient(145deg, rgba(22, 40, 87, 0.91), rgba(12, 25, 58, 0.92)); border: 1px solid var(--line); border-radius: 19px; box-shadow: inset 0 1px rgba(255, 255, 255, 0.05); }
.feature-icon { display: grid; width: 42px; height: 42px; margin-bottom: 38px; place-items: center; color: #072037; font-size: 23px; font-weight: 700; border-radius: 13px; background: linear-gradient(135deg, #76ebdc, #66bbff); }
.icon-upload { background: linear-gradient(135deg, #c087ff, #8972ff); color: #1f124d; }
.icon-comments { background: linear-gradient(135deg, #ff829c, #e74e91); color: #480c2b; }
.icon-insight { background: linear-gradient(135deg, #ffdf72, #faac3e); color: #4d2d00; }
.feature-card h3 { margin-bottom: 11px; font-size: 20px; letter-spacing: -0.045em; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.56; }

.data-section { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); gap: clamp(34px, 7vw, 92px); align-items: start; padding: clamp(41px, 6vw, 75px); background: linear-gradient(135deg, rgba(18, 40, 84, 0.89), rgba(17, 23, 59, 0.91)); border: 1px solid var(--line-strong); border-radius: 26px; box-shadow: var(--shadow); }
.data-copy h2 { margin-bottom: 20px; }
.data-copy > p { color: var(--muted); font-size: 16px; line-height: 1.67; }
.data-copy strong { color: #fff; }
.text-link { display: inline-flex; gap: 8px; margin-top: 6px; color: #8df7e1; font-size: 14px; font-weight: 800; text-decoration: none; }
.data-list { display: grid; gap: 13px; }
.data-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.data-item:last-child { border-bottom: 0; }
.data-item > span { display: grid; width: 37px; height: 37px; place-items: center; color: #a4f7e7; font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; background: rgba(52, 220, 192, 0.11); border: 1px solid rgba(99, 235, 208, 0.33); border-radius: 10px; }
.data-item strong { display: block; margin-bottom: 5px; font-size: 16px; }
.data-item p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.52; }
.trust-banner { justify-content: space-between; margin: 28px 0 88px; padding: 38px 42px; background: linear-gradient(110deg, rgba(69, 48, 129, 0.82), rgba(25, 67, 107, 0.88)); border: 1px solid rgba(180, 154, 255, 0.32); border-radius: 22px; }
.trust-banner h2 { max-width: 730px; font-size: clamp(27px, 3.2vw, 41px); }

.site-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 34px 0 42px; color: var(--muted-deep); border-top: 1px solid var(--line); }
.footer-brand { margin-bottom: 12px; font-size: 15px; }
.site-footer p { margin: 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: #fff; }

.legal-page { padding: 76px 0 94px; }
.legal-hero { max-width: 810px; margin: 0 auto 42px; text-align: center; }
.legal-hero h1 { margin-bottom: 17px; font-size: clamp(43px, 5vw, 65px); letter-spacing: -0.075em; }
.legal-hero > p:last-child { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.legal-content { max-width: 900px; margin: 0 auto; padding: clamp(28px, 5vw, 58px); background: linear-gradient(145deg, rgba(19, 36, 78, 0.93), rgba(11, 22, 54, 0.94)); border: 1px solid var(--line-strong); border-radius: 25px; box-shadow: var(--shadow); }
.legal-content section { padding: 0 0 30px; margin-bottom: 31px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.legal-content h2 { margin-bottom: 13px; font-size: 23px; letter-spacing: -0.045em; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul { margin: 0; padding-left: 23px; }
.legal-content li + li { margin-top: 9px; }
.legal-content strong { color: #f6f8ff; }
.legal-content a { color: #9cf7e3; text-underline-offset: 0.16rem; }

@media (max-width: 900px) {
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-section, .data-section { grid-template-columns: 1fr; }
    .hero-section { min-height: 0; }
    .hero-panel { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 660px) {
    .site-shell { width: min(100% - 28px, 1240px); }
    .site-header { min-height: 74px; }
    .site-brand { font-size: 14px; }
    .site-nav { gap: 13px; }
    .site-nav a:not(.nav-sign-in) { display: none; }
    .site-nav .nav-sign-in { padding: 9px 12px; font-size: 13px; }
    .hero-section { padding: 53px 0 63px; }
    .hero-copy h1 { font-size: clamp(40px, 12.5vw, 58px); }
    .hero-actions, .trust-banner { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .hero-panel { min-height: 305px; padding: 37px 24px; }
    .feature-section { padding-bottom: 61px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 0; }
    .feature-icon { margin-bottom: 24px; }
    .data-section { padding: 31px 24px; border-radius: 21px; }
    .trust-banner { margin-bottom: 62px; padding: 29px 24px; }
    .site-footer { align-items: flex-start; flex-direction: column; }
    .footer-links { justify-content: flex-start; }
    .legal-page { padding: 54px 0 68px; }
    .legal-content { padding: 28px 23px; border-radius: 19px; }
}
