/* ==========================================================================
   LIVESTOCKER — Design System
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
  --brand:       #C31A25;
  --deep:        #7A1019;
  --rose:        #F4A6AC;
  --data:        #2563EB;
  --bg:          #FFF8F8;
  --card-bg:     #FDF5F5;
  --text:        #1A0C0D;
  --muted:       #6B5758;
  --white:       #FFFFFF;
  --border:      #F0E0E1;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --shadow-sm:   0 1px 3px rgba(26,12,13,.08);
  --shadow-md:   0 4px 16px rgba(26,12,13,.10);
  --shadow-lg:   0 8px 32px rgba(26,12,13,.12);

  --max-w:       1200px;
  --nav-h:       72px;

  --transition:  all .2s ease;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ==========================================================================
   3. Typography
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: 'Manrope', sans-serif;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { line-height: 1.7; }

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
}

.label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   4. Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--sm { padding: 3rem 0; }

.section--dark {
  background: var(--text);
  color: var(--white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark .lead { color: rgba(255,255,255,.7); }

.section--deep {
  background: var(--deep);
  color: var(--white);
}
.section--deep h2,
.section--deep .lead { color: var(--white); }

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-7 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.flex { display: flex; }

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

.section-header {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-header h2 { margin-bottom: .75rem; }
.section-header .lead { margin-top: .75rem; }

/* ==========================================================================
   5. Navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo img { height: 36px; width: auto; }
.nav__logo svg { height: 36px; width: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex: 1;
  justify-content: center;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .875rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active { color: var(--brand); background: var(--card-bg); }

.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 640px;
  z-index: 100;
}

/* Latathatatlan hid: befogja az egeret a res felett */
.nav__item::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: .5rem;
  display: none;
}

.nav__item:hover::before { display: block; }
.nav__item:hover .mega-menu { display: block; }

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}

.mega-menu__link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mega-menu__link:hover { background: var(--card-bg); }

.mega-menu__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
  font-size: 1.125rem;
}

.mega-menu__title { font-size: .9375rem; font-weight: 600; color: var(--text); }
.mega-menu__desc { font-size: .8125rem; color: var(--muted); display: block; }

.mega-menu__link:hover .mega-menu__title { color: var(--brand); }

/* Nav right */
.nav__right {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
  position: relative;
}

.lang-switcher__trigger {
  display: flex;
  align-items: center;
  gap: .375rem;
  padding: .4rem .7rem;
  border-radius: 20px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text);
  background: var(--card-bg);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.lang-switcher__trigger:hover { background: var(--border); }

.lang-switcher__trigger svg {
  color: var(--muted);
  transition: transform .2s;
  flex-shrink: 0;
}

.lang-switcher.open .lang-switcher__trigger svg { transform: rotate(180deg); }

.lang-switcher__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  max-height: 280px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: .375rem;
  z-index: 100;
}

.lang-switcher.open .lang-switcher__menu { display: block; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: .625rem;
  width: 100%;
  padding: .5rem .625rem;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
}

.lang-btn:hover { background: var(--card-bg); }

.lang-btn.active {
  background: rgba(195,26,37,.08);
  color: var(--brand);
  font-weight: 700;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: .25rem;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 1100;
  overflow-y: auto;
  padding: 1.5rem;
  flex-direction: column;
}

