@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/screentidy/assets/fonts/noto-sans-thai-400.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/screentidy/assets/fonts/noto-sans-thai-500.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/screentidy/assets/fonts/noto-sans-thai-600.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/screentidy/assets/fonts/noto-sans-thai-700.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/screentidy/assets/fonts/noto-sans-thai-800.ttf") format("truetype");
}

:root {
  --ink: #16203a;
  --muted: #60708a;
  --paper: #f7f8ff;
  --surface: #ffffff;
  --soft: #eef1fb;
  --line: #dfe5f1;
  --violet: #675cf3;
  --violet-dark: #4b40ca;
  --mint: #55d9ad;
  --orange: #ffb37a;
  --blue: #7fb7ff;
  --shadow: 0 24px 70px rgba(32, 45, 86, .13);
  --radius: 28px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans Thai", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 84% 5%, rgba(103,92,243,.13), transparent 28rem), radial-gradient(circle at 8% 22%, rgba(85,217,173,.12), transparent 24rem); }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(223,229,241,.85); background: rgba(247,248,255,.88); backdrop-filter: blur(20px); }
.nav-wrap { position: relative; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 7px 18px rgba(62,52,175,.2); }
.nav { display: flex; align-items: center; gap: 24px; font-size: .93rem; font-weight: 700; }
.nav a { color: #4f5e79; text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--violet-dark); }
.language-link { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.menu-toggle { display: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface); font: inherit; font-weight: 800; }

.hero { padding: 80px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(42px, 7vw, 90px); align-items: center; }
.hero-grid > * { min-width: 0; }
.app-chip { width: fit-content; display: flex; align-items: center; gap: 14px; margin-bottom: 28px; padding: 10px 17px 10px 10px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.82); box-shadow: 0 12px 32px rgba(32,45,86,.08); }
.app-chip img { width: 64px; height: 64px; border-radius: 17px; }
.app-chip strong, .app-chip span { display: block; }
.app-chip strong { font-size: 1.05rem; }
.app-chip span { color: var(--muted); font-size: .82rem; }
.eyebrow { margin: 0 0 14px; color: var(--violet-dark); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
h1, h2 { text-wrap: balance; }
h1 { margin: 0; max-width: 720px; font-size: clamp(3rem, 6.7vw, 5.4rem); line-height: 1.02; letter-spacing: -.065em; }
.hero-copy { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 21px; border-radius: 14px; font-weight: 800; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--ink); box-shadow: 0 12px 25px rgba(22,32,58,.22); }
.button-secondary { border: 1px solid var(--line); background: var(--surface); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin: 26px 0 0; padding: 0; color: var(--muted); font-size: .9rem; list-style: none; }
.trust-row li::before { content: "✓"; margin-right: 7px; color: #138160; font-weight: 900; }

.hero-preview { position: relative; min-height: 650px; display: grid; place-items: center; }
.hero-preview::before { content: ""; position: absolute; width: 92%; aspect-ratio: 1; border-radius: 35% 65% 57% 43%; background: linear-gradient(145deg, #dcd9ff, #d7f9ed); transform: rotate(-8deg); }
.preview-window { position: relative; width: min(365px, 80vw); overflow: hidden; padding: 8px; border: 1px solid #d9deeb; border-radius: 35px; background: #fff; box-shadow: var(--shadow); transform: rotate(2.2deg); }
.window-bar { height: 39px; display: flex; align-items: center; gap: 6px; padding: 0 11px; color: var(--muted); font-size: .72rem; }
.window-bar span { width: 7px; height: 7px; border-radius: 50%; background: #d8dce7; }
.window-bar b { margin-left: auto; font-weight: 700; }
.preview-window > img { display: block; width: 100%; border-radius: 27px; }
.floating-card { position: absolute; right: 0; bottom: 82px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 16px 38px rgba(32,45,86,.16); backdrop-filter: blur(14px); }
.floating-card span, .floating-card strong { display: block; }
.floating-card span { color: var(--muted); font-size: .76rem; }

.metrics { border-block: 1px solid var(--line); background: rgba(255,255,255,.65); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric-grid > div { display: grid; gap: 3px; padding: 26px 24px; text-align: center; }
.metric-grid > div + div { border-left: 1px solid var(--line); }
.metric-grid strong { font-size: 1.65rem; line-height: 1; }
.metric-grid span { color: var(--muted); font-size: .82rem; }

.section { padding: 92px 0; }
.section-soft { background: rgba(236,239,249,.78); }
.section-head { max-width: 770px; margin-bottom: 42px; }
.section h2 { margin: 0; font-size: clamp(2.15rem, 4.8vw, 3.6rem); line-height: 1.1; letter-spacing: -.05em; }
.section-lead { margin: 15px 0 0; color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { min-height: 270px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 12px 34px rgba(32,45,86,.05); }
.feature-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 16px; background: #e8e5ff; font-size: 1.35rem; font-weight: 800; }
.accent-mint .feature-icon { background: #d9f8ec; }
.accent-orange .feature-icon { background: #ffeadb; }
.accent-blue .feature-icon { background: #e1efff; }
.feature-card h3 { margin: 0 0 9px; font-size: 1.15rem; }
.feature-card p { margin: 0; color: var(--muted); }

.screen-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; align-items: start; }
.screen-card { margin: 0; overflow: hidden; padding: 10px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: 0 16px 50px rgba(32,45,86,.09); }
.screen-card.featured { margin-top: 50px; }
.screen-card img { display: block; width: 100%; border-radius: 22px; }
.screen-card figcaption { display: grid; gap: 4px; padding: 18px 14px 14px; }
.screen-card figcaption b { font-size: 1.08rem; }
.screen-card figcaption span { color: var(--muted); font-size: .9rem; }

.workflow-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding: 48px; border-radius: 36px; color: #fff; background: linear-gradient(135deg, #19223f, #303c70); box-shadow: var(--shadow); }
.workflow-panel .eyebrow { color: #8eedc9; }
.workflow { margin: 0; padding: 0; list-style: none; }
.workflow li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.workflow li:last-child { border-bottom: 0; }
.workflow li > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: var(--ink); background: var(--mint); font-weight: 900; }
.workflow b { font-size: 1.02rem; }
.workflow p { margin: 2px 0 0; color: #d6dbeb; font-size: .9rem; }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plan-card { position: relative; padding: 36px; border: 1px solid var(--line); border-radius: 32px; background: var(--surface); }
.plan-primary { color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.plan-label { margin: 0; color: var(--violet-dark); font-weight: 800; }
.plan-primary .plan-label { color: #9df0d1; }
.plan-price { margin: 10px 0; font-size: clamp(3.2rem, 6vw, 5rem); line-height: 1; letter-spacing: -.06em; font-weight: 900; }
.plan-price small { font-size: .85rem; letter-spacing: 0; }
.plan-card > p:not(.plan-label,.price-foot) { color: var(--muted); }
.plan-primary > p:not(.plan-label,.price-foot) { color: #d0d6e8; }
.plan-card ul { margin: 24px 0 0; padding: 0; list-style: none; }
.plan-card li { margin: 12px 0; padding-left: 25px; }
.plan-card li::before { content: "✓"; margin-left: -25px; margin-right: 9px; color: #159069; font-weight: 900; }
.plan-primary li::before { color: var(--mint); }
.price-badge { position: absolute; right: 28px; top: 28px; padding: 6px 11px; border-radius: 999px; color: var(--ink); background: var(--mint); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.price-foot { margin-top: 25px; color: #bfc7dc; font-size: .78rem; }

.privacy-banner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 44px; padding: 48px; border: 1px solid var(--line); border-radius: 36px; background: linear-gradient(135deg, #fff, #efefff); }
.privacy-banner p { max-width: 760px; color: var(--muted); }
.privacy-banner img { width: 160px; border-radius: 38px; box-shadow: 0 18px 38px rgba(75,64,202,.2); }
.privacy-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.privacy-links a { color: var(--violet-dark); font-weight: 800; }
.faq { max-width: 850px; }
details { padding: 20px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 800; }
details p { color: var(--muted); }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); background: rgba(255,255,255,.65); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .88rem; }
.footer-brand { color: var(--ink); }
.footer-brand img { width: 36px; height: 36px; border-radius: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; }

.content-page { padding: 74px 0 100px; }
.content-page article { max-width: 820px; }
.content-page h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1.06; letter-spacing: -.05em; }
.content-page h2 { margin-top: 44px; font-size: 1.55rem; }
.content-page p, .content-page li { color: var(--muted); }
.meta-line { color: var(--muted); font-size: .9rem; }
.notice { margin: 28px 0; padding: 20px; border-left: 4px solid var(--mint); background: #eefbf7; }

html[lang="th"] body { line-height: 1.75; }
html[lang="th"] h1,
html[lang="th"] h2,
html[lang="th"] .content-page h1 { letter-spacing: 0; }
html[lang="th"] h1 { line-height: 1.16; }
html[lang="th"] .section h2,
html[lang="th"] .content-page h1 { line-height: 1.22; }
html[lang="th"] .eyebrow,
html[lang="th"] .price-badge { letter-spacing: 0; text-transform: none; }

@media (max-width: 980px) {
  .hero-grid, .workflow-panel { grid-template-columns: 1fr; }
  .hero-content { max-width: 760px; }
  .hero-preview { min-height: 610px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .workflow-panel { gap: 30px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1180px); }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 66px; right: 0; left: 0; padding: 18px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .hero { padding-top: 54px; }
  h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  html[lang="th"] h1 { font-size: clamp(2.25rem, 10vw, 3.25rem); }
  html[lang="th"] .section h2 { font-size: clamp(1.95rem, 8.5vw, 2.7rem); }
  html[lang="th"] .content-page h1 { font-size: clamp(2.2rem, 9.5vw, 3.15rem); }
  .hero-preview { min-height: 540px; }
  .floating-card { right: 4px; bottom: 36px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .section { padding: 70px 0; }
  .screen-gallery { grid-template-columns: 1fr; }
  .screen-card, .screen-card.featured { width: min(100%, 420px); margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; }
  .privacy-banner { grid-template-columns: 1fr; padding: 34px 26px; }
  .privacy-banner img { width: 110px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .brand span { font-size: .95rem; }
  .app-chip { margin-bottom: 24px; }
  .app-chip img { width: 54px; height: 54px; }
  .hero-preview { min-height: 500px; }
  .preview-window { width: min(320px, 88vw); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .workflow-panel { padding: 30px 22px; }
  .plan-card { padding: 30px 24px; }
  .price-badge { position: static; display: inline-block; margin-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
