/* ================================================================
   EGGSTECH DESIGN SYSTEM  —  v2.0
   ================================================================
   Nguồn duy nhất cho tokens, utilities, và shared components.

   TẠI SAO FILE NÀY TỒN TẠI:
   styles.css chứa tất cả — nhưng là monolith khó tra cứu khi xây
   trang mới. File này là bản tham chiếu có tổ chức + chứa các
   component mới cho 3 wireframe pages (homepage redesign,
   market-entry, omo-marketing). Được enqueue trước styles.css.

   QUY TẮC SỬ DỤNG:
   - Xây trang mới → đọc file này trước để biết token/class nào dùng
   - Đừng định nghĩa lại token trong page-specific CSS — dùng token
   - Class trong styles.css vẫn dùng được (load song song)
   - Thêm component MỚI vào đây, KHÔNG vào styles.css

   SECTIONS:
   1.  Design Tokens
   2.  Reset + Base
   3.  Typography Utilities
   4.  Spacing + Layout Utilities
   5.  Animation Utilities
   6.  Button System
   7.  Badges + Labels
   8.  Section Heading
   9.  Card Components (shared)
   10. Form Components (shared)
   11. Page Hero (solution pages)
   12. Stats Bar (simple, no image bg)
   13. Pillar Cards (4-col grid)
   14. Phase Cards (roadmap accordion)
   15. Comparison Components
   16. Proof / Social Proof Components
   17. OMO Feature List
   18. Lead Form (dark CTA)
   19. Cross-link Bar
   20. Light Mode Overrides
   ================================================================ */


/* ================================================================
   1. DESIGN TOKENS
   ================================================================ */

:root {
  /* ── Colors ─────────────────────────────────────────────────── */
  /* Dark mode (default — no attribute needed).
     WCAG on --surface (#0c0c24):
       --ink     #ffffff → 19.20:1  AAA
       --color   #8899bb →  6.69:1  AA
       --primary #4d7aff →  5.07:1  AA               */
  --ink:     #ffffff;    /* page text, headings on dark bg      */
  --color:   #8899bb;    /* body text, subtitles, muted content */
  --white:   #ffffff;    /* NEVER remapped — text on dark CTAs  */
  --surface: #0c0c24;    /* card / panel background             */
  --stroke:  #28285c;    /* border, divider, glow effect        */
  --bg:      #04040e;    /* page background                     */
  --bg-soft: #080818;    /* subtle alternate section bg         */
  --primary: #4d7aff;    /* electric blue — CTAs, links, focus  */

  /* ── Gradients ──────────────────────────────────────────────── */
  --grad-text: linear-gradient(90deg, #6699ff 0%, #3355ee 100%);
  --grad-cyan: linear-gradient(108deg, #00ffff 0%, #ffffff 100%);
  --grad-dark: linear-gradient(163deg, #04040e 0%, #0033cc 100%);

  /* ── Shadows ────────────────────────────────────────────────── */
  --shadow-card:   0 4px 32px rgba(0,0,0,0.80);
  --shadow-button: 0 4px 16px rgba(0,0,0,0.60);
  --shadow-hover:  0 16px 48px rgba(0,0,180,0.25);

  color-scheme: dark;

  /* ── Layout ─────────────────────────────────────────────────── */
  --container: clamp(1200px, 92vw, 1800px);
  --pad-x:     clamp(24px, 6.5vw, 96px);
  --gutter:    max(var(--pad-x), calc((100vw - var(--container)) / 2));
  --section-y: clamp(64px, 7vw, 120px);
  --gap-grid:  clamp(16px, 1.6vw, 24px);
  --nav-offset: 84px;

  /* ── Border Radii ────────────────────────────────────────────── */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-2xl: 24px;
  --r-full: 999px;

  /* ── Spacing Scale (4pt) ─────────────────────────────────────── */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 96px;  --s-10: 128px;

  /* ── Typography Scale ────────────────────────────────────────── */
  --fs-display-l: 56px;  --lh-display-l: 72px;
  --fs-display-m: 46px;  --lh-display-m: 62px;
  --fs-display-s: 36px;  --lh-display-s: 44px;
  --fs-headline-m: 28px; --lh-headline-m: 36px;
  --fs-headline-s: 24px; --lh-headline-s: 32px;
  --fs-card-title: 20px; --lh-card-title: 28px;
  --fs-title-l: 22px;    --lh-title-l: 28px;
  --fs-title-m: 18px;    --lh-title-m: 24px;
  --fs-title-s: 16px;    --lh-title-s: 24px;
  --fs-body-l: 18px;     --lh-body-l: 26px;
  --fs-body-m: 16px;     --lh-body-m: 24px;
  --fs-body-s: 14px;     --lh-body-s: 20px;
  --fs-label-l: 14px;    --lh-label-l: 20px;
}


/* ================================================================
   2. RESET + BASE
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; }
ul, ol { list-style: none; margin: 0; padding: 0; }


/* ================================================================
   3. TYPOGRAPHY UTILITIES
   ================================================================ */

/* Usage: add class to any element, size comes from tokens above */
.display-l  { font-weight: 800; font-size: var(--fs-display-l);  line-height: var(--lh-display-l);  letter-spacing: -1px; }
.display-m  { font-weight: 800; font-size: var(--fs-display-m);  line-height: var(--lh-display-m); }
.display-s  { font-weight: 800; font-size: var(--fs-display-s);  line-height: var(--lh-display-s); }
.headline-m { font-weight: 700; font-size: var(--fs-headline-m); line-height: var(--lh-headline-m); }
.headline-s { font-weight: 700; font-size: var(--fs-headline-s); line-height: var(--lh-headline-s); }
.title-l    { font-weight: 600; font-size: var(--fs-title-l);    line-height: var(--lh-title-l); }
.title-m    { font-weight: 600; font-size: var(--fs-title-m);    line-height: var(--lh-title-m); }
.title-s    { font-weight: 600; font-size: var(--fs-title-s);    line-height: var(--lh-title-s); }
.body-l     { font-weight: 400; font-size: var(--fs-body-l);     line-height: var(--lh-body-l); }
.body-m     { font-weight: 400; font-size: var(--fs-body-m);     line-height: var(--lh-body-m); }
.body-s     { font-weight: 400; font-size: var(--fs-body-s);     line-height: var(--lh-body-s); }
.label-l    { font-weight: 500; font-size: var(--fs-label-l);    line-height: var(--lh-label-l); }
.muted      { color: var(--color); }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-center { text-align: center; }
.max-w-prose { max-width: 72ch; }


/* ================================================================
   4. SPACING + LAYOUT UTILITIES
   ================================================================ */

/* Vertical stack */
.stack      { display: flex; flex-direction: column; }
.stack-2    { gap: var(--s-2); }
.stack-3    { gap: var(--s-3); }
.stack-4    { gap: var(--s-4); }
.stack-5    { gap: var(--s-5); }
.stack-6    { gap: var(--s-6); }
.stack-7    { gap: var(--s-7); }

/* Horizontal row */
.row        { display: flex; flex-wrap: wrap; align-items: center; }
.row-2      { gap: var(--s-2); }
.row-3      { gap: var(--s-3); }
.row-4      { gap: var(--s-4); }
.row-5      { gap: var(--s-5); }
.row-6      { gap: var(--s-6); }
.row.items-start   { align-items: flex-start; }
.row.items-stretch { align-items: stretch; }

/* Equal-column grids */
.grid   { display: grid; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.gap-2  { gap: var(--s-2); }
.gap-3  { gap: var(--s-3); }
.gap-4  { gap: var(--s-4); }
.gap-5  { gap: var(--s-5); }
.gap-6  { gap: var(--s-6); }
.gap-7  { gap: var(--s-7); }

/* Margin top */
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }

/* Margin bottom */
.mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-5 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-6); }

/* Full-bleed section wrapper */
.section {
  padding-top:    var(--section-y);
  padding-bottom: var(--section-y);
  padding-left:   var(--gutter);
  padding-right:  var(--gutter);
  position: relative;
}
/* Alternate section background (for visual rhythm on solution pages) */
.section-alt {
  background: var(--bg-soft);
}
/* Tighter variant — used for intro/transition sections */
.section-tight {
  padding-top:    clamp(32px, 4vw, 64px);
  padding-bottom: clamp(32px, 4vw, 64px);
  padding-left:   var(--gutter);
  padding-right:  var(--gutter);
  position: relative;
}


/* ================================================================
   5. ANIMATION UTILITIES
   ================================================================ */

/* Scroll-triggered reveal — JS adds .reveal--in via IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(56px);
  transition: opacity 0.72s cubic-bezier(0.22,1,0.36,1),
              transform 0.72s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
.reveal--in { opacity: 1; transform: translateY(0); }

/* Stagger group — children animate with delay */
.reveal-group > * {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.72s cubic-bezier(0.22,1,0.36,1),
              transform 0.72s cubic-bezier(0.22,1,0.36,1);
}
.reveal-group.reveal--in > * { opacity: 1; transform: translateY(0); }
.reveal-group.reveal--in > *:nth-child(1)  { transition-delay: 0.00s; }
.reveal-group.reveal--in > *:nth-child(2)  { transition-delay: 0.10s; }
.reveal-group.reveal--in > *:nth-child(3)  { transition-delay: 0.20s; }
.reveal-group.reveal--in > *:nth-child(4)  { transition-delay: 0.30s; }
.reveal-group.reveal--in > *:nth-child(5)  { transition-delay: 0.40s; }
.reveal-group.reveal--in > *:nth-child(6)  { transition-delay: 0.50s; }

.reveal--left  { transform: translateX(-32px); }
.reveal--left.reveal--in  { transform: translateX(0); }
.reveal--right { transform: translateX(32px); }
.reveal--right.reveal--in { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Marquee (horizontal scroll loop) */
@keyframes ds-marquee {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}
.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 48px;
  width: max-content;
  animation: ds-marquee 40s linear infinite;
}
.marquee-viewport {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
}
.marquee-viewport:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee-viewport { overflow-x: auto; }
}

