/* Aqualitic — shared site styles (extracted from index.html) */
/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  /* Brand palette — deep ocean + neon cyan */
  --navy-950: #050b1a;
  --navy-900: #0a1224;
  --navy-800: #0f1a33;
  --navy-700: #152448;
  --navy-600: #1d3160;
  --blue-500: #2563eb;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --aqua: #00ffd1;
  --teal-glow: #00e5ff;

  /* Neutrals */
  --white: #ffffff;
  --slate-100: #e6edf7;
  --slate-200: #d4dcec;
  --slate-300: #c5cee0;
  --slate-400: #95a4be;
  --slate-500: #5d6f8d;

  /* Surfaces */
  --bg: var(--navy-950);
  --surface: rgba(255,255,255,0.04);
  --surface-strong: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.10);
  --border-strong: rgba(34,211,238,0.35);

  /* Effects */
  --shadow-glow: 0 0 40px rgba(34,211,238,0.25);
  --shadow-card: 0 10px 40px rgba(0,0,0,0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Typography */
  --font-display: 'Prompt', 'Sora', 'Noto Sans Thai Looped', system-ui, -apple-system, sans-serif;
  --font-body: 'Noto Sans Thai Looped', 'Sora', system-ui, -apple-system, sans-serif;

  --container: 1240px;
}

/* =========================================================
   BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  color: var(--slate-100);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--white);
}
h1 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; color: var(--slate-200, #d4dcec); font-size: 1rem; line-height: 1.75; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Background ambience */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(34,211,238,0.18), transparent 60%),
    radial-gradient(800px 500px at 90% 5%, rgba(37,99,235,0.20), transparent 60%),
    radial-gradient(600px 500px at 50% 110%, rgba(0,255,209,0.10), transparent 60%);
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.7), transparent 75%);
  z-index: -1;
  pointer-events: none;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.35s ease;
  padding: 18px 0;
}
.nav.scrolled {
  background: rgba(5,11,26,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease;
}
.logo:hover { transform: translateY(-1px); }
.logo img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(34,211,238,0.35));
  transition: height 0.3s ease;
}
.nav.scrolled .logo img { height: 40px; }
.footer .logo img { height: 60px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-300);
  transition: color 0.2s;
  position: relative;
}
.nav-menu a:hover { color: var(--cyan-300); }
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-400), var(--aqua));
  transition: width 0.3s;
}
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  color: var(--navy-950);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s;
  box-shadow: 0 8px 24px rgba(34,211,238,0.35);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(34,211,238,0.5); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--white);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(1.1) blur(1px);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,11,26,0.6) 0%, rgba(5,11,26,0.85) 60%, var(--bg) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(34,211,238,0.10);
  border: 1px solid rgba(34,211,238,0.30);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cyan-300);
  margin-bottom: 28px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 0 rgba(0,255,209,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,255,209,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(0,255,209,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,255,209,0); }
}

.hero h1 {
  margin-bottom: 22px;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--cyan-300) 0%, var(--aqua) 60%, var(--cyan-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--slate-300);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 50px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: all 0.25s;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  color: var(--navy-950);
  box-shadow: 0 12px 32px rgba(34,211,238,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(34,211,238,0.55); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--white);
}
.btn-ghost:hover { background: var(--surface-strong); border-color: var(--cyan-400); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 560px;
}
.stat {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-300), var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 0.82rem; color: var(--slate-400); margin: 0; }

/* Hero visual — dashboard mockup */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
}
.orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(34,211,238,0.45), transparent 60%);
  animation: float 8s ease-in-out infinite;
}
.orb::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(34,211,238,0.4);
  animation: spin 30s linear infinite;
}
.orb::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  border: 1px dashed rgba(0,255,209,0.3);
  animation: spin 22s linear infinite reverse;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.dash-card {
  position: absolute;
  background: linear-gradient(135deg, rgba(15,26,51,0.95), rgba(10,18,36,0.95));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(34,211,238,0.15);
  backdrop-filter: blur(10px);
  min-width: 180px;
}
.dash-card .label { font-size: 0.72rem; color: var(--slate-400); margin: 0 0 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.dash-card .value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); margin: 0; }
.dash-card .value small { font-size: 0.7em; color: var(--cyan-300); margin-left: 4px; }
.dash-card .trend { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--aqua); margin-top: 6px; }

