/* DataMagic – main stylesheet (rebrand 2026) */

:root {
  /* Brand */
  --bg:           #07071a;
  --bg-2:         #0d0d27;
  --bg-3:         #14123a;
  --primary:      #8B79FA;          /* primary purple */
  --primary-2:    #9B98D4;          /* body text lavender */
  --primary-soft: rgba(139,121,250,.15);
  --primary-line: rgba(139,121,250,.35);
  --deep:         #493FDB;          /* buttons / active */
  --deep-hover:   #5a51eb;
  --accent:       #2DDCB1;          /* mint accent (max 5%) */
  --accent-soft:  rgba(45,220,177,.15);
  --white:        #ffffff;
  --muted:        rgba(255,255,255,.6);
  --line:         rgba(155,152,212,.18);

  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-display: "Inter", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", Consolas, monospace;

  --shadow-glow: 0 0 60px rgba(139,121,250,.25);
  --shadow-card: 0 10px 30px rgba(0,0,0,.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--primary-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--white); }

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

h1, h2, h3, h4 { color: var(--white); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----- HEADER / NAV ----- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,7,26,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 700;
}

.logo img { height: 32px; width: auto; }

/* Header – full wordmark logo (taller than mark) */
.site-header .logo img { height: 38px; }

@media (max-width: 720px) {
  .site-header .logo img { height: 32px; }
}

/* Footer – full wordmark logo */
.footer-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.logo-text small {
  color: var(--primary);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.nav-menu {
  display: flex;
  gap: .25rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: var(--white);
  padding: .55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s, background .2s;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-cta {
  background: var(--deep) !important;
  color: var(--white) !important;
  padding: .6rem 1.25rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(73,63,219,.45);
}

.nav-cta:hover { background: var(--deep-hover) !important; color: var(--white) !important; }

/* Header CTA – visible on all viewports, outlined style (mint border, white text) */
.nav-cta-mobile {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--white);
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm, 6px);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: auto;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.nav-cta-mobile:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #07071a;
  box-shadow: 0 4px 14px rgba(56, 217, 169, 0.4);
}
/* Desktop: render the CTA right after the nav-menu (next to "Kapcsolat") */
@media (min-width: 721px) {
  .nav-cta-mobile { order: 99; margin-left: 0; }
  .nav-menu { margin-left: auto; }
}
@media (max-width: 720px) {
  .nav-cta-mobile {
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
  }
}

.hamburger {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ----- DROPDOWN NAV ----- */
.nav-menu .has-dropdown {
  position: relative;
}

.nav-menu .has-dropdown > .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.nav-menu .has-dropdown > .dropdown-toggle .caret {
  font-size: .7rem;
  transition: transform .2s;
  opacity: .7;
}

.nav-menu .has-dropdown:hover > .dropdown-toggle .caret,
.nav-menu .has-dropdown:focus-within > .dropdown-toggle .caret,
.nav-menu .has-dropdown.open > .dropdown-toggle .caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Hover bridge – prevents menu closing when moving from toggle to dropdown */
.nav-menu .has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: .6rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + .6rem);
  left: 0;
  min-width: 280px;
  background: var(--bg-2, #0f0f24);
  border: 1px solid var(--line);
  border-radius: var(--radius-md, 10px);
  list-style: none;
  padding: .5rem;
  margin: 0;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 100;
}

.nav-menu .has-dropdown:hover > .dropdown-menu,
.nav-menu .has-dropdown:focus-within > .dropdown-menu,
.nav-menu .has-dropdown.open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li { list-style: none; }

.dropdown-menu a {
  display: block;
  padding: .65rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--white);
  white-space: nowrap;
  background: transparent;
}

.dropdown-menu a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.85rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 0;
  font-family: inherit;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  text-align: center;
}

.btn-primary {
  background: var(--deep);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(73,63,219,.5);
}

.btn-primary:hover {
  background: var(--deep-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(73,63,219,.65);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--primary-line);
}

.btn-outline:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: rgba(139,121,250,.1);
  color: var(--white);
  border: 1px solid var(--primary-line);
}

.btn-ghost:hover { background: var(--primary-soft); color: var(--primary); }

.btn .play-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  color: var(--deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
}

/* ----- HERO ----- */
.hero {
  position: relative;
  padding: 2rem 1.5rem 2rem;
  overflow: hidden;
  text-align: center;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero/hero-desk.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg) 75%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
}

/* Two-column hero (homepage): text + gear illustration */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: .5rem;            /* small gap – the gear PNG has its own transparent padding */
  align-items: center;
  max-width: 1180px;
  text-align: left;
}

.hero-split .hero-text {
  min-width: 0;
}

.hero-split .hero-text p.lead {
  margin-left: 0;
  margin-right: 0;
  max-width: 560px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-start;  /* pull the gear toward the text */
  align-items: center;
  margin-left: -2rem;            /* small visual overlap with text column */
}

.hero-visual img {
  width: 100%;
  max-width: 520px;              /* a bit bigger now that they sit closer */
  height: auto;
  filter: drop-shadow(0 24px 60px rgba(139,121,250,.45));
  animation: hero-gear-float 8s ease-in-out infinite;
}

@keyframes hero-gear-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual img { animation: none; }
}

@media (max-width: 1100px) {
  .hero-visual img { max-width: 440px; }
  .hero-visual { margin-left: -1.5rem; }
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.5rem;
  }
  .hero-split .hero-text p.lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual {
    order: -1;  /* image on top on mobile */
    margin-left: 0;
    justify-content: center;
  }
  .hero-visual img { max-width: 360px; }
}

@media (max-width: 720px) {
  .hero-visual img { max-width: 280px; }
}

.hero-kicker {
  display: inline-block;
  color: var(--primary);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-logo {
  display: block;
  height: clamp(72px, 11vw, 132px);
  width: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 4px 24px rgba(139,121,250,.35));
}

@media (max-width: 720px) {
  .hero-logo { height: 64px; margin-bottom: 1.5rem; }
}

.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

/* On wide desktops, keep the slogan on a single line. */
@media (min-width: 901px) {
  .hero h1 { white-space: nowrap; }
}