/* Theme toggle transition */
.theme-transitioning * {
  transition: background 0.3s ease, color 0.2s ease,
              border-color 0.25s ease, box-shadow 0.25s ease !important;
}


/* ================================================================
   6. BUTTON SYSTEM
   ================================================================
   3 canonical variants (same as styles.css — canonical reference):
     .btn-primary — blue bg, white text   — main CTA
     .btn-dark    — white bg, dark text   — primary on dark page bg
     .btn-white   — white bg, dark text   — on dark CTA sections
     .btn-outline — transparent + border  — secondary action
     .btn-link    — text link with arrow  — tertiary
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 12px 24px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(0,60,255,0.35); }
.btn-dark    { background: var(--ink); color: var(--bg); }
.btn-dark:hover { box-shadow: var(--shadow-hover); }
.btn-white   { background: var(--white); color: #07112f; box-shadow: var(--shadow-card); }
.btn-white:hover { box-shadow: var(--shadow-hover); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--stroke);
  padding: 11px 23px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 16px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: var(--fs-title-m);
  line-height: var(--lh-title-m);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Arrow suffix utility */
.btn-arrow::after { content: ' →'; }


/* ================================================================
   7. BADGES + LABELS
   ================================================================ */

/* Section eyebrow — ◆ pill above section headings */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: var(--fs-label-l);
  line-height: var(--lh-label-l);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  padding: 6px 14px;
  background: rgba(0,60,255,0.08);
  border-radius: var(--r-full);
  align-self: flex-start;
  margin-bottom: 4px;
}
.section-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,60,255,0.18);
}

/* Hero badge pill — "🇻🇳 Vietnam Market Entry Solution" */
.badge-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--surface);
  border: 1.5px solid var(--stroke);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--color);
  letter-spacing: 0.02em;
}

/* Industry/platform tag pill */
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--color);
  white-space: nowrap;
}

/* Category tag (small — inside cards) */
.tag-sm {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--stroke);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--color);
}


/* ================================================================
   8. SECTION HEADING
   ================================================================
   Usage:
     <div class="ds-section-heading">
       <span class="section-eyebrow">◆ Label</span>
       <h2>Main heading</h2>
       <p>Optional description</p>
     </div>
   ================================================================ */

.ds-section-heading {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-width: none;
  margin-bottom: var(--s-5);
}
.ds-section-heading.centered {
  text-align: center;
  align-items: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.ds-section-heading h2 {
  font-weight: 800;
  font-size: var(--fs-display-s);
  line-height: var(--lh-display-s);
  color: var(--ink);
  letter-spacing: -0.5px;
}
.ds-section-heading p {
  font-size: var(--fs-body-l);
  line-height: var(--lh-body-l);
  color: var(--color);
  max-width: 720px;
}
.ds-section-heading .sub-en {
  font-size: var(--fs-body-s);
  color: var(--color);
  font-style: italic;
  opacity: 0.8;
}


/* ================================================================
   9. CARD COMPONENTS
   ================================================================ */

/* ── Base surface card ── */
.ds-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.28s ease,
              border-color 0.28s ease;
}
.ds-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(77,122,255,0.35);
}