.mobile-nav.open { display: flex; }

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-nav__close {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  border: none;
  background: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav__group { margin-bottom: 2rem; }

.mobile-nav__group-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-nav__link:last-child { border-bottom: none; }

.mobile-nav__footer {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8125rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.btn--primary:hover {
  background: var(--deep);
  border-color: var(--deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(195,26,37,.3);
}

.btn--secondary {
  background: var(--white);
  color: var(--brand);
  border-color: var(--brand);
}
.btn--secondary:hover {
  background: var(--card-bg);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--card-bg);
  transform: translateY(-1px);
}

.btn--sm {
  padding: .625rem 1.25rem;
  font-size: .9375rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.btn--full { width: 100%; }

/* ==========================================================================
   7. Hero
   ========================================================================== */
.hero {
  padding: 5rem 0 4rem;
  background: var(--bg);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(195,26,37,.08);
  color: var(--brand);
  padding: .375rem 1rem;
  border-radius: 20px;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero__title {
  margin-bottom: 1.25rem;
}

.hero__title span { color: var(--brand); }

.hero__lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Hero visual / dashboard mockup */
.hero__visual {
  position: relative;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot--red { background: #FF5F57; }
.mockup-dot--yellow { background: #FFBD2E; }
.mockup-dot--green { background: #28C840; }

/* Hero — simple version for inner pages */
.hero--simple {
  padding: 4rem 0 3rem;
  background: var(--text);
  color: var(--white);
}

.hero--simple h1 { color: var(--white); }
.hero--simple .lead { color: rgba(255,255,255,.75); max-width: 700px; margin: 1rem 0 2rem; }

.hero--simple .hero__label {
  background: rgba(244,166,172,.15);
  color: var(--white);
}

/* ==========================================================================
   8. Logo Strip
   ========================================================================== */
.logo-strip {
  padding: 2.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logo-strip__label {
  text-align: center;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.logo-strip__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.logo-strip__track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: logo-scroll 40s linear infinite;
}

.logo-strip__marquee:hover .logo-strip__track { animation-play-state: paused; }

.logo-strip__logo {
  height: 80px;
  width: 180px;
  object-fit: contain;
  flex-shrink: 0;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .625rem 1rem;
  filter: grayscale(1) opacity(.6);
  transition: filter .2s, border-color .2s, box-shadow .2s;
}

.logo-strip__logo:hover {
  filter: grayscale(0) opacity(1);
  border-color: var(--rose);
  box-shadow: var(--shadow-sm);
}

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

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

/* Partner logo strip (integration logos) */
.integration-strip { gap: 2rem; flex-wrap: wrap; justify-content: center; }

.integration-logo {
  height: 40px;
  width: auto;
  filter: grayscale(1) opacity(.45);
  transition: var(--transition);
  object-fit: contain;
}

.integration-logo:hover { filter: none; }

/* ==========================================================================
   9. Cards
   ========================================================================== */

/* Feature Card */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--rose);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--muted);
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.feature-card h4 { margin-bottom: .5rem; text-align: center; }
.feature-card p { font-size: .9375rem; color: var(--muted); text-align: center; }

/* Solution Card */
.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.solution-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.solution-card__icon {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  color: var(--muted);
  transition: color .2s;
}

.solution-card__icon svg {
  width: 28px;
  height: 28px;
}

.solution-card:hover .solution-card__icon {
  color: var(--brand);
}

.solution-card__body { flex: 1; }
.solution-card__title { font-size: 1rem; font-weight: 700; margin-bottom: .375rem; color: var(--text); }
.solution-card__desc { font-size: .875rem; color: var(--muted); line-height: 1.5; }

.solution-card__arrow {
  color: var(--muted);
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: .125rem;
  transition: var(--transition);
}

.solution-card:hover .solution-card__arrow { color: var(--brand); transform: translateX(3px); }

/* KPI Card */
.kpi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  border-left: 4px solid var(--brand);
}

.kpi-card__value {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: .5rem;
}

.kpi-card__label {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Stat Badge */
.stat-badge {
  border-left: 4px solid var(--brand);
  padding-left: 1rem;
}

.stat-badge__value {
  font-family: 'Manrope', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.stat-badge__label {
  font-size: .9375rem;
  color: var(--muted);
  margin-top: .25rem;
}

/* Pain Point Card */
.pain-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.pain-card__icon {
  flex-shrink: 0;
  margin-top: .125rem;
  color: var(--muted);
}

.pain-card__icon svg {
  width: 26px;
  height: 26px;
}

.pain-card h4 { margin-bottom: .375rem; color: var(--text); }
.pain-card p { font-size: .9375rem; color: var(--muted); }

/* ==========================================================================
   10. Feature Table
   ========================================================================== */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.feature-table th {
  background: var(--text);
  color: var(--white);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  text-align: left;
}

.feature-table td {
  padding: .9375rem 1.25rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: .9375rem;
}

.feature-table tr:last-child td { border-bottom: none; }

.feature-table tr:nth-child(even) td { background: var(--card-bg); }

.feature-table td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 38%;
}

.feature-table td:last-child { color: var(--muted); }

/* ==========================================================================
   11. FAQ Accordion
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open { border-color: var(--rose); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  user-select: none;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
  color: var(--brand);
  transition: var(--transition);
  font-weight: 400;
}

.faq-item.open .faq-icon { background: var(--brand); color: var(--white); }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ==========================================================================
   12. Forms
   ========================================================================== */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
}

.form-label .req { color: var(--brand); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: .8125rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(195,26,37,.1);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); opacity: .7; }

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B5758' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ==========================================================================
   13. Inline CTA Banner
   ========================================================================== */
.cta-inline {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 3rem 0;
}

.cta-inline p { font-weight: 600; color: var(--text); }
.cta-inline span { display: block; font-size: .875rem; color: var(--muted); font-weight: 400; margin-top: .25rem; }

/* ==========================================================================
   14. Steps / Process
   ========================================================================== */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: .9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step__body h4 { margin-bottom: .375rem; }
.step__body p { font-size: .9375rem; color: var(--muted); }

/* ==========================================================================
   15. Checklist
   ========================================================================== */
.checklist {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: 1rem;
  color: var(--text);
}

.checklist li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(195,26,37,.1);
  color: var(--brand);
  font-weight: 700;
  font-size: .8125rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   16. Section CTA (dark)
   ========================================================================== */
.section-cta {
  background: var(--deep);
  padding: 5rem 0;
  text-align: center;
}

.section-cta h2 { color: var(--white); margin-bottom: 1rem; }
.section-cta .lead { color: rgba(255,255,255,.75); margin-bottom: 2.5rem; }

.section-cta__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   17. Footer
   ========================================================================== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__brand { }

.footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: .9375rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 260px;
}

.footer__email {
  font-size: .9375rem;
  color: var(--white);
  font-weight: 500;
}

.footer__col-title {
  font-family: 'Manrope', sans-serif;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__links { display: flex; flex-direction: column; gap: .5rem; }

.footer__link {
  font-size: .9375rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}

.footer__link:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: .875rem;
  color: rgba(255,255,255,.4);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: .875rem;
  color: rgba(255,255,255,.4);
  transition: var(--transition);
}

.footer__legal a:hover { color: rgba(255,255,255,.7); }

/* Mobile sticky CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .875rem 1.25rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(26,12,13,.1);
  z-index: 900;
}

/* ==========================================================================
   18. Trust Section
   ========================================================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* ==========================================================================
   19. BI Preview
   ========================================================================== */
.bi-preview {
  background: var(--text);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}

.bi-preview__bar {
  background: rgba(255,255,255,.05);
  padding: .875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.bi-preview__title {
  font-family: 'Manrope', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}

.bi-preview__content { padding: 1.5rem; }

.bi-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.bi-kpi {
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-sm);
  padding: .875rem 1rem;
  border-left: 3px solid var(--brand);
}

.bi-kpi__val {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.bi-kpi__label { font-size: .75rem; color: rgba(255,255,255,.5); margin-top: .25rem; }
.bi-kpi__trend { font-size: .75rem; margin-top: .25rem; }
.bi-kpi__trend--ok { color: #4ade80; }
.bi-kpi__trend--warn { color: var(--rose); }

/* SVG chart */
.bi-chart { background: rgba(255,255,255,.03); border-radius: var(--radius-sm); padding: 1rem; }
.bi-chart__label { font-size: .75rem; color: rgba(255,255,255,.5); margin-bottom: .75rem; font-weight: 600; }

/* ==========================================================================
   21. Utility
   ========================================================================== */
.mb-4 { margin-bottom: 2rem; }

.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-top: 4px solid var(--brand);
}

.partner-card--data { border-top-color: var(--data); }
.partner-card--deep { border-top-color: var(--deep); }

.partner-card__flag {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.partner-card__footer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  justify-content: center;
}

.partner-card h4 { margin-bottom: .375rem; text-align: center; }
.partner-card .label { margin-bottom: .875rem; text-align: center; }
.partner-card p { font-size: .9375rem; color: var(--muted); text-align: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .25rem .75rem;
  border-radius: 20px;
  font-size: .8125rem;
  font-weight: 600;
}

.pill--blue { background: rgba(37,99,235,.1); color: var(--data); }
.pill--rose { background: rgba(244,166,172,.25); color: var(--deep); }

/* ==========================================================================
   22. Illustrations — Ecosystem & Process Flow
   ========================================================================== */

/* --- Ecosystem halo diagram (homepage hero jobb oldala) --- */
.eco-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Vonal-rajzolo animacio az osszekoto bezier-ekre.
   A delay-t inline style="--dl:Xs" adja meg az SVG elemeken. */
@keyframes ecoLineDraw {
  to { stroke-dashoffset: 0; }
}

.eco-l {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: ecoLineDraw 1s ease var(--dl, 0s) forwards;
}

/* ==========================================================================
   23. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-7 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .bi-kpi-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__menu { display: none; }
  .nav__toggle { display: flex; }
  .nav__right .btn { display: none; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-7 { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }

  .cta-inline { flex-direction: column; }
  .section-cta__btns { flex-direction: column; align-items: center; }

  .form-grid-2 { grid-template-columns: 1fr; }

  .sticky-cta { display: block; }

  body { padding-bottom: 70px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }

  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .hero--simple { padding: 3rem 0 2rem; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .lang-switcher { display: none; }
}