.hero h1 .accent {
  color: var(--accent);
  font-weight: 700;
}

.hero p.lead {
  font-size: 1.2rem;
  color: var(--primary-2);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions-section {
  padding: 1.5rem 1.5rem 3rem;
  text-align: center;
  background: var(--bg);
  display: none;
}

/* ----- PAGE HEADER (sub pages) ----- */
.page-header {
  position: relative;
  padding: 6rem 1.5rem 5rem;
  overflow: hidden;
  text-align: center;
  background: var(--bg);
}

.page-header .hero-bg { opacity: .35; }

.page-header .container { position: relative; z-index: 2; }

.page-header .product-pict {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 0 30px rgba(139,121,250,.5));
}

.page-header .kicker {
  color: var(--primary);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.page-header p.lead {
  font-size: 1.15rem;
  color: var(--primary-2);
  max-width: 720px;
  margin: 0 auto 2rem;
}

/* ----- SECTIONS ----- */
section { padding: 5rem 1.5rem; position: relative; }
#megoldasok { padding-top: 1rem; }
section.tight { padding: 3rem 1.5rem; }

section.alt { background: var(--bg-2); }

section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: .75rem;
  font-weight: 700;
  color: var(--white);
}

section .section-kicker {
  color: var(--primary);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

section .section-sub {
  color: var(--primary-2);
  font-size: 1.08rem;
  margin-bottom: 3rem;
  max-width: 720px;
}

.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ----- PRODUCT GRID (main page section 1) – marquee style ----- */
.product-grid {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.product-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1.5rem;
  width: max-content;
  padding: 1rem 0;
  animation: product-scroll 60s linear infinite;
  will-change: transform;
}

.product-grid:hover .product-track,
.product-grid:focus-within .product-track {
  animation-play-state: paused;
}

/* When the JS-controlled slider is active, CSS animation is disabled
   and the transform is driven by inline style. */
.product-track.js-controlled {
  animation: none !important;
}

/* ----- MANUAL MARQUEE SLIDER (under marquee) ----- */
.marquee-slider-wrap {
  display: flex;
  align-items: center;
  gap: .85rem;
  max-width: 720px;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
}

.marquee-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(139,121,250,.08);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s, transform .15s, color .2s;
  font-family: inherit;
  padding: 0;
}

.marquee-btn:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.marquee-btn:active { transform: scale(.94); }

/* Custom range slider */
.marquee-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(139,121,250,.45) 0%,
    rgba(139,121,250,.18) 100%);
  outline: none;
  cursor: pointer;
  margin: 0;
  /* Allow horizontal touch drag, prevent the page from scrolling vertically while sliding */
  touch-action: pan-x;
  -webkit-tap-highlight-color: transparent;
}

.marquee-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(139,121,250,.55);
  cursor: grab;
  transition: transform .15s, box-shadow .2s;
}
.marquee-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); }

.marquee-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(139,121,250,.55);
  cursor: grab;
}
.marquee-slider::-moz-range-thumb:active { cursor: grabbing; }

.marquee-slider:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 999px;
}

/* Mobile: hide the manual slider control entirely – the marquee scrolls
   natively with a finger-swipe. JS swaps to scrollLeft-driven animation
   and adds the `.marquee-native-scroll` class. */
@media (max-width: 720px) {
  .marquee-slider-wrap { display: none !important; }
}

/* Native horizontal scroll on the marquee container (mobile mode) */
.product-grid.marquee-native-scroll,
.partners-row.marquee-native-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  /* Mask sometimes interferes with touch scroll on iOS Safari – remove on mobile */
  -webkit-mask-image: none;
          mask-image: none;
}

.product-grid.marquee-native-scroll::-webkit-scrollbar,
.partners-row.marquee-native-scroll::-webkit-scrollbar {
  display: none;
}

/* In native-scroll mode, the track stays at its natural position (no transform)
   so scrollLeft can move through the duplicated cards. The .js-controlled rule
   already disables the CSS keyframe animation, but ensure no leftover transform: */
.product-grid.marquee-native-scroll .product-track.js-controlled {
  transform: none !important;
  animation: none !important;
}

.product-track .product-card {
  flex-shrink: 0;
  width: 320px;
}

@keyframes product-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .product-track { animation: none; flex-wrap: wrap; }
}

.product-card {
  background: linear-gradient(145deg, rgba(139,121,250,.08) 0%, rgba(73,63,219,.04) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform .25s, border-color .25s, background .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  color: var(--primary-2);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(139,121,250,.12), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  background: linear-gradient(145deg, rgba(139,121,250,.15) 0%, rgba(73,63,219,.08) 100%);
  box-shadow: 0 20px 50px rgba(73,63,219,.25);
  color: var(--primary-2);
}

.product-card:hover::before { opacity: 1; }

.product-card .pict {
  width: 64px;
  height: 64px;
}

.product-card .brand {
  color: var(--primary);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
}

.product-card h3 {
  color: var(--white);
  font-size: 1.45rem;
  margin: -.4rem 0 .25rem;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.product-card p {
  color: var(--primary-2);
  font-size: .95rem;
  line-height: 1.55;
  flex: 1;
}

.product-card .arrow {
  color: var(--primary);
  font-size: .9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
  letter-spacing: .04em;
  margin-top: .25rem;
}

.product-card .arrow::after {
  content: "→";
  transition: transform .25s;
}

.product-card:hover .arrow::after { transform: translateX(4px); }

.product-card.custom {
  background: linear-gradient(145deg, rgba(45,220,177,.08), rgba(73,63,219,.06));
  border-color: rgba(45,220,177,.25);
}

.product-card.custom .brand { color: var(--accent); }
.product-card.custom .arrow { color: var(--accent); }
.product-card.custom:hover { border-color: var(--accent); box-shadow: 0 20px 50px rgba(45,220,177,.18); }

/* ----- ABOUT (Mi a DataMagic?) ----- */
.about-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-row .visual img {
  filter: drop-shadow(0 0 60px rgba(139,121,250,.35));
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.stat .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  font-family: var(--font-display);
}

.stat .num .accent { color: var(--accent); }

.stat .label {
  color: var(--primary-2);
  font-size: .82rem;
  margin-top: .5rem;
  letter-spacing: .04em;
  line-height: 1.4;
}

/* ----- WHY GRID ----- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

/* When the grid has exactly 6 items, lay them out as 3 cols × 2 rows
   on desktop (so we don't get an ugly 4+2 wrap). Smaller breakpoints
   keep the default responsive flow. */
@media (min-width: 900px) {
  .why-grid:has(> .why-item:nth-child(6):last-child) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-item {
  padding: 1.75rem;
  background: rgba(139,121,250,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .2s, background .2s, transform .2s;
}

.why-item:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-3px);
}

.why-item .icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
}

.why-item h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: .5rem;
  font-weight: 700;
}

