/* ============================================================
   AI Megoldások — Dark Tech Design System
   Target: Magyar hölgyek, 30-40, medior/senior
   Aesthetic: Dark authority — strong, trusted, emotional
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;1,9..144,300;1,9..144,400&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Brand colors */
  --c-bg:        #0D1B2A;
  --c-bg2:       #111f30;
  --c-bg3:       #162336;
  --c-surface:   #1B263B;
  --c-surface2:  #1e2d42;
  --c-border:    rgba(91,192,235,.12);
  --c-border2:   rgba(91,192,235,.22);

  /* Text */
  --c-white:     #F8F9FA;
  --c-white2:    #C8D6E5;
  --c-muted:     #7A93AC;
  --c-muted2:    #4a6580;

  /* Accents */
  --c-blue:      #5BC0EB;
  --c-blue-dk:   #3a9ec9;
  --c-blue-lt:   rgba(91,192,235,.15);
  --c-blue-glow: rgba(91,192,235,.35);
  --c-purple:    #6A4C93;
  --c-purple-lt: rgba(106,76,147,.15);

  /* Semantic */
  --c-success:   #4ADE80;

  /* Typography */
  --font-body:    'Inter', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;

  /* Layout */
  --nav-h:   72px;
  --max-w:   1240px;
  --gap:     clamp(1.5rem, 3vw, 2.5rem);
  --pad-x:   clamp(1.25rem, 5vw, 3rem);

  /* Easing */
  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(0,0,0,.4);
  --shadow-md:  0 6px 32px rgba(0,0,0,.5);
  --shadow-lg:  0 16px 56px rgba(0,0,0,.6);
  --glow-blue:  0 0 40px rgba(91,192,235,.2);
  --glow-blue2: 0 0 80px rgba(91,192,235,.15);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-white);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
.t-hero {
  font-family: var(--font-body);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--c-white);
}
.t-hero em {
  font-style: normal;
  color: var(--c-blue);
}
.t-h2 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--c-white);
}
.t-h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--c-white);
}
.t-h4 {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-white);
}
.t-display-serif {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--c-blue);
  line-height: 1.3;
}
.t-body { font-size: clamp(0.95rem, 1.4vw, 1.1rem); line-height: 1.75; color: var(--c-white2); }
.t-sm   { font-size: 0.875rem; line-height: 1.6; color: var(--c-muted); }
.t-xs   { font-size: 0.78rem; line-height: 1.5; color: var(--c-muted); }
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-blue);
}
.text-blue   { color: var(--c-blue); }
.text-purple { color: var(--c-purple); }
.text-muted  { color: var(--c-muted); }

/* Gradient headline */
.text-gradient {
  background: linear-gradient(120deg, var(--c-blue) 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
}
.section      { padding: clamp(4.5rem, 10vw, 9rem) 0; position: relative; }
.section-sm   { padding: clamp(3rem, 6vw, 5.5rem) 0; position: relative; }
.section-dark { background: var(--c-bg2); }
.section-surface { background: var(--c-surface); }

/* Grid system */
.grid-2  { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.grid-asymm   { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--gap); align-items: center; }
.grid-asymm-r { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); align-items: center; }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .grid-asymm, .grid-asymm-r {
    grid-template-columns: 1fr;
  }
  .grid-asymm-r > *:first-child { order: 2; }
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(13,27,42,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(91,192,235,.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  gap: 1rem;
}

/* Logo — left */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 700;
  color: var(--c-white);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.nav-logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-purple));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 18px; height: 18px; }