/* Card icon box */
.ds-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(77,122,255,0.12);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}
.ds-card h3 {
  font-weight: 700;
  font-size: var(--fs-card-title);
  line-height: var(--lh-card-title);
  color: var(--ink);
}
.ds-card p {
  font-size: var(--fs-title-s);
  line-height: var(--lh-title-s);
  color: var(--color);
  flex: 1;
}
.ds-card .card-en-label {
  font-size: 12px;
  color: var(--color);
  opacity: 0.7;
  font-style: italic;
  margin-top: var(--s-1);
}

/* ── Team expert card ── */
.ds-team-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  padding: var(--s-6) var(--s-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3);
  box-shadow: var(--shadow-card);
}
.ds-team-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--r-full);
  object-fit: cover;
  border: 2px solid var(--stroke);
  background: var(--bg-soft);
}
.ds-team-card h4 {
  font-weight: 800;
  font-size: var(--fs-title-l);
  color: var(--ink);
}
.ds-team-card .role {
  font-size: var(--fs-body-s);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ds-team-card p {
  font-size: var(--fs-body-s);
  line-height: 22px;
  color: var(--color);
}

/* ── Testimonial card ── */
.ds-testimonial {
  background: var(--surface);
  border: 1.5px solid var(--stroke);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: 200px;
}
.ds-testimonial blockquote {
  font-size: var(--fs-body-m);
  line-height: 26px;
  color: var(--color);
  font-style: italic;
  margin: 0;
}
.ds-testimonial .author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.ds-testimonial .author .avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--r-full);
  background: var(--bg-soft);
  border: 1.5px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--color);
  flex-shrink: 0;
}
.ds-testimonial .author h5 {
  font-weight: 700;
  font-size: var(--fs-label-l);
  color: var(--ink);
}
.ds-testimonial .author span {
  font-size: 12px;
  color: var(--color);
}

/* ── Ideal customer card ── */
.ds-customer-card {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--surface);
  border: 1.5px solid var(--stroke);
  border-radius: var(--r-lg);
  align-items: flex-start;
}
.ds-customer-card .check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-customer-card h4 {
  font-weight: 700;
  font-size: var(--fs-title-m);
  color: var(--ink);
  margin-bottom: var(--s-1);
}
.ds-customer-card p {
  font-size: var(--fs-body-s);
  line-height: 22px;
  color: var(--color);
}


/* ================================================================
   10. FORM COMPONENTS
   ================================================================ */

.ds-form { display: flex; flex-direction: column; gap: var(--s-4); }
.ds-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
/* NOTE: kept visually identical to .form-field (trang Liên hệ) for one unified form style */
.ds-field { display: flex; flex-direction: column; gap: 6px; }
.ds-field label {
  font-weight: 500;
  font-size: var(--fs-body-s);
  line-height: var(--lh-body-s);
  color: var(--ink);
}
.ds-field input,
.ds-field select,
.ds-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}
.ds-field input:focus,
.ds-field select:focus,
.ds-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 60, 255, 0.08);
}
.ds-field input::placeholder,
.ds-field textarea::placeholder { color: #a6b2c7; }
.ds-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2350566b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.ds-field select:required:invalid,
.ds-field select option[value=""] { color: #a6b2c7; }
.ds-field select option { color: var(--ink); }
.ds-field textarea { resize: vertical; min-height: 96px; }

/* Form inside a dark CTA section */
.ds-form--dark .ds-field label { color: rgba(255,255,255,0.88); }
.ds-form--dark .ds-field input,
.ds-form--dark .ds-field select,
.ds-form--dark .ds-field textarea {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: var(--white);
}
.ds-form--dark .ds-field input::placeholder,
.ds-form--dark .ds-field textarea::placeholder { color: rgba(255,255,255,0.35); }
/* Light chevron for selects on dark background */
.ds-form--dark .ds-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.ds-form--dark .ds-field select option { color: var(--ink); }
.ds-form-note {
  font-size: 12px;
  color: var(--color);
  text-align: center;
  opacity: 0.7;
}
@media (max-width: 600px) {
  .ds-form-row { grid-template-columns: 1fr; }
}


/* ================================================================
   11. PAGE HERO (solution pages — không phải homepage)
   ================================================================
   Dùng cho: market-entry, omo-marketing, và bất kỳ inner page nào.
   Khác với .hero-wrap (homepage): không full-viewport, có bg gradient.
   ================================================================ */

.ds-page-hero {
  padding: calc(var(--nav-offset) + var(--s-8)) var(--gutter) var(--s-8);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(77,122,255,0.14) 0%, rgba(77,122,255,0) 70%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  position: relative;
}
/* Hero 2-col layout (text left, image/visual right) */
.ds-page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.ds-page-hero-grid.text-wide {
  grid-template-columns: 1.2fr 1fr;
}
.ds-page-hero h1 {
  font-weight: 800;
  font-size: var(--fs-display-m);
  line-height: var(--lh-display-m);
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-bottom: var(--s-4);
}
.ds-page-hero .hero-desc {
  font-size: var(--fs-body-l);
  line-height: var(--lh-body-l);
  color: var(--color);
  max-width: 560px;
  margin-bottom: var(--s-5);
}
.ds-page-hero .hero-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-bottom: var(--s-6);
}
.ds-page-hero .hero-checklist li {
  font-size: var(--fs-body-s);
  color: var(--color);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.ds-page-hero .hero-checklist li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}
.ds-page-hero .hero-actions {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}
/* Placeholder image box */
.ds-image-placeholder {
  width: 100%;
  aspect-ratio: 5 / 4;
  background: linear-gradient(145deg, rgba(77,122,255,0.06) 0%, var(--surface) 70%);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  color: var(--color);
  font-size: var(--fs-body-s);
  font-style: italic;
  text-align: center;
  padding: var(--s-6);
  overflow: hidden;
}
.flag-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* OMO inline stats — plain (no card), divider above */
.omo-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--stroke);
}
.omo-stats .omo-stat-num {
  font-weight: 800;
  font-size: var(--fs-headline-m);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--s-1);
}
.omo-stats .omo-stat-label {
  font-size: var(--fs-body-s);
  line-height: var(--lh-body-s);
  color: var(--color);
}

