/* =========================================================
   SigoTech — Shared Stylesheet
   Clean SaaS / startup tech. Light, airy, subtle gradients.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --brand-600: #4f46e5;   /* indigo */
  --brand-500: #6366f1;
  --brand-400: #818cf8;
  --violet-500: #8b5cf6;
  --cyan-400: #22d3ee;

  /* Product accents */
  --sigomark: #7c3aed;    /* violet */
  --sigory:   #059669;    /* emerald */
  --findbase: #2563eb;    /* blue */
  --clipviet: #db2777;    /* pink */
  --kidmingo: #f59e0b;    /* amber */

  /* Neutrals */
  --ink-900: #0b1020;
  --ink-700: #1f2937;
  --ink-600: #374151;
  --ink-500: #4b5563;
  --ink-400: #6b7280;
  --line:    #e6e8f0;
  --line-2:  #eef0f6;
  --bg:      #ffffff;
  --bg-soft: #f7f8fc;
  --bg-tint: #f4f3ff;
  --white:   #ffffff;

  /* Effects */
  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
  --shadow:    0 8px 24px rgba(16,24,40,.06), 0 2px 6px rgba(16,24,40,.04);
  --shadow-lg: 0 24px 60px rgba(16,24,40,.12), 0 8px 24px rgba(16,24,40,.06);
  --ring:      0 0 0 4px rgba(99,102,241,.14);

  --maxw: 1160px;
  --gutter: 24px;

  --font: "Be Vietnam Pro", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink-900); line-height: 1.18; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 88px; }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand-600);
  background: var(--bg-tint);
  border: 1px solid #e3e0ff;
  padding: 6px 12px; border-radius: 999px;
}
.section-head { max-width: 680px; margin: 0 auto 48px; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-title { font-size: clamp(28px, 4vw, 40px); margin-top: 16px; }
.section-sub { margin-top: 14px; color: var(--ink-500); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-600), var(--violet-500));
  box-shadow: 0 8px 20px rgba(79,70,229,.28);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(79,70,229,.36); transform: translateY(-1px); }
.btn-ghost {
  color: var(--ink-700); background: #fff; border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--brand-400); color: var(--brand-600); }
.btn-soft {
  color: var(--brand-600); background: var(--bg-tint); border-color: #e3e0ff;
}
.btn-soft:hover { background: #ecebff; }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink-900); letter-spacing: -.02em; }
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-600), var(--violet-500));
  display: grid; place-items: center; color: #fff; box-shadow: 0 6px 14px rgba(79,70,229,.32);
}
.brand .logo-mark svg { width: 20px; height: 20px; }
.brand b { color: var(--brand-600); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink-600);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink-900); }
.nav-links a.active { color: var(--brand-600); background: var(--bg-tint); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink-700); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 84px 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(139,92,246,.16), transparent 60%),
    radial-gradient(760px 460px at 8% 8%, rgba(34,211,238,.14), transparent 55%),
    linear-gradient(180deg, #fbfbff 0%, #ffffff 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  font-size: 13px; font-weight: 600; color: var(--ink-600);
  background: #fff; border: 1px solid var(--line); padding: 6px 12px 6px 8px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -.03em;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand-600), var(--violet-500) 55%, var(--cyan-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 20px; font-size: 18px; color: var(--ink-500); max-width: 540px; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--ink-400); font-size: 14px; }
.hero-trust .pill { color: var(--ink-600); font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; box-shadow: var(--shadow-sm); }

/* Hero visual — floating product grid */
.hero-visual { position: relative; }
.hero-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.mini-card:nth-child(odd) { transform: translateY(-10px); }
.mini-card .mc-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; margin-bottom: 12px; }
.mini-card h4 { font-size: 16px; }
.mini-card span { font-size: 13px; color: var(--ink-400); }
.mini-card .mc-bar { margin-top: 14px; height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.mini-card .mc-bar i { display: block; height: 100%; border-radius: 999px; }
.hero-orb {
  position: absolute; width: 120px; height: 120px; border-radius: 30px; right: -28px; bottom: -34px; z-index: -1;
  background: linear-gradient(135deg, var(--cyan-400), var(--brand-500)); filter: blur(2px); opacity: .25; transform: rotate(18deg);
}

/* ---------- Logo strip ---------- */
.logostrip { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--bg-soft); }
.logostrip .inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; padding-block: 22px; }
.logostrip .label { font-size: 13px; color: var(--ink-400); font-weight: 600; letter-spacing: .03em; }
.logostrip .brand-name { font-weight: 700; color: var(--ink-600); font-size: 17px; opacity: .85; }

