/* ==========================================================================
   Nonagon Kupa Technology — Website Stylesheet
   Products: Business Applications & Websites for SMEs
   --------------------------------------------------------------------------
   1. Design tokens (colors, type, spacing) + dark mode
   2. Reset & base
   3. Layout helpers
   4. Buttons & badges
   5. Header / navigation
   6. Hero
   7. Product category tabs + product cards
   8. Features grid
   9. Process steps
   10. Testimonials
   11. CTA band & contact form
   12. Footer
   13. Utilities & responsive
   ========================================================================== */

/* 1. DESIGN TOKENS ------------------------------------------------------- */
:root {
  /* Brand — Nonagon Kupa Technology (from logo) */
  --navy-500:  #1e3266;   /* infinity loop, left */
  --navy-700:  #142246;
  --gold-300:  #e6c873;   /* infinity loop, right (gradient) */
  --gold-500:  #c39a3c;
  --gold-700:  #9a7426;
  --gold-gradient: linear-gradient(135deg, var(--gold-300), var(--gold-500) 55%, var(--gold-700));

  --brand-50:  #eaf6ef;
  --brand-100: #cfe9d9;
  --brand-500: #1f8a4f;   /* "NONAGON KUPA" green */
  --brand-600: #19733f;
  --brand-700: #145c33;   /* "TECHNOLOGY" green */
  --accent-400: var(--gold-300);
  --accent-500: var(--gold-500);
  --brand-ink: var(--brand-700);      /* green text on light/soft surfaces */
  --brand-ink-soft: var(--brand-600); /* links, eyebrows */
  --hero-grad-start: var(--navy-500);

  /* Product-line colors (Apps = navy, Websites = gold) */
  --app-color: var(--navy-500);
  --app-soft:  #e8ecf6;
  --web-color: var(--gold-700);
  --web-soft:  #f8f1e0;

  /* Neutrals */
  --bg:         #f8faf9;
  --surface:    #ffffff;
  --surface-2:  #f1f5f3;
  --text:       #0f1f1a;
  --text-muted: #55655f;
  --border:     #dfe7e3;

  /* Feedback */
  --success: #16a34a;
  --danger:  #dc2626;

  /* Typography */
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-lg: 1.15rem;
  --fs-xl: 1.4rem;
  --fs-2xl: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
  --fs-3xl: clamp(2.1rem, 1.4rem + 3vw, 3.5rem);

  /* Spacing, radius, shadow, motion */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(15 31 26 / 0.06);
  --shadow:    0 6px 20px -6px rgb(15 31 26 / 0.12);
  --shadow-lg: 0 24px 48px -16px rgb(15 31 26 / 0.22);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --container: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:         #0b1411;
    --surface:    #121e1a;
    --surface-2:  #182722;
    --text:       #e8f1ed;
    --text-muted: #9bb0a8;
    --border:     #24362f;
    --brand-50:   #0f2a22;
    --brand-100:  #13392d;
    --brand-ink:  #86dcae;
    --brand-ink-soft: #5fcf91;
    --hero-grad-start: #93a6df;
    --app-color:  #93a6df;
    --app-soft:   #1a2340;
    --web-color:  var(--gold-300);
    --web-soft:   #2e2614;
    --shadow:     0 6px 20px -6px rgb(0 0 0 / 0.5);
    --shadow-lg:  0 24px 48px -16px rgb(0 0 0 / 0.6);
  }
}
:root[data-theme="dark"] {
  --bg:         #0b1411;
  --surface:    #121e1a;
  --surface-2:  #182722;
  --text:       #e8f1ed;
  --text-muted: #9bb0a8;
  --border:     #24362f;
  --brand-50:   #0f2a22;
  --brand-100:  #13392d;
  --brand-ink:  #86dcae;
  --brand-ink-soft: #5fcf91;
  --hero-grad-start: #93a6df;
  --app-color:  #93a6df;
  --app-soft:   #1a2340;
  --web-color:  var(--gold-300);
  --web-soft:   #2e2614;
  --shadow:     0 6px 20px -6px rgb(0 0 0 / 0.5);
  --shadow-lg:  0 24px 48px -16px rgb(0 0 0 / 0.6);
}