/* Links — right */
.nav-links {
  display: flex; align-items: center;
  gap: clamp(0.8rem, 1.8vw, 2rem);
  list-style: none; flex-shrink: 1; min-width: 0;
}
.nav-links li { flex-shrink: 0; }
.nav-links a {
  font-size: clamp(0.8rem, 1vw, 0.875rem);
  font-weight: 500; color: var(--c-white2);
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--c-blue); }
.nav-cta {
  padding: 0.55rem 1.4rem;
  background: var(--c-blue);
  color: var(--c-bg) !important;
  border-radius: 6px;
  font-size: clamp(0.8rem, 1vw, 0.875rem) !important;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: #4ab0db !important; transform: translateY(-1px); box-shadow: var(--glow-blue); }

/* Burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; padding: 7px;
  flex-shrink: 0; border-radius: 6px;
  transition: background 0.2s;
}
.nav-burger:hover { background: var(--c-surface); }
.nav-burger span {
  display: block; height: 1.5px;
  background: var(--c-white2); border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) { .nav-logo-sub { display: none; } }
@media (max-width: 820px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none; position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(13,27,42,.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-border);
    padding: 0.5rem var(--pad-x) 1.25rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; font-size: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--c-border);
    color: var(--c-white);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta {
    display: inline-flex; margin-top: 0.75rem;
    font-size: 0.95rem !important; padding: 0.7rem 1.5rem !important;
  }
}
@media (max-width: 480px) {
  :root { --nav-h: 64px; }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.9375rem; font-weight: 600;
  border-radius: 7px; padding: 0.85rem 2rem;
  transition: all 0.22s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: var(--c-blue); color: var(--c-bg);
  box-shadow: 0 4px 20px rgba(91,192,235,.3);
}
.btn-primary:hover {
  background: #4ab0db; transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(91,192,235,.4);
}
.btn-outline {
  background: transparent; color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-outline:hover {
  border-color: var(--c-blue); color: var(--c-blue);
  transform: translateY(-2px);
}
.btn-ghost {
  background: var(--c-blue-lt); color: var(--c-blue);
  border: 1px solid var(--c-border2);
}
.btn-ghost:hover { background: rgba(91,192,235,.22); }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.875rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 2rem 2.25rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-blue-glow), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.card:hover { border-color: var(--c-border2); transform: translateY(-4px); box-shadow: var(--shadow-md), var(--glow-blue2); }
.card:hover::before { opacity: 1; }

.card-dark { background: var(--c-bg2); border-color: var(--c-border); }
.card-feature {
  background: linear-gradient(145deg, var(--c-surface) 0%, var(--c-bg2) 100%);
  border: 1px solid var(--c-border);
  border-radius: 14px; padding: 2.25rem;
}

/* Icon box */
.icon-box {
  width: 52px; height: 52px;
  background: var(--c-blue-lt);
  border: 1px solid var(--c-border2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box svg { width: 24px; height: 24px; stroke: var(--c-blue); fill: none; }
.icon-box-sm { width: 38px; height: 38px; border-radius: 8px; }
.icon-box-sm svg { width: 18px; height: 18px; }

/* ── Dividers & decoration ───────────────────────────────────── */
.divider { height: 1px; background: var(--c-border); margin: 0; }
.divider-blue { width: 40px; height: 2px; background: var(--c-blue); border-radius: 2px; margin-bottom: 1.25rem; }
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-header-center { text-align: center; }
.section-header-center .divider-blue { margin: 0 auto 1.25rem; }

/* ── Workflow node styles (scroll animation) ─────────────────── */
.workflow-node {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  font-size: 0.875rem; font-weight: 600;
  color: var(--c-white2);
  white-space: nowrap;
  position: relative;
}
.workflow-node.active {
  border-color: var(--c-blue);
  color: var(--c-white);
  box-shadow: 0 0 20px rgba(91,192,235,.2);
}
.workflow-node.done {
  border-color: var(--c-success);
  color: var(--c-success);
  box-shadow: 0 0 20px rgba(74,222,128,.15);
}
.node-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-muted2); flex-shrink: 0;
  transition: background 0.3s;
}
.workflow-node.active .node-dot { background: var(--c-blue); box-shadow: 0 0 8px var(--c-blue); }
.workflow-node.done  .node-dot { background: var(--c-success); }

/* Arrow connector */
.workflow-arrow {
  display: flex; align-items: center;
  color: var(--c-muted2); font-size: 1.1rem;
  padding: 0 0.25rem; flex-shrink: 0;
  transition: color 0.3s;
}
.workflow-arrow.lit { color: var(--c-blue); }

/* ── Stats strip ─────────────────────────────────────────────── */
.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; line-height: 1;
  color: var(--c-white);
  letter-spacing: -0.03em;
}
.stat-number span { color: var(--c-blue); }
.stat-label { font-size: 0.875rem; color: var(--c-muted); margin-top: 0.35rem; line-height: 1.45; }

/* ── Check list ──────────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 0.85rem; }
.check-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9375rem; color: var(--c-white2); line-height: 1.6; }
.check-icon {
  flex-shrink: 0; width: 20px; height: 20px;
  background: rgba(91,192,235,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.check-icon svg { width: 10px; height: 10px; stroke: var(--c-blue); fill: none; }

/* ── Glowing line decoration ─────────────────────────────────── */
.glow-line {
  position: absolute; pointer-events: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-blue), transparent);
  opacity: 0.4;
}
.glow-dot {
  position: absolute; pointer-events: none;
  border-radius: 50%;
  background: var(--c-blue);
  filter: blur(40px); opacity: 0.12;
}

/* ── Problem card ────────────────────────────────────────────── */
.problem-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-blue);
  border-radius: 0 10px 10px 0;
  padding: 1.5rem 1.75rem;
  position: relative; overflow: hidden;
}
.problem-card-quote {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  font-weight: 500; color: var(--c-white2);
  line-height: 1.65; font-style: italic;
}
.problem-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-blue); margin-bottom: 0.65rem;
}