.why-item h3 .accent { color: var(--accent); }

.why-item p {
  color: var(--primary-2);
  font-size: .92rem;
  line-height: 1.6;
}

/* ----- DMSR / AMS PAGE COMPONENTS ----- */

/* AMS hero image strip – full-width below the page header */
.ams-hero-image {
  padding: 1.5rem 1.5rem 3rem;
}

/* Figure used for embedded UI screenshots from the DMSR deck */
.ams-figure {
  margin: 0 auto;
  max-width: 1040px;
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d1130;
  box-shadow: 0 24px 60px rgba(13,17,48,.45);
}

.ams-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.ams-figure figcaption {
  padding: .85rem 1rem;
  color: var(--primary-2);
  font-size: .82rem;
  text-align: center;
  font-style: italic;
  border-top: 1px solid var(--line);
  background: rgba(139,121,250,.04);
}

/* In the multilang two-col, no shadow needed (fits within the column) */
.two-col .ams-figure {
  box-shadow: 0 12px 30px rgba(13,17,48,.35);
  margin-top: 1rem;
}



/* Stakeholder hub – 9 érintett role chips */
.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stakeholder-item {
  background: rgba(139,121,250,.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-md, 10px);
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  transition: border-color .25s, background .25s, transform .2s;
}

.stakeholder-item:hover {
  border-color: var(--primary);
  background: rgba(139,121,250,.12);
  transform: translateY(-3px);
}

.stakeholder-item span {
  color: var(--white);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.3;
}

/* 4-column functional pillars */
.dmsr-funcs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.dmsr-col {
  background: linear-gradient(145deg, rgba(139,121,250,.08) 0%, rgba(73,63,219,.04) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 14px);
  padding: 1.75rem 1.5rem;
  transition: border-color .25s, box-shadow .25s;
}

.dmsr-col:hover {
  border-color: var(--primary);
  box-shadow: 0 18px 40px rgba(73,63,219,.18);
}

.dmsr-col .dmsr-tag {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.005em;
  margin-bottom: 1rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--line);
}

.dmsr-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.dmsr-col ul li {
  color: var(--primary-2);
  font-size: .92rem;
  line-height: 1.5;
  padding-left: 1.1rem;
  position: relative;
}

.dmsr-col ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Two-column compact info-list (check style) */
.two-col-list {
  columns: 2;
  column-gap: 2rem;
  margin-top: 2rem;
}
.two-col-list li {
  break-inside: avoid;
  margin-bottom: .75rem;
}
@media (max-width: 720px) {
  .two-col-list { columns: 1; }
}

/* Language pills */
.lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}
.lang-pill {
  padding: .55rem 1rem;
  background: rgba(139,121,250,.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary-2);
  font-size: .9rem;
  font-weight: 600;
}
.lang-pill.active {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--white);
}

/* Device mockup placeholder */
.device-mock {
  background: rgba(139,121,250,.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 14px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.device-mock-row {
  display: flex;
  gap: .75rem;
}
.device-mock-row span {
  flex: 1;
  height: 14px;
  background: rgba(139,121,250,.18);
  border-radius: 4px;
}
.device-mock-row:nth-child(2) span:first-child { background: rgba(45,220,177,.4); }
.device-mock-row:nth-child(3) span:last-child  { background: rgba(139,121,250,.45); }

/* ----- ERP SHOWCASE (erp.html) – 3 valós screenshot ----- */
.erp-shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.erp-shot {
  margin: 0;
  background: linear-gradient(145deg, rgba(139,121,250,.08) 0%, rgba(73,63,219,.04) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.erp-shot:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 24px 60px rgba(73,63,219,.22);
}

.erp-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}

.erp-shot figcaption {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.erp-shot .erp-shot-tag {
  color: var(--primary);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
}

.erp-shot h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.005em;
  margin: 0;
}

.erp-shot p {
  color: var(--primary-2);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0;
}

/* ----- VIDEO SECTION (erp.html) ----- */
.video-section {
  padding: 3rem 1.5rem;
}

.video-wrap {
  max-width: 1040px;
  margin: 2rem auto 0;
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(73,63,219,.25);
  background: #000;
}

.video-wrap video,
.video-wrap .erp-video {
  width: 100%;
  height: auto;
  display: block;
}

/* ----- TECH LIST (technologia.html) ----- */
.tech-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}

.tech-list > li {
  background: linear-gradient(145deg, rgba(139,121,250,.08) 0%, rgba(73,63,219,.04) 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md, 10px);
  padding: 1.1rem 1.5rem;
  transition: border-color .25s, background .25s, transform .2s;
}

.tech-list > li:hover {
  border-color: var(--primary);
  border-left-color: var(--accent);
  background: linear-gradient(145deg, rgba(139,121,250,.12) 0%, rgba(73,63,219,.06) 100%);
  transform: translateX(2px);
}

.tech-list > li h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: .4rem;
}

.tech-list > li p {
  color: var(--primary-2);
  font-size: .95rem;
  line-height: 1.6;
}

/* ----- HARDWARE GRID (technologia.html) ----- */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.hw-item {
  background: rgba(139,121,250,.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 14px);
  padding: 1.75rem 1rem;
  text-align: center;
  transition: border-color .25s, background .25s, transform .2s;
}

.hw-item:hover {
  border-color: var(--primary);
  background: rgba(139,121,250,.12);
  transform: translateY(-3px);
}

