/* ===== assets/css/style.css ===== */
/* APREX SOFTWARE s.r.o. — design system */

/* ---------- Tokens ---------- */
:root {
  --bg: #F8F9FC;
  --bg-soft: #F1F3F8;
  --bg-dark: #0F1629;
  --bg-dark-2: #131C36;
  --bg-card: #FFFFFF;
  --accent: #4F46E5;
  --accent-hover: #4338CA;
  --accent-2: #06B6D4;
  --accent-soft: rgba(79, 70, 229, 0.1);
  --text: #111827;
  --text-light: #F8F9FC;
  --text-muted: #6B7280;
  --text-muted-dark: #9CA3AF;
  --border: #E5E7EB;
  --border-dark: rgba(255, 255, 255, 0.08);
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --gold: #D4A24C;

  --gradient: linear-gradient(135deg, #4F46E5, #06B6D4);
  --gradient-soft: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(6,182,212,0.08));

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15,22,41,0.06);
  --shadow: 0 4px 16px rgba(15,22,41,0.06), 0 1px 3px rgba(15,22,41,0.04);
  --shadow-lg: 0 18px 40px rgba(15,22,41,0.12), 0 4px 12px rgba(15,22,41,0.06);
  --shadow-xl: 0 30px 60px rgba(15,22,41,0.16);

  --container: 1200px;
  --container-narrow: 880px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.65s var(--ease);

  --nav-h: 72px;
}

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

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

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--accent-hover); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

ul { list-style: none; }

input, textarea, select, button { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }

p { color: var(--text); }

.mono { font-family: 'IBM Plex Mono', monospace; font-size: 0.875em; letter-spacing: -0.02em; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2rem); }

section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-head .eyebrow {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.section-head h2 { margin-bottom: 0.85rem; }
.section-head p { color: var(--text-muted); font-size: 1.075rem; }

.dark { background: var(--bg-dark); color: var(--text-light); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--text-light); }
.dark p { color: var(--text-muted-dark); }
.dark .section-head .eyebrow { color: var(--accent-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.32);
}
.btn-primary:hover { box-shadow: 0 10px 28px rgba(79, 70, 229, 0.42); color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.dark .btn-secondary { color: var(--text-light); border-color: rgba(255,255,255,0.18); }
.dark .btn-secondary:hover { border-color: var(--accent-2); color: var(--accent-2); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--text); background: var(--bg-soft); }