.dash-card.c1 { top: 8%; left: -4%; animation: float 6s ease-in-out infinite; }
.dash-card.c2 { top: 38%; right: -6%; animation: float 7s ease-in-out infinite reverse; }
.dash-card.c3 { bottom: 8%; left: 10%; animation: float 8s ease-in-out infinite; }

.sparkline {
  width: 100%; height: 30px; margin-top: 6px;
}
.sparkline path { fill: none; stroke: var(--cyan-400); stroke-width: 2; stroke-linecap: round; }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--slate-400);
  text-transform: uppercase;
  z-index: 3;
}
.hero-scroll .line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--cyan-400));
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0%,100% { transform: scaleY(0.5); transform-origin: top; } 50% { transform: scaleY(1); } }

/* =========================================================
   SECTION HEADER
   ========================================================= */
section { padding: 100px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.25);
  color: var(--cyan-300);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-title .gradient {
  background: linear-gradient(135deg, var(--cyan-300), var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-lead {
  color: var(--slate-300);
  font-size: 1.05rem;
}

/* =========================================================
   PROBLEM
   ========================================================= */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.problem-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan-400), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.problem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34,211,238,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.problem-card:hover::before { opacity: 1; }
.problem-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(37,99,235,0.15));
  border: 1px solid rgba(34,211,238,0.3);
  margin-bottom: 18px;
}
.problem-icon svg { width: 26px; height: 26px; color: var(--cyan-300); }
.problem-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.problem-card p { font-size: 0.92rem; margin: 0; color: var(--slate-400); }

/* =========================================================
   SOLUTION / HOW IT WORKS
   ========================================================= */
.solution { background: linear-gradient(180deg, transparent, rgba(15,26,51,0.4) 40%, transparent); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.how-grid::before {
  content: "";
  position: absolute;
  top: 40px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-400) 20%, var(--cyan-400) 80%, transparent);
  opacity: 0.4;
}
.step-card {
  position: relative;
  padding: 32px 28px;
  background: rgba(15,26,51,0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  margin: -60px auto 20px;
  box-shadow: 0 0 30px rgba(34,211,238,0.4);
}
.step-card h3 { text-align: center; font-size: 1.2rem; margin-bottom: 10px; }
.step-card p { text-align: center; font-size: 0.92rem; margin: 0; color: var(--slate-300); }

/* =========================================================
   PRODUCTS / STANDARD SET
   ========================================================= */
.products-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}
.standard-set {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: sticky;
  top: 100px;
}
.standard-set h3 {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.35rem; margin-bottom: 6px;
}
.standard-set h3 .badge {
  padding: 4px 12px; border-radius: 999px;
  background: var(--aqua); color: var(--navy-950);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
}
.standard-set p.lead { color: var(--slate-400); margin-bottom: 24px; font-size: 0.95rem; }

.standard-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.standard-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--slate-100);
  transition: all 0.25s;
}
.standard-list li:hover {
  background: rgba(34,211,238,0.06);
  border-color: rgba(34,211,238,0.3);
  transform: translateX(4px);
}
.standard-list .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-400), var(--aqua));
  display: grid; place-items: center;
  color: var(--navy-950);
  font-size: 0.7rem; font-weight: 800;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.product-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.3s;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34,211,238,0.4);
  box-shadow: var(--shadow-card);
}
.product-card .img-wrap {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  margin-bottom: 14px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
}
.product-card .img-wrap img {
  width: 100%; height: 100%; object-fit: contain; padding: 12px;
  transition: transform 0.4s;
}
.product-card:hover .img-wrap img { transform: scale(1.05); }
.product-card h4 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 4px; color: var(--white); }
.product-card .meta { font-size: 0.82rem; color: var(--slate-400); margin: 0; }