/* 2. RESET & BASE -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: var(--brand-ink-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); font-weight: 700; }
p  { color: var(--text-muted); }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--brand-100); color: var(--text); }

/* 3. LAYOUT -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.section { padding-block: var(--space-24); }
.section--alt { background: var(--surface-2); }

.section-head {
  max-width: 640px;
  margin: 0 auto var(--space-12);
  text-align: center;
}
.section-head p { margin-top: var(--space-3); font-size: var(--fs-lg); }

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-ink-soft);
}

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* 4. BUTTONS & BADGES ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  font-size: var(--fs-sm);
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 8px 20px -8px var(--brand-500);
}
.btn--primary:hover { background: var(--brand-600); }

.btn--accent { background: var(--gold-gradient); color: #2b1a00; }
.btn--accent:hover { filter: brightness(1.06); }

.btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--brand-500); color: var(--brand-ink-soft); }

.btn--ghost { background: transparent; color: var(--brand-ink-soft); padding-inline: 0.6rem; }
.btn--lg { padding: 1rem 1.8rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: var(--brand-50);
  color: var(--brand-ink);
}
.badge--app { background: var(--app-soft); color: var(--app-color); }
.badge--web { background: var(--web-soft); color: var(--web-color); }
.badge--hot { background: var(--gold-gradient); color: #2b1a00; }

/* 5. HEADER / NAV -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--text);
}
.logo:hover { text-decoration: none; }
.logo img {
  height: 58px;
  width: auto;
  border-radius: var(--radius-sm);
}
.logo--footer img { height: 110px; }
/* The logo has a white background — frame it neatly on dark surfaces */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo img { background: #fff; padding: 4px 8px; }
}
:root[data-theme="dark"] .logo img { background: #fff; padding: 4px 8px; }
/* 6. HERO ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-16) var(--space-24);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 640px; height: 640px;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-500) 22%, transparent), transparent 65%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: var(--space-12);
}
.hero h1 span {
  background: linear-gradient(90deg, var(--hero-grad-start) 0%, var(--brand-500) 50%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead { margin-top: var(--space-4); font-size: var(--fs-lg); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-8);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.hero__trust strong { display: block; font-size: var(--fs-xl); color: var(--text); }

/* Mock device frame for app/website screenshots */
.mockup {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mockup__bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.mockup__bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mockup__bar i:nth-child(1) { background: #ff6b5f; }
.mockup__bar i:nth-child(2) { background: #ffbd2e; }
.mockup__bar i:nth-child(3) { background: #28c840; }
.mockup__body { padding: var(--space-6); display: grid; gap: var(--space-3); }
.mockup__row { height: 12px; border-radius: 6px; background: var(--surface-2); }
.mockup__row--short { width: 55%; }
.mockup__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.mockup__stat {
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  font-weight: 800;
  color: var(--brand-ink);
}
.mockup__stat small { display: block; font-weight: 500; font-size: var(--fs-xs); color: var(--text-muted); }

/* 7. PRODUCT TABS + PRODUCT CARDS --------------------------------------- */
.tabs {
  display: inline-flex;
  gap: var(--space-1);
  padding: var(--space-1);
  margin: 0 auto var(--space-8);
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
}
.tabs-wrap { display: flex; justify-content: center; }
.tab {
  padding: 0.55rem 1.2rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--brand-500); color: #fff; }

.product-card {
  --card-color: var(--brand-500);
  --card-soft: var(--brand-50);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--card-color) 40%, var(--border));
}
.product-card--app { --card-color: var(--app-color); --card-soft: var(--app-soft); }
.product-card--web { --card-color: var(--web-color); --card-soft: var(--web-soft); }

.product-card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--card-soft);
  color: var(--card-color);
  font-size: 1.5rem;
}
.product-card__meta { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.product-card__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-2);
  font-size: var(--fs-sm);
}
.product-card__list li {
  display: flex;
  gap: var(--space-2);
  color: var(--text-muted);
}
.product-card__list li::before {
  content: "✓";
  flex-shrink: 0;
  font-weight: 800;
  color: var(--card-color);
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px dashed var(--border);
}
.product-card__note { font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); }

/* 8. FEATURES ------------------------------------------------------------ */
.feature {
  padding: var(--space-6);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.feature__icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-ink-soft);
  font-size: 1.2rem;
}
.feature p { margin-top: var(--space-2); font-size: var(--fs-sm); }