.btn-block { width: 100%; }
.btn-sm { padding: 0.55rem 0.9rem; font-size: 0.85rem; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248, 249, 252, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(15, 22, 41, 0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.site-nav[data-scroll="1"] {
  box-shadow: 0 4px 24px rgba(15, 22, 41, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Sora', sans-serif;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--gradient);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand-sub { font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; color: var(--text-muted); margin-top: 2px; letter-spacing: 0.1em; }
.brand-light, .brand-light .brand-name { color: var(--text-light); }
.brand-light .brand-sub { color: var(--text-muted-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  position: relative;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
  border-radius: 2px;
}
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.lang-btn {
  position: relative;
  color: var(--text-muted);
  padding: 0.25rem 0.1rem;
  font-weight: 500;
}
.lang-btn.is-active {
  color: var(--text);
  font-weight: 600;
}
.lang-btn.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.lang-divider { color: var(--border); }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 200;
  background: rgba(15, 22, 41, 0.96);
  color: var(--text-light);
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-xl);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: slideUp 0.4s var(--ease);
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-text {
  font-size: 0.92rem;
  color: var(--text-muted-dark);
  flex: 1 1 60%;
  min-width: 280px;
  line-height: 1.55;
}
.cookie-text strong { color: var(--text-light); margin-right: 0.3rem; }
.cookie-text a { color: var(--accent-2); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-banner .btn-ghost { color: var(--text-muted-dark); }
.cookie-banner .btn-ghost:hover { color: var(--text-light); background: rgba(255,255,255,0.06); }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Main offset ---------- */
main { padding-top: var(--nav-h); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(6,182,212,0.10), transparent 60%),
    radial-gradient(40% 35% at 0% 30%, rgba(79,70,229,0.10), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-content { max-width: 640px; }

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(212, 162, 76, 0.12);
  color: #8B6914;
  border: 1px solid rgba(212, 162, 76, 0.28);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}
.eyebrow-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #111827 0%, #1F2937 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 56ch;
}
.hero-ctas {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-item .dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.15);
}

/* Hero CSS art — product stack */
.hero-art {
  position: relative;
  height: 480px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.product-card-stack {
  position: relative;
  width: min(100%, 360px);
  height: 100%;
}
.stack-card {
  position: absolute;
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 1.5rem 1.5rem 1.75rem;
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite alternate;
}
.stack-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}
.stack-card .sc-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.stack-card .sc-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; }
.stack-card .sc-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-weight: 500;
}
.stack-card .sc-bars { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 1rem; }
.stack-card .sc-bar {
  height: 9px;
  background: linear-gradient(90deg, var(--bg-soft) 0%, var(--bg-soft) 60%, transparent);
  border-radius: 4px;
}
.stack-card .sc-bar:nth-child(1) { width: 90%; }
.stack-card .sc-bar:nth-child(2) { width: 65%; }
.stack-card .sc-bar:nth-child(3) { width: 78%; background: linear-gradient(90deg, rgba(79,70,229,0.18) 0%, rgba(6,182,212,0.10) 70%, transparent); }
.stack-card .sc-version {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.stack-card.c1 {
  z-index: 3;
  top: 0; left: 0;
  transform: rotate(-6deg) translateY(0);
  animation-delay: 0s;
}
.stack-card.c2 {
  z-index: 2;
  top: 30px; left: 50px;
  transform: rotate(3deg) translateY(0);
  animation-delay: -2s;
  opacity: 0.95;
}
.stack-card.c3 {
  z-index: 1;
  top: 70px; left: -30px;
  transform: rotate(-2deg) translateY(0);
  animation-delay: -4s;
  opacity: 0.85;
}

@keyframes floatCard {
  0%   { transform: rotate(var(--rot, 0deg)) translateY(0); }
  100% { transform: rotate(var(--rot, 0deg)) translateY(-14px); }
}
.stack-card.c1 { --rot: -6deg; }
.stack-card.c2 { --rot:  3deg; }
.stack-card.c3 { --rot: -2deg; }

/* ---------- Offer tiles ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.offer-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.offer-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.offer-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.offer-tile:hover::before { transform: scaleX(1); }
.offer-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gradient-soft);
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
}
.offer-tile h3 { margin-bottom: 0.7rem; }
.offer-tile p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 3rem;
}
.filter-tab {
  padding: 0.6rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.filter-tab:hover { color: var(--text); border-color: var(--text-muted); }
.filter-tab.is-active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(79,70,229,0.3);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient);
  transition: width 0.45s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card:hover::before { width: 100%; }
.product-card.is-hidden {
  display: none;
}

.product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}
.product-name {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.product-version {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  color: var(--text-muted);
  background: var(--bg-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
}
.product-cat-badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  align-self: flex-start;
  font-weight: 500;
}
.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0.25rem 0;
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.product-features li::before {
  content: '';
  flex-shrink: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.55rem;
}
.product-price {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}
.product-price small { color: var(--text-muted); font-size: 0.78rem; font-weight: 400; }
.product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.product-actions .btn { flex: 1; }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item {
  padding: 2rem 1rem;
}
.stat-value {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-suffix { font-family: 'Sora', sans-serif; font-weight: 800; }
.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ---------- Partner strip ---------- */
.partner-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  align-items: center;
}
.partner-logo {
  height: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), color 0.3s ease, border-color 0.3s ease;
}
.partner-logo:hover { transform: translateY(-2px); color: var(--text); border-color: var(--accent); }
.partner-logo .pl-shape {
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.partner-logo .pl-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--gradient);
  opacity: 0.6;
}

/* ---------- CTA dark ---------- */
.cta-dark {
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(79,70,229,0.25), transparent 70%),
    radial-gradient(40% 50% at 80% 100%, rgba(6,182,212,0.15), transparent 70%);
  pointer-events: none;
}
.cta-dark .container { position: relative; z-index: 1; }
.cta-dark h2 { color: var(--text-light); margin-bottom: 1rem; }
.cta-dark p { color: var(--text-muted-dark); max-width: 580px; margin: 0 auto 2rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(79,70,229,0.10), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 1rem; }
.page-hero p { color: var(--text-muted); max-width: 620px; margin: 0 auto; font-size: 1.1rem; }

