:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #020617;
  --muted: #64748b;
  --line: #e2e8f0;
  --cyan: #06b6d4;
  --cyan-soft: #ecfeff;
  --dark: #020617;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #e0f2fe 0, #f8fafc 34%, #ffffff 72%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 96px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background: var(--dark);
  color: white;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.2);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; letter-spacing: -0.03em; }
.brand small { margin-top: 2px; color: var(--muted); font-weight: 600; font-size: 12px; }
.main-nav { display: flex; align-items: center; gap: 30px; color: #475569; font-weight: 700; font-size: 14px; }
.main-nav a:hover { color: var(--ink); }
.language-switcher { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: white; }
.lang-btn { border: 0; cursor: pointer; background: transparent; color: var(--muted); font-weight: 900; padding: 8px 12px; border-radius: 999px; }
.lang-btn.active { background: var(--dark); color: white; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 56px; }
.eyebrow { display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid #a5f3fc; border-radius: 999px; background: var(--cyan-soft); color: #0e7490; font-weight: 900; }
h1 { margin: 24px 0 0; font-size: clamp(44px, 7vw, 78px); line-height: 0.96; letter-spacing: -0.07em; }
.lead { margin: 26px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.72; max-width: 720px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 900; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--dark); color: white; box-shadow: 0 12px 28px rgba(2, 6, 23, 0.18); }
.btn-primary:hover { background: #1e293b; }
.btn-secondary { background: white; color: var(--ink); border: 1px solid #cbd5e1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 42px; max-width: 670px; }
.stat-card { padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, 0.78); }
.stat-card strong { display: block; font-size: 28px; letter-spacing: -0.05em; }
.stat-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 600; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.visual-glow { position: absolute; width: 330px; height: 330px; border-radius: 999px; background: rgba(103, 232, 249, 0.35); filter: blur(50px); }
.dashboard-card { position: relative; width: min(100%, 520px); border-radius: 34px; background: white; padding: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.dashboard-card::before { content: ""; position: absolute; inset: -1px; border-radius: 34px; pointer-events: none; background: linear-gradient(135deg, rgba(6,182,212,0.35), transparent 38%, rgba(15,23,42,0.12)); opacity: 0.8; z-index: -1; }
.dashboard-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.dashboard-top span { display: block; color: #94a3b8; font-size: 13px; font-weight: 700; }
.dashboard-top strong { display: block; color: white; font-size: 22px; margin-top: 5px; }
.shield { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 18px; background: rgba(34, 211, 238, 0.14); color: #67e8f9; font-weight: 900; }
.dashboard-card > div:not(.dashboard-card) { border-radius: 25px; }
.dashboard-card { background: white; }
.dashboard-card > .dashboard-top, .dashboard-list { background: transparent; }
.dashboard-card { color: white; }
.dashboard-card::after { content: ""; position: absolute; inset: 16px; border-radius: 25px; background: #020617; z-index: 0; }
.dashboard-card > * { position: relative; z-index: 1; }
.dashboard-top, .dashboard-list { padding-left: 24px; padding-right: 24px; }
.dashboard-top { padding-top: 24px; }
.dashboard-list { padding-bottom: 24px; display: grid; gap: 14px; }
.dashboard-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255,255,255,0.1); }
.dashboard-item > span { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 14px; background: rgba(34, 211, 238, 0.12); color: #a5f3fc; font-weight: 900; }
.dashboard-item div { flex: 1; }
.dashboard-item strong { display: block; }
.dashboard-item small { display: block; color: #94a3b8; margin-top: 3px; }
.dashboard-item em { color: #86efac; font-style: normal; font-weight: 900; }

.section-heading { max-width: 760px; }
.section-label { display: inline-block; color: #0e7490; text-transform: uppercase; letter-spacing: 0.25em; font-size: 13px; font-weight: 900; }
.section-label.light { color: #67e8f9; }
h2 { margin: 14px 0 0; font-size: clamp(36px, 5vw, 54px); line-height: 1.02; letter-spacing: -0.055em; }
.section-heading p { margin-top: 22px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.service-card, .process-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05); transition: transform 0.22s, box-shadow 0.22s; }
.service-card:hover, .process-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 20px; background: var(--dark); color: white; font-weight: 900; font-size: 24px; }
h3 { margin: 24px 0 0; font-size: 25px; letter-spacing: -0.035em; }
.service-card p, .process-card p { margin: 16px 0 0; color: var(--muted); line-height: 1.72; }

.about { background: var(--dark); color: white; }
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 70px; }
.about p { color: #cbd5e1; font-size: 18px; line-height: 1.75; }
.check-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding: 18px 18px 18px 52px; border-radius: 20px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: #e2e8f0; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 18px; top: 17px; color: #67e8f9; font-weight: 900; }

.process-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.process-heading p { color: var(--muted); font-weight: 800; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.process-card strong { color: #0e7490; font-weight: 900; }
.process-card h3 { font-size: 21px; }

.contact-section { padding: 0 0 48px; }
.contact-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 38px; padding: clamp(30px, 5vw, 52px); border-radius: 34px; background: #ecfeff; border: 1px solid #cffafe; }
.contact-card p { max-width: 680px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.contact-box { min-width: min(420px, 100%); padding: 26px; border-radius: 26px; background: white; box-shadow: 0 18px 50px rgba(8, 145, 178, 0.08); }
.contact-box span { display: block; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.2em; font-size: 12px; font-weight: 900; }
.contact-box a:not(.btn) { display: block; margin: 14px 0 22px; font-size: 20px; font-weight: 900; word-break: break-word; }
.contact-box .btn { width: 100%; }

.site-footer { padding: 28px 0; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 14px; }
.footer-inner strong { color: #475569; }

.reveal { animation: fadeUp 0.75s both; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.32s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero-grid, .about-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; }
  .cards-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .contact-card { align-items: stretch; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .section-pad { padding: 68px 0; }
  .header-inner { gap: 12px; }
  .brand small { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .stats, .cards-grid, .process-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .dashboard-top, .dashboard-list { padding-left: 14px; padding-right: 14px; }
  .dashboard-top { padding-top: 16px; }
  .dashboard-list { padding-bottom: 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