/* 9. PROCESS STEPS ------------------------------------------------------ */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding: var(--space-6) var(--space-6) var(--space-6) calc(var(--space-6) + 48px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: var(--space-6);
  top: var(--space-6);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand-500);
}
.step p { margin-top: var(--space-1); font-size: var(--fs-sm); }

/* 10. TESTIMONIALS ------------------------------------------------------- */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.testimonial blockquote { font-size: var(--fs-lg); color: var(--text); line-height: 1.5; }
.testimonial__stars { color: var(--accent-500); letter-spacing: 2px; }
.testimonial__author { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.avatar {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-ink);
  font-weight: 800;
}
.testimonial__author small { display: block; color: var(--text-muted); }

/* 11. CTA BAND & CONTACT FORM ------------------------------------------- */
.cta {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-12);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500) 60%, var(--brand-700));
  color: #fff;
}
.cta h2 { color: #fff; }
.cta p  { color: rgb(255 255 255 / .8); margin-top: var(--space-3); }

.form { display: grid; gap: var(--space-3); }
.field { display: grid; gap: var(--space-1); }
.field label { font-size: var(--fs-xs); font-weight: 700; color: rgb(255 255 255 / .85); }
.input, .select, .textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-500) 25%, transparent);
}
.textarea { min-height: 110px; resize: vertical; }

/* 12. FOOTER ------------------------------------------------------------- */
.site-footer {
  padding-block: var(--space-16) var(--space-8);
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-8);
}
.footer__grid h4 { font-size: var(--fs-sm); margin-bottom: var(--space-3); }
.footer__grid ul { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.footer__grid a { color: var(--text-muted); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

/* 12b. COMPLETED DESIGN — navigation, hero visual, new sections ---------- */

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  z-index: 100;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--brand-500);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { top: var(--space-2); }

/* Navigation */
.site-header { transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: var(--shadow); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
}
.nav__links a:not(.btn) {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: color .2s, background .2s;
}
.nav__links a:not(.btn):hover,
.nav__links a.is-active {
  color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
}
.nav__mobile-cta { display: none; }

.nav__actions { display: flex; align-items: center; gap: var(--space-2); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { border-color: var(--brand-500); }
.icon-btn svg { display: block; }

/* Theme icon: show moon in light mode, sun in dark mode */
.icon-sun { display: none !important; }
:root[data-theme="dark"] .icon-sun { display: block !important; }
:root[data-theme="dark"] .icon-moon { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block !important; }
  :root:not([data-theme="light"]) .icon-moon { display: none !important; }
}

/* Hamburger */
.nav__toggle { display: none; gap: 4px; align-content: center; }
.nav__toggle span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .2s;
}
.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav__toggle { display: inline-grid; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-3) var(--space-4) var(--space-6);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .is-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s, transform .25s var(--ease);
  }
  .nav__links a:not(.btn) { padding: 0.85rem 0.75rem; border-radius: var(--radius-sm); font-size: var(--fs-base); }
  .nav__mobile-cta { display: block; margin-top: var(--space-3); }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
  .logo img { height: 48px; }
  .nav { min-height: 66px; }
}

/* Hero visual */
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -15%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold-300) 20%, transparent), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.hero { isolation: isolate; }
.hero__inner { position: relative; }
.hero__visual { position: relative; padding: var(--space-8) var(--space-6); }
.hero__visual .mockup { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s var(--ease); }
.hero__visual:hover .mockup { transform: none; }

.mockup__bar { align-items: center; }
.mockup__url {
  flex: 1;
  margin-left: var(--space-3);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mockup__stat { font-size: var(--fs-lg); }

.mockup__chart {
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.mockup__chart-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  font-size: var(--fs-xs);
}
.mockup__chart-head span { color: var(--text-muted); }
.bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 8px;
  height: 110px;
}
.bars i {
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: color-mix(in srgb, var(--brand-500) 30%, var(--surface-2));
  transform-origin: bottom;
  animation: grow 1s var(--ease) both;
}
.bars i:nth-child(2) { animation-delay: .05s; }
.bars i:nth-child(3) { animation-delay: .1s; }
.bars i:nth-child(4) { animation-delay: .15s; }
.bars i:nth-child(5) { animation-delay: .2s; }
.bars i:nth-child(6) { animation-delay: .25s; }
.bars i:nth-child(7) { animation-delay: .3s; }
.bars i.is-peak { background: linear-gradient(180deg, var(--brand-500), var(--brand-700)); }
.bars__labels {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 6px;
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-muted);
}
@keyframes grow { from { transform: scaleY(0); } }

