/* GSmart 2026 design system — loaded after site.css */
:root,
html.light {
  --bg: #ffffff;
  --bg2: #f8fafc;
  --card: #ffffff;
  --line: #e5e7eb;
  --line2: #eef0f3;
  --text: #0a0a0a;
  --muted: #4b5563;
  --faint: #6b7280;
  --em: #2563eb;
  --em2: #1d4ed8;
  --em-soft: #eff6ff;
  --vio: #2563eb;
  --ok: #16a34a;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px -12px rgba(16,24,40,.12);
  --shadow-lg: 0 2px 4px rgba(16,24,40,.04), 0 32px 64px -24px rgba(16,24,40,.22);
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-d: "Inter Tight", "Inter", system-ui, sans-serif;
}
html.dark {
  --bg: #0a0b0f;
  --bg2: #0f1117;
  --card: #12141b;
  --line: #22252f;
  --line2: #1a1d26;
  --text: #f5f6f8;
  --muted: #a1a7b3;
  --faint: #8a91a0;
  --em: #3b82f6;
  --em2: #60a5fa;
  --em-soft: rgba(59,130,246,.12);
  --vio: #60a5fa;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 32px 64px -24px rgba(0,0,0,.7);
}

body {
  font-family: var(--font);
  font-feature-settings: "cv11", "ss03";
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: auto;
  text-rendering: optimizeLegibility;
}
html.dark body { background-image: none; }
h1, h2, h3, h4 { font-family: var(--font-d); letter-spacing: -.025em; line-height: 1.1; color: var(--text); }
.wrap { width: min(1200px, calc(100% - 40px)); }
.muted { color: var(--muted); }
::selection { background: rgba(37,99,235,.18); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px;
  font: 600 15px/1 var(--font); letter-spacing: -.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .15s;
  text-transform: none;
}
.btn-p { background: var(--em); color: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.08), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-p:hover { background: var(--em2); color: #fff; }
html.dark .btn-p:hover { background: #2563eb; }
.btn-g { background: var(--card); color: var(--text); border-color: var(--line); box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.btn-g:hover { background: var(--bg2); border-color: #d1d5db; }
html.dark .btn-g:hover { border-color: #333846; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(2px); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line2);
  backdrop-filter: none;
}
html.dark .nav { background: rgba(10,11,15,.96); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 17px/1 var(--font-d); letter-spacing: -.02em; color: var(--text); }
.logo img { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-links a {
  padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--muted);
  background: none; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg2); }
.nav-links a.on { color: var(--text); background: none; font-weight: 600; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-cta .btn { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.theme-btn {
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--card); color: var(--muted); cursor: pointer; font-size: 15px;
}
.theme-btn:hover { color: var(--text); background: var(--bg2); }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 18px; cursor: pointer; }
@media (max-width: 900px) {
  .nav-in { gap: 12px; }
  .nav-burger { display: inline-grid; place-items: center; order: 3; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 12px; font-size: 15.5px; }
  .nav-cta .btn-g { display: none; }
}
@media (max-width: 420px) { .nav-cta .btn { padding: 0 12px; } }

/* ── Generic sections (shared by inner pages) ── */
.sec { padding: 96px 0; }
.sec-h { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-h h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin: 12px 0 14px; }
.sec-h p { color: var(--muted); font-size: 17.5px; line-height: 1.6; }
.chip, .eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 13px/1 var(--font); letter-spacing: 0; text-transform: none;
  color: var(--em2); background: var(--em-soft); border: 1px solid rgba(37,99,235,.14);
  padding: 6px 12px; border-radius: 999px;
}
html.dark .chip, html.dark .eyebrow { color: #93c5fd; border-color: rgba(59,130,246,.25); }
.prod-card, .demo-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.cta-band {
  border-radius: 20px; padding: 48px; background: #0b1220; color: #fff; border: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band h2, .cta-band p { color: #fff; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Hero ── */
.hx {
  position: relative; overflow: hidden;
  padding: 88px 0 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(37,99,235,.10), transparent 70%),
    var(--bg);
}
.hx::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 75%);
}
html.dark .hx::before {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
}
.hx-in { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.hx-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 6px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  font-size: 13.5px; font-weight: 500; color: var(--muted); box-shadow: 0 1px 2px rgba(16,24,40,.05);
}
.hx-pill b { background: var(--em); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.hx-pill span { padding-right: 8px; }
.hx h1 {
  font-size: clamp(40px, 6.4vw, 72px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02;
  margin: 22px auto 20px; max-width: 14ch;
}
.hx h1 em { font-style: normal; color: var(--em); }
.hx-sub { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); max-width: 620px; margin: 0 auto; line-height: 1.6; }
.hx-ctas { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hx-note { margin-top: 16px; font-size: 13.5px; color: var(--faint); display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.hx-note span::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 6px; }

.hx-visual { position: relative; max-width: 1080px; margin: 64px auto 0; padding: 0 8px; }
.frame {
  position: relative; border-radius: 14px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden;
}
.frame-bar {
  height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px;
  background: var(--bg2); border-bottom: 1px solid var(--line);
}
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e5e7eb; }
html.dark .frame-bar i { background: #2a2e39; }
.frame-url {
  margin: 0 auto; transform: translateX(-28px);
  font-size: 12.5px; color: var(--faint); background: var(--card); border: 1px solid var(--line);
  border-radius: 7px; padding: 3px 14px; min-width: 240px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%;
}
.frame img { display: block; width: 100%; height: auto; }
.hx-visual .frame { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.hx-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }

.toast {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 16px 12px 12px; box-shadow: var(--shadow-lg); text-align: left;
  animation: floaty 6s ease-in-out infinite;
}
.toast .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.toast .ic svg { width: 20px; height: 20px; }
.toast small { display: block; font-size: 12px; color: var(--faint); line-height: 1.3; }
.toast strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3; }
.toast-a { left: -28px; top: 34%; }
.toast-b { right: -28px; top: 58%; animation-delay: -3s; }
.ic-ok { background: #dcfce7; color: #15803d; }
.ic-wa { background: #dcfce7; color: #16a34a; }
.ic-bl { background: var(--em-soft); color: var(--em); }
html.dark .ic-ok, html.dark .ic-wa { background: rgba(34,197,94,.14); color: #4ade80; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }
@media (max-width: 1160px) { .toast-a { left: 12px; } .toast-b { right: 12px; } }
@media (max-width: 720px) {
  .hx { padding-top: 56px; }
  .hx-visual { margin-top: 44px; }
  .toast { padding: 9px 12px 9px 9px; border-radius: 12px; }
  .toast .ic { width: 30px; height: 30px; }
  .toast strong { font-size: 13px; }
  .toast small { font-size: 11px; }
  .toast-a { left: 8px; top: auto; bottom: 18%; }
  .toast-b { display: none; }
  .frame-url { min-width: 0; transform: none; }
}

/* ── Stats ── */
.stats { border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); background: var(--bg); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 28px; border-left: 1px solid var(--line2); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 700 clamp(28px, 3vw, 38px)/1.05 var(--font-d); letter-spacing: -.03em; color: var(--text); }
.stat span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 820px) {
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line2); }
  .stat { padding: 24px 18px; }
}

/* ── Bento ── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bx {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.04);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  color: inherit;
}
.bx:hover { border-color: #cfd8e6; box-shadow: var(--shadow); transform: translateY(-2px); }
html.dark .bx:hover { border-color: #323745; }
.bx-wide { grid-column: span 2; }
.bx-txt { padding: 26px 26px 0; }
.bx-tag { font-size: 12.5px; font-weight: 600; color: var(--em); }
html.dark .bx-tag { color: #93c5fd; }
.bx h3 { font-size: 21px; font-weight: 700; margin: 8px 0 8px; letter-spacing: -.02em; }
.bx p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.bx-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14.5px; font-weight: 600; color: var(--em); }
html.dark .bx-link { color: #93c5fd; }
.bx:hover .bx-link .arr { transform: translateX(3px); }
.bx-link .arr { transition: transform .15s; }
.bx-media {
  margin: 22px 0 0 26px; flex: 1; min-height: 180px;
  border-top-left-radius: 12px; border: 1px solid var(--line); border-right: 0; border-bottom: 0;
  overflow: hidden; background: var(--bg2);
}
.bx-media { position: relative; }
.bx-media > img:first-child { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.bx .bx-media { min-height: 210px; }
.bx-wide .bx-media { min-height: 340px; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bx-wide { grid-column: span 2; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .bx-wide { grid-column: auto; }
  .bx-txt { padding: 22px 22px 0; }
  .bx-media { margin-left: 22px; min-height: 170px; }
}

/* ── Ecosystem bento (studio / suite sites) ── */
.bx-tall { grid-row: span 2; }
.bx-tall .bx-media { position: relative; min-height: 420px; background: #0b0f19; }
.bx-tall .bx-media > img:first-child { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: left top; }
.bx-tall .bx-phone {
  position: absolute; right: 16px; bottom: -40px; width: min(48%, 190px) !important; height: auto !important;
  border: 6px solid #0b0f19; border-radius: 24px; box-shadow: 0 24px 48px -16px rgba(0,0,0,.55);
  outline: 1px solid rgba(255,255,255,.12);
}
.bx-tall .bx-media > img.fit { object-fit: contain; object-position: center top; padding: 16px 16px 0; }
@media (max-width: 900px) { .bx-tall .bx-media { min-height: 320px; } }
.bx-dom {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  font-size: 13px; color: var(--faint); font-weight: 500;
}
.bx-dom::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.bx-photo .bx-media { margin: 22px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.bx-photo .bx-media img { object-position: center; }
.bx-cta { background: var(--em); border-color: var(--em); color: #fff; justify-content: space-between; }
.bx-cta:hover { border-color: var(--em2); background: var(--em2); }
.bx-cta .bx-tag, .bx-cta h3, .bx-cta p, .bx-cta .bx-link { color: #fff !important; }
.bx-cta p { opacity: .88; }
.bx-cta .bx-txt { padding-bottom: 26px; }
@media (max-width: 900px) { .bx-tall { grid-row: auto; } }

/* ── Hero stack: browser + phone ── */
.hx-stack { position: relative; max-width: 1080px; margin: 64px auto 0; padding: 0 8px; }
.hx-stack > .frame { margin-right: 120px; }
.phone {
  position: absolute; right: 8px; bottom: -40px; width: 230px; z-index: 2;
  border-radius: 34px; padding: 9px; background: #0b0f19;
  box-shadow: 0 30px 60px -20px rgba(16,24,40,.45), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone img { display: block; width: 100%; aspect-ratio: 9 / 18.5; object-fit: cover; object-position: top; border-radius: 26px; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 12px; background: #0b0f19; z-index: 1; }
.hx-stack .toast-a { left: -28px; top: 26%; }
.hx-stack .toast-b { right: auto; left: 52%; top: auto; bottom: 18px; }
.hx-stack-pad { height: 72px; }
@media (max-width: 900px) {
  .hx-stack > .frame { margin-right: 70px; }
  .phone { width: 150px; border-radius: 24px; padding: 6px; bottom: -28px; }
  .phone img { border-radius: 19px; }
  .phone::before { top: 10px; width: 46px; height: 12px; }
}
@media (max-width: 620px) {
  .hx-stack { margin-top: 44px; }
  .hx-stack > .frame { margin-right: 44px; }
  .phone { width: 112px; right: 4px; }
  .hx-stack .toast-a { left: 8px; top: auto; bottom: 14%; }
  .hx-stack .toast-b { display: none; }
}

/* ── Demo role cards ── */
.roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.role {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--card); color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.role:hover { border-color: #cfd8e6; box-shadow: var(--shadow); transform: translateY(-2px); }
.role b { font: 700 16.5px/1.25 var(--font-d); letter-spacing: -.015em; color: var(--text); }
.role span { font-size: 14px; color: var(--muted); line-height: 1.5; flex: 1; }
.role em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--em); margin-top: 6px; }
html.dark .role em { color: #93c5fd; }
@media (max-width: 1000px) { .roles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .roles { grid-template-columns: 1fr 1fr; } }

/* ── Industries strip ── */
.inds { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.inds span {
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  font-size: 14.5px; font-weight: 500; color: var(--text);
}

/* ── Split feature ── */
.split2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split2 h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; margin: 14px 0 14px; }
.split2 > div > p { color: var(--muted); font-size: 17px; }
.checks { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 15.5px; color: var(--muted); line-height: 1.5; }
.checks li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--em-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checks b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .split2 { grid-template-columns: 1fr; gap: 36px; } }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: st; }
.step { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.step::before {
  counter-increment: st; content: counter(st);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--em-soft); color: var(--em); font: 700 15px/1 var(--font-d); margin-bottom: 18px;
}
html.dark .step::before { color: #93c5fd; }
.step h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ── Dark CTA ── */
.cta2 {
  position: relative; overflow: hidden; border-radius: 24px; padding: 64px 48px; text-align: center;
  background: #0b1220; color: #fff;
}
.cta2::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(59,130,246,.35), transparent 70%),
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(80% 90% at 50% 0%, #000 40%, transparent 100%);
          mask-image: radial-gradient(80% 90% at 50% 0%, #000 40%, transparent 100%);
}
.cta2 > * { position: relative; }
.cta2 h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 700; max-width: 18ch; margin: 0 auto 14px; }
.cta2 p { color: #cbd5e1; font-size: 17px; max-width: 560px; margin: 0 auto; }
.cta2 .hx-ctas { margin-top: 28px; }
.cta2 .btn-g { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.18); box-shadow: none; }
.cta2 .btn-g:hover { background: rgba(255,255,255,.12); }
.cta2 .btn-p { background: #fff; color: #0b1220; }
.cta2 .btn-p:hover { background: #e5edff; color: #0b1220; }
@media (max-width: 620px) { .cta2 { padding: 48px 22px; border-radius: 18px; } }

/* ── Contact (shared/contact_section.php) ── */
.gsd-contact { padding: 96px 16px; border-top: 0; background: var(--bg2); }
.gsd-contact h2 { font-family: var(--font-d) !important; font-weight: 700 !important; font-size: clamp(28px, 3.4vw, 38px) !important; letter-spacing: -.025em; color: var(--text) !important; }
.gsd-contact-lead { color: var(--muted) !important; font-size: 16.5px !important; }
.gsd-contact-form {
  background: var(--card) !important; border: 1px solid var(--line) !important;
  border-radius: 18px !important; box-shadow: var(--shadow) !important; padding: 28px !important;
}
.gsd-contact-field label { color: var(--text) !important; font-size: 13.5px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; }
.gsd-contact-field input, .gsd-contact-field textarea, .gsd-contact-field select {
  background: var(--card) !important; border: 1px solid #d1d5db !important; color: var(--text) !important;
  border-radius: 10px !important; font: 15px var(--font) !important; padding: 11px 14px !important;
}
html.dark .gsd-contact-field input, html.dark .gsd-contact-field textarea { border-color: var(--line) !important; background: var(--bg) !important; }
.gsd-contact-field input:focus, .gsd-contact-field textarea:focus { outline: none; border-color: var(--em) !important; box-shadow: 0 0 0 3px rgba(37,99,235,.15) !important; }
.gsd-contact-btn {
  background: var(--em) !important; color: #fff !important; border: 0 !important; border-radius: 10px !important;
  height: 48px; font: 600 15.5px var(--font) !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important;
}
.gsd-contact-btn:hover { background: var(--em2) !important; }
.gsd-contact-privacy { color: var(--faint) !important; }

/* ── Quiet defaults: no scroll fade-ins, one floating contact button ── */
.reveal, .reveal.on { opacity: 1; transform: none; transition: none; }
.hx h1 em { color: inherit; }
#gsd-float-widget { right: 16px !important; bottom: 16px !important; }
#gsd-float-widget a[href^="tel:"] { display: none !important; }
#gsd-float-widget a { width: 46px !important; height: 46px !important; background: #25d366 !important; box-shadow: 0 4px 14px rgba(16,24,40,.2) !important; }

/* ── Signature heroes (shared/gsd_signature.php) ── */
.hx2 { padding: 72px 0 64px; border-bottom: 1px solid var(--line); background: var(--bg); }
.hx2-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hx2 h1 { font-size: clamp(38px, 5vw, 62px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; margin: 0 0 20px; max-width: 13ch; }
.hx2 .hx-sub { margin: 0; max-width: 33em; }
.hx2 .hx-ctas, .hx2 .hx-note { justify-content: flex-start; }
.hx2-obj { display: flex; justify-content: center; }
@media (max-width: 900px) {
  .hx2 { padding: 48px 0 48px; }
  .hx2-in { grid-template-columns: 1fr; gap: 44px; }
}

/* gsmartapp: thermal bill */
.sig-rcpt { margin: 0; width: min(100%, 360px); position: relative; padding-top: 14px; }
.rcpt-slot { position: absolute; top: 0; left: -14px; right: -14px; height: 22px; border-radius: 8px; background: #1f2937; box-shadow: inset 0 -6px 0 #111827; z-index: 2; }
.rcpt {
  position: relative; background: #fff; color: #111827; padding: 26px 22px 30px;
  font: 500 12.5px/1.45 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  box-shadow: 0 24px 48px -20px rgba(15,23,42,.35), 0 2px 6px rgba(15,23,42,.08);
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/14px 10px repeat-x;
          mask: linear-gradient(#000 0 0) top/100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/14px 10px repeat-x;
  animation: rcpt-print 1.6s cubic-bezier(.2,.7,.2,1) .2s both;
}
@keyframes rcpt-print { from { clip-path: inset(0 0 100% 0); transform: translateY(-40px); } to { clip-path: inset(0 0 0 0); transform: none; } }
.rcpt-head { text-align: center; display: grid; gap: 1px; padding-bottom: 12px; border-bottom: 1px dashed #9ca3af; }
.rcpt-head b { font-size: 15px; letter-spacing: .02em; }
.rcpt-head span { color: #4b5563; font-size: 11.5px; }
.rcpt-meta { display: flex; justify-content: space-between; color: #4b5563; font-size: 11.5px; padding: 8px 0; border-bottom: 1px dashed #9ca3af; }
.rcpt-items { width: 100%; border-collapse: collapse; margin: 6px 0; }
.rcpt-items td { padding: 4px 0; vertical-align: top; }
.rcpt-items td:nth-child(2) { color: #4b5563; white-space: nowrap; padding: 4px 8px; }
.rcpt-items td:last-child { text-align: right; white-space: nowrap; }
.rcpt-items small { display: block; color: #6b7280; font: 400 11.5px/1.35 "Noto Sans Tamil", var(--font); }
.rcpt-sum { display: grid; grid-template-columns: 1fr auto; margin: 0; padding: 8px 0; border-top: 1px dashed #9ca3af; color: #4b5563; }
.rcpt-sum dd { margin: 0; text-align: right; }
.rcpt-total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-top: 2px solid #111827; border-bottom: 1px dashed #9ca3af; }
.rcpt-total span { font-weight: 700; }
.rcpt-total b { font: 700 26px/1 var(--font-d); letter-spacing: -.02em; }
.rcpt-pay { display: flex; gap: 14px; align-items: center; padding: 14px 0 6px; }
.rcpt-pay .qr { flex-shrink: 0; }
.rcpt-pay p { margin: 0; font: 500 13px/1.45 var(--font); color: #374151; }
.rcpt-paid { display: block; margin-top: 8px; color: #15803d; font-weight: 700; }
.rcpt-paid::before { content: "✓ "; }
.rcpt-foot { text-align: center; color: #6b7280; font-size: 11.5px; padding-top: 8px; }

/* gsmartsolution: table card + kitchen ticket */
.sig-table { margin: 0; position: relative; width: min(100%, 470px); min-height: 430px; }
.tent {
  position: absolute; left: 0; top: 28px; width: 220px; z-index: 2;
  background: #0b1220; color: #fff; border-radius: 18px 18px 6px 6px; padding: 22px 20px 24px;
  display: grid; justify-items: center; gap: 12px; text-align: center;
  box-shadow: 0 30px 60px -24px rgba(11,18,32,.6);
}
.tent::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -12px; height: 12px; border-radius: 0 0 8px 8px; background: #1e293b; }
.tent-no { font: 700 30px/1 var(--font-d); letter-spacing: -.02em; }
.tent .qr { border-radius: 10px; padding: 6px; background: #fff; }
.tent b { font-size: 15px; line-height: 1.35; }
.tent-brand { font-size: 12.5px; color: #94a3b8; }
.kot {
  position: absolute; right: 0; top: 0; width: 290px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 14px 74px;
  box-shadow: var(--shadow-lg);
}
.kot-head { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.kot-head b { font-size: 15px; }
.kot-head span { font-size: 13px; color: var(--faint); }
.kot-items { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.kot-items b { display: inline-block; min-width: 22px; color: var(--em); }
.kot-items em { display: block; margin-left: 22px; font-style: normal; font-size: 12.5px; color: #b45309; }
.kot-steps { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.kot-steps li { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--faint); padding-left: 20px; position: relative; animation: step-on .01s linear calc(.6s + var(--i) * .7s) both; }
.kot-steps li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); animation: dot-on .01s linear calc(.6s + var(--i) * .7s) both; }
.kot-steps time { font-variant-numeric: tabular-nums; }
@keyframes step-on { from { color: var(--faint); } to { color: var(--text); } }
@keyframes dot-on { from { background: var(--card); border-color: var(--line); } to { background: var(--ok); border-color: var(--ok); } }
@media (max-width: 520px) {
  .sig-table { min-height: 0; display: grid; gap: 16px; }
  .tent, .kot { position: relative; inset: auto; width: 100%; }
  .kot { padding-left: 18px; }
}

/* gsmart-services: job card */
.sig-job { margin: 0; width: min(100%, 400px); }
.job { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow-lg); }
.job-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--faint); }
.job-state { color: #15803d; font-weight: 600; }
.job h3 { font-size: 24px; margin: 6px 0 6px; }
.job-who { margin: 0 0 16px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.job-rail { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.job-rail::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: var(--line); }
.job-rail li { position: relative; padding-top: 20px; font-size: 12px; line-height: 1.3; color: var(--muted); }
.job-rail li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--em); box-shadow: 0 0 0 3px var(--card); animation: dot-in .3s ease calc(.4s + var(--i) * .45s) both; }
.job-rail time { display: block; color: var(--faint); font-variant-numeric: tabular-nums; }
@keyframes dot-in { from { transform: scale(0); } to { transform: scale(1); } }
.job-checks { list-style: none; margin: 0 0 16px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 14px; }
.job-checks li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.job-sign { border: 1px dashed var(--line); border-radius: 10px; padding: 6px 12px 8px; color: var(--em2); }
.job-sign svg { display: block; width: 100%; height: 52px; stroke-dasharray: 600; stroke-dashoffset: 600; animation: sign 1.4s ease 2.2s forwards; }
.job-sign span { font-size: 12px; color: var(--faint); }
@keyframes sign { to { stroke-dashoffset: 0; } }
.job-paid { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-size: 13px; color: var(--faint); }
.job-paid b { font-size: 16px; color: var(--text); }

/* gsmart.dev: client roll */
.sig-roll { margin: 0; width: 100%; max-width: 540px; }
.sig-roll figcaption { font-size: 14px; font-weight: 600; color: var(--muted); padding-bottom: 10px; border-bottom: 2px solid var(--text); }
.sig-roll ul { list-style: none; margin: 0; padding: 0; }
.sig-roll a { display: grid; grid-template-columns: 14px 1fr auto; column-gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.sig-roll a:hover b { color: var(--em); }
.roll-dot { grid-row: span 2; width: 9px; height: 9px; margin-top: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22,163,74,.14); }
.sig-roll b { font: 600 19px/1.3 var(--font-d); letter-spacing: -.015em; overflow-wrap: anywhere; }
.sig-roll a > span:not(.roll-dot) { grid-column: 2; font-size: 14px; color: var(--muted); }
.sig-roll em { grid-column: 3; grid-row: 1; font-style: normal; font-size: 13px; color: var(--faint); align-self: center; }

/* gsmartgo: suite builder */
.sig-suite { margin: 0; width: min(100%, 480px); background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.sig-suite figcaption { padding: 18px 22px 12px; font: 600 17px/1.3 var(--font-d); }
.sig-suite ul { list-style: none; margin: 0; padding: 0 10px; }
.sig-suite label { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; cursor: pointer; }
.sig-suite label:hover { background: var(--bg2); }
.sig-suite input { position: absolute; opacity: 0; pointer-events: none; }
.sw { flex-shrink: 0; width: 40px; height: 24px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.sig-suite input:checked + .sw { background: var(--em); }
.sig-suite input:checked + .sw::after { transform: translateX(16px); }
.sig-suite input:focus-visible + .sw { outline: 2px solid var(--em); outline-offset: 2px; }
.suite-txt { display: grid; gap: 1px; }
.suite-txt b { font-size: 15px; }
.suite-txt span { font-size: 13px; color: var(--faint); }
.suite-out { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 8px; padding: 16px 22px; background: var(--bg2); border-top: 1px solid var(--line); }
.suite-out p { margin: 0; font-size: 14px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .rcpt, .kot-steps li, .kot-steps li::before, .job-rail li::before, .job-sign svg { animation: none; }
  .kot-steps li { color: var(--text); }
  .kot-steps li::before { background: var(--ok); border-color: var(--ok); }
  .job-sign svg { stroke-dashoffset: 0; }
}

/* ── Pricing (shared/pricing_render.php) ── */
body .gsd-pricing-sec .sec-h h1 { font-family: var(--font-d); font-weight: 700; letter-spacing: -.03em; font-size: clamp(32px, 4.6vw, 48px); }
body .gsd-pricing-sec .sec-h p { font-size: 17px; }
body .p-bill-toggle { background: var(--bg2); border-color: var(--line); }
body .p-bill-btn { font: 600 13.5px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--muted); }
body .p-bill-btn.active { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(16,24,40,.08), 0 0 0 1px var(--line); }
body .p-custom { background: var(--em-soft) !important; border-color: rgba(37,99,235,.18) !important; border-radius: 16px !important; }
body .p-custom-tag { color: var(--em2) !important; letter-spacing: 0 !important; text-transform: none !important; font-size: 13px !important; font-weight: 600 !important; }
html.dark body .p-custom-tag { color: #93c5fd !important; }
body .p-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
body .p-card:hover { border-color: #cfd8e6; box-shadow: var(--shadow); }
body .p-card.popular { border: 2px solid var(--em); box-shadow: 0 12px 32px -12px rgba(37,99,235,.35); }
body .p-card.enterprise { border: 1px solid var(--line); background: var(--bg2); }
body .p-badge { font: 600 12px/1 var(--font); letter-spacing: 0; text-transform: none; padding: 6px 12px; }
body .p-badge.teal { background: var(--em); }
body .p-badge.purple { background: #0b1220; }
body .p-badge.gold { background: #f59e0b; color: #1f1300; }
body .p-name { font-family: var(--font-d); font-weight: 700; letter-spacing: -.02em; }
body .p-desc { font-size: 14.5px; color: var(--muted); }
body .gsd-pricing-sec .p-amt, body .p-price-row .p-price { font-family: var(--font-d); font-weight: 700; letter-spacing: -.03em; color: var(--text); }
body .gsd-pricing-sec .p-cur { color: var(--text); }
body .gsd-pricing-sec .p-per, body .p-note { color: var(--faint); font-size: 13px; }
body .p-feats li { font-size: 14.5px; color: var(--muted); }
body .p-check { color: var(--em); }
body .p-cta { font: 600 14.5px/1 var(--font); letter-spacing: 0; padding: 14px 16px; border-radius: 10px; }
body .p-cta.teal { background: var(--em); color: #fff; }
body .p-cta.teal:hover { background: var(--em2); }
body .p-cta.purple { background: #0b1220; color: #fff; }
html.dark body .p-cta.purple { background: #f5f6f8; color: #0b1220; }
body .p-cta.ghost { color: var(--text); border-color: var(--line); background: var(--card); }

/* ── Footer ── */
.ft { border-top: 1px solid var(--line2); background: var(--bg); padding: 64px 0 28px; }
.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.ft .logo { margin-bottom: 14px; }
.ft p.muted { font-size: 14.5px; max-width: 300px; }
.ft h4 { font: 600 13.5px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); margin-bottom: 16px; }
.ft-grid a:not(.logo) { display: block; font-size: 14.5px; color: var(--muted); padding: 5px 0; }
.ft-grid a:not(.logo):hover { color: var(--text); }
.ft-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line2);
  font-size: 13.5px; color: var(--faint); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.ft-bottom a { color: inherit; margin-right: 14px; }
@media (max-width: 820px) { .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .ft-grid > div:first-child { grid-column: span 2; } }