/* OMO orbit diagram — central glowing hub + satellite nodes on concentric rings */
.omo-orbit {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  font-family: inherit;
}
.omo-orbit__rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.omo-orbit__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #5b86ff 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 18px 44px rgba(0, 60, 255, 0.35);
}
.omo-orbit__core svg { width: 42%; height: 42%; }
.omo-orbit__node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  pointer-events: none;
}
.omo-orbit__node .ic {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 64, 0.12), 0 0 0 7px rgba(0, 60, 255, 0.05);
}
.omo-orbit__node .ic svg { width: 24px; height: 24px; }
.omo-orbit__node .lbl {
  font-size: var(--fs-body-s);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

/* ================================================================
   OMO PAGE ILLUSTRATIONS (token-driven, dark/light adaptive)
   ================================================================ */
/* OMO hero — "dành riêng cho F&B & Retail" segment strip */
.omo-hero-segment { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--stroke); }
.omo-hero-segment h3 { font-size: var(--fs-title-m); line-height: var(--lh-title-m); font-weight: 700; color: var(--ink); margin: 0 0 var(--s-2); }
.omo-hero-segment p { font-size: var(--fs-body-s); line-height: var(--lh-body-s); color: var(--color); margin: 0 0 var(--s-3); max-width: 480px; }
.omo-hero-segment__pills { display: flex; gap: var(--s-2); }

/* Hero — online + offline channels fused into one hub */
.omo-fusion {
  position: relative; width: 100%; max-width: 440px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: var(--s-4);
  padding: var(--s-5) 0;
}
.omo-fusion::before {
  content: ""; position: absolute; top: 14%; bottom: 14%; left: 50%; width: 2px;
  background: linear-gradient(var(--primary), transparent 42%, transparent 58%, var(--primary));
  opacity: 0.22; transform: translateX(-50%);
}
.omo-fusion__group { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--s-2); }
.omo-fusion__cap { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color); }
.omo-fusion__row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }
.omo-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--r-full);
  padding: 8px 14px; font-size: var(--fs-body-s); font-weight: 600; color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 64, 0.06);
}
.omo-chip svg { width: 16px; height: 16px; color: var(--primary); }
.omo-fusion__hub {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad-text); color: #fff; border-radius: var(--r-full); padding: 14px 26px;
  font-size: var(--fs-title-s); font-weight: 700; box-shadow: 0 18px 40px rgba(0, 60, 255, 0.30);
}
.omo-fusion__hub svg { width: 22px; height: 22px; }

/* Solution-card media band (replaces empty image header) */
.card-media {
  position: relative; width: 100%; min-height: 150px; padding: var(--s-5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-3);
  background: linear-gradient(135deg, rgba(0, 60, 255, 0.08), rgba(0, 60, 255, 0.02));
  border-bottom: 1px solid var(--stroke); overflow: hidden;
}
.card-media__icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-text); color: #fff; box-shadow: 0 12px 28px rgba(0, 60, 255, 0.28);
}
.card-media__icon svg { width: 28px; height: 28px; }
.card-media__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.card-media__chips span {
  background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--r-full);
  padding: 4px 12px; font-size: 12px; font-weight: 600; color: var(--color);
}

/* Vertical node flow (e.g. Insight → Channel → Content → Partnership) */
.node-flow { width: 100%; max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; }
.node-flow__step {
  display: flex; align-items: center; gap: var(--s-4);
  background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-5); box-shadow: 0 6px 20px rgba(0, 0, 64, 0.05);
}
.node-flow__step .ic {
  width: 46px; height: 46px; border-radius: var(--r-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 60, 255, 0.08); color: var(--primary);
}
.node-flow__step .ic svg { width: 22px; height: 22px; }
.node-flow__step h4 { font-size: var(--fs-title-s); color: var(--ink); margin: 0 0 2px; }
.node-flow__step p { font-size: var(--fs-body-s); color: var(--color); margin: 0; }
.node-flow__arrow { align-self: center; color: var(--primary); opacity: 0.45; padding: 5px 0; }
.node-flow__arrow svg { width: 18px; height: 18px; display: block; }

/* Market-entry hero — Journey panel (soft card, dotted grid, gradient path, progress states) */
.journey {
  position: relative; width: 100%; max-width: 460px; margin: 0 auto;
  padding: var(--s-6);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(0, 60, 255, 0.07), rgba(0, 60, 255, 0.01));
  border: 1px solid var(--stroke);
  box-shadow: 0 24px 60px rgba(0, 0, 64, 0.10);
  overflow: hidden;
}
.journey::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--stroke) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.5;
}
.journey > * { position: relative; z-index: 1; }
.journey__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-5); }
.journey__title { font-size: var(--fs-label-l); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color); }
.journey__live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--primary); }
.journey__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16c98d; box-shadow: 0 0 0 4px rgba(22, 201, 141, 0.18); }
.journey__steps { list-style: none; margin: 0; padding: 0; position: relative; }
.journey__steps::before {
  content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px;
  background: linear-gradient(var(--primary), rgba(0, 60, 255, 0.12)); border-radius: 2px;
}
.journey__step { position: relative; display: flex; align-items: center; gap: var(--s-3); padding: 6px 0; }
.journey__node {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1.5px solid var(--stroke); color: var(--color);
}
.journey__node svg { width: 18px; height: 18px; }
.journey__card {
  flex: 1; display: flex; align-items: center;
  background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--r-md);
  padding: 11px 16px; font-size: var(--fs-body-s); font-weight: 600; color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 64, 0.05);
}
.journey__step.is-done .journey__node,
.journey__step.is-active .journey__node {
  background: var(--grad-text); border-color: transparent; color: #fff;
  box-shadow: 0 8px 20px rgba(0, 60, 255, 0.28);
}
.journey__step.is-active .journey__node { box-shadow: 0 8px 20px rgba(0, 60, 255, 0.28), 0 0 0 6px rgba(0, 60, 255, 0.12); }
.journey__step.is-active .journey__card { border-color: rgba(0, 60, 255, 0.30); box-shadow: 0 8px 24px rgba(0, 60, 255, 0.12); }
.journey__step.is-upcoming .journey__node { opacity: 0.55; }
.journey__step.is-upcoming .journey__card { opacity: 0.7; }
.journey__cap { margin-top: var(--s-4); font-size: var(--fs-body-s); font-style: italic; color: var(--color); opacity: 0.75; text-align: center; }

/* Market-entry hero checklist — two columns (col-fill: items 1-3 left, 4-6 right) */
.me-hero-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: var(--s-2) var(--s-5);
}
@media (max-width: 600px) {
  .me-hero-checklist { grid-template-columns: 1fr; grid-template-rows: auto; grid-auto-flow: row; }
}