.mockup__list { display: grid; gap: var(--space-2); }
.mockup__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.mockup__item .mockup__row { background: var(--border); height: 8px; }
.mockup__item em { font-style: normal; font-size: 0.7rem; font-weight: 700; color: var(--text-muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--green { background: var(--brand-500); }
.dot--gold  { background: var(--gold-500); }
.dot--navy  { background: var(--navy-500); }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
  animation: float 5s ease-in-out infinite;
}
.float-card b { display: block; line-height: 1.2; }
.float-card small { color: var(--text-muted); font-size: var(--fs-xs); }
.float-card__icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--brand-50);
}
.float-card__icon--gold { background: var(--web-soft); }
.float-card--top    { top: -20px; left: -16px; }
.float-card--bottom { bottom: 0; right: -4px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero { padding-top: var(--space-12); }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
  .hero__visual { padding-inline: 0; }
  .float-card--top { left: 4px; }
  .float-card--bottom { right: 4px; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* Industries strip */
.industries {
  border-block: 1px solid var(--border);
  background: var(--surface);
}
.industries__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-6);
}
.industries__label {
  flex-shrink: 0;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.industries__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  list-style: none;
  padding: 0;
  font-weight: 600;
  font-size: var(--fs-sm);
}
@media (max-width: 720px) {
  .industries__inner { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .industries__list { gap: var(--space-2) var(--space-4); }
}

/* Product card tweaks */
.product-card p { flex-grow: 0; }
.product-card.pop { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }
.btn--ghost:hover { background: var(--brand-50); }

.custom-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4) var(--space-8);
  margin-top: var(--space-8);
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-lg);
  border: 1.5px dashed color-mix(in srgb, var(--brand-500) 45%, var(--border));
  background: var(--surface);
}
.custom-banner p { margin-top: var(--space-1); }

/* Features: subtle hover */
.feature { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand-500) 35%, var(--border)); }
.feature:nth-child(4n+2) .feature__icon { background: var(--app-soft); }
.feature:nth-child(4n+3) .feature__icon { background: var(--web-soft); }

/* Steps (redesigned: number chip + icon, connector line) */
.steps { list-style: none; padding: 0; position: relative; }
.step { padding: var(--space-8) var(--space-6) var(--space-6); }
.step::before {
  left: auto;
  right: var(--space-6);
  top: var(--space-6);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-50);
  color: var(--brand-ink);
  font-size: var(--fs-xs);
}
.step__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  background: var(--gold-gradient);
  font-size: 1.4rem;
  box-shadow: 0 0 0 6px var(--surface-2);
}
.step p { margin-top: var(--space-2); }
.step:hover { border-color: color-mix(in srgb, var(--gold-500) 45%, var(--border)); }

/* Testimonials */
.testimonial { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial blockquote { position: relative; }
.avatar--navy { background: var(--app-soft); color: var(--app-color); }
.avatar--gold { background: var(--web-soft); color: var(--web-color); }

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-12);
  align-items: start;
}
.section-head--left { text-align: left; margin: 0; }
.faq__list { display: grid; gap: var(--space-3); }
.faq__list details {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .2s;
}
.faq__list details[open] { border-color: color-mix(in srgb, var(--brand-500) 40%, var(--border)); }
.faq__list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-ink);
  font-weight: 800;
  transition: transform .25s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 var(--space-6) var(--space-6); }
@media (max-width: 960px) {
  .faq { grid-template-columns: 1fr; gap: var(--space-8); }
  .section-head--left { text-align: center; margin-inline: auto; }
}

