/* ==========================================================================
   Innovance Global — marketing site
   Plain CSS, no framework. Replaces the Webflow "Darkweb X" template build.
   Tokens below mirror the live Webflow site's computed styles (Sep 2026).
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #0d0d0e;
  --surface: rgba(33, 33, 35, 0.4);
  --surface-solid: #212123;
  --surface-header: #161618;
  --surface-raised: rgba(255, 255, 255, 0.08);
  --border: #212123;
  --border-input: #5e5e60;

  /* Text */
  --text: #c0c0c8;
  --heading: #ffffff;
  --muted: #8a8a93;

  /* Accents */
  --accent: #ff6871;        /* coral — badges, taglines */
  --accent-strong: #ff4264; /* deeper coral — sub-taglines */
  --check: #20c374;         /* green checkmarks */
  --nova: #ff6b35;          /* Nova widget orange (unchanged) */

  /* Type */
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fs-body: 18px;
  --lh-body: 1.667;
  --fs-d1: clamp(40px, 5.6vw, 72px);
  --fs-d2: clamp(34px, 4.8vw, 62px);
  --fs-d3: clamp(26px, 3.4vw, 44px);
  --fs-d4: clamp(22px, 2.2vw, 28px);
  --fs-h3: clamp(20px, 1.9vw, 24px);
  --fs-h4: 22px;

  /* Layout */
  --container: 1316px;
  --gutter: 24px;
  --radius-pill: 96px;
  --radius-card: 30px;
  --radius-md: 24px;
  --section-gap: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 24px; }
h1, h2, h3, h4 { color: var(--heading); font-weight: 700; margin: 0 0 16px; }

h1, .d1 { font-size: var(--fs-d1); line-height: 1.22; }
.d2 { font-size: var(--fs-d2); line-height: 1.16; }
.d3 { font-size: var(--fs-d3); line-height: 1.18; }
.d4 { font-size: var(--fs-d4); line-height: 1.43; }
.h3 { font-size: var(--fs-h3); line-height: 1.42; }
.h4 { font-size: var(--fs-h4); line-height: 1.27; }
.d1, .d2, .d3, .d4, .h3, .h4 { color: var(--heading); font-weight: 700; }

strong { color: var(--heading); font-weight: 700; }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 10000;
  background: #fff; color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 760px; }
.narrow-sm { max-width: 640px; }

.section { padding: var(--section-gap) 0 0; }
.section-head { margin-bottom: 48px; }
.section-head p { margin-bottom: 0; }

