:root {
  --ink: #0f172a;
  /* dark text */
  --bg: #0b0b0b;
  /* body bg */
  --muted: #94a3b8;
  /* secondary text */
  --brand: #f2c94c;
  /* gold */
  --panel: #111318;
  /* card bg */
  --line: rgba(255, 255, 255, .08);
  --light-line: #e5e7eb;
  --max: 1100px;
  --radius: 18px;
  --shadow: 0 12px 28px rgba(0, 0, 0, .35);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: "Noto Sans Thai", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #fff;
  background: radial-gradient(1100px 420px at 80% -10%, rgba(255, 90, 90, .16) 0%, rgba(255, 90, 90, 0) 60%),
    radial-gradient(900px 420px at 10% 0%, rgba(60, 150, 255, .18) 0%, rgba(60, 150, 255, 0) 60%),
    linear-gradient(180deg, #000 0%, #141414 50%, #0b0b0b 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px
}

/* ===== Navbar ===== */
.navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: saturate(140%) blur(8px)
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, .55);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .3px
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(242, 201, 76, .25)
}

.menu {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0
}

.menu a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500
}

.menu a:hover {
  color: #fff
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer
}

.btn-primary {
  background: var(--brand);
  color: #0b0b0b
}

.btn-ghost {
  background: transparent;
  color: #e5e7eb
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line)
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
  min-height: 520px
}

.hero-left {
  padding: 28px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow);
  border: 1px solid var(--line)
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: #cbd5e1;
  margin-bottom: 14px
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand)
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 10px;
  font-weight: 800
}

.hero p {
  color: #e2e8f0;
  margin: 0 0 18px
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.hero-media {
  position: relative;
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow)
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.media-grad {
  position: absolute;
  inset: 0;
  background: radial-gradient(100% 65% at 70% 30%, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .55) 65%, rgba(0, 0, 0, .8) 100%)
}

/* ===== Intro (black panel) ===== */
.intro {
  padding: 52px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, .6)
}

.intro .panel {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 28px;
  align-items: center
}

.intro h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin: 0 0 10px
}

.intro p {
  color: #cbd5e1;
  margin: 0 0 18px
}

.intro-img {
  justify-self: end;
  width: min(340px, 80%);
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35))
}

/* ===== Solution (image band + text) ===== */
.solution {
  padding: 0;
  background: #fff;
  color: #0b0b0b
}

.solution .grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 40px;
  align-items: center;
  padding: 70px 0
}

.solution .card-img {
  border-radius: 0;
  overflow: hidden
}

.solution .card-img img {
  width: 100%;
  height: 420px;
  object-fit: cover
}

.solution h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin: 0 0 10px;
  color: #0b0b0b
}

.solution p {
  color: #334155
}

.solution ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #1f2937
}

/* ===== About split ===== */
.about {
  padding: 70px 0;
  background: #f6f7fb;
  color: #0b0b0b
}

.about .grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 40px;
  align-items: center
}

.about .lead {
  color: #334155
}

.about .photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18)
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--light-line);
  padding: 26px 0;
  background: #fff;
  color: #0b0b0b;
  text-align: center
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 26px 0
  }
}

@media (max-width: 980px) {
  .intro .panel {
    grid-template-columns: 1fr;
    text-align: center
  }

  .intro-img {
    justify-self: center
  }

  .solution .grid,
  .about .grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:720px) {
  .menu {
    display: none
  }
}