.hw-item .hw-icon {
  font-size: 2rem;
  margin-bottom: .65rem;
  filter: grayscale(.1);
}

.hw-item .hw-name {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
}

/* ----- NUMBERED LIST (legal pages) ----- */
.numbered-list {
  counter-reset: numlist;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.numbered-list > li {
  counter-increment: numlist;
  position: relative;
  padding: .5rem 0 .5rem 2.25rem;
  color: var(--primary-2);
  line-height: 1.65;
}
.numbered-list > li::before {
  content: counter(numlist) ".";
  position: absolute;
  left: 0;
  top: .5rem;
  color: var(--primary);
  font-weight: 700;
  width: 1.75rem;
}

/* ----- LEGAL TABLES (adatkezeles.html) – responsive scroll ----- */
.table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border-radius: var(--radius, 12px);
}
.table-wrap .demo-table {
  min-width: 600px;
}

/* ----- SOCIAL LIST (kapcsolat.html) ----- */
.social-list {
  list-style: none;
  padding: 0;
  margin: .25rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .65rem;
}

.social-list li { list-style: none; }

.social-link {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem .95rem;
  background: rgba(139,121,250,.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-md, 10px);
  text-decoration: none;
  color: var(--white);
  transition: border-color .25s, background .25s, transform .2s, color .25s;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: rgba(139,121,250,.12);
}

.social-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--primary-2);
  transition: color .25s;
}

