/* =========================================================
   IT Toke d.o.o. — Main Stylesheet
   Design: dark-tech premium B2B | VARIANCE:7 MOTION:7 DENSITY:4
   ========================================================= */

/* ── 0. Reset & Custom Properties ─────────────────────────── */

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

:root {
  /* Brand colors */
  --c-accent:       #1FB6C9;
  --c-accent-dim:   #0e8fa0;
  --c-accent-glow:  rgba(31, 182, 201, 0.18);
  --c-accent-line:  rgba(31, 182, 201, 0.35);

  /* Neutrals — cool dark */
  --c-bg:           #14171C;
  --c-bg-2:         #191d24;
  --c-bg-3:         #1e2330;
  --c-surface:      #1e232c;
  --c-surface-2:    #252c3a;
  --c-border:       rgba(255,255,255,0.07);
  --c-border-accent:rgba(31,182,201,0.25);

  /* Text */
  --c-text:         #e2e8f0;
  --c-text-muted:   #94a3b8;
  --c-text-faint:   #4b5a72;

  /* Status */
  --c-green:        #22c55e;
  --c-green-dim:    rgba(34,197,94,0.15);

  /* Typography */
  --font-sans:      'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:      'Geist Mono', 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* Spacing scale */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius scale */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  22px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  --shadow-glow:0 0 32px rgba(14,165,233,0.2), 0 0 0 1px var(--c-border-accent);

  /* Transitions */
  --t-fast:   120ms cubic-bezier(0.2, 0, 0, 1);
  --t-base:   220ms cubic-bezier(0.2, 0, 0, 1);
  --t-slow:   400ms cubic-bezier(0.2, 0, 0, 1);

  /* Nav height */
  --nav-h: 64px;
}

/* ── 1. Base ───────────────────────────────────────────────── */

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

img, svg { display: block; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* ── 2. Layout Utilities ───────────────────────────────────── */

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.text-center { text-align: center; }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: var(--sp-4);
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--c-text-muted);
  max-width: 60ch;
  line-height: 1.7;
  margin-bottom: var(--sp-12);
}
.text-center .section-sub {
  margin-inline: auto;
}

/* ── 3. Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.625rem 1.375rem;
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition-property: background-color, color, border-color, box-shadow, transform, opacity;
  transition-duration: var(--t-base);
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
  text-decoration: none;
  min-height: 40px;
  min-width: 40px;
}
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 0 transparent;
}
.btn-primary:hover {
  background: #38bdf8;
  border-color: #38bdf8;
  box-shadow: 0 4px 20px rgba(14,165,233,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--c-text-muted);
  border-color: var(--c-border);
}
.btn-ghost:hover {
  color: var(--c-text);
  border-color: var(--c-border-accent);
  background: var(--c-accent-glow);
}

.btn-lg {
  padding: 0.8125rem 1.875rem;
  font-size: 1rem;
  min-height: 48px;
}
.btn-sm {
  padding: 0.4375rem 1rem;
  font-size: 0.875rem;
  min-height: 36px;
}
.btn-full { width: 100%; }

/* ── 4. Navigation ─────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(8, 12, 20, 0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition-property: background, backdrop-filter, border-color;
  transition-duration: var(--t-slow);
}
.nav.nav-scrolled {
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: var(--c-border);
}

.nav-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  display: block;
  height: 32px;
  width: auto;
}
.nav-logo-text {
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--c-text);
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
}
.nav-links a {
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  font-weight: 500;
  transition-property: color, background;
  transition-duration: var(--t-fast);
  min-height: 40px;
  display: flex;
  align-items: center;
}
.nav-links a:hover {
  color: var(--c-text);
  background: rgba(255,255,255,0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-left: auto;
}

.lang-toggle {
  background: none;
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  border-radius: var(--r-full);
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition-property: color, border-color, background;
  transition-duration: var(--t-fast);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 36px;
  font-family: var(--font-sans);
}
.lang-toggle:hover {
  border-color: var(--c-accent-line);
  color: var(--c-text);
  background: var(--c-accent-glow);
}
.lang-sep { opacity: 0.3; }

/* Active language indicator */
html.lang-hr .lang-toggle .lang-hr-label { color: var(--c-accent); }
html.lang-en .lang-toggle .lang-en-label { color: var(--c-accent); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text-muted);
  border-radius: 2px;
  transition-property: transform, opacity, width;
  transition-duration: var(--t-base);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(8,12,20,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition-property: transform, opacity;
  transition-duration: var(--t-base);
}
.nav-mobile.is-open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.nav-mobile a {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--c-text-muted);
  transition-property: color, background;
  transition-duration: var(--t-fast);
}
.nav-mobile a:hover {
  color: var(--c-text);
  background: rgba(255,255,255,0.05);
}