/* ---------- Product ecosystem ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  --accent: var(--brand-600);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.product-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent); opacity: .9;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.pc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pc-ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none;
  background: var(--accent); box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 32%, transparent);
}
.pc-ico svg { width: 26px; height: 26px; }
.pc-name { font-size: 19px; }
.pc-cat { font-size: 12.5px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .03em; }
.product-card p { color: var(--ink-500); font-size: 15px; flex: 1; }
.pc-cta { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--accent); }
.pc-cta .arrow { transition: transform .2s ease; }
.product-card:hover .pc-cta .arrow { transform: translateX(4px); }
.pc-status { position: absolute; top: 22px; right: 22px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.status-live { background: #dcfce7; color: #15803d; }
.status-beta { background: #dbeafe; color: #1d4ed8; }
.status-rd   { background: #f3e8ff; color: #7e22ce; }
.status-soon { background: #fef3c7; color: #b45309; }

/* ---------- What we build ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fc-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  color: var(--brand-600); background: var(--bg-tint); border: 1px solid #e7e4ff;
}
.fc-ico svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-500); font-size: 14.5px; }

/* ---------- Why SigoTech ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.why-list { display: grid; gap: 14px; }
.why-item {
  display: flex; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.why-item:hover { border-color: var(--brand-400); box-shadow: var(--shadow); }
.why-item .wi-ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand-600), var(--violet-500));
}
.why-item .wi-ico svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 17px; margin-bottom: 4px; }
.why-item p { color: var(--ink-500); font-size: 14.5px; }
.why-panel {
  background: linear-gradient(160deg, #11142b, #1b1f3b); color: #fff;
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.why-panel::before { content:""; position:absolute; width: 240px; height: 240px; border-radius: 50%; right: -70px; top: -70px; background: radial-gradient(circle, rgba(139,92,246,.5), transparent 70%); }
.why-panel h3 { color: #fff; font-size: 22px; }
.why-panel p { color: rgba(255,255,255,.7); margin-top: 10px; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; position: relative; }
.why-stats .stat .num { font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.why-stats .stat .num span { background: linear-gradient(120deg, var(--cyan-400), var(--brand-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-stats .stat .lbl { font-size: 13.5px; color: rgba(255,255,255,.6); margin-top: 2px; }

/* ---------- R&D ---------- */
.rd-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.rd-pipeline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.rd-step { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink-700); background: #fff; border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.rd-step .n { width: 22px; height: 22px; border-radius: 50%; background: var(--bg-tint); color: var(--brand-600); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.rd-arrow { color: var(--ink-400); align-self: center; }
.rd-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.rd-tag {
  font-size: 14px; font-weight: 500; color: var(--ink-700); background: #fff; border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 12px; box-shadow: var(--shadow-sm); transition: transform .15s ease, border-color .2s ease;
}
.rd-tag:hover { transform: translateY(-2px); border-color: var(--brand-400); color: var(--brand-600); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 0 88px; }
.cta-inner {
  background: linear-gradient(135deg, var(--brand-600), var(--violet-500));
  border-radius: var(--radius-lg); padding: 56px 48px; text-align: center; color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-inner::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 200px at 20% 0%, rgba(255,255,255,.18), transparent 60%); }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3.6vw, 36px); position: relative; }