/* ── Service items ───────────────────────────────────────────── */
.service-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 12px; padding: 1.75rem 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.service-item:hover { border-color: var(--c-border2); transform: translateY(-3px); }
.service-list { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 1rem; }
.service-list li {
  font-size: 0.875rem; color: var(--c-white2);
  padding-left: 1.1rem; position: relative; line-height: 1.55;
}
.service-list li::before { content: '›'; position: absolute; left: 0; color: var(--c-blue); font-weight: 700; }

/* ── Calculator ──────────────────────────────────────────────── */
.calc-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 860px; margin: 0 auto;
}
.calc-label { font-size: 0.875rem; font-weight: 500; color: var(--c-white2); margin-bottom: 0.65rem; }
.calc-val { font-size: 1.5rem; font-weight: 700; color: var(--c-blue); margin-left: auto; }
.calc-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.65rem; }
input[type=range] {
  -webkit-appearance: none; width: 100%; height: 3px;
  background: var(--c-surface2); border-radius: 3px; outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-blue); border: 2.5px solid var(--c-bg);
  box-shadow: 0 2px 8px rgba(91,192,235,.4); cursor: pointer; transition: transform 0.2s;
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.2); }
.pkg-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.875rem; margin-bottom: 1.5rem; }
@media (max-width: 600px) { .pkg-cards { grid-template-columns: 1fr; } }
.pkg-card {
  border: 1.5px solid var(--c-border); border-radius: 10px;
  padding: 1.1rem; text-align: center; cursor: pointer;
  transition: all 0.22s; background: var(--c-bg2);
}
.pkg-card:hover { border-color: var(--c-blue-dk); }
.pkg-card.active { border-color: var(--c-blue); background: var(--c-blue-lt); }
.pkg-name { font-size: 0.82rem; font-weight: 600; color: var(--c-white2); margin-bottom: 0.25rem; }
.pkg-price { font-size: 1.25rem; font-weight: 700; color: var(--c-blue); }
.pkg-feat { font-size: 0.72rem; color: var(--c-muted); margin-top: 0.4rem; line-height: 1.45; }
.calc-result {
  background: linear-gradient(135deg, rgba(91,192,235,.1), rgba(106,76,147,.1));
  border: 1px solid var(--c-border2); border-radius: 12px;
  padding: 2rem 2.25rem; display: none;
}
.calc-result.show { display: block; }
.calc-result-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
@media (max-width: 480px) { .calc-result-grid { grid-template-columns: 1fr; } }
.calc-res-num { font-size: 2rem; font-weight: 800; color: var(--c-blue); line-height: 1; }
.calc-res-label { font-size: 0.8rem; color: var(--c-muted); margin-top: 0.3rem; }

/* ── Conference gallery ──────────────────────────────────────── */
.konf-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.konf-item {
  border-radius: 10px; overflow: hidden;
  aspect-ratio: 4/3; background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.konf-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.konf-item:hover img { transform: scale(1.04); }
@media (max-width: 768px) { .konf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .konf-grid { grid-template-columns: 1fr; } }

/* ── Modal ───────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--c-surface);
  border: 1px solid var(--c-border2);
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 540px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.75rem; }
.modal-close {
  width: 34px; height: 34px; border-radius: 7px;
  background: var(--c-surface2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.modal-close:hover { background: var(--c-bg3); }
.modal-close svg { width: 14px; height: 14px; stroke: var(--c-white2); fill: none; }
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--c-white2); margin-bottom: 0.4rem; }
.form-label .req { color: var(--c-blue); }
.form-control {
  width: 100%; padding: 0.75rem 1rem;
  background: var(--c-bg2);
  border: 1.5px solid var(--c-border);
  border-radius: 7px; color: var(--c-white);
  font-size: 0.9375rem; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(91,192,235,.12); }
.form-control::placeholder { color: var(--c-muted2); }
textarea.form-control { resize: vertical; min-height: 90px; }
select.form-control { appearance: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.toast {
  position: fixed; bottom: 1.75rem; right: 1.75rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border2);
  color: var(--c-white); padding: 1rem 1.5rem;
  border-radius: 10px; font-size: 0.9rem; font-weight: 500;
  z-index: 3000; transform: translateY(80px); opacity: 0;
  transition: all 0.35s var(--ease); box-shadow: var(--shadow-lg);
  max-width: 380px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── Logos strip ─────────────────────────────────────────────── */
.logos-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); }
.logo-item { opacity: 0.35; filter: grayscale(1) brightness(2); transition: opacity 0.3s, filter 0.3s; max-height: 32px; }
.logo-item:hover { opacity: 0.7; filter: grayscale(0) brightness(1.2); }