.social-link:hover .social-icon { color: var(--white); }
.social-link.social-linkedin:hover .social-icon { color: #0A66C2; }
.social-link.social-facebook:hover .social-icon { color: #1877F2; }
.social-link.social-youtube:hover  .social-icon { color: #FF0000; }

.social-name {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.social-handle {
  font-size: .78rem;
  color: var(--primary-2);
  margin-top: .15rem;
}

/* ----- OFFICES (kapcsolat.html) ----- */
.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: .25rem;
}

.office-item {
  position: relative;
  background: rgba(139,121,250,.06);
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md, 10px);
  padding: 1rem 1.1rem;
  transition: border-color .25s, background .25s, transform .2s;
}

.office-item:hover {
  border-color: var(--primary);
  background: rgba(139,121,250,.1);
  transform: translateY(-2px);
}

.office-item .office-tag {
  color: var(--primary);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: .35rem;
}

.office-item .office-city {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .35rem;
}

.office-item .office-addr {
  color: var(--primary-2);
  font-size: .9rem;
  line-height: 1.55;
}

/* ----- REFERENCES PAGE – case study cards & partner grid ----- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Tablet: 2 columns */
@media (max-width: 1100px) {
  .ref-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
/* Mobile: 1 column */
@media (max-width: 640px) {
  .ref-grid { grid-template-columns: 1fr; }
}

.ref-card {
  background: linear-gradient(145deg, rgba(139,121,250,.08) 0%, rgba(73,63,219,.04) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.ref-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(73,63,219,.18);
}

.ref-card .ref-logo {
  height: 52px;
  display: flex;
  align-items: center;
  margin-bottom: .1rem;
}

.ref-card .ref-logo img {
  max-height: 44px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.6);
}

.ref-card .ref-tag {
  color: var(--primary);
  font-size: .66rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.4;
}

.ref-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ref-card p {
  color: var(--primary-2);
  font-size: .85rem;
  line-height: 1.55;
  flex: 1;
}

.ref-card .ref-result {
  background: rgba(45,220,177,.08);
  border-left: 3px solid var(--accent);
  padding: .7rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  color: var(--primary-2);
  line-height: 1.5;
}

.ref-card .ref-result strong {
  color: var(--accent);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.partner-card {
  background: rgba(139,121,250,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  align-items: flex-start;
  transition: border-color .25s, background .25s, transform .2s;
}

.partner-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  background: rgba(139,121,250,.08);
}

.partner-card img {
  height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(1.6);
  margin-bottom: .35rem;
}

.partner-card img.logo-badge {
  height: 64px;
  max-width: 80px;
}

.partner-card .partner-meta {
  color: var(--primary);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
}

.partner-card h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.partner-card p {
  color: var(--primary-2);
  font-size: .88rem;
  line-height: 1.55;
}

/* ----- REFERENCES (partner logos + activity) ----- */
.partners-row {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0;
  background: rgba(139,121,250,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: partners-scroll 45s linear infinite;
}

.partners-row:hover .partners-track {
  animation-play-state: paused;
}

.partners-track img {
  width: auto;
  object-fit: contain;
  opacity: .8;
  filter: brightness(1.6);
  transition: opacity .25s, filter .25s, transform .2s;
  flex-shrink: 0;
}

/* Wordmark / wide logos */
.partners-track img.logo-wordmark {
  height: 48px;
  max-width: 200px;
}

/* Badge / square logos – square/round shapes need more height to match wordmark weight */
.partners-track img.logo-badge {
  height: 78px;
  max-width: 100px;
}

.partners-track img:hover {
  opacity: 1;
  filter: brightness(1.8);
  transform: scale(1.06);
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}

/* Activity ticker */
.activity {
  background: rgba(7,7,26,.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.activity .pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(45,220,177,.7);
  animation: pulse 2s infinite;
  display: inline-block;
  margin-right: .5rem;
  vertical-align: middle;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(45,220,177,.6); }
  70%  { box-shadow: 0 0 0 14px rgba(45,220,177,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,220,177,0); }
}

.activity .label {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.activity .feed {
  color: var(--white);
  font-size: 1.05rem;
  margin-top: .5rem;
  min-height: 1.5em;
}

.activity .feed b { color: var(--primary); font-weight: 600; }

.activity .counters {
  display: flex;
  gap: 2rem;
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}

.activity .counter .v {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
}

.activity .counter .l {
  color: var(--primary-2);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .25rem;
}

/* ----- QUOTE BOX ----- */
.quote {
  position: relative;
  padding: 2.5rem;
  border: 1px solid var(--primary-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(139,121,250,.08), rgba(73,63,219,.04));
  max-width: 740px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.quote::before {
  content: "“";
  position: absolute;
  top: -.5rem;
  left: 1.5rem;
  font-size: 5rem;
  color: var(--primary);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: .65;
}

.quote p {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.quote .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--deep));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700;
}

.quote .author .name { color: var(--white); font-weight: 600; font-size: .95rem; }
.quote .author .role { color: var(--primary-2); font-size: .85rem; }

/* ----- TWO COLUMN ----- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ----- INFO LIST / FEATURE LIST ----- */
.info-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.info-list li {
  padding: .85rem 0;
  padding-left: 2rem;
  border-bottom: 1px dashed var(--line);
  position: relative;
  color: var(--primary-2);
}

.info-list li:last-child { border-bottom: 0; }

.info-list li::before {
  content: "›";
  position: absolute;
  left: .25rem;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.1;
}

.info-list strong { color: var(--white); font-weight: 600; }

.info-list.check li::before { content: "✓"; font-size: 1.1rem; color: var(--accent); top: .85rem; }

/* ----- CONTENT CARD (sub-page sections) ----- */
.content-card {
  background: rgba(139,121,250,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.content-card h3 {
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: .75rem;
}

.content-card p { color: var(--primary-2); }

/* ----- KPI / METRIC CARDS ----- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.kpi-grid .card {
  background: rgba(139,121,250,.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.kpi-grid .card .label {
  font-size: .72rem;
  color: var(--primary-2);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .5rem;
}

.kpi-grid .card .value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

.kpi-grid .card .delta {
  font-size: .82rem;
  margin-top: .35rem;
}

.kpi-grid .card .delta.up { color: var(--accent); }
.kpi-grid .card .delta.down { color: #f87171; }

/* ----- PROCESS STEPS (Hogyan dolgozunk?) ----- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 30px; bottom: 30px;
  left: 32px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--primary-line), transparent);
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  align-items: start;
  position: relative;
}

.step .step-icon {
  width: 64px; height: 64px;
  background: var(--bg-2);
  border: 1px solid var(--primary-line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step .step-icon img { width: 38px; height: 38px; }

.step h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: .5rem;
  font-weight: 700;
}

.step p { color: var(--primary-2); font-size: .95rem; line-height: 1.6; }

/* ----- TABLE ----- */
.demo-table {
  width: 100%;
  background: rgba(139,121,250,.04);
  border-radius: var(--radius);
  overflow: hidden;
  border-collapse: collapse;
  border: 1px solid var(--line);
  font-size: .92rem;
  color: var(--primary-2);
}

.demo-table th {
  background: rgba(139,121,250,.08);
  padding: .85rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
}

.demo-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.demo-table tr:last-child td { border-bottom: 0; }
.demo-table tr:hover td { background: rgba(139,121,250,.06); color: var(--white); }

.pill {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
}

.pill.success { background: rgba(45,220,177,.15); color: var(--accent); }
.pill.warn    { background: rgba(245,158,11,.15); color: #fbbf24; }
.pill.danger  { background: rgba(239,68,68,.15); color: #fca5a5; }
.pill.info    { background: rgba(139,121,250,.15); color: var(--primary); }
.pill.neutral { background: rgba(255,255,255,.08); color: var(--primary-2); }

/* ----- CODE BLOCK ----- */
pre.code-block {
  background: var(--bg-2);
  color: #cbd5e1;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: .85rem;
  line-height: 1.65;
}

pre.code-block code { color: inherit; font-family: inherit; }

pre.code-block .tok-kw  { color: #fbbf24; }
pre.code-block .tok-str { color: var(--accent); }
pre.code-block .tok-num { color: #93c5fd; }
pre.code-block .tok-cmt { color: var(--primary-2); font-style: italic; }
pre.code-block .tok-fn  { color: var(--primary); }

code.inline {
  background: rgba(139,121,250,.1);
  padding: .15rem .5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: .88em;
  color: var(--primary);
}

/* ----- FORM ----- */
.form-card {
  background: rgba(139,121,250,.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-field { display: flex; flex-direction: column; }

.form-field label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary-2);
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  background: rgba(7,7,26,.6);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(155,152,212,.5); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(7,7,26,.9);
  box-shadow: 0 0 0 3px rgba(139,121,250,.15);
}

.form-field textarea { resize: vertical; min-height: 120px; }

/* ----- TABS ----- */
.tab-bar {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
  overflow-x: auto;
}

.tab-bar button {
  background: none;
  border: 0;
  padding: .9rem 1.5rem;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  color: var(--primary-2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}

.tab-bar button.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-bar button:hover:not(.active) { color: var(--white); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .25s ease-out; }

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

/* ----- CTA STRIP ----- */
.cta-strip {
  position: relative;
  background: linear-gradient(135deg, var(--deep) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 5rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../assets/bg/glows.svg') center/cover no-repeat;
  opacity: .25;
}

.cta-strip > * { position: relative; }

.cta-strip h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--white);
}

.cta-strip p {
  opacity: .92;
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.08rem;
  color: var(--white);
}

.cta-strip .btn-primary {
  background: var(--white);
  color: var(--deep);
}

.cta-strip .btn-primary:hover { background: var(--white); color: var(--bg); transform: translateY(-2px); }

/* ----- FOOTER ----- */
footer.site-footer {
  background: var(--bg);
  color: var(--primary-2);
  padding: 4rem 1.5rem 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2.5rem;
}

footer h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

footer ul { list-style: none; }

footer li {
  padding: .35rem 0;
  font-size: .92rem;
}

footer a {
  color: var(--primary-2);
}

footer a:hover { color: var(--white); }

footer .footer-brand { max-width: 340px; }

footer .footer-brand p {
  color: var(--primary-2);
  font-size: .92rem;
  margin-top: 1rem;
  line-height: 1.65;
}

footer .footer-brand .logo-text { color: var(--white); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--primary-2);
  font-size: .82rem;
}

/* ----- CONTACT FLEKK ----- */
.contact-flekk {
  position: relative;
  background: linear-gradient(135deg, rgba(73,63,219,.92), rgba(139,121,250,.85));
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: var(--white);
  overflow: hidden;
}

.contact-flekk h2 { color: var(--white); margin-bottom: 1rem; }
.contact-flekk p { color: rgba(255,255,255,.9); margin-bottom: 2rem; }

.contact-flekk .form-field input,
.contact-flekk .form-field textarea {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
  color: var(--white);
}

.contact-flekk .form-field input::placeholder,
.contact-flekk .form-field textarea::placeholder { color: rgba(255,255,255,.6); }

.contact-flekk .form-field input:focus,
.contact-flekk .form-field textarea:focus {
  background: rgba(255,255,255,.18);
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255,255,255,.15);
}

.contact-flekk .form-field label { color: rgba(255,255,255,.85); }

.contact-flekk .btn-primary {
  background: var(--white);
  color: var(--deep);
}

.contact-flekk .btn-primary:hover { background: var(--white); color: var(--bg); }

/* ----- CHART CONTAINER ----- */
.chart-wrap {
  background: rgba(139,121,250,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.chart-wrap h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.chart-wrap svg { width: 100%; height: auto; display: block; }

/* ----- RESPONSIVE ----- */
@media (max-width: 960px) {
  .about-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .activity { grid-template-columns: 1fr; }
  .activity .counters { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.5rem; }
}

@media (max-width: 720px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1rem;
    gap: .25rem;
    border-top: 1px solid var(--line);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; list-style: none; }
  .nav-menu a {
    display: block;
    width: 100%;
    padding: .85rem 1rem;
    text-align: left;
    box-sizing: border-box;
  }
  .hamburger { display: block; }

  /* Mobile dropdown – accordion, visually unified with other nav items */
  .nav-menu .has-dropdown { width: 100%; }
  .nav-menu .has-dropdown::after { display: none; }

  /* Toggle: render exactly like a normal nav <a> + right-aligned chevron */
  .nav-menu .has-dropdown > .dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1rem;       /* same as .nav-menu a */
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 500;
    color: var(--white);
    background: transparent;
  }

  /* Bigger, clearer chevron icon */
  .nav-menu .has-dropdown > .dropdown-toggle .caret {
    font-size: 1.1rem;
    opacity: .85;
    margin-left: .5rem;
    transition: transform .25s;
    line-height: 1;
  }
  .nav-menu .has-dropdown.open > .dropdown-toggle .caret {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--primary);
  }
  .nav-menu .has-dropdown.open > .dropdown-toggle {
    background: var(--primary-soft);
    color: var(--primary);
  }

  /* Submenu: clear visual hierarchy, indented sub-items */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(139,121,250,.05);
    border: 1px solid var(--line);
    margin: .35rem 0 .25rem;
    width: 100%;
    min-width: 0;
    display: none;
    padding: .35rem;
    border-radius: var(--radius-sm);
  }
  .nav-menu .has-dropdown.open > .dropdown-menu {
    display: block;
  }
  .dropdown-menu a {
    white-space: normal;
    padding: .7rem .9rem .7rem 1.25rem;
    font-size: .88rem;
    border-left: 2px solid transparent;
  }
  .dropdown-menu a:hover {
    border-left-color: var(--primary);
  }
  .footer-inner { grid-template-columns: 1fr; }
  section { padding: 3.5rem 1.25rem; }
  .hero { padding: 1.5rem 1.25rem 1rem; }
  .partners-row { gap: 2rem 2.5rem; padding: 2rem 1rem; }
  .partners-row img { height: 28px; }
  .form-card { padding: 1.5rem; }
  .contact-flekk { padding: 2rem 1.5rem; }
}


/* ============================================================
   UNIFIED NEON PANEL TREATMENT – látványterv-megfeleltetés
   Egységes sötét lila-fekete kitöltés + neon gradient outline
   minden kártya / panel / box elem számára
   ============================================================ */
.product-card,
.why-item,
.content-card,
.partner-card,
.ref-card,
.dmsr-col,
.tech-list > li,
.office-item,
.hw-item,
.stakeholder-item,
.erp-shot,
.quote {
  background: linear-gradient(160deg,
    rgba(20, 16, 60, 0.92) 0%,
    rgba(11, 10, 40, 0.94) 50%,
    rgba(15, 12, 48, 0.92) 100%);
  border: 1px solid rgba(139, 121, 250, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(139, 121, 250, 0.32),
    inset 0 -1px 0 rgba(139, 121, 250, 0.06),
    0 14px 40px rgba(7, 7, 26, 0.5);
  position: relative;
}

/* Neon gradient outline (purple → transparent → mint accent),
   via gradient-border-mask trick. Glows on the top-left corner
   with a hint of mint on the opposite side. */
.product-card::after,
.why-item::after,
.content-card::after,
.partner-card::after,
.ref-card::after,
.dmsr-col::after,
.tech-list > li::after,
.office-item::after,
.hw-item::after,
.stakeholder-item::after,
.erp-shot::after,
.quote::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(139, 121, 250, 0.70) 0%,
    rgba(139, 121, 250, 0.15) 22%,
    rgba(139, 121, 250, 0.05) 45%,
    rgba(45, 220, 177, 0.22) 80%,
    rgba(45, 220, 177, 0.55) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.3s;
}

/* Hover: erősebb neon-glow outline */
.product-card:hover::after,
.why-item:hover::after,
.content-card:hover::after,
.partner-card:hover::after,
.ref-card:hover::after,
.dmsr-col:hover::after,
.tech-list > li:hover::after,
.office-item:hover::after,
.hw-item:hover::after,
.stakeholder-item:hover::after,
.erp-shot:hover::after,
.quote:hover::after {
  opacity: 1;
}

/* Hover-on: kicsit fényesebb háttér, erősebb shadow */
.product-card:hover,
.why-item:hover,
.partner-card:hover,
.ref-card:hover,
.dmsr-col:hover,
.tech-list > li:hover,
.office-item:hover,
.hw-item:hover,
.stakeholder-item:hover,
.erp-shot:hover {
  background: linear-gradient(160deg,
    rgba(28, 22, 78, 0.95) 0%,
    rgba(15, 13, 50, 0.95) 50%,
    rgba(20, 16, 62, 0.95) 100%);
  box-shadow:
    inset 0 1px 0 rgba(139, 121, 250, 0.42),
    inset 0 -1px 0 rgba(139, 121, 250, 0.10),
    0 22px 60px rgba(73, 63, 219, 0.30);
}

/* A product-card már használja saját ::before pseudo-elemet a radial
   gradient hover-glow-hoz – érintetlen marad. ::after csak a border-glow. */

/* Tartalmi elemek z-indexe a pseudo outline FÖLÉ kerüljön,
   hogy az 1px mask ne takarja el a tartalmat */
.product-card > *,
.why-item > *,
.content-card > *,
.partner-card > *,
.ref-card > *,
.dmsr-col > *,
.tech-list > li > *,
.office-item > *,
.hw-item > *,
.stakeholder-item > *,
.erp-shot > *,
.quote > * {
  position: relative;
  z-index: 1;
}


/* ============================================================
   IT-rendszerüzemeltetés aloldal – minimalista design-akcentusok
   ============================================================ */

/* "Szolgáltatásaink:" panel – content-card alapon */
.it-svc-card {
  max-width: 820px;
  margin: 2rem auto 0;
  padding: 1.75rem 2rem;
}
.it-services-label {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--line);
}

/* + jelölő bullet-lista */
.it-plus-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.it-plus-list li {
  color: var(--primary-2);
  font-size: .95rem;
  line-height: 1.55;
  position: relative;
  padding-left: 1.6rem;
}
.it-plus-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
}

/* Cím-accent: első/utolsó szó vékony aláhúzással kiemelve */
.it-acc-line {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}
.it-acc-line--mint {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ===== IT árajánlat-kérdőív űrlap ===== */
.it-quote {
  padding: 4rem 1.5rem 5rem;
  background: var(--bg);
}

.it-quote-form {
  background: linear-gradient(160deg, rgba(20,16,60,.85) 0%, rgba(11,10,40,.9) 100%);
  border: 1px solid rgba(139,121,250,.22);
  border-radius: var(--radius-lg, 14px);
  padding: 2.25rem 2rem 1.75rem;
  box-shadow:
    inset 0 1px 0 rgba(139,121,250,.32),
    0 24px 60px rgba(7,7,26,.5);
  margin-top: 2rem;
}

.it-quote-form .form-section {
  border: 0;
  padding: 0;
  margin: 0;
}

.form-section-title {
  display: block;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.005em;
  padding-bottom: .65rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.legend-label {
  display: block;
  color: var(--white);
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: .65rem;
}

.req { color: var(--accent); font-weight: 700; }

/* Form grid (two-column responsive) – reuse if already exists, but provide compatible variant */
.it-quote-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 720px) {
  .it-quote-form .form-grid { grid-template-columns: 1fr; }
}

.it-quote-form .form-field label {
  display: block;
  color: var(--primary-2);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: .4rem;
}

.it-quote-form input[type="text"],
.it-quote-form input[type="email"],
.it-quote-form input[type="tel"],
.it-quote-form input[type="number"],
.it-quote-form select,
.it-quote-form textarea {
  width: 100%;
  background: rgba(7,7,26,.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 8px);
  color: var(--white);
  font: inherit;
  font-size: .95rem;
  padding: .7rem .9rem;
  transition: border-color .15s, background .15s;
}
.it-quote-form input:focus,
.it-quote-form select:focus,
.it-quote-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(7,7,26,.75);
}
.it-quote-form select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%),
                    linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}

/* Checkbox pills */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .65rem;
}
.checkbox-grid-2col { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 720px) {
  .checkbox-grid, .checkbox-grid-2col { grid-template-columns: 1fr; }
}

.checkbox-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(139,121,250,.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 8px);
  padding: .6rem .85rem;
  color: var(--primary-2);
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.checkbox-pill:hover {
  border-color: var(--primary);
  background: rgba(139,121,250,.12);
  color: var(--white);
}
.checkbox-pill input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.checkbox-pill input[type="checkbox"]:checked {
  background: var(--primary);
}
.checkbox-pill input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}
.checkbox-pill:has(input:checked) {
  border-color: var(--primary);
  background: rgba(139,121,250,.18);
  color: var(--white);
}

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-disclaimer {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.5;
}
.form-disclaimer a { color: var(--primary); }

/* ===== TMS: Üzleti kihívások – deep burgundy / wine theme ===== */
.challenges-grid .why-item {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(139, 40, 67, 0.22) 0%, rgba(35, 8, 18, 0) 60%),
    linear-gradient(160deg, #2a0e18 0%, #1a060f 100%);
  border: 1px solid rgba(180, 60, 90, 0.35);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(139, 40, 67, 0.18) inset,
    0 18px 36px -22px rgba(139, 40, 67, 0.55),
    0 0 32px -8px rgba(139, 40, 67, 0.25);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.challenges-grid .why-item:hover {
  transform: translateY(-3px);
  border-color: rgba(220, 90, 120, 0.55);
  box-shadow:
    0 0 0 1px rgba(180, 60, 90, 0.28) inset,
    0 22px 48px -22px rgba(180, 60, 90, 0.7),
    0 0 48px -6px rgba(180, 60, 90, 0.35);
}
.challenges-grid .why-item h3 {
  color: #ffffff;
}
.challenges-grid .why-item p {
  color: #e9c7d1;
  opacity: 0.92;
}
.challenges-grid .why-item .icon,
.challenges-grid .why-item img.icon {
  filter: drop-shadow(0 4px 14px rgba(180, 60, 90, 0.45));
}

/* ===== Kapcsolat: Social + Irodák side-by-side panel ===== */
.contact-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 560px) {
  .contact-side-grid { grid-template-columns: 1fr; }
}

/* ===== CAPTCHA block (injected into every form.demo) ===== */
.captcha-block {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  background: rgba(56, 217, 169, 0.05);
  border: 1px solid rgba(56, 217, 169, 0.25);
  border-radius: 10px;
}
.captcha-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted, #888);
  margin-bottom: 0.55rem;
  letter-spacing: 0.02em;
}
.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.captcha-question {
  font-weight: 700;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  color: var(--accent);
  padding: 0.35rem 0.85rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  min-width: 90px;
  text-align: center;
  user-select: none;
}
.captcha-input {
  width: 90px;
  padding: 0.55rem 0.7rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-alt, #1a1a2e);
  color: var(--white, #fff);
  font-variant-numeric: tabular-nums;
}
.captcha-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 217, 169, 0.18);
}
.captcha-refresh {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-muted, #888);
  width: 36px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.captcha-refresh:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: rotate(180deg);
}