/* CTA + contact form */
.cta { position: relative; overflow: hidden; align-items: start; }
.cta::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(230 200 115 / .25), transparent 70%);
  pointer-events: none;
}
.cta > * { position: relative; }
.eyebrow--light { color: var(--gold-300); }
.cta__points {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding: 0;
  list-style: none;
}
.cta__points li { display: flex; gap: var(--space-3); color: rgb(255 255 255 / .9); }
.cta__points li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgb(230 200 115 / .2);
  color: var(--gold-300);
  font-size: .8rem;
  font-weight: 800;
}
.form {
  padding: var(--space-6);
  border-radius: var(--radius);
  background: rgb(255 255 255 / .06);
  border: 1px solid rgb(255 255 255 / .12);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.optional { font-weight: 500; opacity: .7; }
.input.is-invalid { border-color: var(--danger); }
.form__error {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: rgb(220 38 38 / .18);
  color: #ffd4d4;
  font-size: var(--fs-sm);
}
.form__success {
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--space-2);
  min-height: 320px;
  padding: var(--space-8);
  border-radius: var(--radius);
  background: rgb(255 255 255 / .06);
  border: 1px solid rgb(255 255 255 / .12);
  text-align: center;
}
.form__success:focus { outline: none; }
.form__success h3 { color: #fff; font-size: var(--fs-xl); }
.form__success-icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: var(--space-2);
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #2b1a00;
  font-size: 1.8rem;
  font-weight: 800;
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .cta { padding: var(--space-6) var(--space-4); }
  .form { padding: var(--space-4); }
}

/* Footer */
.site-footer { background: var(--surface); }
.footer__about { max-width: 32ch; }
.footer__grid a:hover { color: var(--brand-ink-soft); }

/* Back to top */
.to-top {
  position: fixed;
  right: var(--space-6);
  bottom: var(--space-6);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand-500);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
}
.to-top:hover { text-decoration: none; background: var(--brand-600); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }

/* 12c. MULTI-PAGE — page hero, breadcrumb, explore cards, CTA strip ----- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: var(--space-16) var(--space-12);
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -60% -10% auto auto;
  width: 560px; height: 560px;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-500) 18%, transparent), transparent 65%);
  z-index: -1;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto auto -70% -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold-300) 18%, transparent), transparent 65%);
  z-index: -1;
}
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); max-width: 20ch; margin-inline: auto; }
.page-hero p  { max-width: 56ch; margin: var(--space-4) auto 0; font-size: var(--fs-lg); }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-ink-soft); }
.breadcrumb span:last-child { color: var(--text); font-weight: 600; }

.section--flush-top { padding-top: 0; }
.section--tight { padding-block: var(--space-12) var(--space-24); }

/* Home: explore cards */
.explore-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.explore-card:hover {
  text-decoration: none;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand-500) 40%, var(--border));
}
.explore-card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: var(--space-2);
  border-radius: var(--radius);
  background: var(--brand-50);
  font-size: 1.5rem;
}
.explore-card:nth-child(3n+2) .explore-card__icon { background: var(--app-soft); }
.explore-card:nth-child(3n+3) .explore-card__icon { background: var(--web-soft); }
.explore-card__go { margin-top: auto; padding-top: var(--space-4); font-weight: 700; font-size: var(--fs-sm); color: var(--brand-ink-soft); }
.explore-card--accent {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500) 60%, var(--brand-700));
  border-color: transparent;
  color: #fff;
}
.explore-card--accent p { color: rgb(255 255 255 / .8); }
.explore-card--accent .explore-card__icon { background: rgb(255 255 255 / .12); }
.explore-card--accent .explore-card__go { color: var(--gold-300); }

/* CTA strip at the bottom of each page */
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6) var(--space-8);
  padding: var(--space-12);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500) 60%, var(--brand-700));
  color: #fff;
}
.cta-strip h2 { color: #fff; }
.cta-strip p  { margin-top: var(--space-2); color: rgb(255 255 255 / .8); }
.cta-strip__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.btn--on-dark { background: transparent; border-color: rgb(255 255 255 / .35); color: #fff; }
.btn--on-dark:hover { border-color: #fff; background: rgb(255 255 255 / .08); }

/* FAQ page: single centered column */
.faq--single { grid-template-columns: 1fr; max-width: 820px; }
.faq__more { margin-top: var(--space-4); text-align: center; }

@media (max-width: 720px) {
  .page-hero { padding-block: var(--space-12) var(--space-8); }
  .cta-strip { padding: var(--space-8) var(--space-6); }
  .cta-strip__actions, .cta-strip__actions .btn { width: 100%; }
  .explore-card { padding: var(--space-6); }
}

/* 13. UTILITIES & RESPONSIVE -------------------------------------------- */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
[hidden] { display: none !important; }

/* Fade-in on scroll (add .reveal, toggle .is-visible with JS) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero__inner, .cta { grid-template-columns: 1fr; }
  .cta { padding: var(--space-8); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding-block: var(--space-16); }
  .product-card, .testimonial { padding: var(--space-6); }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