/* ================================================================
   MARKET-ENTRY ILLUSTRATION (integrations hub — orbiting nodes,
   floating program cards, query card with checklist). Token-driven.
   ================================================================ */
.me-illus { position: relative; width: 100%; aspect-ratio: 1 / 1.04; font-family: inherit; }
.me-illus__arcs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.me-node {
  position: absolute; width: 14.5%; aspect-ratio: 1; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--stroke);
  box-shadow: 0 10px 26px rgba(0,0,64,0.12);
  display: flex; align-items: center; justify-content: center;
}
.me-node b {
  width: 60%; aspect-ratio: 1; border-radius: 32%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: clamp(11px, 1.2vw, 15px); letter-spacing: -0.02em;
}
.me-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--stroke);
  box-shadow: 0 12px 30px rgba(0,0,64,0.09);
}
.me-card--active { box-shadow: 0 20px 46px rgba(0,60,255,0.22); border: none; }
.me-card--ghost { opacity: 0.5; }
.me-card__ic {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,60,255,0.08); color: var(--primary);
}
.me-card--active .me-card__ic { background: var(--grad-text); color: #fff; }
.me-card__ic svg { width: 22px; height: 22px; }
.me-card__label { font-weight: 700; font-size: var(--fs-body-s); color: var(--ink); }
.me-card__bars { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.me-bar { height: 8px; border-radius: 4px; background: var(--stroke); }
.me-bar.s { width: 60%; }
.me-query {
  position: absolute; left: 0; bottom: 0; width: 76%;
  background: var(--surface); border: 1px solid var(--stroke); border-radius: 20px;
  box-shadow: 0 24px 54px rgba(0,0,64,0.15); padding: 22px 24px;
}
.me-query h4 { font-weight: 700; font-size: var(--fs-title-m); line-height: var(--lh-title-m); color: var(--ink); margin-bottom: var(--s-4); }
.me-check { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s-3); }
.me-check i {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,60,255,0.10); color: var(--primary);
}
.me-check i svg { width: 14px; height: 14px; }
.me-check span { font-size: var(--fs-body-s); line-height: var(--lh-body-s); color: var(--ink); }
.me-query .me-bar { margin-top: var(--s-3); }
@media (max-width: 900px) {
  .ds-page-hero-grid,
  .ds-page-hero-grid.text-wide {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .ds-page-hero {
    padding: calc(var(--nav-offset) + var(--s-6)) var(--gutter) var(--s-6);
  }
  .ds-page-hero h1 {
    font-size: var(--fs-display-s);
    line-height: var(--lh-display-s);
  }
}


/* ================================================================
   12. STATS BAR (simple 5-col — no background image)
   ================================================================
   Dùng cho homepage section đơn giản (50+, 3+, +30%, 4+, 100%).
   Khác với .stats-grid cũ (có background image).
   ================================================================ */

.ds-stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: var(--s-6) 0;
}
.ds-stat-item {
  text-align: center;
  padding: var(--s-5);
  border-right: 1px solid var(--stroke);
}
.ds-stat-item:last-child { border-right: none; }
.ds-stat-num {
  font-weight: 800;
  font-size: var(--fs-display-s);
  line-height: 1.1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
  margin-bottom: var(--s-2);
}
.ds-stat-label {
  font-size: var(--fs-body-s);
  line-height: 20px;
  color: var(--color);
}
@media (max-width: 768px) {
  .ds-stats-bar { grid-template-columns: 1fr 1fr; }
  .ds-stat-item:nth-child(2) { border-right: none; }
  .ds-stat-item { border-bottom: 1px solid var(--stroke); }
  .ds-stat-item:nth-last-child(-n+2) { border-bottom: none; }
}


/* ================================================================
   13. PILLAR CARDS (4-col, used in One-Stop Market Entry section)
   ================================================================ */

.ds-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.ds-pillar-card {
  padding: var(--s-5);
  background: var(--surface);
  border: 1.5px solid var(--stroke);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ds-pillar-card:hover {
  border-color: rgba(77,122,255,0.4);
  transform: translateY(-2px);
}
.ds-pillar-card .pillar-icon {
  width: 44px;
  height: 44px;
  background: rgba(77,122,255,0.10);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.ds-pillar-card h4 {
  font-weight: 700;
  font-size: var(--fs-title-m);
  color: var(--ink);
  line-height: var(--lh-title-m);
}
.ds-pillar-card ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.ds-pillar-card li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: var(--fs-body-s);
  line-height: 20px;
  color: var(--color);
}
.ds-pillar-card li::before {
  content: '•';
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}
@media (max-width: 900px) {
  .ds-pillars-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ds-pillars-grid { grid-template-columns: 1fr; }
}


/* ================================================================
   14. PHASE CARDS (market-entry roadmap)
   ================================================================
   Accordion-style: header always visible, body toggles.
   JS adds .is-open to expand.
   ================================================================ */

.ds-phase-card {
  background: var(--surface);
  border: 1.5px solid var(--stroke);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: var(--s-3);
  transition: border-color 0.2s ease;
}
.ds-phase-card.is-open {
  border-color: rgba(77,122,255,0.45);
}
.ds-phase-header {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  cursor: pointer;
  user-select: none;
}
.ds-phase-header:hover { background: rgba(77,122,255,0.04); }
.ds-phase-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--fs-body-s);
}
.ds-phase-info { flex: 1; }
.ds-phase-info h3 {
  font-weight: 700;
  font-size: var(--fs-title-m);
  color: var(--ink);
  line-height: var(--lh-title-m);
}
.ds-phase-info .phase-goal {
  font-size: var(--fs-body-s);
  color: var(--color);
  margin-top: 2px;
}
.ds-phase-toggle {
  width: 34px;
  height: 34px;
  background: var(--bg-soft);
  border: 1px solid var(--stroke);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ds-phase-toggle svg { transition: transform 0.25s ease; }
.ds-phase-card.is-open .ds-phase-toggle {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.ds-phase-card.is-open .ds-phase-toggle svg { transform: rotate(180deg); }
/* Collapsible body */
.ds-phase-body {
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-5);
  padding: 0 var(--s-6) var(--s-6);
  background: var(--bg-soft);
  border-top: 1px solid var(--stroke);
}
.ds-phase-card.is-open .ds-phase-body { display: grid; }
.ds-phase-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: var(--s-5);
  margin-bottom: var(--s-3);
}
.ds-phase-col ul { display: flex; flex-direction: column; gap: var(--s-2); }
.ds-phase-col li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: var(--fs-body-s);
  color: var(--color);
  line-height: 20px;
}
.ds-phase-col li::before {
  content: '•';
  color: var(--stroke);
  flex-shrink: 0;
}
.ds-phase-insight {
  padding: var(--s-4);
  background: var(--surface);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-body-s);
  color: var(--color);
  line-height: 20px;
  margin-top: var(--s-5);
}
.ds-phase-insight strong { color: var(--ink); }
@media (max-width: 768px) {
  .ds-phase-body { grid-template-columns: 1fr; }
}