/* ── Guarantee ───────────────────────────────────────────────── */
.guarantee-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.1rem; }
@media (max-width: 580px) { .guarantee-grid { grid-template-columns: 1fr; } }
.guarantee-item {
  display: flex; gap: 1rem; padding: 1.4rem 1.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border); border-radius: 10px;
}
.guarantee-item h4 { font-size: 0.95rem; font-weight: 600; color: var(--c-white); margin-bottom: 0.3rem; }
.guarantee-item p { font-size: 0.845rem; color: var(--c-muted); line-height: 1.55; }
.guarantee-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--c-bg2); border-top: 1px solid var(--c-border); padding: clamp(3rem,7vw,5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-desc { font-size: 0.875rem; color: var(--c-muted); line-height: 1.7; margin-top: 1rem; }
.footer h4 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-blue); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { font-size: 0.875rem; color: var(--c-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--c-white); }
.footer-bottom { border-top: 1px solid var(--c-border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.footer-copy { font-size: 0.78rem; color: var(--c-muted2); }

/* ── GSAP animation base states ──────────────────────────────── */
.gsap-up    { opacity: 0; transform: translateY(40px); }
.gsap-left  { opacity: 0; transform: translateX(-40px); }
.gsap-right { opacity: 0; transform: translateX(40px); }
.gsap-fade  { opacity: 0; }
.gsap-scale { opacity: 0; transform: scale(0.93); }

/* ── Hero canvas ─────────────────────────────────────────────── */
#hero-canvas {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: var(--nav-h);
  background: var(--c-bg);
}
.hero-content { position: relative; z-index: 2; }

/* Hero badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 1rem;
  background: var(--c-blue-lt);
  border: 1px solid var(--c-border2);
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--c-blue); margin-bottom: 1.75rem;
}
.hero-badge-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-blue);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── Scroll pin section ──────────────────────────────────────── */
.pin-wrap { position: relative; }
.pin-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}

/* ── Lottie canvas container ─────────────────────────────────── */
.lottie-wrap {
  width: 100%; aspect-ratio: 16/9;
  max-height: 60vh; position: relative;
}
#lottie-canvas { width: 100%; height: 100%; }

/* ── Tech background dots ────────────────────────────────────── */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(91,192,235,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* ── Speed line decoration ───────────────────────────────────── */
.speed-lines {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.speed-line {
  position: absolute; height: 1px; border-radius: 1px;
  background: linear-gradient(90deg, transparent, var(--c-blue), transparent);
  animation: speedLine 3s linear infinite;
  opacity: 0;
}
@keyframes speedLine {
  0%   { transform: translateX(-100%); opacity: 0; }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.4; }
  100% { transform: translateX(200%); opacity: 0; }
}

/* ── About section image ─────────────────────────────────────── */
.about-img {
  width: 100%; border-radius: 14px;
  aspect-ratio: 3/4; object-fit: cover;
  border: 1px solid var(--c-border);
}
.about-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic; font-weight: 300;
  color: var(--c-blue); line-height: 1.45;
  padding-left: 1.5rem;
  border-left: 2px solid var(--c-blue);
  margin: 1.75rem 0;
}

/* ── Responsive utilities ────────────────────────────────────── */
.hide-mobile { }
@media (max-width: 768px) { .hide-mobile { display: none !important; } }

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .gsap-up, .gsap-left, .gsap-right, .gsap-fade, .gsap-scale {
    opacity: 1 !important; transform: none !important;
  }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Infinite Carousel ───────────────────────────────────────── */
.carousel-wrap {
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.carousel-wrap.grabbing { cursor: grabbing; }
/* Fade edges */
.carousel-wrap::before,
.carousel-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: clamp(40px, 8vw, 80px);
  z-index: 2; pointer-events: none;
}
.carousel-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--c-bg2), transparent);
}
.carousel-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--c-bg2), transparent);
}
.carousel-track {
  display: flex;
  align-items: center;
  will-change: transform;
  gap: 0; /* gap handled via margin on items */
}

/* Logo carousel */
.logo-carousel-wrap { padding: 1rem 0; }
.logo-carousel-wrap .carousel-track { gap: 0; }
.logo-carousel-item {
  flex-shrink: 0;
  margin-right: 48px;
  opacity: 0.38;
  filter: grayscale(1) brightness(1.8);
  transition: opacity 0.3s, filter 0.3s;
  display: flex; align-items: center;
}
.logo-carousel-item img { max-height: 32px; width: auto; display: block; }
.logo-carousel-wrap:hover .logo-carousel-item { opacity: 0.55; }
.logo-carousel-item:hover { opacity: 0.9 !important; filter: grayscale(0) brightness(1.1) !important; }

/* Konferencia carousel */
.konf-carousel-wrap { padding: 0.5rem 0; }
.konf-carousel-item {
  flex-shrink: 0;
  width: clamp(240px, 30vw, 380px);
  margin-right: 20px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.konf-carousel-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.4s;
}
.konf-carousel-item:hover img { transform: scale(1.04); }