/* ===== Funding badge (Széchenyi 2020 + EU) – fixed bottom-right, auto-hides on scroll ===== */
#funding-badge {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: block;
  width: 200px;
  background: #fff;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  box-shadow: 0 8px 28px -8px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: opacity 0.35s ease, transform 0.35s ease;
  line-height: 0;
}
#funding-badge img {
  display: block;
  width: 100%;
  height: auto;
}
#funding-badge.is-hidden {
  opacity: 0;
  transform: translateY(28px);
  pointer-events: none;
}
@media (max-width: 600px) {
  #funding-badge {
    width: 140px;
    right: 0.6rem;
    bottom: 0.6rem;
    padding: 0.4rem 0.5rem;
  }
}

/* ===== GDPR consent checkbox (auto-injected into every form.demo) ===== */
.consent-block {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted, #aaa);
}
.consent-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent);
  transition: outline 0.2s, box-shadow 0.2s;
}
.consent-text a {
  color: var(--accent);
  text-decoration: underline;
}
.consent-text a:hover { opacity: 0.85; }
.consent-error {
  display: none;
  margin-top: 0.55rem;
  color: #ef4444;
  font-size: 0.85rem;
  font-weight: 600;
}
.consent-block.has-error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.06);
}
.consent-block.has-error .consent-check {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18);
}
.consent-block.has-error .consent-error { display: block; }

