:root {
  color-scheme: light;
  --bg: #f5f1ea;
  --ink: #0b0f16;
  --muted: #3d4548;
  --accent: #c7ff51;
  --accent-strong: #7df06e;
  --accent-2: #00766a;
  --border: #d9d2c7;
  --card: rgba(255, 255, 255, 0.7);
  --glass: rgba(255, 255, 255, 0.6);
  --shadow: 0 24px 60px rgba(11, 15, 22, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 10%, #e2ffe2 0%, transparent 45%),
    radial-gradient(circle at 90% 5%, #d1f4ff 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, #ffe9c7 0%, transparent 40%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand-name {
  font-family: "Sora", "Helvetica Neue", sans-serif;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 0.5rem;
}

h3 {
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}

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

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  animation: float 16s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(30px, -50px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.orb-1 {
  background: #c7ff51;
  top: -120px;
  left: -120px;
}

.orb-2 {
  background: #9de6ff;
  top: 10%;
  right: -140px;
  animation-delay: -4s;
}

.orb-3 {
  background: #ffd2a1;
  bottom: -160px;
  left: 30%;
  animation-delay: -8s;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  max-width: 960px;
  margin: 0 auto;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(245, 241, 234, 0.55);
  border: 1px solid rgba(217, 210, 199, 0.45);
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(11, 15, 22, 0.06), 0 1px 3px rgba(11, 15, 22, 0.04);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 29px;
  width: auto;
  object-fit: contain;
  margin: -4px 0;
  position: relative;
  top: 2px;
}

.brand-name {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 28px;
  height: 28px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.lang-switch {
  display: flex;
  gap: 6px;
}

.lang-switch button {
  border: 1px solid rgba(217, 210, 199, 0.5);
  background: transparent;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: all 0.2s ease;
}

.lang-switch button.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

main {
  position: relative;
  z-index: 1;
  padding: 64px 6vw 100px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  align-items: center;
  overflow: hidden;
  border-radius: 32px;
  padding: 48px 40px;
}

@keyframes heroBgReveal {
  from {
    opacity: 0;
    transform: scale(1.05);
    filter: blur(20px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes heroBgBreathe {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.03);
    filter: brightness(1.1);
  }
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  animation: heroBgReveal 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  animation: heroBgBreathe 15s ease-in-out infinite alternate;
  animation-delay: 2s; /* Start after reveal */
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-copy > * {
  animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.hero-copy .eyebrow { 
  animation-delay: 0.1s; 
}

.hero-copy h1 { 
  animation-delay: 0.2s; 
}

.hero-copy .lead { 
  animation-delay: 0.35s; 
}

.hero-copy .cta-row { 
  animation-delay: 0.5s; 
}

.hero-copy .hero-stats { 
  animation-delay: 0.65s; 
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.hero-panel {
  animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--ink);
}

.lead {
  font-size: 1.1rem;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 16px 30px rgba(11, 15, 22, 0.18);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  background: var(--glass);
  color: var(--ink);
  border-color: var(--border);
}

.btn.ghost:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(217, 210, 199, 0.7);
  font-size: 0.85rem;
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.panel-card {
  background: var(--card);
  border: 1px solid rgba(217, 210, 199, 0.6);
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.8s ease;
}

.panel-card .panel-heading {
  font-size: 1.15rem;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.panel-card ul {
  padding: 0 0 0 18px;
  margin: 0 0 16px;
  color: var(--muted);
}

.panel-footer {
  font-size: 0.9rem;
  color: var(--ink);
}

.section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section.has-visual {
  position: relative;
  overflow: hidden;
}

.section-visual {
  position: absolute;
  top: -40px;
  right: -80px;
  width: 320px;
  height: 320px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

.section-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: blur(0.5px);
}

.section-visual.process-visual {
  top: auto;
  bottom: -60px;
  right: -40px;
  opacity: 0.12;
}

.section-visual.studio-visual {
  width: 380px;
  height: 380px;
  top: -20px;
  right: -60px;
  opacity: 0.18;
}

#services {
  padding: 72px 56px;
  border-radius: 32px;
}

.section-visual.services-visual {
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  opacity: 0.35;
}

.section-visual.services-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.section.has-visual > *:not(.section-visual) {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 700px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card,
.trend,
.step,
.quote-card,
.chat-card,
.contact-card {
  background: var(--card);
  border-radius: 20px;
  border: 1px solid rgba(217, 210, 199, 0.7);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card {
  position: relative;
  overflow: hidden;
}

.card-bg {
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.card:hover .card-bg {
  opacity: 0.14;
}

.card > *:not(.card-bg):not(.card-icon-wrap) {
  position: relative;
  z-index: 1;
}

.card-icon-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.13;
  transition: opacity 0.4s ease, transform 0.4s ease;
  overflow: hidden;
}

.card:hover .card-icon-wrap {
  opacity: 0.22;
  transform: scale(1.04);
}

.card-icon {
  width: 110%;
  height: 110%;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(11, 15, 22, 0.08));
}

.card.expandable {
  cursor: pointer;
  transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s ease;
}

.card.expandable:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(11, 15, 22, 0.14);
}

.card.expandable:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.card.expandable.is-open {
  border-color: rgba(0, 229, 199, 0.35);
  box-shadow: 0 20px 50px rgba(0, 229, 199, 0.08), 0 8px 24px rgba(11, 15, 22, 0.1);
}

.card.expandable.is-open .card-icon-wrap {
  opacity: 0.06;
}

.card.expandable.is-open .card-bg {
  opacity: 0.04;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.card-header h3 {
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}

.card-toggle {
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.card.is-open .card-toggle {
  color: var(--accent-2);
  transform: rotate(45deg);
}

.card > p {
  font-size: clamp(0.9rem, 1.5vw, 0.98rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.7;
  color: var(--muted);
}

.card-expand {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease 0.05s;
  opacity: 0;
}

.card.is-open .card-expand {
  grid-template-rows: 1fr;
  opacity: 1;
}

.card-expand ul li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card.is-open .card-expand ul li {
  opacity: 1;
  transform: translateY(0);
}

.card.is-open .card-expand ul li:nth-child(1) { transition-delay: 0.1s; }
.card.is-open .card-expand ul li:nth-child(2) { transition-delay: 0.18s; }
.card.is-open .card-expand ul li:nth-child(3) { transition-delay: 0.26s; }
.card.is-open .card-expand ul li:nth-child(4) { transition-delay: 0.34s; }

.card-expand-note {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease 0.4s, transform 0.3s ease 0.4s;
}

.card.is-open .card-expand-note {
  opacity: 1;
  transform: translateY(0);
}

.card-expand > * {
  overflow: hidden;
}

.card-expand ul {
  padding: 0 0 0 18px;
  margin: 14px 0 10px;
  color: var(--muted);
  line-height: 1.75;
  font-size: clamp(0.85rem, 1.3vw, 0.93rem);
  font-weight: 400;
  letter-spacing: 0.005em;
}

.card-expand ul li {
  margin-bottom: 6px;
}

.card-expand-note {
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: clamp(0.88rem, 1.4vw, 0.95rem);
  font-weight: 600;
  color: var(--ink);
  margin-top: 10px;
  letter-spacing: -0.01em;
  line-height: 1.5;
  padding-top: 10px;
  border-top: 1px solid rgba(217, 210, 199, 0.5);
}

.card.accent {
  border-color: rgba(0, 194, 178, 0.4);
  background: linear-gradient(135deg, rgba(199, 255, 81, 0.35), rgba(0, 194, 178, 0.2));
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

/* ── TIMELINE (STORY) ─────────────────────────────────────────── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 0;
  width: 2px;
  background: rgba(217, 210, 199, 0.4);
}

[data-theme="dark"] .timeline::before {
  background: rgba(42, 47, 56, 0.5);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(199, 255, 81, 0.6);
  z-index: 1;
}

.timeline-year {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

[data-theme="dark"] .timeline-year {
  background: var(--accent);
  color: #0b0f16;
}

.timeline-content {
  background: var(--glass);
  border: 1px solid rgba(217, 210, 199, 0.6);
  padding: 24px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .timeline-content {
  background: var(--card);
  border-color: rgba(42, 47, 56, 0.7);
}

.timeline-content:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 30px rgba(11, 15, 22, 0.08);
}

.timeline-content h3 {
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.timeline-content p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.step span {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.quote-card form,
.chat-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

input,
select,
textarea {
  border-radius: 12px;
  border: 1px solid rgba(217, 210, 199, 0.8);
  padding: 12px 14px;
  font-family: "Space Grotesk", sans-serif;
  background: rgba(255, 255, 255, 0.8);
}

textarea {
  resize: vertical;
}

.form-hint {
  font-size: 0.85rem;
}

.form-status {
  min-height: 22px;
  font-size: 0.9rem;
  color: var(--ink);
}

.chat-window {
  height: 280px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(217, 210, 199, 0.6);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 80%;
  font-size: 0.95rem;
  line-height: 1.5;
}

.chat-message.bot {
  background: rgba(0, 194, 178, 0.12);
  align-self: flex-start;
}

.chat-message.user {
  background: rgba(11, 15, 22, 0.08);
  align-self: flex-end;
}

.chat-input {
  display: flex;
  gap: 8px;
}

.chat-input input {
  flex: 1;
}

.chat-status {
  min-height: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-footer {
  padding: 32px 6vw 40px;
  border-top: 1px solid rgba(217, 210, 199, 0.7);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.timeline-item {
  background: var(--card);
  border-radius: 20px;
  border: 1px solid rgba(217, 210, 199, 0.7);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
}

.timeline-year {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  margin-bottom: 12px;
}

.studio-services {
  margin-top: 16px;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(217, 210, 199, 0.7);
  font-size: 0.85rem;
  color: var(--ink);
  white-space: nowrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.contact-card a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
}

.footer-social img {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .site-header {
    top: 8px;
    margin: 0 12px;
    max-width: calc(100% - 24px);
    padding: 10px 16px;
    border-radius: 18px;
    flex-wrap: wrap;
    gap: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 6px;
    padding: 12px 0 4px;
    border-top: 1px solid var(--border);
    margin-top: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 8px 4px;
    font-size: 0.88rem;
  }

  .lang-switch {
    display: none;
  }

  .site-nav.is-open + .header-actions .lang-switch,
  .site-header.menu-open .lang-switch {
    display: flex;
    width: 100%;
    justify-content: center;
    padding-top: 8px;
  }

  .brand-logo {
    height: 24px;
  }

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

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

@media (max-width: 640px) {
  main {
    padding: 40px 4vw 72px;
    gap: 40px;
  }

  .chat-input {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .lang-switch {
    flex-wrap: wrap;
  }

  /* Hero: kevesebb padding, kisebb gap, kompaktabb headline */
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 20px;
    border-radius: 24px;
    gap: 24px;
    overflow: hidden;
  }
  .hero-copy,
  .hero-panel {
    min-width: 0;
    max-width: 100%;
  }
  h1 {
    font-size: clamp(1.8rem, 6.6vw, 2.55rem);
    line-height: 1.08;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .hero-copy .lead,
  .eyebrow {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .lead { font-size: 1rem; }
  .hero-stats { gap: 8px; }
  .stat { font-size: 0.78rem; padding: 8px 12px; }
  .cta-row { margin: 16px 0 4px; gap: 10px; }

  /* Panel-kártya a hero mellett */
  .panel-card { padding: 20px; border-radius: 18px; }
  .panel-card .panel-heading { font-size: 1.05rem; }

  /* Services padding brutál volt */
  #services { padding: 48px 20px; border-radius: 24px; }
  .card { padding: 18px; }

  /* Dekorációs háttér-képek mobilon csak zavarnak */
  .section-visual:not(.services-visual) { display: none; }

  /* Work / Case studies */
  .work-section { padding-top: 48px; padding-bottom: 48px; }
  .work-grid { gap: 14px; margin-top: 28px; }
  .work-card { padding: 18px; gap: 10px; }
  .work-card h3 { font-size: 1.05rem; }
  .work-card p { font-size: 0.88rem; }
  .work-metrics { gap: 6px; padding-top: 12px; }
  .work-metrics strong { font-size: 1rem; }
  .work-metrics span { font-size: 0.66rem; }

  /* Team */
  .team-grid { gap: 14px; margin-top: 28px; }
  .team-card { padding: 20px; }
  .team-avatar { width: 60px; height: 60px; font-size: 1.2rem; margin-bottom: 12px; }

  /* Pricing: a kiemelt kártya ne "lógjon" stackelve, és a badge jobbra simuljon */
  .pricing-section { padding-top: 48px; padding-bottom: 48px; }
  .pricing-grid { gap: 16px; margin-top: 28px; }
  .pricing-card { padding: 22px 20px; }
  .pricing-card.is-featured { transform: none; }
  .pricing-badge { right: 16px; top: -10px; font-size: 0.65rem; }
  .pricing-price strong { font-size: 1.5rem; }

  /* FAQ */
  .faq-section { padding-top: 48px; padding-bottom: 48px; }
  .faq-list {
    grid-template-columns: 1fr;
    margin-top: 24px;
    gap: 10px;
  }
  .faq-item { border-radius: 14px; }
  .faq-item summary {
    padding: 15px 16px;
    font-size: 0.92rem;
    gap: 12px;
  }
  .faq-item summary::after {
    width: 26px;
    height: 26px;
    font-size: 1.05rem;
  }
  .faq-item p {
    padding: 0 16px 16px;
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* Trust strip ne lógjon a szélekig */
  .trust-strip { padding: 24px 4vw; }
  .trust-strip-inner { gap: 16px; }

  /* Timeline — card-grid átvált 1 oszlopra, kártyák kompaktabbak */
  .timeline-content, .timeline-item { padding: 18px; }
  .timeline-content h3 { font-size: 1.05rem; }

  /* Kapcsolat */
  .contact-card { padding: 18px; }

  /* Footer: cím ne fusson ki, ikonok középre */
  .site-footer { padding: 24px 5vw 32px; }
  .footer-top { align-items: flex-start; gap: 14px; }
  .footer-legal { gap: 10px 18px; font-size: 0.8rem; }

  /* Chat ablak alacsonyabb, hogy ne egye meg a viewport felét */
  .chat-window { height: 220px; }
  .chat-message { max-width: 90%; font-size: 0.9rem; }

  /* Cookie banner ne takarjon ki mindent, FAB-nek is hagyjon helyet jobbra */
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; }
  .cookie-actions { flex-direction: column-reverse; }
  .cookie-actions .btn { width: 100%; }

  /* Wizard summary olvashatóbb, a chip-ek is nagyobbak a tap-target miatt */
  .wizard-step legend { font-size: 1rem; }
  .chip { padding: 9px 14px; font-size: 0.88rem; }
  .chip-card { padding: 12px; }
  .chip-card strong { font-size: 0.9rem; }
}

/* Kifejezetten kis telefonok (≤ 380px): iPhone SE / kis Android */
@media (max-width: 380px) {
  main { padding: 32px 3vw 56px; gap: 32px; }
  .hero { padding: 22px 16px; }
  h1 { font-size: 1.65rem; }
  #services { padding: 40px 16px; }
  .work-metrics { grid-template-columns: 1fr 1fr; }
  .work-metrics li:nth-child(3) { grid-column: 1 / -1; }
  .pricing-card { padding: 20px 16px; }
}

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

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

/* ── DARK MODE ──────────────────────────────────────────────────── */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0f16;
  --ink: #f0ece4;
  --muted: #b8bfc1;
  --accent: #c7ff51;
  --accent-strong: #7df06e;
  --accent-2: #00e5c7;
  --border: #2a2f38;
  --card: rgba(18, 22, 30, 0.8);
  --glass: rgba(18, 22, 30, 0.6);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] body {
  background: radial-gradient(circle at 10% 10%, rgba(0, 229, 199, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 5%, rgba(155, 125, 255, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(240, 160, 48, 0.06) 0%, transparent 40%),
    var(--bg);
}

[data-theme="dark"] .orb-1 { background: rgba(0, 229, 199, 0.3); }
[data-theme="dark"] .orb-2 { background: rgba(155, 125, 255, 0.25); }
[data-theme="dark"] .orb-3 { background: rgba(240, 160, 48, 0.2); }

[data-theme="dark"] .site-header {
  background: rgba(11, 15, 22, 0.6);
  border-color: rgba(42, 47, 56, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .lang-switch button {
  border-color: var(--border);
  color: var(--muted);
}

[data-theme="dark"] .lang-switch button.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

[data-theme="dark"] .stat {
  background: rgba(18, 22, 30, 0.7);
  border-color: rgba(42, 47, 56, 0.7);
}

[data-theme="dark"] .card,
[data-theme="dark"] .trend,
[data-theme="dark"] .step,
[data-theme="dark"] .quote-card,
[data-theme="dark"] .chat-card,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .timeline-item {
  background: var(--card);
  border-color: rgba(42, 47, 56, 0.7);
}

[data-theme="dark"] .card.accent {
  border-color: rgba(0, 229, 199, 0.3);
  background: linear-gradient(135deg, rgba(0, 229, 199, 0.12), rgba(155, 125, 255, 0.08));
}

[data-theme="dark"] .card-bg {
  opacity: 0.15;
}

[data-theme="dark"] .card:hover .card-bg {
  opacity: 0.25;
}

[data-theme="dark"] .card-icon-wrap {
  opacity: 0.18;
}

[data-theme="dark"] .card:hover .card-icon-wrap {
  opacity: 0.3;
}

[data-theme="dark"] .card-icon {
  filter: drop-shadow(0 4px 16px rgba(0, 229, 199, 0.15));
}

[data-theme="dark"] .card.expandable.is-open {
  border-color: rgba(0, 229, 199, 0.5);
  box-shadow: 0 20px 50px rgba(0, 229, 199, 0.12), 0 8px 24px rgba(11, 15, 22, 0.3);
}

[data-theme="dark"] .card.expandable.is-open .card-icon-wrap {
  opacity: 0.08;
}

[data-theme="dark"] .card.expandable.is-open .card-bg {
  opacity: 0.06;
}

[data-theme="dark"] .pill {
  background: rgba(18, 22, 30, 0.7);
  border-color: rgba(42, 47, 56, 0.7);
}

[data-theme="dark"] .hero-bg-img img {
  opacity: 0.35;
}

[data-theme="dark"] .section-visual {
  opacity: 0.2;
}

[data-theme="dark"] .section-visual.studio-visual {
  opacity: 0.25;
}

[data-theme="dark"] .section-visual.services-visual {
  opacity: 0.5;
}

[data-theme="dark"] .btn.primary {
  background: var(--accent);
  color: #0b0f16;
}

[data-theme="dark"] .btn.ghost {
  background: var(--glass);
  color: var(--ink);
  border-color: var(--border);
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: rgba(18, 22, 30, 0.8);
  border-color: rgba(42, 47, 56, 0.8);
  color: var(--ink);
}

[data-theme="dark"] .chat-window {
  background: rgba(18, 22, 30, 0.7);
  border-color: rgba(42, 47, 56, 0.6);
}

[data-theme="dark"] .chat-message.bot {
  background: rgba(0, 229, 199, 0.1);
}

[data-theme="dark"] .chat-message.user {
  background: rgba(245, 240, 232, 0.08);
}

[data-theme="dark"] .timeline-year {
  background: var(--accent);
  color: #0b0f16;
}

[data-theme="dark"] .site-footer {
  border-top-color: rgba(42, 47, 56, 0.7);
}

[data-theme="dark"] .footer-social a {
  background: var(--ink);
}

[data-theme="dark"] .footer-social img {
  filter: invert(1);
}

[data-theme="dark"] .contact-card a {
  color: var(--accent-2);
}

/* ── THEME TOGGLE ─────────────────────────────────────────────── */
.theme-toggle {
  background: none;
  border: 1px solid rgba(217, 210, 199, 0.5);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--accent-2);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.theme-toggle:hover svg {
  stroke: var(--ink);
}

.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

[data-theme="dark"] .theme-toggle {
  border-color: rgba(42, 47, 56, 0.5);
}

/* ── ACCESSIBILITY ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.btn:focus-visible,
.lang-switch button:focus-visible,
.theme-toggle:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.lang-switch button {
  font-size: 0.74rem;
  min-width: 32px;
  min-height: 28px;
}

/* Hero contrast overlay behind text */
.hero-bg-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(245, 241, 234, 0.88) 0%,
    rgba(245, 241, 234, 0.55) 45%,
    rgba(245, 241, 234, 0.15) 100%
  );
  pointer-events: none;
}

[data-theme="dark"] .hero-bg-img::after {
  background: linear-gradient(
    105deg,
    rgba(11, 15, 22, 0.85) 0%,
    rgba(11, 15, 22, 0.55) 45%,
    rgba(11, 15, 22, 0.15) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── WIZARD FORM ─────────────────────────────────────────────── */
.wizard {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wizard-progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.wizard-progress-track {
  height: 4px;
  background: rgba(217, 210, 199, 0.5);
  border-radius: 999px;
  overflow: hidden;
}

.wizard-progress-bar {
  height: 100%;
  width: 33.333%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.wizard-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.wizard-steps li.is-active,
.wizard-steps li.is-complete {
  color: var(--ink);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(217, 210, 199, 0.5);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  transition: background 0.3s ease, color 0.3s ease;
}

.wizard-steps li.is-active .step-num {
  background: var(--ink);
  color: var(--bg);
}

.wizard-steps li.is-complete .step-num {
  background: var(--accent-2);
  color: #fff;
}

.wizard-steps li.is-complete .step-num::before {
  content: "✓";
}

.wizard-steps li.is-complete .step-num span,
.wizard-steps li.is-complete .step-num {
  font-size: 0.82rem;
}

.wizard-steps li.is-complete .step-num {
  font-size: 0;
}

.wizard-steps li.is-complete .step-num::before {
  font-size: 0.85rem;
}

.wizard-step {
  border: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 18px;
  animation: wizardIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-step.is-active {
  display: flex;
}

@keyframes wizardIn {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.wizard-step legend {
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 0;
  margin-bottom: 4px;
}

.wizard-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 6px;
}

.wizard-nav .btn {
  min-width: 120px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-grid .field-full {
  grid-column: 1 / -1;
}

.field label,
.wizard-step > label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 500;
}

/* Chip grid (large cards for primary choices) */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.chip-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(217, 210, 199, 0.8);
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease,
              background 0.25s ease, box-shadow 0.25s ease;
  font-family: inherit;
  color: var(--ink);
}

.chip-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-2);
  box-shadow: 0 10px 24px rgba(11, 15, 22, 0.08);
}

.chip-card[aria-checked="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 14px 28px rgba(11, 15, 22, 0.18);
}

.chip-card[aria-checked="true"] .chip-emoji {
  filter: none;
}

.chip-emoji {
  font-size: 1.5rem;
  line-height: 1;
}

.chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(11, 15, 22, 0.04);
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}

.chip-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.chip-card[aria-checked="true"] .chip-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--bg);
}

[data-theme="dark"] .chip-icon {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .chip-card[aria-checked="true"] .chip-icon {
  background: rgba(11, 15, 22, 0.18);
  color: #0b0f16;
}

.chip-card strong {
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Chip row (small pill selectors) */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(217, 210, 199, 0.8);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease,
              background 0.2s ease, color 0.2s ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: var(--accent-2);
}

.chip[aria-checked="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* Wizard summary */
.wizard-summary {
  background: rgba(0, 194, 178, 0.06);
  border: 1px dashed rgba(0, 194, 178, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
}

.wizard-summary h4 {
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.wizard-summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin: 0;
  font-size: 0.88rem;
}

.wizard-summary dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  align-self: center;
}

.wizard-summary dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.wizard-summary dd.is-empty {
  color: var(--muted);
  font-style: italic;
  font-weight: 400;
}

/* Chat quick-reply chips */
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0;
  max-height: 80px;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
}

.chat-chips.is-hidden {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.chat-chips .chip {
  font-size: 0.78rem;
  padding: 6px 12px;
}

.chat-message.bot {
  white-space: pre-wrap;
}

.form-status.is-success {
  color: var(--accent-2);
  font-weight: 600;
}

/* Dark theme */
[data-theme="dark"] .chip-card {
  background: rgba(30, 34, 42, 0.6);
  border-color: rgba(64, 70, 80, 0.6);
  color: var(--ink);
}

[data-theme="dark"] .chip-card[aria-checked="true"] {
  background: var(--accent);
  color: #0b0f16;
  border-color: var(--accent);
}

[data-theme="dark"] .chip {
  background: rgba(30, 34, 42, 0.5);
  border-color: rgba(64, 70, 80, 0.6);
  color: var(--ink);
}

[data-theme="dark"] .chip[aria-checked="true"] {
  background: var(--accent);
  color: #0b0f16;
  border-color: var(--accent);
}

[data-theme="dark"] .wizard-progress-track {
  background: rgba(64, 70, 80, 0.5);
}

[data-theme="dark"] .step-num {
  background: rgba(64, 70, 80, 0.6);
  color: var(--muted);
}

[data-theme="dark"] .wizard-steps li.is-active .step-num {
  background: var(--accent);
  color: #0b0f16;
}

[data-theme="dark"] .wizard-summary {
  background: rgba(0, 229, 199, 0.06);
  border-color: rgba(0, 229, 199, 0.3);
}

@media (max-width: 560px) {
  .chip-grid {
    grid-template-columns: 1fr;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .wizard-steps li .step-label {
    display: none;
  }
  .wizard-nav .btn {
    flex: 1;
    min-width: 0;
  }
}

/* ────────────────────────────────────────────────────────────
   2026 VISUAL LAYER (marquee, aurora glow, scroll reveal)
   ──────────────────────────────────────────────────────────── */

/* Powered-by AI marquee */
.powered-marquee {
  position: relative;
  padding: 28px 0 20px;
  border-top: 1px solid var(--border);
  overflow: hidden;
  background:
    radial-gradient(1200px 200px at 50% 0%, rgba(0, 229, 199, 0.08), transparent 60%),
    color-mix(in srgb, var(--bg) 96%, transparent);
}
.powered-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 18px;
}
.powered-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #00e5c7);
  box-shadow: 0 0 0 0 rgba(0, 229, 199, 0.6);
  animation: pulse-dot 2.2s ease-out infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(0, 229, 199, 0.6); }
  70%  { box-shadow: 0 0 0 14px rgba(0, 229, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 199, 0); }
}
.marquee-track {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-row {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee-scroll 80s linear infinite;
}
.powered-marquee:hover .marquee-row { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.model-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card, rgba(18,22,30,0.8)) 80%, transparent);
  backdrop-filter: blur(8px);
  font-family: var(--font-display, "Sora", system-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--ink);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.model-pill:hover {
  border-color: var(--accent-2);
  transform: translateY(-2px);
}
.model-pill.has-logo { padding-left: 10px; }
.model-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  /* simpleicons are solid black; make them match current ink color */
  filter: var(--logo-filter, none);
}
[data-theme="dark"] .model-pill .model-logo {
  filter: invert(1);
}
.model-label { line-height: 1; }

/* — SoundCam own items: accent-tinted + saját badge — */
.model-pill--own {
  border-color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 8%, transparent);
}
.model-pill--own .model-label { font-weight: 600; }
.model-badge {
  font-family: var(--font-body, "Space Grotesk", system-ui);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-2);
  color: var(--bg);
  line-height: 1.2;
}

/* — Subtle category tint on left border — */
.model-pill--video      { box-shadow: inset 3px 0 0 0 #00e5c7; }
.model-pill--llm        { box-shadow: inset 3px 0 0 0 #9b6bff; }
.model-pill--image      { box-shadow: inset 3px 0 0 0 #ff6b9b; }
.model-pill--audio      { box-shadow: inset 3px 0 0 0 #ffb86b; }
.model-pill--avatar     { box-shadow: inset 3px 0 0 0 #6bc4ff; }
.model-pill--automation { box-shadow: inset 3px 0 0 0 #c7ff51; }
.model-pill--infra      { box-shadow: inset 3px 0 0 0 #7df06e; }

/* — OSS / open-source indicator — */
.model-oss {
  font-family: var(--font-body, "Space Grotesk", system-ui);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid currentColor;
  color: var(--accent-2);
  line-height: 1.2;
  opacity: 0.85;
}

/* Aurora ambient glow — subtle 2026-trendy background */
.aurora-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.55;
}
.aurora-layer::before,
.aurora-layer::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  mix-blend-mode: screen;
}
.aurora-layer::before {
  top: -20vw;
  left: -10vw;
  background: radial-gradient(circle, #00e5c7, transparent 60%);
  animation: aurora-1 22s ease-in-out infinite alternate;
}
.aurora-layer::after {
  bottom: -25vw;
  right: -15vw;
  background: radial-gradient(circle, #9b6bff, transparent 60%);
  animation: aurora-2 28s ease-in-out infinite alternate;
}
@keyframes aurora-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20vw, 10vh) scale(1.2); }
}
@keyframes aurora-2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-15vw, -10vh) scale(1.15); }
}
[data-theme="light"] .aurora-layer { opacity: 0.3; }

/* Scroll-driven reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-row { animation: none; }
  .aurora-layer::before, .aurora-layer::after { animation: none; }
  .powered-dot { animation: none; }
}

/* Cursor-following spotlight on hero (desktop only) */
@media (hover: hover) and (pointer: fine) {
  .hero {
    --mx: 50%;
    --my: 40%;
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(600px circle at var(--mx) var(--my), rgba(0, 229, 199, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
  }
  .hero:hover::after { opacity: 1; }
}

/* ────────────────────────────────────────────────────────────
   NEW SECTIONS (trust strip, work, team, pricing, faq, legal)
   ──────────────────────────────────────────────────────────── */

/* Trust strip */
.trust-strip {
  padding: 32px 6vw;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  position: relative;
  z-index: 1;
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.trust-num {
  font-family: var(--font-display, "Sora", system-ui);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  color: var(--accent-2, #00c2b2);
  letter-spacing: -0.02em;
}
.trust-label { font-size: 0.82rem; opacity: 0.72; line-height: 1.3; }
@media (max-width: 780px) {
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trust-item:nth-child(5) { grid-column: 1 / -1; }
}

/* Work / Case studies */
.work-section { padding-top: 80px; padding-bottom: 80px; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform 0.24s ease, border-color 0.24s ease;
}
.work-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
}
.work-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-2, #00c2b2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}
.work-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent, #00e5c7);
}
.work-card h3 { font-size: 1.15rem; margin: 0; line-height: 1.3; }
.work-card p { font-size: 0.93rem; opacity: 0.82; margin: 0; line-height: 1.55; }
.work-metrics {
  list-style: none;
  padding: 14px 0 0;
  margin: auto 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--border);
}
.work-metrics li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.work-metrics strong {
  font-family: var(--font-display, "Sora", system-ui);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-2, #00c2b2);
  line-height: 1.1;
}
.work-metrics span { font-size: 0.72rem; opacity: 0.7; line-height: 1.2; }
.work-footnote {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border);
  font-size: 0.85rem;
  opacity: 0.75;
  text-align: center;
}

/* TikTok live dashboard (channel chips + video gallery + lightbox) */
.tiktok-section { padding-top: 80px; padding-bottom: 80px; }
.tiktok-section .eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-strong, #7df06e);
  box-shadow: 0 0 0 0 rgba(125, 240, 110, 0.55);
  animation: pulse-dot 2.2s ease-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}

/* ─ Channel chips row ───────────────────────────────────── */
.tiktok-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 36px;
}
.tk-channel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.tk-channel:hover {
  transform: translateY(-2px);
  border-color: var(--accent, #c7ff51);
}
.tk-channel[data-active="true"] {
  border-color: var(--accent, #c7ff51);
  box-shadow: 0 0 0 1px var(--accent, #c7ff51), 0 10px 28px -16px rgba(199, 255, 81, 0.4);
}
.tk-channel[data-active="true"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(199, 255, 81, 0.08), transparent 60%);
  pointer-events: none;
}
.tk-channel-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tk-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent, #c7ff51), var(--accent-2, #00e5c7));
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.tk-channel-meta { min-width: 0; flex: 1; }
.tk-channel-name {
  font-size: 0.9rem;
  margin: 0 0 1px;
  font-family: var(--font-display, "Sora", system-ui);
  letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tk-channel-handle {
  font-size: 0.72rem;
  margin: 0;
  opacity: 0.7;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tk-channel-stats {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.tk-channel-stats li { display: flex; flex-direction: column; gap: 1px; }
.tk-channel-stats strong {
  font-family: var(--font-display, "Sora", system-ui);
  font-size: 1rem;
  color: var(--accent-2, #00c2b2);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.tk-channel-stats span {
  font-size: 0.62rem;
  opacity: 0.6;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

/* ─ Gallery ─────────────────────────────────────────────── */
.tk-gallery-head {
  margin: 40px 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.tk-gallery-title {
  font-family: var(--font-display, "Sora", system-ui);
  font-size: 1.3rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.tk-gallery-sub { margin: 0; font-size: 0.82rem; opacity: 0.65; }

.tk-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
@media (min-width: 900px) {
  .tk-gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
}

.tk-video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #0b0f16;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.28s ease,
              border-color 0.2s ease;
  isolation: isolate;
}
.tk-video-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: var(--accent, #c7ff51);
  box-shadow: 0 22px 48px -20px rgba(0, 0, 0, 0.6);
}
.tk-video-card img,
.tk-video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.6s ease;
}
.tk-video-card .tk-video-dynamic {
  opacity: 0;
}
.tk-video-card:hover .tk-video-dynamic,
.tk-video-card:focus-within .tk-video-dynamic,
.tk-video-card.is-playing .tk-video-dynamic {
  opacity: 1;
}
.tk-video-card:hover .tk-video-static,
.tk-video-card:focus-within .tk-video-static,
.tk-video-card.is-playing .tk-video-static {
  opacity: 0;
  transform: scale(1.04);
}
.tk-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.75) 100%);
  color: #fff;
  z-index: 2;
  pointer-events: none;
}
.tk-video-channel {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.92;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  padding: 4px 9px;
  border-radius: 999px;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.tk-video-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.tk-video-desc {
  font-size: 0.78rem;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  flex: 1;
}
.tk-video-plays {
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,0.45);
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  flex-shrink: 0;
}
.tk-video-plays::before {
  content: "▶";
  font-size: 0.6rem;
  color: var(--accent, #c7ff51);
}
.tk-video-play-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tk-video-play-icon::after {
  content: "";
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  clip-path: polygon(30% 20%, 80% 50%, 30% 80%);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tk-video-card:hover .tk-video-play-icon {
  opacity: 1;
}
.tk-video-card:hover .tk-video-play-icon::after {
  transform: scale(1);
}
.tk-video-card.is-skeleton {
  background: linear-gradient(90deg, var(--border) 0%, rgba(255,255,255,0.04) 50%, var(--border) 100%);
  background-size: 200% 100%;
  animation: tiktok-shimmer 1.4s ease-in-out infinite;
  cursor: default;
  pointer-events: none;
}
.tk-video-card.is-skeleton:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}

/* ─ Loading progress bar ────────────────────────────────── */
.tk-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, margin 0.4s ease;
  max-height: 60px;
  overflow: hidden;
}
.tk-progress[data-state="done"] {
  opacity: 0;
  transform: translateY(-4px);
  max-height: 0;
  margin: 0;
  pointer-events: none;
}
.tk-progress-bar {
  position: relative;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.tk-progress-bar > span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 35%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent, #c7ff51),
    transparent
  );
  border-radius: inherit;
  animation: tk-progress-slide 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform;
}
@keyframes tk-progress-slide {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(380%); }
}
.tk-progress-label {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  opacity: 0.6;
}
@media (prefers-reduced-motion: reduce) {
  .tk-progress-bar > span { animation: none; width: 100%; opacity: 0.4; }
  .tk-video-card.is-skeleton { animation: none; }
}

/* ─ Skeleton states for channel chips ───────────────────── */
.tk-channel.is-skeleton .tk-channel-stats strong,
.tk-channel.is-skeleton .tk-channel-name,
.tk-channel.is-skeleton .tk-channel-handle {
  color: transparent;
  background: linear-gradient(90deg, var(--border) 0%, rgba(255,255,255,0.06) 50%, var(--border) 100%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: tiktok-shimmer 1.4s ease-in-out infinite;
}
.tk-channel.is-skeleton .tk-avatar {
  background: var(--border);
  animation: tiktok-shimmer 1.4s ease-in-out infinite;
}
.tk-channel.is-error { opacity: 0.55; }
.tk-channel.is-error::after {
  content: attr(data-error);
  position: absolute;
  bottom: 6px; right: 10px;
  font-size: 0.6rem;
  opacity: 0.6;
  letter-spacing: 0.04em;
}

.tk-gallery-empty {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
  border: 1px dashed var(--border);
  border-radius: 14px;
}

.tiktok-footnote {
  margin-top: 22px;
  font-size: 0.78rem;
  opacity: 0.6;
  text-align: center;
}
@keyframes tiktok-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─ Lightbox ────────────────────────────────────────────── */
.tk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
  animation: tk-lightbox-in 0.28s ease forwards;
}
.tk-lightbox[hidden] { display: none !important; }
@keyframes tk-lightbox-in {
  to { opacity: 1; }
}
.tk-lightbox-close {
  position: absolute;
  top: 16px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.tk-lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}
.tk-lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
}
.tk-lightbox-frame {
  width: min(360px, calc(100vw - 40px));
  aspect-ratio: 9 / 16;
  max-height: calc(100vh - 120px);
  border-radius: 14px;
  overflow: hidden;
  background: #0b0f16;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
}
.tk-lightbox-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.tk-lightbox-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.18s ease;
}
.tk-lightbox-link:hover { background: rgba(255,255,255,0.2); }

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

@media (max-width: 600px) {
  .tiktok-section { padding-top: 48px; padding-bottom: 48px; }
  .tiktok-channels { gap: 10px; margin-top: 24px; }
  .tk-channel { padding: 12px; gap: 10px; }
  .tk-channel-stats strong { font-size: 0.92rem; }
  .tk-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .tk-video-desc { font-size: 0.7rem; }
  .tk-gallery-title { font-size: 1.1rem; }
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent, #00e5c7), #9b6bff);
  color: #0b0f16;
  font-family: var(--font-display, "Sora", system-ui);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}
.team-card h3 { font-size: 1rem; margin: 0 0 4px; }
.team-role { font-size: 0.82rem; color: var(--accent-2, #00c2b2); margin: 0 0 12px; font-weight: 500; }
.team-bio { font-size: 0.88rem; opacity: 0.78; line-height: 1.55; margin: 0; }

/* Pricing */
.pricing-section { padding-top: 80px; padding-bottom: 80px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.pricing-card.is-featured {
  border-color: var(--accent, #00e5c7);
  box-shadow: 0 18px 48px -24px rgba(0, 229, 199, 0.4);
  transform: translateY(-6px);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent, #00e5c7);
  color: #0b0f16;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing-card h3 {
  font-family: var(--font-display, "Sora", system-ui);
  font-size: 1.4rem;
  margin: 0;
}
.pricing-price { font-size: 1rem; opacity: 0.85; margin: 0; }
.pricing-price strong {
  font-family: var(--font-display, "Sora", system-ui);
  font-size: 1.8rem;
  color: var(--accent-2, #00c2b2);
  font-weight: 700;
  margin: 0 4px;
}
.pricing-tagline { font-size: 0.9rem; opacity: 0.78; margin: 0 0 8px; }
.pricing-list {
  list-style: none;
  padding: 16px 0 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}
.pricing-list li { position: relative; padding-left: 22px; line-height: 1.5; opacity: 0.88; }
.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent, #00e5c7);
  border-bottom: 2px solid var(--accent, #00e5c7);
  transform: rotate(-45deg);
}
.pricing-cta { margin-top: auto; text-align: center; }
.pricing-footnote {
  margin-top: 24px;
  font-size: 0.82rem;
  opacity: 0.68;
  text-align: center;
}

/* Showreel — Video Wall (mosaic, autorotating) */
.showreel-section { padding-top: 32px; padding-bottom: 64px; }

.vwall-stage {
  position: relative;
  margin: 32px auto 0;
  max-width: 1180px;
  width: 100%;
  align-self: center;
}

/* Mosaic grid: 4 cols × 3 rows = 12 cells. Big tile spans 2x2 → 9 tiles total.
   Using a fixed aspect-ratio on the grid keeps cells square at 1fr × 1fr. */
.vwall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.vwall-tile {
  position: relative;
  width: 100%;
  height: 100%;
  /* CSS Grid + <button> gotcha: buttons default to min-width/height: auto
     which equals min-content. That prevents 1fr cells from shrinking and
     can leave the tile at a degenerate size while images load. Force them
     to 0 so the grid layout dictates the size cleanly. */
  min-width: 0;
  min-height: 0;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  isolation: isolate;
}
.vwall-tile.is-large {
  grid-column: span 2;
  grid-row: span 2;
}
.vwall-tile-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, opacity 0.4s ease;
}
.vwall-tile-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0));
  color: #fff;
  font-family: var(--font-display, "Sora", system-ui);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
.vwall-tile.is-large .vwall-tile-overlay { font-size: 0.95rem; padding: 22px 18px 16px; }
.vwall-tile:hover .vwall-tile-thumb { transform: scale(1.06); }
.vwall-tile:hover .vwall-tile-overlay { opacity: 1; }
.vwall-tile:hover {
  box-shadow: 0 14px 36px -12px rgba(0,0,0,0.55);
  z-index: 2;
}
.vwall-tile-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.vwall-tile:hover .vwall-tile-play { opacity: 1; }
.vwall-tile-play svg {
  width: 38px;
  height: 38px;
  color: #fff;
  background: color-mix(in srgb, var(--accent) 80%, transparent);
  border-radius: 50%;
  padding: 9px 7px 9px 10px;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5));
}

/* Skeleton tiles (visible until JS populates the wall) */
.vwall-skel {
  border-radius: 14px;
  background: linear-gradient(110deg, color-mix(in srgb, var(--card) 92%, var(--accent) 8%), var(--card) 60%);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.vwall-skel:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.vwall-skel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--accent) 14%, transparent) 50%, transparent 70%);
  animation: vwall-shimmer 1.6s linear infinite;
}
@keyframes vwall-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Floating overlay layer holding the 3 active YT players.
   Tiles below capture clicks (pointer-events: none on the overlay). */
.vwall-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.vwall-active {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 75%, transparent);
  transition:
    transform 0.7s cubic-bezier(.4,0,.2,1),
    width 0.7s cubic-bezier(.4,0,.2,1),
    height 0.7s cubic-bezier(.4,0,.2,1),
    opacity 0.45s ease;
  will-change: transform, width, height;
}
.vwall-active.is-mounted { opacity: 1; }
.vwall-active iframe,
.vwall-active > div {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

/* Live indicator dot */
.vwall-active::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #00e5c7);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
  animation: vwall-pulse 1.6s ease-in-out infinite;
  z-index: 4;
}
@keyframes vwall-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* When a tile is "expanded" via click → lightbox is shown. The wall dims. */
.vwall-stage.is-paused .vwall-active { opacity: 0.18; }
.vwall-stage.is-paused .vwall-tile { opacity: 0.55; }

@media (max-width: 720px) {
  .vwall-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    aspect-ratio: 1 / 1;
    gap: 6px;
  }
  .vwall-tile.is-large { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 480px) {
  .vwall-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    aspect-ratio: 1 / 2;
  }
  .vwall-tile.is-large { grid-column: span 2; grid-row: span 2; }
}

.showreel-footnote {
  text-align: center;
  margin-top: 20px;
  font-size: 0.88rem;
}
.showreel-footnote a {
  color: var(--accent-2, #00c2b2);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-2) 40%, transparent);
  padding-bottom: 1px;
}
.showreel-footnote a:hover { color: var(--accent, #00e5c7); border-bottom-color: var(--accent, #00e5c7); }

/* YouTube lightbox */
.yt-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.85);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: yt-lightbox-in 0.2s ease;
}
.yt-lightbox[hidden] { display: none; }
@keyframes yt-lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.yt-lightbox-inner {
  width: min(1100px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.yt-lightbox-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.yt-lightbox-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.yt-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.5rem;
  line-height: 0;
  cursor: pointer;
  z-index: 1;
}
.yt-lightbox-close:hover { background: rgba(0, 0, 0, 0.85); border-color: #fff; }
.yt-lightbox-link {
  align-self: center;
  color: #fff;
  opacity: 0.75;
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
}
.yt-lightbox-link:hover { opacity: 1; border-bottom-color: #fff; }

/* ── Studio photo strip (auto-scrolling marquee) ─────────────── */
.studio-strip-section { padding-top: 32px; padding-bottom: 64px; overflow: hidden; }

.studio-strip-track-wrap {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.studio-strip-track {
  display: flex;
  gap: 12px;
  padding: 4px 0;
  width: max-content;
  animation: studio-marquee 42s linear infinite;
  will-change: transform;
}
.studio-strip-track:hover { animation-play-state: paused; }

@keyframes studio-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.studio-strip-img {
  height: 260px;
  width: auto;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.studio-strip-img:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 20px 48px -12px rgba(0,0,0,0.45);
  z-index: 2;
  position: relative;
}
@media (max-width: 720px) {
  .studio-strip-img { height: 180px; }
  .studio-strip-track { gap: 8px; animation-duration: 30s; }
}
@media (max-width: 480px) {
  .studio-strip-img { height: 130px; border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-strip-track { animation: none; }
}

/* ── Ventures (saját fejlesztéseink) ───────────────────────────── */
.ventures-section {
  padding-top: 56px;
  padding-bottom: 56px;
}
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 36px auto 0;
}
.venture-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--card, rgba(255,255,255,0.04));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  box-shadow: 0 14px 40px -18px rgba(0,0,0,0.5);
  overflow: hidden;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.venture-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.venture-holochron::before {
  background: radial-gradient(800px 320px at 0% 0%, color-mix(in srgb, var(--accent, #00e5c7) 22%, transparent), transparent 60%),
              radial-gradient(600px 260px at 100% 100%, color-mix(in srgb, #6b5cff 22%, transparent), transparent 60%);
}
.venture-scenaio::before {
  background: radial-gradient(800px 320px at 0% 0%, color-mix(in srgb, #ff6a8b 22%, transparent), transparent 60%),
              radial-gradient(600px 260px at 100% 100%, color-mix(in srgb, #ffb86b 22%, transparent), transparent 60%);
}
.venture-cognyra::before {
  background: radial-gradient(800px 320px at 0% 0%, color-mix(in srgb, #6bb6ff 22%, transparent), transparent 60%),
              radial-gradient(600px 260px at 100% 100%, color-mix(in srgb, #b46bff 22%, transparent), transparent 60%);
}
.venture-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 56px -20px rgba(0,0,0,0.6);
  border-color: color-mix(in srgb, var(--accent, #00e5c7) 35%, transparent);
}

.venture-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0,0,0,0.25);
  position: relative;
  z-index: 1;
}
.venture-card-media--logo {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(107,182,255,0.12), rgba(180,107,255,0.12));
  padding: 32px;
}
.venture-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.venture-media-img--contain {
  object-fit: contain;
  padding: 8px;
}
.venture-card:hover .venture-media-img { transform: scale(1.04); }

.venture-avatar-strip {
  display: flex;
  gap: 8px;
  padding: 12px 16px 0;
  overflow-x: auto;
  position: relative;
  z-index: 1;
  scrollbar-width: none;
}
.venture-avatar-strip::-webkit-scrollbar { display: none; }
.venture-avatar-strip img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,0.06);
  border: 2px solid color-mix(in srgb, var(--accent, #00e5c7) 35%, transparent);
  box-shadow: 0 4px 14px -4px rgba(0,0,0,0.45);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.venture-avatar-strip img:hover {
  transform: translateY(-3px) scale(1.08);
  border-color: var(--accent, #00e5c7);
}

.venture-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.venture-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.venture-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  padding: 4px;
}
.venture-title {
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.venture-holochron .venture-title {
  background: linear-gradient(120deg, var(--accent, #00e5c7), #6b5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.venture-scenaio .venture-title {
  background: linear-gradient(120deg, #ff6a8b, #ffb86b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.venture-cognyra .venture-title {
  background: linear-gradient(120deg, #6bb6ff, #b46bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.venture-tagline {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  opacity: 0.88;
}
.venture-features {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.venture-features li {
  position: relative;
  padding-left: 18px;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.78;
}
.venture-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.venture-cta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent, #00e5c7);
  text-decoration: none;
  letter-spacing: 0.01em;
  border-top: 1px solid var(--border, rgba(255,255,255,0.08));
}
.venture-cta:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .venture-card-media { aspect-ratio: 16 / 9; }
  .venture-title { font-size: 1.2rem; }
}

/* ── Legacy projects bubbles ───────────────────────────────────── */
.legacy-projects-section {
  padding-top: 48px;
  padding-bottom: 48px;
}
.legacy-bubbles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  max-width: 1040px;
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
}
.legacy-bubble {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--card, #fff);
  border: 1px solid var(--border, rgba(0,0,0,0.1));
  box-shadow: 0 6px 20px -10px rgba(0,0,0,0.2);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink, #111);
  cursor: default;
  pointer-events: none;
  user-select: none;
  /* Typewriter-style reveal: clip from left, fade in */
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: legacy-typein 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  animation-delay: var(--bubble-delay, 0s);
}
@keyframes legacy-typein {
  0%   { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(6px); }
  40%  { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(0); }
}
.legacy-bubbles .legacy-bubble:nth-child(1) { --bubble-delay: 0.05s; }
.legacy-bubbles .legacy-bubble:nth-child(2) { --bubble-delay: 0.25s; }
.legacy-bubbles .legacy-bubble:nth-child(3) { --bubble-delay: 0.45s; }
.legacy-bubbles .legacy-bubble:nth-child(4) { --bubble-delay: 0.65s; }
.legacy-bubbles .legacy-bubble:nth-child(5) { --bubble-delay: 0.85s; }
.legacy-bubbles .legacy-bubble:nth-child(6) { --bubble-delay: 1.05s; }
.legacy-bubbles .legacy-bubble:nth-child(7) { --bubble-delay: 1.25s; }
.legacy-bubbles .legacy-bubble:nth-child(8) { --bubble-delay: 1.45s; }
@media (prefers-reduced-motion: reduce) {
  .legacy-bubble { animation: none; opacity: 1; clip-path: none; }
}
.legacy-bubble.is-accent {
  color: var(--accent, #e63462);
  border-color: color-mix(in srgb, var(--accent, #e63462) 30%, transparent);
}
.legacy-bubble.is-accent .legacy-hash { opacity: 0.85; margin-right: 1px; }
.legacy-bubble.is-muted {
  opacity: 0.72;
  font-weight: 500;
  background: transparent;
  border-style: dashed;
}
.studio-archive-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1040px;
  margin: 28px auto 34px;
}
.studio-archive-stat {
  padding: 18px 16px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent, #e63462) 12%, transparent), transparent 55%),
    var(--card, #fff);
  border: 1px solid var(--border, rgba(0,0,0,0.1));
  box-shadow: 0 18px 40px -26px rgba(0,0,0,0.45);
  text-align: center;
}
.studio-archive-stat strong {
  display: block;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--accent, #e63462);
}
.studio-archive-stat span {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--muted, #666);
}
@media (max-width: 760px) {
  .studio-archive-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .legacy-bubble { font-size: 0.85rem; padding: 8px 14px; }
  .legacy-bubbles { gap: 10px; }
  .studio-archive-stats { grid-template-columns: 1fr; }
}

/* ── Team section: photo wrapper (bigger, prominent) ───────────── */
.team-card-img-wrap {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--card);
  border: 3px solid color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 12px 36px -10px rgba(0,0,0,0.4);
  margin: 0 auto 18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.team-card:hover .team-card-img-wrap {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 22px 48px -10px rgba(0,0,0,0.5);
  border-color: var(--accent, #00e5c7);
}
.team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Override old grid so cards don't stretch too wide; centre on large screens */
.team-section .team-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  justify-content: center;
}

@media (max-width: 480px) {
  .team-card-img-wrap { width: 170px; height: 170px; }
}

/* FAQ */
.faq-section { padding-top: 40px; padding-bottom: 48px; }
.faq-list {
  max-width: 1280px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 14px;
}
@media (max-width: 1100px) {
  .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 640px) {
  .faq-list { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
}
.faq-item {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--card) 92%, var(--accent) 8%), var(--card) 70%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 100% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%);
  opacity: 0.5;
  z-index: 0;
}
.faq-item > * { position: relative; z-index: 1; }
.faq-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--accent) 65%, var(--border));
  box-shadow: 0 18px 40px rgba(0, 229, 199, 0.1);
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display, "Sora", system-ui);
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 16px;
  color: var(--text);
  outline: none;
  line-height: 1.35;
  letter-spacing: -0.01em;
  flex: 1;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
  font-size: 1.1rem;
  line-height: 0;
  color: var(--accent-2, #00c2b2);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
  flex-shrink: 0;
  margin-top: 2px;
}
.faq-item summary:focus-visible {
  box-shadow: inset 0 0 0 2px var(--accent, #00e5c7);
  border-radius: 18px;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent, #00e5c7);
  color: #0b0f16;
}
.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  opacity: 0.85;
  line-height: 1.6;
  font-size: 0.9rem;
  max-width: 100%;
}
.faq-item a { color: var(--accent-2, #00c2b2); }

/* Footer legal links */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  font-size: 0.85rem;
}
.footer-legal a {
  color: inherit;
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-legal a:hover { opacity: 1; color: var(--accent-2, #00c2b2); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 100px;
  bottom: 16px;
  z-index: 100;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 22px;
  background: color-mix(in srgb, var(--bg, #0b0f16) 96%, transparent);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: 0.88rem; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-actions .btn { padding: 8px 18px; font-size: 0.85rem; }

/* ─────────────────────────────────────────────────────────────
   LEGAL PAGES (Impresszum, ÁSZF, Adatkezelés, Cookie)
   Modern 2026: panel cards, themed, accessible.
───────────────────────────────────────────────────────────── */
.legal-page {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body, "Space Grotesk", system-ui);
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
.legal-page::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 360px;
  background: radial-gradient(ellipse at center, var(--accent-2) 0%, transparent 60%);
  opacity: 0.08;
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}
[data-theme="dark"] .legal-page::before { opacity: 0.22; }
.legal-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.legal-topbar-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.legal-back:hover {
  border-color: var(--accent-2);
  transform: translateX(-2px);
  background: color-mix(in srgb, var(--accent-2) 10%, transparent);
}
.legal-theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.legal-theme-toggle:hover {
  border-color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 10%, transparent);
}
.legal-theme-toggle svg { width: 18px; height: 18px; }
.legal-theme-toggle .icon-moon { display: block; }
.legal-theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .legal-theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .legal-theme-toggle .icon-sun { display: block; }

.legal-header {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 24px 32px;
}
.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.legal-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
}
.legal-header h1 {
  font-family: var(--font-display, "Sora", system-ui);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 700;
}
.legal-lead {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 680px;
  margin: 0;
  line-height: 1.55;
}

.legal-main {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 24px 100px;
  display: grid;
  gap: 20px;
}
.legal-main section {
  padding: 28px 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: color-mix(in srgb, var(--card, rgba(255,255,255,0.7)) 70%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.legal-main section:hover {
  border-color: color-mix(in srgb, var(--accent-2) 40%, var(--border));
}
.legal-main h2 {
  font-family: var(--font-display, "Sora", system-ui);
  font-size: 1.2rem;
  margin: 0 0 16px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-main h2::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--accent-2);
}
.legal-main h3 {
  font-family: var(--font-display, "Sora", system-ui);
  font-size: 1rem;
  margin: 20px 0 8px;
  font-weight: 600;
}
.legal-main p, .legal-main li {
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.88;
}
.legal-main p { margin: 0 0 12px; }
.legal-main p:last-child { margin-bottom: 0; }
.legal-main ul, .legal-main ol { margin: 8px 0; padding-left: 20px; }
.legal-main li + li { margin-top: 6px; }
.legal-main a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-2) 40%, transparent);
  transition: border-color 0.2s;
}
.legal-main a:hover { border-bottom-color: var(--accent-2); }
.legal-main strong { font-weight: 600; }

.legal-dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0;
  margin: 0;
}
.legal-dl dt {
  font-weight: 500;
  opacity: 0.65;
  padding: 10px 20px 10px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  font-size: 0.88rem;
}
.legal-dl dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  font-size: 0.95rem;
}
.legal-dl > *:nth-last-child(-n+2) { border-bottom: none; }

.legal-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 8px 0; }
.legal-table th, .legal-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.legal-table thead th {
  font-weight: 600;
  opacity: 0.75;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--accent-2) 6%, transparent);
}
.legal-table code {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.legal-updated {
  margin: 8px 0 0;
  padding: 14px 20px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  font-size: 0.82rem;
  opacity: 0.72;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .legal-dl { grid-template-columns: 1fr; gap: 0; }
  .legal-dl dt { padding-bottom: 2px; border-bottom: none; opacity: 0.55; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
  .legal-dl dd { padding-top: 2px; padding-bottom: 14px; }
  .legal-main section { padding: 22px 20px; }
  .legal-header { padding: 40px 20px 24px; }
}

/* ────────────────────────────────────────────────────────────
   Floating AI agent FAB + greeting bubble
   ──────────────────────────────────────────────────────────── */
.ai-fab-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}
.ai-fab-wrap > * { pointer-events: auto; }

.ai-fab {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent, #00e5c7), var(--accent-2, #00c2b2));
  color: #0b0f16;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px rgba(0, 229, 199, 0.32), 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ai-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 18px 40px rgba(0, 229, 199, 0.4); }
.ai-fab:focus-visible { outline: 2px solid var(--accent-2, #00c2b2); outline-offset: 3px; }
.ai-fab-icon { width: 28px; height: 28px; transition: opacity 0.18s ease, transform 0.18s ease; }
.ai-fab-icon-close { position: absolute; opacity: 0; transform: rotate(-90deg) scale(0.6); }
.ai-fab[aria-expanded="true"] .ai-fab-icon-chat { opacity: 0; transform: rotate(90deg) scale(0.6); }
.ai-fab[aria-expanded="true"] .ai-fab-icon-close { opacity: 1; transform: rotate(0) scale(1); }
.ai-fab[aria-expanded="true"] .ai-fab-pulse { animation: none; opacity: 0; }

.ai-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent, #00e5c7);
  opacity: 0.5;
  animation: ai-fab-pulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes ai-fab-pulse {
  0% { transform: scale(1); opacity: 0.45; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-fab-pulse { animation: none; opacity: 0; }
}

.ai-fab-bubble {
  position: relative;
  max-width: 280px;
  padding: 16px 18px 14px;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  transform-origin: bottom right;
  animation: ai-fab-pop 0.34s cubic-bezier(0.2, 1.2, 0.4, 1);
}
.ai-fab-bubble[hidden] { display: none; }
.ai-fab-bubble::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: var(--card);
  border-right: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  transform: rotate(45deg);
}
@keyframes ai-fab-pop {
  0% { transform: translateY(8px) scale(0.85); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.ai-fab-bubble-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--text);
  opacity: 0.55;
  cursor: pointer;
  border-radius: 50%;
}
.ai-fab-bubble-close:hover { opacity: 1; background: rgba(0, 0, 0, 0.06); }
.ai-fab-bubble-title {
  margin: 0 0 4px;
  font-family: var(--font-display, "Sora", system-ui);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
}
.ai-fab-bubble-text {
  margin: 0 0 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.82;
  color: var(--text);
}
.ai-fab-bubble-cta {
  display: inline-block;
  padding: 7px 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent, #00e5c7), var(--accent-2, #00c2b2));
  color: #0b0f16;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease;
}
.ai-fab-bubble-cta:hover { transform: translateY(-1px); }

.ai-fab-panel {
  width: 360px;
  max-width: calc(100vw - 28px);
  height: 520px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 14px;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  transform-origin: bottom right;
  animation: ai-fab-pop 0.28s cubic-bezier(0.2, 1.2, 0.4, 1);
}
.ai-fab-panel[hidden] { display: none; }
.ai-fab-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.ai-fab-panel-head h3 {
  margin: 0;
  font-family: var(--font-display, "Sora", system-ui);
  font-size: 1.02rem;
  color: var(--text);
}
.ai-fab-panel-head p {
  margin: 2px 0 0;
  font-size: 0.78rem;
  opacity: 0.7;
  color: var(--text);
}
.ai-fab-panel-close {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text);
  opacity: 0.6;
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
}
.ai-fab-panel-close:hover { opacity: 1; background: rgba(0, 0, 0, 0.06); }
.ai-fab-panel .chat-window {
  flex: 1;
  min-height: 0;
  height: auto;
  margin: 0;
}
.ai-fab-panel .chat-chips { margin: 0; }
.ai-fab-panel .chat-input { margin: 0; }

@media (max-width: 480px) {
  .ai-fab-wrap { right: 14px; bottom: 14px; gap: 10px; }
  .ai-fab { width: 54px; height: 54px; }
  .ai-fab-icon { width: 24px; height: 24px; }
  .ai-fab-bubble { max-width: calc(100vw - 40px); }
  .ai-fab-panel { width: calc(100vw - 28px); height: calc(100vh - 100px); }
}