/* ── 5. Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Gradient fade at bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--c-bg));
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-inline: auto;
  padding: var(--sp-20) var(--sp-6) var(--sp-16);
  max-width: 780px;
  margin-inline: 0;
  padding-left: clamp(var(--sp-6), 8vw, 120px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-6);
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--c-border-accent);
  border-radius: var(--r-full);
  background: var(--c-accent-glow);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: pulse-dot 2.5s ease infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(14,165,233,0.4); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 6px rgba(14,165,233,0); }
}

.hero-heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
}
.hero-heading-line {
  display: block;
}
.hero-heading-accent {
  color: var(--c-accent);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: var(--c-text-muted);
  max-width: 56ch;
  line-height: 1.7;
  margin-bottom: var(--sp-10);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--sp-10);
  left: clamp(var(--sp-6), 8vw, 120px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
  animation: scroll-line 2s ease infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ── 6. Versions Strip ─────────────────────────────────────── */

.versions-strip {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-8) 0;
}
.versions-strip .container {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.versions-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  white-space: nowrap;
  flex-shrink: 0;
}
.versions-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.version-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-text-muted);
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  white-space: nowrap;
  transition-property: border-color, color, background;
  transition-duration: var(--t-fast);
}
.version-tag:hover {
  border-color: var(--c-border-accent);
  color: var(--c-text);
  background: var(--c-accent-glow);
}
.version-tag-latest {
  border-color: var(--c-accent-line);
  color: var(--c-accent);
  background: var(--c-accent-glow);
}

/* ── 7. Services ───────────────────────────────────────────── */

.services {
  padding-block: var(--sp-24);
  background: var(--c-bg);
}

.section-header {
  max-width: 640px;
  margin-bottom: var(--sp-12);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-4);
}

.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition-property: border-color, box-shadow, transform;
  transition-duration: var(--t-base);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-accent-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
  border-radius: inherit;
}
.service-card:hover {
  border-color: var(--c-border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.service-card:hover::before { opacity: 1; }

.service-card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--c-surface-2) 0%, var(--c-surface) 100%);
  border-color: var(--c-border-accent);
}