/* ================================================================
   15. COMPARISON COMPONENTS
   ================================================================ */

/* Two-column Eggstech vs competitors */
.ds-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.ds-compare-col {
  padding: var(--s-6);
  background: var(--surface);
  border: 1.5px solid var(--stroke);
  border-radius: var(--r-xl);
}
.ds-compare-col.featured {
  border: 2px solid var(--primary);
  position: relative;
}
.ds-compare-col.featured::before {
  content: 'EGGSTECH';
  position: absolute;
  top: -14px;
  right: var(--s-5);
  background: var(--primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.ds-compare-col .col-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color);
  margin-bottom: var(--s-3);
}
.ds-compare-col h3 {
  font-size: var(--fs-title-l);
  font-weight: 800;
  color: var(--ink);
  line-height: var(--lh-title-l);
  margin-bottom: var(--s-5);
}
.ds-compare-col ul { display: flex; flex-direction: column; gap: var(--s-3); }
.ds-compare-col li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-body-m);
  color: var(--color);
  line-height: var(--lh-body-m);
}
.ds-compare-col li .check { color: var(--primary); font-size: 16px; flex-shrink: 0; }
.ds-compare-col li .cross { color: var(--stroke);  font-size: 20px; font-weight: 300; flex-shrink: 0; }
.ds-compare-col.featured li { color: var(--ink); }
.ds-compare-note {
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-5);
  background: var(--bg-soft);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  text-align: center;
  font-size: var(--fs-body-m);
  color: var(--color);
}
.ds-compare-note strong { color: var(--ink); }

/* Full comparison table */
.ds-comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: var(--fs-body-m);
}
.ds-comparison-table th,
.ds-comparison-table td {
  padding: var(--s-4) var(--s-5);
  text-align: left;
  border: none;
}
/* column widths — criteria wide (left), value columns tighter */
.ds-comparison-table th:first-child,
.ds-comparison-table td:first-child { width: 42%; padding-left: 0; }
.ds-comparison-table th:nth-child(2),
.ds-comparison-table td:nth-child(2) { width: 26%; }
.ds-comparison-table th:last-child,
.ds-comparison-table td:last-child { width: 32%; }
.ds-comparison-table tbody td { border-bottom: 1px solid var(--stroke); }
.ds-comparison-table th {
  font-weight: 700;
  font-size: var(--fs-label-l);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color);
  padding-bottom: var(--s-4);
  vertical-align: bottom;
}
.ds-comparison-table td { color: var(--color); }
.ds-comparison-table td:first-child { font-weight: 600; color: var(--ink); }
.ds-comparison-table td.eggstech-val { font-weight: 700; color: var(--ink); }
/* value columns (competitor + Eggstech) centered */
.ds-comparison-table th:not(:first-child),
.ds-comparison-table td:not(:first-child) { text-align: center; }

/* check / dash markers */
.ds-comparison-table .cmp-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.ds-comparison-table .cmp-ic svg { width: 13px; height: 13px; }
.ds-comparison-table .cmp-ic--on { background: var(--primary); color: #fff; }
.ds-comparison-table .cmp-ic--muted { background: var(--stroke); color: var(--color); }
.ds-comparison-table .cmp-dash { color: var(--color); opacity: 0.45; }
.ds-comparison-table .cmp-limited { color: var(--color); }

/* Spotlight column — Eggstech (last) raised as a tinted panel */
.ds-comparison-table th:last-child,
.ds-comparison-table td:last-child {
  background: rgba(0, 60, 255, 0.05);
  border-left: 1px solid rgba(0, 60, 255, 0.12);
  border-right: 1px solid rgba(0, 60, 255, 0.12);
}
.ds-comparison-table tbody td:last-child { border-bottom-color: rgba(0, 60, 255, 0.12); }
.ds-comparison-table thead th:last-child {
  background: var(--grad-text);
  color: #fff;
  border-color: transparent;
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
}
.ds-comparison-table tbody tr:last-child td:last-child {
  border-bottom-left-radius: var(--r-lg);
  border-bottom-right-radius: var(--r-lg);
}
/* Plain variant — informational table (e.g. roadmap), no highlighted column */
.ds-comparison-table--plain th:last-child,
.ds-comparison-table--plain td:last-child {
  background: transparent;
  border-left: none;
  border-right: none;
}
.ds-comparison-table--plain tbody td:last-child { border-bottom-color: var(--stroke); }
.ds-comparison-table--plain thead th:last-child {
  background: transparent;
  color: var(--ink);
  border-radius: 0;
}
.ds-comparison-table--plain tbody tr:last-child td:last-child { border-radius: 0; }
.ds-comparison-table--plain th:not(:first-child),
.ds-comparison-table--plain td:not(:first-child) { text-align: left; }

/* Contact form — 2 columns: intro left, form right */
.contact-2col {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-2col__intro { padding-top: var(--s-3); }
.contact-2col__intro .ds-section-heading { margin-bottom: 0; }
/* Intro reassurance list (icon badge + text) */
.intro-assure { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-4); }
.intro-assure__item { display: flex; align-items: center; gap: var(--s-3); }
.intro-assure__item .ic {
  width: 42px; height: 42px; border-radius: var(--r-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 60, 255, 0.08); color: var(--primary);
}
.intro-assure__item .ic svg { width: 20px; height: 20px; }
.intro-assure__item p { margin: 0; font-size: var(--fs-body-m); line-height: var(--lh-body-m); font-weight: 500; color: var(--ink); }
/* Intro direct-contact block */
.intro-contact { margin-top: var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); }
.intro-contact__label { font-size: var(--fs-body-s); font-weight: 600; color: var(--color); margin-bottom: 2px; }
.intro-contact a { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-body-s); color: var(--color); transition: color 0.15s ease; }
.intro-contact a:hover { color: var(--ink); }
.intro-contact svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
@media (max-width: 900px) {
  .contact-2col { grid-template-columns: 1fr; gap: var(--s-5); }
}