/* =========================================================
   PROMO BANNER
   ========================================================= */
.promo {
  padding: 60px 0;
}
.promo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(34,211,238,0.25), transparent 60%),
    radial-gradient(600px 400px at 100% 100%, rgba(0,255,209,0.15), transparent 60%),
    linear-gradient(135deg, #0c1a36, #051129);
  border: 1px solid rgba(34,211,238,0.3);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}
.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34,211,238,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.promo-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--aqua); color: var(--navy-950);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.promo-card h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 14px; }
.promo-card h2 .highlight {
  color: var(--aqua);
  text-shadow: 0 0 30px rgba(0,255,209,0.4);
}
.promo-card .promo-points {
  list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px;
}
.promo-card .promo-points li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.94rem; color: var(--slate-100);
}
.promo-card .promo-points li::before {
  content: "✓";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--navy-950);
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.78rem;
  flex-shrink: 0;
}
.promo-amount {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: rgba(5,11,26,0.7);
  border: 1px solid rgba(34,211,238,0.4);
  position: relative;
  z-index: 2;
}
.promo-amount .label { font-size: 0.85rem; color: var(--slate-300); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.promo-amount .value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan-300), var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}
.promo-amount .unit { font-size: 1rem; color: var(--slate-300); margin-bottom: 18px; }
.promo-amount .source { font-size: 0.8rem; color: var(--slate-400); }

/* =========================================================
   FEATURES / TECHNOLOGY
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(34,211,238,0.4); }
.feature .icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  color: var(--navy-950);
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(34,211,238,0.3);
}
.feature .icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature p { font-size: 0.92rem; color: var(--slate-300); margin: 0; }

/* =========================================================
   REFERENCE GALLERY
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 16px;
}
.gallery .tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  transition: all 0.3s;
}
.gallery .tile.wide { grid-column: span 2; aspect-ratio: 8/3; }
.gallery .tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.gallery .tile:hover { border-color: var(--cyan-400); }
.gallery .tile:hover img { transform: scale(1.08); }
.gallery .tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,11,26,0.7));
  pointer-events: none;
}

/* =========================================================
   TECHNOLOGY / PARTNER
   ========================================================= */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tech-grid--single {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.tech-grid--single h2 { text-align: center; }
.tech-grid--single .partner-row { text-align: left; max-width: 560px; margin-left: auto; margin-right: auto; }
.tech-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.tech-visual img { width: 100%; height: 100%; object-fit: cover; }
.tech-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(34,211,238,0.15), transparent 60%);
}
.partner-row {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-top: 24px;
}
.partner-row .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(37,99,235,0.15));
  border: 1px solid rgba(34,211,238,0.3);
  display: grid; place-items: center;
  color: var(--cyan-300);
  flex-shrink: 0;
}
.partner-row strong { color: var(--white); display: block; font-family: var(--font-display); }
.partner-row span { color: var(--slate-400); font-size: 0.88rem; }

/* =========================================================
   CTA / CONTACT
   ========================================================= */
.cta-section { padding-bottom: 60px; }
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  background:
    radial-gradient(1000px 600px at 50% 0%, rgba(34,211,238,0.25), transparent 60%),
    linear-gradient(135deg, #0a1530, #050b1a);
  border: 1px solid rgba(34,211,238,0.3);
}
.cta-card h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.cta-card p { max-width: 600px; margin: 0 auto 32px; color: var(--slate-300); }
.cta-card .btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

.contact-channels {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px;
  margin-top: 36px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.channel {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.9rem; font-weight: 500;
  transition: all 0.25s;
}
.channel:hover {
  background: rgba(34,211,238,0.1);
  border-color: var(--cyan-400);
  color: var(--white);
  transform: translateY(-2px);
}
.channel svg { width: 18px; height: 18px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 70px 0 30px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(5,11,26,0.6));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer h5 {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-300);
  margin-bottom: 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--slate-400); font-size: 0.92rem; transition: color 0.2s; }