.service-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--c-accent-glow);
  border: 1px solid var(--c-border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  margin-bottom: var(--sp-6);
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  color: var(--c-text);
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

.service-features {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.service-features li {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  padding-left: var(--sp-6);
  position: relative;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7l3 3 6-6' stroke='%230ea5e9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

/* ── 8. About ──────────────────────────────────────────────── */

.about {
  padding-block: var(--sp-24);
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.about-content p {
  font-size: 1.0625rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}
.about-content .section-title {
  margin-bottom: var(--sp-8);
}

.about-stats {
  display: flex;
  gap: var(--sp-8);
  margin-top: var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--c-border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.stat-number {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--c-text);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--c-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* About visual — fake terminal cards */
.about-visual {
  position: relative;
}
.about-card-stack {
  position: relative;
  height: 260px;
}

.about-card {
  position: absolute;
  left: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  font-family: var(--font-mono);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 380px;
  white-space: nowrap;
}
.about-card-1 { top: 20px; left: 0; z-index: 3; animation: card-float 4s ease-in-out infinite; }
.about-card-2 { top: 90px; left: 24px; z-index: 2; animation: card-float 4s ease-in-out infinite 0.8s; }
.about-card-3 { top: 160px; left: 48px; z-index: 1; animation: card-float 4s ease-in-out infinite 1.6s; }

@keyframes card-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.about-card-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.about-card-dot-green { background: var(--c-green); box-shadow: 0 0 8px var(--c-green); }
.about-card-dot-blue  { background: var(--c-accent); box-shadow: 0 0 8px var(--c-accent); }

.about-card-time {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--c-text-faint);
  font-variant-numeric: tabular-nums;
}

/* ── 9. Customers ──────────────────────────────────────────── */

.customers {
  padding-block: var(--sp-24);
  background: var(--c-bg);
}

.customers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}

.customer-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  transition-property: border-color, box-shadow, transform;
  transition-duration: var(--t-base);
  text-decoration: none;
  cursor: default;
}
a.customer-card { cursor: pointer; }
.customer-card:hover,
a.customer-card:hover {
  border-color: var(--c-border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.customer-logo {
  width: 64px; height: 64px;
  border-radius: var(--r-lg);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
  outline: 1px solid rgba(255,255,255,0.06);
}

.customer-info h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-1);
}
.customer-info p {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

.customer-card-placeholder {
  background: transparent;
  border-style: dashed;
  border-color: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.customer-placeholder-text {
  font-size: 0.9375rem;
  color: var(--c-text-faint);
  font-style: italic;
}

/* ── 10. Why Us ────────────────────────────────────────────── */

.why-us {
  padding-block: var(--sp-24);
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.why-us .section-title {
  margin-bottom: var(--sp-12);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-8);
}

.why-item {
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  transition-property: background;
  transition-duration: var(--t-base);
}
.why-item:hover { background: var(--c-surface); }

.why-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--c-accent-glow);
  border: 1px solid var(--c-border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
  /* concentric: outer r-md(10px), padding ~12px, inner icon ~24px */
}

.why-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  color: var(--c-text);
}
.why-item p {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* ── 11. Trust Strip ───────────────────────────────────────── */

.trust-strip {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--sp-12);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-6);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  transition-property: border-color, box-shadow;
  transition-duration: var(--t-base);
}
.trust-item:hover {
  border-color: var(--c-border-accent);
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--c-accent-glow);
  border: 1px solid var(--c-border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.trust-text strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.3;
}
.trust-text span {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* ── 11b. Process ───────────────────────────────────────────── */

.process {
  padding-block: var(--sp-24);
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-6);
}

.process-step {
  padding: var(--sp-8);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  position: relative;
  transition-property: border-color, box-shadow, transform;
  transition-duration: var(--t-base);
}
.process-step:hover {
  border-color: var(--c-border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.process-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
}

.process-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--c-accent-glow);
  border: 1px solid var(--c-border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  margin-bottom: var(--sp-6);
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}
.process-step p {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* Stagger process steps */
.process-grid .process-step:nth-child(1) { transition-delay: 0ms; }
.process-grid .process-step:nth-child(2) { transition-delay: 80ms; }
.process-grid .process-step:nth-child(3) { transition-delay: 160ms; }
.process-grid .process-step:nth-child(4) { transition-delay: 240ms; }

/* ── 11c. FAQ ───────────────────────────────────────────────── */

.faq {
  padding-block: var(--sp-24);
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition-property: border-color;
  transition-duration: var(--t-fast);
}
.faq-item:has(.faq-trigger[aria-expanded="true"]) {
  border-color: var(--c-border-accent);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  transition-property: color, background;
  transition-duration: var(--t-fast);
  min-height: 56px;
}
.faq-trigger:hover { background: var(--c-surface-2); }

.faq-icon {
  color: var(--c-accent);
  flex-shrink: 0;
  transition-property: transform;
  transition-duration: var(--t-base);
}
.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--sp-6) var(--sp-6);
}
.faq-answer p {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* ── 12. Contact ───────────────────────────────────────────── */

.contact {
  padding-block: var(--sp-24);
  background: var(--c-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.contact-content .section-title {
  margin-bottom: var(--sp-4);
}
.contact-content > p {
  font-size: 1.0625rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-10);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}
.contact-row dt {
  color: var(--c-accent);
  flex-shrink: 0;
  padding-top: 2px;
}
.contact-row dd {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.contact-protected {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
}

/* Contact form */
.contact-form {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text-muted);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 0.6875rem 0.875rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--c-text);
  outline: none;
  transition-property: border-color, box-shadow;
  transition-duration: var(--t-fast);
  width: 100%;
  min-height: 44px;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}
.form-group select option {
  background: var(--c-surface);
  color: var(--c-text);
}
.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-accent-line);
  box-shadow: 0 0 0 3px var(--c-accent-glow);
}
.form-group input.is-error,
.form-group textarea.is-error { border-color: #ef4444; }

.form-error {
  font-size: 0.8125rem;
  color: #f87171;
  min-height: 1.2em;
  display: block;
}

.form-notice {
  font-size: 0.8125rem;
  color: var(--c-text-faint);
  text-align: center;
}

/* ── 12. Footer ────────────────────────────────────────────── */

.footer {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  padding-block: var(--sp-16) var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: var(--sp-4);
}
.footer-brand .footer-logo img {
  display: block;
  height: 28px;
  width: auto;
}
.footer-brand p {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  max-width: 36ch;
  margin-bottom: var(--sp-3);
}
.footer-legal {
  font-size: 0.8125rem;
  color: var(--c-text-faint);
  font-variant-numeric: tabular-nums;
}

.footer-nav h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  margin-bottom: var(--sp-4);
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-nav a {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  transition-property: color;
  transition-duration: var(--t-fast);
}
.footer-nav a:hover { color: var(--c-text); }

.footer-bottom {
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.footer-bottom p {
  font-size: 0.875rem;
  color: var(--c-text-faint);
}

/* ── 13. Scroll Reveal ─────────────────────────────────────── */

.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition-property: transform, opacity;
  transition-duration: 600ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.reveal       { transform: translateY(20px); }
.reveal-left  { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children of why-grid */
.why-grid .why-item:nth-child(1) { transition-delay: 0ms; }
.why-grid .why-item:nth-child(2) { transition-delay: 80ms; }
.why-grid .why-item:nth-child(3) { transition-delay: 160ms; }
.why-grid .why-item:nth-child(4) { transition-delay: 240ms; }

/* Stagger trust items */
.trust-items .trust-item:nth-child(1) { transition-delay: 0ms; }
.trust-items .trust-item:nth-child(2) { transition-delay: 80ms; }
.trust-items .trust-item:nth-child(3) { transition-delay: 160ms; }
.trust-items .trust-item:nth-child(4) { transition-delay: 240ms; }

/* ── 14. Reduced Motion ────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-scroll-line { animation: none; }
}

/* ── 15. Responsive ────────────────────────────────────────── */

@media (max-width: 1024px) {
  .service-card-featured { grid-column: span 1; }

  .about-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .about-visual { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-10); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn-primary { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { padding-left: var(--sp-6); }
  .hero-scroll-hint { display: none; }

  .versions-strip .container { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }

  .services-grid { grid-template-columns: 1fr; }

  .about-stats { gap: var(--sp-6); flex-wrap: wrap; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .hero-cta-row .btn { width: 100%; }
  .customers-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .trust-items { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}