/* "Letiltott" megjelenés a submit gombon, amíg nincs elfogadás */
.btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.4);
}
.btn.is-disabled:hover {
  opacity: 0.45;
  transform: none;
}

/* ===== TMS – brand-themed mockup wrapper for product screenshots ===== */
.tms-mockup {
  background: linear-gradient(180deg, #0e0e26 0%, #07071a 100%);
  border: 1px solid rgba(56, 217, 169, 0.18);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 56px -22px rgba(0, 0, 0, 0.7),
    0 0 32px -16px rgba(56, 217, 169, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.tms-mockup:hover {
  border-color: rgba(56, 217, 169, 0.3);
  box-shadow:
    0 30px 64px -24px rgba(0, 0, 0, 0.75),
    0 0 48px -14px rgba(56, 217, 169, 0.38),
    0 0 0 1px rgba(56, 217, 169, 0.18) inset;
  transform: translateY(-2px);
}

.tms-mockup-bar {
  position: relative;
  background: linear-gradient(180deg, rgba(56, 217, 169, 0.06) 0%, rgba(56, 217, 169, 0) 100%);
  padding: 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 1px solid rgba(56, 217, 169, 0.14);
}

/* Status indicators: mint pulse + two smaller secondary dots (no Mac traffic lights) */
.tms-mockup-bar i {
  display: inline-block;
  border-radius: 50%;
}
.tms-mockup-bar i:nth-child(1) {
  width: 9px;
  height: 9px;
  background: var(--accent, #38d9a9);
  box-shadow: 0 0 0 3px rgba(56, 217, 169, 0.16), 0 0 12px rgba(56, 217, 169, 0.65);
  animation: tms-mockup-pulse 2.4s ease-in-out infinite;
}
.tms-mockup-bar i:nth-child(2) {
  width: 6px;
  height: 6px;
  background: rgba(139, 121, 250, 0.55);
}
.tms-mockup-bar i:nth-child(3) {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
}

@keyframes tms-mockup-pulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(56, 217, 169, 0.18), 0 0 10px rgba(56, 217, 169, 0.55);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(56, 217, 169, 0.07), 0 0 16px rgba(56, 217, 169, 0.35);
  }
}

.tms-mockup-bar .tms-mockup-url {
  margin-left: 0.5rem;
  font-size: 0.78rem;
  color: var(--accent, #38d9a9);
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", monospace;
  letter-spacing: 0.03em;
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* "DataMagic" brand label on the right of the title bar */
.tms-mockup-bar::after {
  content: "DataMagic";
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.32);
  text-transform: uppercase;
  font-family: ui-monospace, "JetBrains Mono", monospace;
  flex-shrink: 0;
}

.tms-mockup img {
  display: block;
  width: 100%;
  height: auto;
}
.tms-mockup-caption {
  display: block;
  text-align: center;
  margin-top: 0.85rem;
  color: var(--text-muted, #aaa);
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Screenshot grid for multiple mockups */
.tms-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}
.tms-showcase-grid .tms-mockup { max-width: 100%; }
@media (max-width: 720px) {
  .tms-showcase-grid { grid-template-columns: 1fr; }
}

/* Phone mockup (already a real-world photo with phone in hand) */
.tms-phone-figure {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
}
.tms-phone-figure img { display: block; width: 100%; height: auto; }

/* WMS – Iparág-specifikus grid: 5 cards in one row on desktop */
@media (min-width: 1100px) {
  .why-grid.wms-iparag-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }
  .why-grid.wms-iparag-grid .why-item {
    padding: 1.25rem 1.1rem;
  }
  .why-grid.wms-iparag-grid .why-item h3 {
    font-size: 1rem;
  }
  .why-grid.wms-iparag-grid .why-item p {
    font-size: 0.88rem;
  }
}

/* =====================================================================
   Hover-to-zoom lightbox
   ===================================================================== */
.zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;          /* never blocks interactions */
  transition: opacity 0.22s ease;
}
.zoom-overlay.show { opacity: 1; }
/* tap-to-dismiss ONLY on touch (desktop overlay never intercepts mouse) */
.zoom-overlay.touch.show { pointer-events: auto; }
.zoom-overlay img {
  max-width: 95vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.65);
  transform: scale(0.96);
  transition: transform 0.22s ease;
}
.zoom-overlay.show img { transform: scale(1); }

/* zoomable cursor indicator (desktop only) */
@media (hover: hover) and (pointer: fine) {
  .tl-img,
  .tms-mockup img,
  .zoomable {
    cursor: zoom-in;
  }
}
