/* FSS Global — dark enterprise theme */
:root {
  --bg: #0b101b;
  --bg-2: #0e1523;
  --card: #131a29;
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #94a3b8;
  --blue: #0ea5e9;
  --green: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  --grad: linear-gradient(90deg, #0ea5e9 0%, #10b981 38%, #f59e0b 72%, #ef4444 100%);
  --radius: 20px;
  --maxw: 1200px;
  --font: "Inter", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; transition: transform .2s, box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn-grad { background: var(--grad); color: #0b101b; box-shadow: 0 6px 24px rgba(14, 165, 233, .25); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(245, 158, 11, .35); }
.btn-outline { border-color: rgba(255, 255, 255, .85); background: transparent; color: #fff; }
.btn-outline:hover { background: rgba(14, 165, 233, .1); border-color: var(--blue); box-shadow: 0 0 22px rgba(14, 165, 233, .45); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14px; border-color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 16, 27, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 40px; font-weight: 500; font-size: 15px; }
.nav-links a { position: relative; padding: 6px 0; color: #e2e8f0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); transition: width .25s; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: block; }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .25s, opacity .25s, top .25s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 77px 0 0 0; z-index: 99; background: rgba(11, 16, 27, .97);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s;
}
.drawer.open { transform: none; opacity: 1; pointer-events: auto; }
.drawer a.dl { font-size: 22px; font-weight: 600; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.drawer .btn { margin-top: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 80% 30%, rgba(14, 165, 233, .12), transparent 70%),
              radial-gradient(40% 40% at 10% 90%, rgba(245, 158, 11, .06), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); font-weight: 800; }
.hero .lead { margin-top: 24px; font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual {
  position: relative; aspect-ratio: 1.15 / 1; width: 100%; min-height: 340px;
  border-radius: 28px; border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(80% 70% at 50% 40%, #101a2e 0%, #0b101b 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 0 60px rgba(14, 165, 233, .06);
}
.hero-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hud { position: absolute; left: 18px; bottom: 14px; right: 18px; display: flex; justify-content: space-between; font: 500 11px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: rgba(148, 163, 184, .8); letter-spacing: .08em; pointer-events: none; }
.hud b { color: var(--green); font-weight: 500; }

/* ---------- Trust strip ---------- */
.trust { padding: 0 0 40px; }
.trust-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 24px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.pillar { padding: 28px 30px; position: relative; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.pillar h3 i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.pillar p { font-size: 14.5px; color: var(--muted); }

/* ---------- Sections ---------- */
section.block { padding: 96px 0; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
.sec-head p { color: var(--muted); margin-top: 16px; font-size: 17px; }

/* ---------- Solutions ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  --accent: var(--blue);
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 18px 50px color-mix(in srgb, var(--accent) 18%, transparent); }
.card:nth-child(2) { --accent: var(--green); }
.card:nth-child(3) { --accent: var(--amber); }
.card:nth-child(4) { --accent: var(--red); }
.icon-box { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--line); background: #0e1523; display: grid; place-items: center; margin-bottom: 28px; color: var(--accent); }
.icon-box svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 24px; font-weight: 700; }
.card .tag { margin: 10px 0 22px; color: #cbd5e1; font-size: 16px; }
.card li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--muted); margin-top: 14px; }
.card li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg) translateY(-50%); }
.card li strong { color: #fff; font-weight: 600; }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); }
.about-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-bottom: 56px; }
.about-top h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
.about-top .who { color: var(--muted); font-size: 17px; }
.about-top .who strong { color: #fff; display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; border-top: 3px solid var(--c); }
.feature h3 { font-size: 19px; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: 15px; }
#global-reach { scroll-margin-top: 90px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 32px; padding: 72px 40px; text-align: center;
  border: 1px solid var(--line);
  background: radial-gradient(70% 120% at 50% 0%, rgba(14, 165, 233, .18), transparent 70%), var(--card);
}
.cta-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); }
.cta-banner h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; max-width: 820px; margin: 0 auto; }
.cta-banner p { color: var(--muted); max-width: 640px; margin: 20px auto 34px; font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; margin-top: 40px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot .logo img { height: 44px; }
.foot-links { display: flex; gap: 28px; color: var(--muted); font-size: 14.5px; }
.foot-links a:hover { color: #fff; }
.foot-links button { background: none; border: 0; padding: 0; font-weight: 600; color: #fff; }
.foot-links button:hover { color: var(--blue); }
.copy { width: 100%; color: #64748b; font-size: 13.5px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Modal ---------- */
dialog.modal {
  width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  padding: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--card); color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 0 1px rgba(14, 165, 233, .15);
}
dialog.modal::backdrop { background: rgba(5, 8, 15, .75); backdrop-filter: blur(6px); }
dialog.modal[open] { animation: pop .28s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-in { padding: 36px; position: relative; }
.modal-in::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: 20px; line-height: 1; }
.close:hover { background: rgba(255, 255, 255, .14); }
.modal h2 { font-size: 26px; font-weight: 800; }
.modal .sub { color: var(--muted); margin: 8px 0 24px; font-size: 15px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #cbd5e1; }
.field input, .field select, .field textarea {
  width: 100%; background: #0b101b; border: 1px solid rgba(255, 255, 255, .14); color: #fff; border-radius: 12px;
  padding: 12px 14px; font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14, 165, 233, .22); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.err { display: none; color: #fca5a5; font-size: 12.5px; margin-top: 5px; }
.field.invalid .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal .btn[type="submit"] { width: 100%; margin-top: 8px; }
.modal .btn[disabled] { opacity: .7; cursor: progress; }
.success { text-align: center; padding: 28px 0 8px; }
.success .tick { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: rgba(16, 185, 129, .12); border: 1px solid var(--green); display: grid; place-items: center; color: var(--green); }
.success .tick svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.success p { color: var(--muted); margin: 10px 0 24px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 1.2 / 1; }
  .trust-bar { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .about-top { grid-template-columns: 1fr; gap: 24px; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 32px, var(--maxw)); }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 28px; }
  section.block { padding: 64px 0; }
  .cta-banner { padding: 52px 22px; }
  .row2 { grid-template-columns: 1fr; }
  .modal-in { padding: 28px 22px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot-links { flex-wrap: wrap; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}