/* ---------- Distribution tiers ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.tier-card.is-featured {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--gradient) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-lg);
}
.tier-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  background: var(--gradient);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.tier-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.6rem; margin-bottom: 0.4rem; }
.tier-for { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.tier-divider { height: 1px; background: var(--border); margin: 0 0 1.25rem; }
.tier-section-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.tier-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  font-size: 0.94rem;
}
.tier-benefits li {
  display: flex; align-items: flex-start; gap: 0.55rem;
  color: var(--text);
}
.tier-benefits li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.tier-requirement {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.tier-margin {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  padding: 0.6rem 0.85rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}
.tier-card .btn { margin-top: auto; }

/* ---------- Forms ---------- */
.form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
  display: flex;
  justify-content: space-between;
}
.form-required { color: var(--text-muted); font-weight: 400; font-size: 0.78rem; }

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.78rem 0.9rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px rgba(79,70,229,0.12);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.form-error, .form-success {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.form-error {
  background: rgba(239,68,68,0.08);
  color: #B91C1C;
  border: 1px solid rgba(239,68,68,0.18);
}
.form-success {
  background: rgba(16,185,129,0.08);
  color: #047857;
  border: 1px solid rgba(16,185,129,0.18);
}

/* Success state — animated check */
.success-card {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.check-svg { width: 80px; height: 80px; margin: 0 auto 1.5rem; }
.check-circle {
  fill: none;
  stroke: var(--success);
  stroke-width: 3;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  animation: drawCircle 0.6s var(--ease) forwards;
}
.check-mark {
  fill: none;
  stroke: var(--success);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: drawCheck 0.4s 0.5s var(--ease) forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck  { to { stroke-dashoffset: 0; } }
.success-card h2 { margin-bottom: 0.6rem; }
.success-card p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.4rem 0;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--accent); }
.faq-toggle {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid; place-items: center;
  position: relative;
  transition: transform 0.3s var(--ease), background 0.2s ease;
}
.faq-toggle::before, .faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--text);
  transition: transform 0.25s var(--ease);
}
.faq-toggle::before { width: 12px; height: 2px; }
.faq-toggle::after  { height: 12px; width: 2px; }
.faq-item.is-open .faq-toggle { background: var(--accent); }
.faq-item.is-open .faq-toggle::before { background: #fff; }
.faq-item.is-open .faq-toggle::after  { background: #fff; transform: scaleY(0); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a-inner {
  padding: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.97rem;
  max-width: 90%;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 0 1rem 1rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 2px;
}
.tl-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2.5rem;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(79,70,229,0.12);
}
.tl-year {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.tl-item h3 { margin-bottom: 0.4rem; }
.tl-item p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------- Values ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(79,70,229,0.3); }
.value-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}
.value-card h3 { margin-bottom: 0.6rem; }
.value-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Company info card ---------- */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.info-card h3 { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.info-row { display: flex; justify-content: space-between; padding: 0.6rem 0; gap: 1rem; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
.info-row:last-child { border-bottom: none; }
.info-row .info-label { color: var(--text-muted); }
.info-row .info-value { color: var(--text); font-weight: 500; text-align: right; font-family: 'IBM Plex Mono', monospace; font-size: 0.88rem; }

/* ---------- Contact two-col ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.contact-info-card h3 { margin-bottom: 1.25rem; }
.contact-info-block { margin-bottom: 1.5rem; }
.contact-info-block:last-child { margin-bottom: 0; }
.contact-info-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.contact-info-block address { font-style: normal; color: var(--text); font-size: 0.95rem; line-height: 1.65; }
.contact-info-block .email-list a {
  display: block;
  font-size: 0.94rem;
  padding: 0.2rem 0;
  color: var(--text);
}
.contact-info-block .email-list a:hover { color: var(--accent); }
.contact-info-block .email-list span { color: var(--text-muted); margin-right: 0.4rem; font-size: 0.85rem; }

/* ---------- About hero / company facts ---------- */
.about-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  max-width: 720px;
  margin-inline: auto;
}
.about-fact {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.about-fact .af-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.about-fact .af-value {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--text);
}

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static !important; }
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem;
  font-size: 0.9rem;
}
.legal-toc h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: block;
  padding: 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
  transition: all 0.2s ease;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero) " · ";
  font-family: 'IBM Plex Mono', monospace;
  color: var(--text-muted);
  font-size: 0.78rem;
}
.legal-toc a:hover { color: var(--accent); border-left-color: var(--accent); }

.legal-content { max-width: 720px; }
.legal-content .legal-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-content h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 0.85rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: var(--text); margin-bottom: 1rem; line-height: 1.8; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-muted-dark);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand .footer-about {
  font-size: 0.93rem;
  line-height: 1.65;
  margin-top: 1rem;
  color: var(--text-muted-dark);
}
.footer-brand .footer-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  margin-top: 1rem;
  color: var(--text-muted-dark);
  letter-spacing: 0.05em;
}
.footer-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}
.footer-list { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-list a { color: var(--text-muted-dark); font-size: 0.93rem; }
.footer-list a:hover { color: var(--text-light); }
.footer-address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted-dark);
}
.footer-address strong { color: var(--text-light); }
.footer-address a { color: var(--accent-2); }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-bottom p { color: var(--text-muted-dark); }
.footer-legal-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* ---------- Scroll animations ---------- */
[data-animate] {
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  will-change: opacity, transform;
}
[data-animate="fade-up"]    { transform: translateY(50px); }
[data-animate="fade-left"]  { transform: translateX(-50px); }
[data-animate="fade-right"] { transform: translateX(50px); }
[data-animate="fade"]       { transform: none; }

[data-animate].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

[data-delay="0.1"] { transition-delay: 0.1s; }
[data-delay="0.2"] { transition-delay: 0.2s; }
[data-delay="0.3"] { transition-delay: 0.3s; }
[data-delay="0.4"] { transition-delay: 0.4s; }
[data-delay="0.5"] { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-animate] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 400px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg-card);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px rgba(15,22,41,0.08);
    transform: translateY(-110%);
    transition: transform 0.4s var(--ease);
    align-items: stretch;
    justify-content: flex-start;
    z-index: 90;
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-link { padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--accent); }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  .hero-art { height: 360px; }
  .stack-card { padding: 1.25rem; }
  .product-actions { flex-direction: column; }
  .lang-switch { font-size: 0.72rem; }
}