.tagline { color: var(--accent); font-size: 22px; font-weight: 700; line-height: 1.36; margin-bottom: 16px; }
.tagline-sm { color: var(--accent-strong); font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.tagline em, .tagline-sm em { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 24px 38px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: inherit; font-size: 18px; line-height: 1.1; font-weight: 700;
  cursor: pointer;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: var(--bg); border-color: #fff; }
.btn-primary:hover { background: #e9e9ee; border-color: #e9e9ee; }
.btn-secondary { background: var(--surface-solid); color: #fff; border-color: var(--surface-solid); font-weight: 400; }
.btn-secondary:hover { background: #2c2c2f; border-color: #3a3a3d; }
.btn-sm { padding: 16px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row.center { justify-content: center; }

.badge {
  display: inline-block; padding: 10px 18px; border-radius: 40px;
  background: var(--accent); color: var(--bg);
  font-size: 16px; font-weight: 700; line-height: 1.1;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.check {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--check); display: grid; place-items: center;
}
.check svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; padding-top: 36px; }
.header-bar {
  max-width: 1050px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--surface-header);
  border: 1px solid var(--border);
  border-radius: 110px;
  padding: 12px 12px 12px 32px;
}
.brand { color: #fff; font-size: 18px; font-weight: 500; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav a { color: #fff; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .nav-cta { display: none; }
.header-cta { display: inline-flex; }

.menu-toggle {
  display: none;
  width: 56px; height: 56px; border-radius: 50%;
  border: 0; background: transparent; cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s ease, top .3s ease;
}
.menu-toggle span:nth-child(1) { top: 22px; }
.menu-toggle span:nth-child(2) { top: 32px; }
.menu-open .menu-toggle span:nth-child(1) { top: 27px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 27px; transform: rotate(-45deg); }

@media (max-width: 991px) {
  .site-header { padding-top: 20px; }
  .header-bar { padding: 8px 8px 8px 24px; flex-wrap: wrap; border-radius: 40px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    order: 3; width: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .menu-open .nav { max-height: 360px; }
  .nav a { padding: 14px 16px; border-top: 1px solid var(--border); }
  .nav .nav-cta { display: flex; margin: 12px 0 8px; border-top: 0; color: var(--bg); }
  .nav .nav-cta:hover { color: var(--bg); }
}

/* ---------- Hero (home) ---------- */
.hero { padding-top: 86px; text-align: center; }
.hero .narrow { margin: 0 auto 90px; }
.hero p { margin-bottom: 32px; }

.chip-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  max-width: 1100px; margin: 0 auto;
}
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px 14px 16px; border-radius: 48px;
  background: var(--surface); border: 1px solid var(--border);
  color: #fff; font-weight: 700; line-height: 1.2;
}

/* ---------- Tool list (home) ---------- */
.tool-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px; row-gap: 56px;
  margin-bottom: 56px;
}
.tool { display: flex; flex-direction: column; }
.tool h3 { margin-bottom: 16px; }
.tool p { flex: 1; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 700; line-height: 1.1;
}
.text-link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.text-link:hover svg { transform: translateX(4px); }
@media (max-width: 767px) { .tool-grid { grid-template-columns: 1fr; row-gap: 48px; } }

/* ---------- Feature split (Global Trade) ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center; gap: 48px; margin-bottom: 40px;
}
.split-media img { width: 100%; height: auto; border-radius: var(--radius-card); }
.split-body .badge { margin-bottom: 16px; }
.split-body p { margin-bottom: 32px; }
@media (max-width: 991px) { .split { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.feature { padding: 56px 24px 48px; }
.feature .check { margin-bottom: 24px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; }
@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- CTA card ---------- */
.cta-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px;
  padding: 100px 64px 120px;
  background: var(--surface); border-radius: var(--radius-card);
}
.cta-card .body { position: relative; z-index: 1; max-width: 480px; }
.cta-card .body p { max-width: 436px; margin-bottom: 48px; }
.cta-card .art { position: absolute; right: -120px; top: 50%; width: 760px; transform: translateY(-50%); pointer-events: none; }
@media (max-width: 991px) {
  .cta-card { grid-template-columns: 1fr; padding: 64px 32px 280px; }
  .cta-card .art { right: 50%; top: auto; bottom: -240px; width: 560px; transform: translateX(50%); }
}

/* ---------- Globe art (replaces template background image) ---------- */
.globe { color: #fff; }
.globe .g-line { fill: none; stroke: currentColor; stroke-opacity: .12; stroke-width: 1; }
.globe .g-rim { fill: none; stroke: currentColor; stroke-opacity: .22; stroke-width: 1.25; }
.globe .g-dot { fill: var(--accent); }
.globe .g-arc { fill: none; stroke: var(--accent); stroke-opacity: .65; stroke-width: 1.5; stroke-dasharray: 4 6; }
.globe-glow { filter: drop-shadow(0 0 60px rgba(255, 104, 113, .18)); }

/* ---------- Page hero (about / contact) ---------- */
.page-hero { position: relative; padding-top: 86px; isolation: isolate; }
main { overflow-x: clip; }
.page-hero .lead { max-width: 710px; margin-bottom: 40px; }
.page-hero .bg-art {
  position: absolute; z-index: -1; pointer-events: none;
  right: -12%; top: 20px; width: min(820px, 90vw); opacity: .45;
}

/* ---------- About: tool descriptions ---------- */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.stack-card { padding: 56px 44px; display: grid; gap: 40px; }
.icon-item { display: flex; align-items: flex-start; gap: 18px; }
.icon-item .ico {
  flex: none; width: 60px; height: 60px; margin-top: 4px; border-radius: 18px;
  display: grid; place-items: center;
  background: rgba(255, 104, 113, .1); border: 1px solid rgba(255, 104, 113, .25); color: var(--accent);
}
.icon-item .ico svg { width: 28px; height: 28px; }
.icon-item h3 { margin-bottom: 12px; }
.icon-item p { margin: 0; }
.icon-item p + p { margin-top: 12px; }
@media (max-width: 991px) { .two-col { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .stack-card { padding: 36px 24px; }
  .icon-item { flex-direction: column; gap: 14px; }
  .icon-item .ico { width: 48px; height: 48px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px 28px; align-items: start; }
.contact-grid .lead { max-width: 498px; }
.link-cards { display: grid; gap: 20px; }
.link-card {
  display: flex; gap: 20px; align-items: flex-start; padding: 32px;
  transition: border-color .25s ease, transform .25s ease;
}
.link-card:hover { border-color: #3a3a3d; transform: translateY(-2px); }
.link-card .ico {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
}
.link-card .ico svg { width: 24px; height: 24px; }
.ico-red { background: rgba(255, 104, 113, .15); color: var(--accent); }
.ico-green { background: rgba(32, 195, 116, .15); color: var(--check); }
.link-card .h3 { margin-bottom: 8px; }
.link-card p { margin-bottom: 12px; }
.link-card .value { color: #fff; font-weight: 700; }
@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card { padding: 48px 44px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.field label .opt { color: var(--muted); font-weight: 400; }
.input, .textarea {
  width: 100%; font: inherit; color: #fff;
  background: var(--surface-solid); border: 1px solid var(--border-input);
  transition: border-color .2s ease;
}
.input { height: 64px; padding: 0 24px; border-radius: 100px; font-size: 16px; }
.textarea { min-height: 160px; padding: 20px 24px; border-radius: 16px; font-size: 16px; line-height: 1.5; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #8b8b94; }
.input:focus, .textarea:focus { outline: none; border-color: #fff; }
.input:user-invalid, .textarea:user-invalid { border-color: var(--accent); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; font-style: italic; color: var(--muted); margin: 0; }
.turnstile-slot:empty { display: none; }
@media (max-width: 600px) {
  .form-card { padding: 32px 20px; }
  .link-card { padding: 24px 20px; gap: 16px; }
  .link-card .ico { width: 48px; height: 48px; }
  .form-grid { grid-template-columns: 1fr; }
}

.form-status { display: none; border-radius: 16px; padding: 20px 24px; margin-top: 20px; }
.form-status.error { display: block; background: rgba(255, 90, 101, .12); color: #ff7a83; border: 1px solid rgba(255, 90, 101, .35); }
.form-success { display: none; text-align: center; padding: 40px 0; }
.form-success .check { width: 64px; height: 64px; margin: 0 auto 20px; }
.form-success .check svg { width: 28px; height: 28px; }
.is-sent form { display: none; }
.is-sent .form-success { display: block; }

/* FAQ — native <details>, no JS needed */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.faq-col { display: grid; gap: 28px; }
.faq {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 36px 32px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--border);
}
.faq .dot { flex: none; width: 40px; height: 40px; border-radius: 12px; }
.dot-purple { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.dot-blue { background: linear-gradient(135deg, #60a5fa, #1d4ed8); }
.dot-yellow { background: linear-gradient(135deg, #fde047, #ca8a04); }
.dot-red { background: linear-gradient(135deg, #fb7185, #be123c); }
.dot-green { background: linear-gradient(135deg, #4ade80, #15803d); }
.faq details { flex: 1; min-width: 0; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  color: #fff; font-size: 20px; font-weight: 700; line-height: 1.4;
  padding-top: 6px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 24px; height: 24px; margin-top: 2px; transition: transform .3s ease; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { margin: 16px 0 0; }
@media (max-width: 991px) { .faq-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .faq { padding: 28px 20px; } .faq summary { font-size: 18px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 96px 0; }
.notfound .code { font-size: clamp(96px, 16vw, 180px); line-height: 1; color: #fff; font-weight: 700; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: var(--section-gap);
  background: var(--surface);
  border-radius: 180px 180px 0 0;
}
.footer-top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 64px 40px; padding: 144px 0 96px; align-items: start;
}
.footer-top .h3 { margin-bottom: 32px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: #fff; }
.demo-card { background: var(--surface-raised); border-radius: var(--radius-md); padding: 34px 32px 40px; }
.demo-card .spark {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 16px;
  display: grid; place-items: center; background: rgba(255, 104, 113, .15); color: var(--accent);
}
.demo-card .spark svg { width: 28px; height: 28px; }
.demo-card h3 { margin-bottom: 8px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: var(--surface-raised); border-radius: 20px;
  padding: 24px 44px; margin-bottom: 48px; font-size: 16px; line-height: 1.6;
}
.footer-bottom p { margin: 0; max-width: 640px; }
.socials { display: flex; gap: 20px; }
.socials a { color: #fff; opacity: .9; transition: opacity .2s, color .2s; }
.socials a:hover { color: var(--accent); opacity: 1; }
.socials svg { width: 22px; height: 22px; }
@media (max-width: 991px) {
  .site-footer { border-radius: 60px 60px 0 0; }
  .footer-top { grid-template-columns: 1fr; padding: 80px 0 56px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 24px; }
}

/* ---------- Scroll reveal (replaces Webflow IX2) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 32px, 0);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn:hover, .link-card:hover { transform: none; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; --fs-body: 17px; }
  .btn { padding: 20px 28px; font-size: 17px; }
  .btn-row .btn { flex: 1 1 auto; }
  .hero { padding-top: 56px; }
  .hero .narrow { margin-bottom: 56px; }
  .page-hero { padding-top: 56px; }
  .chip { padding: 10px 18px 10px 12px; font-size: 15px; }
  .check { width: 26px; height: 26px; }
}