.footer a:hover { color: var(--cyan-300); }
.footer-brand p { color: var(--slate-400); font-size: 0.92rem; max-width: 320px; margin-top: 16px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--slate-500); font-size: 0.85rem;
}
.footer-bottom .powered { display: flex; align-items: center; gap: 8px; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.product-card, .gallery .tile { cursor: zoom-in; }
.product-card.no-zoom { cursor: pointer; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3,7,18,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.open { display: flex; opacity: 1; }

.lightbox-wrap {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox.open .lightbox-wrap { transform: scale(1); }

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(34,211,238,0.20);
  border: 1px solid var(--border-strong);
  object-fit: contain;
  background: rgba(15,26,51,0.6);
}
.lightbox.is-product img {
  background: #ffffff;
  padding: 28px;
}
.gallery .tile img { cursor: zoom-in; }

.lightbox-caption {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
  max-width: 80vw;
}
.lightbox-caption span { color: var(--slate-400); font-weight: 400; font-size: 0.88rem; display: block; margin-top: 4px; }

.lightbox-close {
  position: absolute;
  top: -54px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: all 0.25s;
}
.lightbox-close:hover {
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  color: var(--navy-950);
  transform: rotate(90deg);
  box-shadow: 0 0 24px rgba(34,211,238,0.5);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: all 0.25s;
  z-index: 2;
}
.lightbox-nav:hover {
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  color: var(--navy-950);
  box-shadow: 0 0 24px rgba(34,211,238,0.5);
}
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }

@media (max-width: 720px) {
  .lightbox-close { top: -48px; width: 40px; height: 40px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox img { padding: 10px; }
}

/* =========================================================
   NEWS SECTION
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.news-highlights { display: grid; gap: 18px; }
.news-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.news-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.news-card h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.news-card p { font-size: 0.95rem; margin: 0 0 12px; color: var(--slate-300); }
.news-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-300);
  background: rgba(34,211,238,0.10);
  border: 1px solid rgba(34,211,238,0.25);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.news-date {
  display: block;
  font-size: 0.8rem;
  color: var(--slate-400);
  letter-spacing: 0.04em;
}
.fb-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  overflow: hidden;
}
.fb-wrap iframe { border: 0; width: 100%; max-width: 100%; }

/* =========================================================
   FAQ SECTION
   ========================================================= */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--cyan-300);
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 20px; color: var(--slate-300); }
.faq-answer p { margin: 0; }

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .products-grid { grid-template-columns: 1fr; }
  .standard-set { position: static; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .tile.wide { grid-column: auto; aspect-ratio: 4/3; }
  .tech-grid { grid-template-columns: 1fr; }
  .promo-card { grid-template-columns: 1fr; padding: 40px 32px; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column; gap: 16px;
    position: absolute; top: 100%; left: 16px; right: 16px;
    background: rgba(10,18,36,0.95);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    backdrop-filter: blur(20px);
    margin-top: 8px;
  }
  section { padding: 70px 0; }
  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero-grid { gap: 32px; }

  /* Hero visual: เปลี่ยนจาก absolute dashboard เป็น grid ปกติบนมือถือ */
  .hero-visual {
    aspect-ratio: auto;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 auto;
  }
  .hero-visual .orb { display: none; }
  .dash-card {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    animation: none !important;
    min-width: 0;
    padding: 14px 16px;
  }
  .dash-card.c3 { grid-column: 1 / -1; }
  .dash-card .value { font-size: 1.25rem; }

  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat { padding: 12px; }
  .stat-num { font-size: 1.2rem; }
  .stat-label { font-size: 0.75rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 50px; }
  .how-grid::before { display: none; }
  .product-cards { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery .tile.wide { grid-column: auto; aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .promo-card, .cta-card { padding: 36px 22px; }
}