/* Card wrapper for an info table — surface, rounded corners, soft shadow */
.ds-table-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  box-shadow: 0 14px 40px rgba(0, 0, 64, 0.07);
  padding: var(--s-3) var(--s-6);
}
.ds-table-card .ds-comparison-table tbody tr:last-child td { border-bottom: none; }

@media (max-width: 900px) {
  .ds-compare-grid { grid-template-columns: 1fr; }
}


/* ================================================================
   16. PROOF / SOCIAL PROOF COMPONENTS
   ================================================================ */

/* Proof bar — 4-col stats with colored vertical accent */
.ds-proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid var(--stroke);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
}
.ds-proof-item {
  padding: var(--s-4) var(--s-5);
  border-right: 1px solid var(--stroke);
  transition: background 0.2s ease;
}
.ds-proof-item:last-child { border-right: none; }
.ds-proof-item:hover { background: none; }
.ds-proof-accent {
  width: 3px;
  height: 18px;
  border-radius: 2px;
  margin-bottom: var(--s-3);
}
.ds-proof-accent--blue   { background: linear-gradient(180deg, #3b82f6, #1d4ed8); }
.ds-proof-accent--amber  { background: linear-gradient(180deg, #f59e0b, #b45309); }
.ds-proof-accent--pink   { background: linear-gradient(180deg, #ec4899, #9d174d); }
.ds-proof-accent--green  { background: linear-gradient(180deg, #22c55e, #15803d); }
.ds-proof-accent--purple { background: linear-gradient(180deg, #a78bfa, #7c3aed); }

/* Simple proof bar — horizontal icon badge + title chips (callout-style bg) */
.ds-proof-bar--simple {
  border: none;
  box-shadow: none;
  background: rgba(0, 60, 255, 0.05);
  border-radius: var(--r-lg);
  overflow: hidden;
  gap: 0;
}
.ds-proof-bar--simple .ds-proof-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: transparent;
  border: none;
  border-right: 1px solid rgba(0, 60, 255, 0.10);
  border-radius: 0;
}
.ds-proof-bar--simple .ds-proof-item:last-child { border-right: none; }
.ds-proof-bar--simple .ds-proof-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-text);
  color: #fff;
}
.ds-proof-bar--simple .ds-proof-ic svg { width: 22px; height: 22px; }
.ds-proof-bar--simple .ds-proof-title {
  font-weight: 600;
  font-size: var(--fs-body-s);
  line-height: var(--lh-body-s);
  color: var(--ink);
}
.ds-proof-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color);
  margin-bottom: var(--s-1);
}
.ds-proof-num {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: var(--s-2);
}
.ds-proof-sub {
  font-size: var(--fs-body-s);
  color: var(--color);
  line-height: var(--lh-body-s);
}
.ds-proof-sub strong { color: var(--ink); font-weight: 700; }
.ds-proof-note {
  margin-top: var(--s-3);
  font-size: 12px;
  color: var(--color);
  text-align: right;
  opacity: 0.6;
  font-style: italic;
}
@media (max-width: 900px) {
  .ds-proof-bar {
    grid-template-columns: 1fr 1fr;
  }
  .ds-proof-item:nth-child(2) { border-right: none; }
  .ds-proof-item { border-bottom: 1px solid var(--stroke); }
  .ds-proof-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* Customer logo wall (scrolling) */
.ds-logo-marquee { margin: var(--s-5) 0; }
.ds-logo-item {
  flex-shrink: 0;
  width: 140px;
  aspect-ratio: 3 / 2;
  background: var(--surface);
  border: 1.5px dashed var(--stroke);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--color);
  text-align: center;
  padding: var(--s-2);
}


/* ================================================================
   17. OMO FEATURE LIST
   ================================================================
   Used on omo-marketing page for OMO Ecosystem and
   Marketing Localized feature rows.
   ================================================================ */

.ds-feature-list { display: flex; flex-direction: column; gap: var(--s-2); }
.ds-feature-row {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  padding: var(--s-3) var(--s-4);
  background: var(--bg-soft);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  transition: border-color 0.2s ease;
}
.ds-feature-row:hover { border-color: rgba(77,122,255,0.3); }
/* Small round dot at the start of each feature row */
.ds-feature-row .feature-dot,
.ds-feature-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 9px;
}
.ds-feature-row h4 {
  font-weight: 700;
  font-size: var(--fs-title-m);
  color: var(--ink);
  line-height: var(--lh-title-m);
  margin-bottom: 2px;
}
.ds-feature-row p {
  font-size: var(--fs-body-s);
  color: var(--color);
  line-height: 20px;
}

/* OMO Process steps (1→5 numbered) */
.ds-process-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.ds-process-step {
  position: relative;
  text-align: center;
  padding: 0 var(--s-3);
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* connector line linking the numbered nodes into a timeline */
.ds-process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  left: calc(50% + 27px);
  width: calc(100% - 54px);
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 60, 255, 0.55), rgba(0, 60, 255, 0.18));
  z-index: 0;
}
.ds-process-step .process-num,
.ds-process-step .step-num {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-text);
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-title-s);
  letter-spacing: -0.02em;
  box-shadow: 0 10px 24px rgba(0, 60, 255, 0.28);
  margin: 0 auto var(--s-3);
}
.ds-process-step h4 {
  font-weight: 700;
  font-size: var(--fs-body-m);
  color: var(--ink);
  margin-bottom: var(--s-1);
}
.ds-process-step p {
  font-size: var(--fs-body-s);
  color: var(--color);
  line-height: 18px;
}
@media (max-width: 900px) {
  .ds-process-strip { grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); }
  .ds-process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 600px) {
  .ds-process-strip { grid-template-columns: 1fr; }
}


/* ================================================================
   18. LEAD FORM (dark CTA section — used on all solution pages)
   ================================================================ */

.ds-cta-section {
  background: #0a0a28;
  padding: var(--s-9) var(--gutter);
  text-align: center;
}
.ds-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.ds-cta-section h2 {
  font-weight: 800;
  font-size: var(--fs-display-s);
  line-height: var(--lh-display-s);
  color: var(--white);
  margin-bottom: var(--s-3);
  letter-spacing: -0.5px;
}
.ds-cta-section p {
  font-size: var(--fs-body-m);
  color: rgba(255,255,255,0.65);
  line-height: var(--lh-body-m);
  margin-bottom: var(--s-6);
}
.ds-cta-form-card {
  background: rgba(255,255,255,0.06);
  border: 1.5px dashed rgba(255,255,255,0.15);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  text-align: left;
  margin-top: var(--s-6);
}