.cta-inner p { color: rgba(255,255,255,.85); margin-top: 12px; font-size: 17px; position: relative; }
.cta-inner .hero-cta { justify-content: center; position: relative; }
.cta-band .btn-white { background: #fff; color: var(--brand-600); }
.cta-band .btn-white:hover { background: #f5f3ff; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------- Footer ---------- */
.site-footer { background: #0b1020; color: rgba(255,255,255,.66); padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; max-width: 300px; color: rgba(255,255,255,.6); }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; padding: 6px 0; font-size: 14.5px; color: rgba(255,255,255,.66); transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.5); }
.footer-bottom .note { max-width: 620px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 460px; }
  .why-grid, .rd-wrap { grid-template-columns: 1fr; gap: 36px; }
  .product-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .section { padding-block: 64px; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; gap: 4px; box-shadow: var(--shadow);
  }
  .site-header.open .nav-links a { padding: 12px 14px; }
  .product-grid, .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-inner { padding: 40px 24px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 460px) {
  .hero-card-grid { grid-template-columns: 1fr; }
  .mini-card:nth-child(odd) { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   INNER PAGES — shared components
   ========================================================= */

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: 56px 52px; border-bottom: 1px solid var(--line-2); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(720px 360px at 85% -20%, rgba(139,92,246,.14), transparent 60%),
    radial-gradient(620px 340px at 5% 0%, rgba(34,211,238,.12), transparent 55%),
    linear-gradient(180deg, #fbfbff, #ffffff);
}
.page-hero.accent::before {
  background:
    radial-gradient(720px 360px at 85% -20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    radial-gradient(620px 340px at 5% 0%, rgba(34,211,238,.10), transparent 55%),
    linear-gradient(180deg, #fbfbff, #ffffff);
}
.page-hero h1 { font-size: clamp(30px, 4.6vw, 48px); margin-top: 16px; }
.page-hero .lead { margin-top: 16px; font-size: 18px; color: var(--ink-500); max-width: 640px; }
.page-hero .hero-cta { margin-top: 28px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-400); }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .cur { color: var(--ink-600); font-weight: 600; }

/* ---------- Product detail hero (split) ---------- */
.prod-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.prod-badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--ink-600);
  background: #fff; border: 1px solid var(--line); padding: 6px 12px 6px 8px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.prod-badge .pico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: var(--accent, var(--brand-600)); }
.prod-badge .pico svg { width: 16px; height: 16px; }

/* ---------- Mockup panel (visual) ---------- */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: var(--bg-soft); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e0e3ee; }
.mock-bar i:nth-child(1){ background:#ff5f57;} .mock-bar i:nth-child(2){ background:#febc2e;} .mock-bar i:nth-child(3){ background:#28c840;}
.mock-bar .mock-url { margin-left: 10px; font-size: 12.5px; color: var(--ink-400); background:#fff; border:1px solid var(--line-2); border-radius:7px; padding:3px 10px; }
.mock-body { padding: 22px; display: grid; gap: 14px; }
.mock-row { display: grid; gap: 8px; }
.mock-line { height: 10px; border-radius: 999px; background: var(--line-2); }
.mock-line.w-40{width:40%;} .mock-line.w-60{width:60%;} .mock-line.w-80{width:80%;} .mock-line.w-100{width:100%;}
.mock-line.accent { background: color-mix(in srgb, var(--accent, var(--brand-600)) 60%, var(--line-2)); }
.mock-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mock-chip { font-size: 12px; font-weight: 600; color: var(--accent, var(--brand-600)); background: color-mix(in srgb, var(--accent, var(--brand-600)) 10%, #fff); border: 1px solid color-mix(in srgb, var(--accent, var(--brand-600)) 22%, var(--line)); padding: 5px 11px; border-radius: 999px; }
.mock-stat { display:flex; align-items:center; justify-content:space-between; padding:14px; border:1px solid var(--line-2); border-radius:12px; background:var(--bg-soft); }
.mock-stat .mv { font-size: 22px; font-weight: 800; color: var(--ink-900); }
.mock-stat .ml { font-size: 12.5px; color: var(--ink-400); }
.mock-bars { display:flex; align-items:flex-end; gap:8px; height:84px; }
.mock-bars span { flex:1; border-radius:7px 7px 0 0; background: color-mix(in srgb, var(--accent, var(--brand-600)) 70%, #fff); }

/* ---------- Chips / use-cases ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-700);
  background: #fff; border: 1px solid var(--line); padding: 9px 15px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.chip .ci { color: var(--accent, var(--brand-600)); display: grid; place-items: center; }
.chip .ci svg { width: 16px; height: 16px; }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .ck {
  width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; margin-top: 1px;
  background: color-mix(in srgb, var(--accent, var(--brand-600)) 14%, #fff); color: var(--accent, var(--brand-600));
}
.checklist .ck svg { width: 15px; height: 15px; }
.checklist b { color: var(--ink-900); font-weight: 600; }
.checklist span { color: var(--ink-500); }

/* ---------- Steps (workflow) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-sm);
}
.step-card .sn {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; color: #fff; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent, var(--brand-600)), color-mix(in srgb, var(--accent, var(--brand-600)) 55%, var(--violet-500)));
}
.step-card h3 { font-size: 16px; margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--ink-500); }
.step-card .sarrow { position: absolute; right: -13px; top: 42px; color: var(--line); z-index: 1; }

/* ---------- Callout / disclaimer ---------- */
.callout {
  display: flex; gap: 14px; border-radius: var(--radius); padding: 20px 22px; border: 1px solid; font-size: 14.5px; line-height: 1.65;
}
.callout .co-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.callout .co-ico svg { width: 20px; height: 20px; }
.callout h4 { font-size: 15px; margin-bottom: 4px; }
.callout--note { background: var(--bg-soft); border-color: var(--line); color: var(--ink-600); }
.callout--note .co-ico { background: #eceefb; color: var(--ink-500); }
.callout--info { background: #eff6ff; border-color: #cfe0fd; color: #1e40af; }
.callout--info .co-ico { background: #dbeafe; color: #2563eb; }
.callout--info h4 { color: #1e3a8a; }
.callout--warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.callout--warn .co-ico { background: #fef3c7; color: #d97706; }
.callout--warn h4 { color: #78350f; }

/* ---------- Do / Don't ---------- */
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dd-card { border-radius: var(--radius); padding: 24px; border: 1px solid; }
.dd-card h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 14px; }
.dd-card h3 .b { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.dd-card ul { display: grid; gap: 10px; }
.dd-card li { display: flex; gap: 10px; font-size: 14.5px; }
.dd-do { background: #f0fdf4; border-color: #bbf7d0; }
.dd-do h3 .b { background: #16a34a; }
.dd-do li { color: #166534; }
.dd-dont { background: #fef2f2; border-color: #fecaca; }
.dd-dont h3 .b { background: #dc2626; }
.dd-dont li { color: #991b1b; }

/* ---------- Generic split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.wide-left { grid-template-columns: 1.1fr .9fr; }

/* ---------- Info / value cards ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.info-card .ic-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--brand-600); background: var(--bg-tint); border: 1px solid #e7e4ff; margin-bottom: 16px; }
.info-card .ic-ico svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 18px; margin-bottom: 8px; }
.info-card p { color: var(--ink-500); font-size: 14.5px; }

/* ---------- Simple table ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
table.simple { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.simple th, table.simple td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line-2); }
table.simple thead th { background: var(--bg-soft); color: var(--ink-700); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
table.simple tbody tr:last-child td { border-bottom: none; }
table.simple tbody tr:hover { background: var(--bg-soft); }
table.simple td b { color: var(--ink-900); }

/* ---------- Catalog (product list) ---------- */
.cat-card .pc-domain { font-size: 13px; color: var(--ink-400); margin-top: 12px; display: flex; align-items: center; gap: 6px; }
.cat-card .pc-domain svg { width: 14px; height: 14px; }
.cat-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.cat-actions .pc-cta { margin-top: 0; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-thumb { height: 170px; position: relative; display: grid; place-items: center; }
.blog-thumb svg { width: 56px; height: 56px; color: rgba(255,255,255,.92); }
.blog-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--brand-600); background: var(--bg-tint); border: 1px solid #e3e0ff; padding: 4px 11px; border-radius: 999px; margin-bottom: 14px; }
.blog-card h3 { font-size: 18px; line-height: 1.32; margin-bottom: 10px; }
.blog-card p { color: var(--ink-500); font-size: 14.5px; flex: 1; }
.blog-meta { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-400); }
.blog-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-400); }

/* ---------- Careers / jobs ---------- */
.job-list { display: grid; gap: 14px; }
.job-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.job-row:hover { border-color: var(--brand-400); box-shadow: var(--shadow); transform: translateY(-2px); }
.job-info { display: flex; gap: 18px; align-items: center; }
.job-info .j-ico { width: 48px; height: 48px; border-radius: 13px; flex: none; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand-600), var(--violet-500)); }
.job-info .j-ico svg { width: 24px; height: 24px; }
.job-info h3 { font-size: 17px; margin-bottom: 3px; }
.job-info p { font-size: 14px; color: var(--ink-500); }
.job-row .btn { flex: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: grid; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--ink-700); }
.form-group label .req { color: #dc2626; }
.form-control {
  font-family: inherit; font-size: 15px; color: var(--ink-900); background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control::placeholder { color: var(--ink-400); }
.form-control:focus { outline: none; border-color: var(--brand-400); box-shadow: var(--ring); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.form-actions { margin-top: 4px; }
.form-actions .btn { width: 100%; }
.contact-aside { display: grid; gap: 16px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 16px; margin-bottom: 14px; }
.aside-item { display: flex; gap: 13px; align-items: flex-start; padding: 9px 0; }
.aside-item .ai-ico { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; color: var(--brand-600); background: var(--bg-tint); border: 1px solid #e7e4ff; }
.aside-item .ai-ico svg { width: 19px; height: 19px; }
.aside-item .lbl { font-size: 12.5px; color: var(--ink-400); }
.aside-item .val { font-size: 14.5px; color: var(--ink-900); font-weight: 600; }
.aside-dark { background: linear-gradient(160deg, #11142b, #1b1f3b); color: #fff; border: none; }
.aside-dark h3 { color: #fff; }
.aside-dark p { color: rgba(255,255,255,.7); font-size: 14px; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose .updated { font-size: 13.5px; color: var(--ink-400); margin-bottom: 28px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose h3 { font-size: 17px; margin: 24px 0 8px; }
.prose p { color: var(--ink-600); margin-bottom: 14px; font-size: 15.5px; }
.prose ul { display: grid; gap: 9px; margin: 0 0 16px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 24px; color: var(--ink-600); font-size: 15.5px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-500); }
.prose a { color: var(--brand-600); font-weight: 500; }
.prose a:hover { text-decoration: underline; }

/* ---------- Section helpers ---------- */
.stack-lg { display: grid; gap: 24px; }
.mt-32 { margin-top: 32px; }
.lead-block { max-width: 760px; }
.lead-block p { font-size: 17px; color: var(--ink-500); }

/* ---------- Inner page responsive ---------- */
@media (max-width: 980px) {
  .prod-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .prod-hero-grid .mock { order: -1; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-card .sarrow { display: none; }
  .info-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .dodont { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .info-grid, .blog-grid, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .job-row { flex-direction: column; align-items: stretch; }
  .job-row .btn { width: 100%; }
  .job-info { align-items: flex-start; }
}

/* =========================================================
   Language switcher (.NET multi-language)
   ========================================================= */
.lang-switch { position: relative; }
.lang-switch > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--ink-700);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px;
  box-shadow: var(--shadow-sm); user-select: none; transition: border-color .15s ease, color .15s ease;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover { border-color: var(--brand-400); color: var(--brand-600); }
.lang-switch > summary .globe { width: 17px; height: 17px; }
.lang-switch > summary .caret { transition: transform .2s ease; }
.lang-switch[open] > summary .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px;
  box-shadow: var(--shadow-lg);
}
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-700); font-weight: 500;
}
.lang-menu a:hover { background: var(--bg-soft); color: var(--ink-900); }
.lang-menu a.active { background: var(--bg-tint); color: var(--brand-600); font-weight: 600; }
.lang-menu a .tag { font-size: 11px; font-weight: 700; color: var(--ink-400); letter-spacing: .04em; }
.lang-menu a.active .tag { color: var(--brand-600); }
@media (max-width: 720px) {
  .nav-actions .lang-switch { display: inline-block; }
  .lang-menu { right: 0; }
}