/* ================================================================
   19. CROSS-LINK BAR (breadcrumb navigation between pages)
   ================================================================ */

.ds-crosslink-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding: var(--s-4) var(--gutter);
  text-align: center;
}
.ds-crosslink-bar a {
  color: var(--primary);
  font-weight: 600;
  font-size: var(--fs-body-s);
  margin: 0 var(--s-3);
  transition: opacity 0.2s ease;
}
.ds-crosslink-bar a:hover { opacity: 0.75; }
.ds-crosslink-bar span { color: var(--color); font-size: var(--fs-body-s); }

/* Card-style crosslink items (homepage: stacked label + description).
   Token-driven so colors are correct in both themes and all languages. */
.ds-crosslink-bar:has(.ds-crosslink-item) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-4);
}
.ds-crosslink-item {
  flex: 1 1 320px;
  max-width: 560px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ds-crosslink-item:hover {
  opacity: 1;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.ds-crosslink-bar .ds-crosslink-label {
  font-weight: 700;
  font-size: var(--fs-title-s);
  line-height: var(--lh-title-s);
  color: var(--primary);
}
.ds-crosslink-bar .ds-crosslink-desc {
  font-weight: 400;
  font-size: var(--fs-body-s);
  line-height: var(--lh-body-s);
  color: var(--color);
}

/* Inline cross-link block (inside a section) */
.ds-crosslink-block {
  margin: var(--s-6) 0 var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: rgba(77,122,255,0.07);
  border: 1px solid rgba(77,122,255,0.2);
  border-radius: var(--r-lg);
  font-size: var(--fs-body-s);
  color: var(--color);
}
.ds-crosslink-block a {
  color: var(--primary);
  font-weight: 700;
}


/* ================================================================
   20. LIGHT MODE OVERRIDES
   ================================================================ */

[data-theme="light"] {
  --ink:          #07112f;
  --color:        #50566b;
  --surface:      #ffffff;
  --stroke:       #e3edf6;
  --bg:           #f3f5fa;
  --bg-soft:      #f9fafd;
  --primary:      #003cff;
  --shadow-card:  0 4px 24px rgba(0,0,64,0.08);
  --shadow-button:0 4px 12px rgba(0,0,64,0.08);
  --shadow-hover: 0 12px 32px rgba(0,0,64,0.12);
  --grad-text:    linear-gradient(90deg, #2d74e6 0%, #0e28d3 100%);
  color-scheme: light;
}
[data-theme="light"] body { background: var(--surface); }

/* Page hero gradient in light mode */
[data-theme="light"] .ds-page-hero {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(45,116,230,0.10) 0%, rgba(45,116,230,0) 70%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

/* CTA section in light mode */
[data-theme="light"] .ds-cta-section { background: #07112f; }

/* Pillar cards in light mode */
[data-theme="light"] .ds-pillar-card { background: #fff; }

/* Form fields in light mode */
[data-theme="light"] .ds-field input,
[data-theme="light"] .ds-field select,
[data-theme="light"] .ds-field textarea {
  background-color: var(--bg-soft);
  border-color: var(--stroke);
  color: var(--ink);
}
[data-theme="light"] .ds-field input::placeholder,
[data-theme="light"] .ds-field textarea::placeholder { color: #a6b2c7; }

/* Card depth in light mode — white card on light bg needs shadow to pop */
[data-theme="light"] .ds-card {
  box-shadow: 0 1px 3px rgba(0,28,100,0.04), 0 4px 20px rgba(0,60,200,0.08);
}
[data-theme="light"] .ds-card:hover {
  box-shadow: 0 8px 32px rgba(0,60,200,0.14);
}
[data-theme="light"] .ds-card-icon {
  background: rgba(0,60,255,0.07);
  border-color: rgba(0,60,255,0.15);
}

/* Comparison table — spotlight-column design is token/rgba-driven; no light overrides needed */

/* Proof bar in light mode */
[data-theme="light"] .ds-proof-bar {
  box-shadow: 0 1px 3px rgba(0,28,100,0.04), 0 4px 16px rgba(0,28,100,0.08);
  border-color: #c8d8f0;
}
[data-theme="light"] .ds-proof-item { background: #ffffff; }
[data-theme="light"] .ds-proof-bar--simple { background: rgba(0, 60, 255, 0.05); box-shadow: none; border: none; }
[data-theme="light"] .ds-proof-bar--simple .ds-proof-item { background: transparent; }

/* Brand variant — blue gradient panel + glass stat cards, no accent line.
   Placed after light-mode overrides so it stays blue in both themes. */
.ds-proof-bar--brand {
  border: none;
  background: linear-gradient(135deg, #1f4fff 0%, #0c2da8 100%);
  border-radius: var(--r-xl);
  gap: var(--s-3);
  padding: var(--s-3);
  box-shadow: 0 20px 50px rgba(0, 30, 150, 0.22);
}
.ds-proof-bar--brand .ds-proof-item,
[data-theme="light"] .ds-proof-bar--brand .ds-proof-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  padding: var(--s-5);
}
.ds-proof-bar--brand .ds-proof-accent { display: none; }
.ds-proof-bar--brand .ds-proof-label { color: rgba(255, 255, 255, 0.62); }
.ds-proof-bar--brand .ds-proof-num { color: #41e0ff; }
.ds-proof-bar--brand .ds-proof-sub { color: rgba(255, 255, 255, 0.82); }
.ds-proof-bar--brand .ds-proof-sub strong { color: #ffffff; }

/* Image placeholder in light mode */
[data-theme="light"] .ds-image-placeholder {
  background: linear-gradient(145deg, rgba(0,60,255,0.04) 0%, #edf3ff 70%);
  border-color: rgba(0,60,255,0.16);
}

/* Testimonial + customer card in light mode */
[data-theme="light"] .ds-testimonial,
[data-theme="light"] .ds-customer-card {
  box-shadow: 0 1px 3px rgba(0,28,100,0.04), 0 4px 16px rgba(0,28,100,0.07);
}


/* ================================================================
   RESPONSIVE OVERRIDES (mobile ≤ 768px)
   ================================================================ */

@media (max-width: 768px) {
  :root {
    --section-y: 48px;
  }
  .ds-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .ds-compare-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  :root { --section-y: 40px; }
  .ds-stats-bar { grid-template-columns: 1fr 1fr; }
  .ds-pillars-grid { grid-template-columns: 1fr; }
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
}
