/* Tiszamenti AI Konferencia — futurisztikus téma */

:root {
  --ai-bg: #020b1a;
  --ai-bg2: #061428;
  --ai-cyan: #22d3ee;
  --ai-cyan-bright: #67e8f9;
  --ai-violet: #7dd3fc;
  --ai-magenta: #38bdf8;
  --ai-text: #f1f5f9;
  --ai-muted: #94a3b8;
  --ai-glass: rgba(8, 25, 48, 0.72);
  --ai-border: rgba(34, 211, 238, 0.28);
  --ai-glow: rgba(34, 211, 238, 0.45);
}

body.ai-conference-page {
  background: var(--ai-bg);
  color: var(--ai-text);
  min-height: 100vh;
}

body.ai-conference-page .site-header {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ai-border);
}

body.ai-conference-page .nav a,
body.ai-conference-page .nav-dropdown-trigger {
  color: var(--ai-text);
}

body.ai-conference-page .nav a:hover,
body.ai-conference-page .nav a.active,
body.ai-conference-page .nav-dropdown-trigger:hover,
body.ai-conference-page .nav-dropdown-trigger[aria-expanded='true'] {
  background: rgba(34, 211, 238, 0.12);
  color: var(--ai-cyan-bright);
}

body.ai-conference-page .nav-dropdown-menu {
  background: rgba(3, 13, 31, 0.96);
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(34, 211, 238, 0.08);
  backdrop-filter: blur(14px);
}

body.ai-conference-page .nav-dropdown-menu a {
  color: #e2e8f0;
}

body.ai-conference-page .nav-dropdown-menu a:hover,
body.ai-conference-page .nav-dropdown-menu a.active {
  background: rgba(34, 211, 238, 0.14);
  color: var(--ai-cyan-bright);
}

body.ai-conference-page .menu-toggle {
  color: var(--ai-text);
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
}

body.ai-conference-page .brand span {
  color: var(--ai-text);
}

/* ── Betöltőkijelző ── */
.ai-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.ai-loader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.ai-loader-hex {
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0l28 16v32l-28 16L0 48V16z' fill='none' stroke='rgba(34,211,238,0.07)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  animation: aiHexPan 24s linear infinite;
  opacity: 0.6;
}

@keyframes aiHexPan {
  from { transform: translate(0, 0); }
  to { transform: translate(56px, 100px); }
}

.ai-loader-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.ai-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ai-loader-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: aiGridDrift 12s linear infinite;
  mask-image: radial-gradient(ellipse at center, black 15%, transparent 70%);
  transform: perspective(400px) rotateX(72deg) scale(1.4);
  transform-origin: center 80%;
}

@keyframes aiGridDrift {
  from { background-position: 0 0; }
  to { background-position: 0 40px; }
}

.ai-loader-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(34, 211, 238, 0.12) 48%, rgba(167, 139, 250, 0.08) 52%, transparent 100%);
  background-size: 100% 40%;
  animation: aiScan 2s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes aiScan {
  0%, 100% { transform: translateY(-120%); }
  50% { transform: translateY(120%); }
}

.ai-loader-core {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
  z-index: 2;
  max-width: 520px;
}

.ai-loader-ring-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.75rem;
}

.ai-loader-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--ai-cyan);
  border-right-color: var(--ai-violet);
  animation: aiSpin 1.4s linear infinite;
  box-shadow:
    0 0 50px rgba(34, 211, 238, 0.4),
    inset 0 0 40px rgba(167, 139, 250, 0.12);
}

.ai-loader-orbit-inner {
  inset: 14px;
  border-top-color: var(--ai-magenta);
  border-right-color: var(--ai-cyan);
  animation: aiSpin 0.9s linear infinite reverse;
  box-shadow: 0 0 30px rgba(232, 121, 249, 0.25);
}

.ai-loader-core-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: var(--ai-cyan);
  border-radius: 50%;
  box-shadow: 0 0 24px var(--ai-cyan), 0 0 48px var(--ai-violet);
  animation: aiPulse 1.5s ease-in-out infinite;
}

@keyframes aiPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.75; }
}

@keyframes aiSpin {
  to { transform: rotate(360deg); }
}

.ai-loader-year {
  font-family: 'Orbitron', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.45em;
  color: var(--ai-cyan);
  margin: 0 0 0.5rem;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.6);
}

.ai-loader-title {
  font-family: 'Orbitron', 'Outfit', sans-serif;
  font-size: clamp(1.15rem, 4.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  margin: 0;
  text-transform: none;
  background: linear-gradient(135deg, #fff 0%, var(--ai-cyan) 40%, var(--ai-violet) 70%, var(--ai-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.35));
  animation: aiTitleGlow 2.5s ease-in-out infinite;
}

@keyframes aiTitleGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.3)); }
  50% { filter: drop-shadow(0 0 32px rgba(167, 139, 250, 0.5)); }
}

.ai-loader-org {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--ai-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.ai-loader-terminal {
  margin: 1.25rem auto 0;
  padding: 0.65rem 1rem;
  max-width: 320px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.65rem;
  color: rgba(34, 211, 238, 0.85);
  text-align: left;
  line-height: 1.6;
  box-shadow: inset 0 0 20px rgba(34, 211, 238, 0.05);
}

.ai-loader-terminal span {
  display: block;
}

.ai-loader-terminal-blink {
  animation: aiBlink 1s step-end infinite;
}

@keyframes aiBlink {
  50% { opacity: 0; }
}

.ai-loader-bar-wrap {
  width: min(300px, 82vw);
  height: 4px;
  margin: 1.25rem auto 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.15);
}

.ai-loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ai-cyan), var(--ai-violet), var(--ai-magenta));
  border-radius: 99px;
  transition: width 0.15s ease;
  box-shadow: 0 0 16px var(--ai-cyan);
}

.ai-loader-pct {
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  color: var(--ai-cyan);
  letter-spacing: 0.2em;
  margin: 0;
}

.ai-main {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s ease 0.2s, transform 0.9s ease 0.2s;
}

.ai-main.is-visible {
  opacity: 1;
  transform: none;
}

.ai-prose {
  color: var(--ai-muted);
  line-height: 1.75;
  font-size: 1rem;
}

.ai-prose strong {
  color: var(--ai-text);
}

.ai-timeline {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  border-left: 2px solid var(--ai-border);
  padding-left: 1.25rem;
}

.ai-timeline li {
  position: relative;
  padding-bottom: 1rem;
  color: var(--ai-muted);
  font-size: 0.9rem;
}

.ai-timeline li::before {
  content: '';
  position: absolute;
  left: -1.45rem;
  top: 0.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ai-cyan);
  box-shadow: 0 0 8px var(--ai-cyan);
}

.ai-timeline strong {
  color: var(--ai-cyan-bright);
  font-weight: 700;
}

/* ── Hero – plakátstílus ── */
.ai-hero-poster {
  position: relative;
  text-align: left;
  padding: 3.5rem 1.5rem 3rem;
  overflow: hidden;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
}

.ai-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 88% 42%, rgba(34, 211, 238, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 12% 70%, rgba(14, 116, 144, 0.18) 0%, transparent 50%),
    linear-gradient(160deg, #020b1a 0%, #041428 45%, #020a18 100%);
  z-index: 0;
}

.ai-hero-neural {
  position: absolute;
  right: -8%;
  top: 8%;
  width: min(52vw, 520px);
  height: min(70vh, 640px);
  background:
    radial-gradient(circle at 50% 45%, rgba(34, 211, 238, 0.2) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500'%3E%3Cg fill='none' stroke='%2322d3ee' stroke-width='1' opacity='0.35'%3E%3Ccircle cx='200' cy='200' r='110'/%3E%3Ccircle cx='200' cy='200' r='70'/%3E%3Cpath d='M200 70c40 50 70 90 70 130s-30 80-70 130c-40-50-70-90-70-130s30-80 70-130z'/%3E%3Cpath d='M110 160c30-20 60-30 90-30s60 10 90 30M110 240c30 20 60 30 90 30s60-10 90-30'/%3E%3C/g%3E%3Ccircle cx='200' cy='200' r='4' fill='%2367e8f9'/%3E%3Ccircle cx='150' cy='160' r='2.5' fill='%2322d3ee'/%3E%3Ccircle cx='260' cy='150' r='2.5' fill='%2322d3ee'/%3E%3Ccircle cx='140' cy='250' r='2' fill='%2322d3ee'/%3E%3Ccircle cx='270' cy='245' r='2' fill='%2322d3ee'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 40px rgba(34, 211, 238, 0.25));
}

.ai-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.ai-hero-brand-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.ai-hero-oz-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.35);
}

.ai-hero-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.ai-hero-brand-text strong {
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}

.ai-hero-brand-text span {
  font-size: 0.8rem;
  color: var(--ai-muted);
}

.ai-hero-pill {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  border: 1px solid var(--ai-border);
  color: var(--ai-cyan);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: none;
  background: rgba(34, 211, 238, 0.06);
}

.ai-hero-title {
  font-family: 'Orbitron', 'Outfit', sans-serif;
  font-weight: 800;
  margin: 0 0 1.25rem;
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.ai-hero-title-line {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 7vw, 3.6rem);
  text-shadow: 0 0 40px rgba(34, 211, 238, 0.25);
}

.ai-hero-ai {
  color: var(--ai-cyan-bright);
  text-shadow: 0 0 28px var(--ai-glow), 0 0 60px rgba(34, 211, 238, 0.4);
}

.ai-hero-lead {
  max-width: 580px;
  margin: 0 0 1.75rem;
  color: var(--ai-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ai-hero-meta-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 0 0 1.25rem;
  justify-content: stretch;
}

.ai-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--ai-border);
  background: rgba(2, 11, 26, 0.55);
  font-size: 0.9rem;
  color: var(--ai-text);
  line-height: 1.4;
}

.ai-meta-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--ai-cyan);
}

.ai-meta-icon svg {
  width: 100%;
  height: 100%;
}

.ai-hero-free {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6ee7b7;
  letter-spacing: 0.03em;
}

.ai-cta-btn {
  display: inline-block;
  padding: 0.95rem 1.75rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
  color: #020b1a !important;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ai-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(34, 211, 238, 0.5);
}

.ai-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.35rem;
}

.ai-cta-btn-secondary {
  background: transparent;
  color: var(--ai-cyan-bright) !important;
  border: 1px solid rgba(34, 211, 238, 0.55);
  box-shadow: none;
}

.ai-cta-btn-secondary:hover {
  background: rgba(34, 211, 238, 0.12);
  box-shadow: none;
}

/* ── Plakát layout: program + highlight ── */
.ai-poster-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}

.ai-panel {
  padding: 1.5rem 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--ai-border);
  background: linear-gradient(160deg, rgba(8, 30, 55, 0.9) 0%, rgba(4, 16, 32, 0.85) 100%);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ai-panel-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Orbitron', 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: var(--ai-cyan);
  margin: 0 0 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-panel-icon {
  width: 22px;
  height: 22px;
  color: var(--ai-cyan);
}

.ai-panel-icon svg {
  width: 100%;
  height: 100%;
}

.ai-panel .ai-timeline {
  margin: 0;
}

.ai-panel .ai-timeline li {
  padding-bottom: 0.75rem;
  font-size: 0.88rem;
}

.ai-panel .ai-timeline li:last-child {
  padding-bottom: 0;
}

.ai-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ai-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ai-text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ai-feature-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--ai-cyan);
}

.ai-feature-icon svg {
  width: 100%;
  height: 100%;
}

.ai-panel .ai-info-box {
  margin: 0;
  border-color: var(--ai-border);
  background: rgba(34, 211, 238, 0.06);
}

.ai-panel .ai-info-box h3 {
  color: var(--ai-cyan);
}

.ai-prose-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.ai-poster-preview {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ai-border);
  background: transparent;
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.12);
  text-decoration: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(34, 211, 238, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  touch-action: manipulation;
}

.ai-poster-preview:hover,
.ai-poster-preview:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 48px rgba(34, 211, 238, 0.28);
  outline: none;
}

.ai-poster-preview:active {
  transform: scale(0.99);
}

.ai-poster-preview img,
button.ai-poster-preview.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: none;
}

button.ai-poster-preview.gallery-item:hover img {
  transform: none;
}

.ai-poster-preview-hint {
  display: block;
  padding: 0.8rem 1rem;
  background: rgba(2, 11, 26, 0.92);
  border-top: 1px solid rgba(34, 211, 238, 0.28);
  color: var(--ai-cyan-bright);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .ai-poster-grid,
  .ai-prose-wrap {
    grid-template-columns: 1fr;
  }

  .ai-hero-poster {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .ai-hero-neural {
    opacity: 0.35;
    width: 70vw;
    right: -20%;
  }
}

body.ai-conference-page .lightbox img {
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.ai-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}

/* ── Fellépők (összecsukható) ── */
.ai-speakers-section {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}

.ai-speakers-heading {
  max-width: 760px;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.ai-speakers-eyebrow,
.ai-speaker-role,
.ai-speaker-label {
  margin: 0 0 0.45rem;
  color: var(--ai-cyan-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ai-speakers-heading h2 {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  color: #fff;
}

.ai-speakers-heading > p:last-child {
  margin: 0.65rem 0 0;
  color: var(--ai-muted);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.ai-speakers-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.ai-speaker {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(34, 211, 238, 0.12), transparent 42%),
    rgba(3, 13, 31, 0.92);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.ai-speaker::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
}

.ai-speaker-summary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 28px;
  gap: 0.9rem 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.ai-speaker-summary::-webkit-details-marker {
  display: none;
}

.ai-speaker-summary:hover {
  background: rgba(34, 211, 238, 0.04);
}

.ai-speaker-summary:focus-visible {
  outline: 2px solid var(--ai-cyan);
  outline-offset: -2px;
}

.ai-speaker-thumb {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.28);
  flex-shrink: 0;
}

.ai-speaker-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-speaker-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.ai-speaker-role {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.ai-speaker-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.05rem, 2.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.ai-speaker-tagline {
  color: var(--ai-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.ai-speaker-toggle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
  position: relative;
  transition: transform 0.25s ease, background 0.2s ease;
}

.ai-speaker-toggle::before,
.ai-speaker-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--ai-cyan-bright);
  transform: translate(-50%, -50%);
}

.ai-speaker-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.ai-speaker[open] .ai-speaker-toggle {
  background: rgba(34, 211, 238, 0.18);
}

.ai-speaker[open] .ai-speaker-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
  opacity: 0;
}

.ai-speaker-body {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(34, 211, 238, 0.18);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
}

.ai-speaker-visual {
  padding: 1.15rem;
}

.ai-speaker-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(103, 232, 249, 0.28);
  border-radius: 14px;
}

.ai-speaker-content {
  border-left: 1px solid rgba(34, 211, 238, 0.16);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ai-speaker-copy {
  padding: 1.35rem 1.5rem;
}

.ai-speaker-copy + .ai-speaker-copy {
  border-top: 1px solid rgba(34, 211, 238, 0.16);
}

.ai-speaker-copy h3 {
  margin: 0 0 0.85rem;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.3;
  color: #fff;
}

.ai-speaker-copy p {
  margin: 0 0 0.85rem;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.7;
}

.ai-speaker-copy p:last-child {
  margin-bottom: 0;
}

.ai-speaker-talk {
  background: rgba(34, 211, 238, 0.035);
}

.ai-speaker-talk h3 {
  color: var(--ai-cyan-bright);
}

.ai-speaker-label {
  color: var(--ai-muted) !important;
  line-height: 1.3 !important;
  margin-bottom: 0.35rem !important;
}

.ai-speaker-actions {
  margin-top: auto;
  padding: 0 1.5rem 1.4rem;
}

.ai-speaker-cta {
  display: block;
  padding: 0.85rem 1rem;
  border: 1px solid var(--ai-cyan);
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--ai-cyan-bright);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ai-speaker-cta:hover,
.ai-speaker-cta:focus-visible {
  background: var(--ai-cyan);
  color: #020b1a;
  outline: none;
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .ai-speaker-body {
    grid-template-columns: 1fr;
  }

  .ai-speaker-content {
    border-left: none;
    border-top: 1px solid rgba(34, 211, 238, 0.16);
  }

  .ai-speaker-visual {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 0.25rem;
  }
}

@media (max-width: 560px) {
  .ai-speakers-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .ai-speaker {
    border-radius: 14px;
  }

  .ai-speaker-summary {
    grid-template-columns: 56px minmax(0, 1fr) 24px;
    gap: 0.7rem;
    padding: 0.75rem;
  }

  .ai-speaker-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
  }

  .ai-speaker-tagline {
    font-size: 0.8rem;
  }

  .ai-speaker-toggle {
    width: 24px;
    height: 24px;
  }

  .ai-speaker-visual {
    padding: 0.85rem 0.85rem 0.15rem;
  }

  .ai-speaker-copy,
  .ai-speaker-actions {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .ai-speaker-copy {
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
  }

  .ai-speaker-copy p {
    font-size: 0.88rem;
    line-height: 1.65;
  }
}

/* ── Űrlap ── */
.ai-form-wrap {
  max-width: 520px;
  margin: 2rem auto 4rem;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--ai-border);
  background: var(--ai-glass);
  backdrop-filter: blur(16px);
  box-shadow:
    0 0 60px rgba(34, 211, 238, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ai-form-wrap h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.ai-capacity-banner {
  text-align: center;
  margin: -0.5rem 0 1.25rem;
  padding: 1.25rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.12), rgba(34, 211, 238, 0.04));
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.12);
}

.ai-capacity-banner.is-full {
  border-color: rgba(248, 113, 113, 0.5);
  background: linear-gradient(180deg, rgba(248, 113, 113, 0.12), rgba(248, 113, 113, 0.04));
  box-shadow: none;
}

.ai-capacity-banner.is-lottery {
  border-color: rgba(251, 191, 36, 0.55);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.14), rgba(251, 191, 36, 0.04));
}

.ai-capacity-banner.is-waitlist {
  border-color: rgba(167, 139, 250, 0.55);
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.14), rgba(167, 139, 250, 0.04));
}

.ai-capacity-reg {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ai-cyan-bright);
}

.ai-capacity-urgency {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.15rem, 4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.35);
}

.ai-capacity-detail {
  margin: 0.65rem 0 0;
  color: var(--ai-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.ai-capacity-banner.is-full .ai-capacity-urgency {
  color: #fca5a5;
  text-shadow: none;
}

.ai-capacity-banner.is-lottery .ai-capacity-urgency {
  color: #fde68a;
  text-shadow: none;
}

.ai-capacity-banner.is-waitlist .ai-capacity-urgency {
  color: #ddd6fe;
  text-shadow: none;
}

.ai-reg-highlights {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
}

.ai-reg-card {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(2, 11, 26, 0.45);
}

.ai-reg-card-label {
  margin: 0 0 0.35rem;
  color: var(--ai-cyan-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ai-reg-card h3 {
  margin: 0 0 0.45rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.98rem;
  line-height: 1.3;
  color: #fff;
}

.ai-reg-card p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.86rem;
  line-height: 1.55;
}

.ai-reg-steps {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ai-reg-steps li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(34, 211, 238, 0.04);
}

.ai-reg-steps strong {
  color: var(--ai-cyan-bright);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.ai-reg-steps span {
  color: #cbd5e1;
  font-size: 0.86rem;
  line-height: 1.5;
}

.ai-hero-spots {
  margin: 0.75rem 0 0;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.95rem, 2.8vw, 1.15rem);
  font-weight: 600;
  color: var(--ai-cyan-bright);
  letter-spacing: 0.02em;
}

.ai-hero-spots.is-full {
  color: #c4b5fd;
}

.ai-hero-spots.is-lottery {
  color: #fde68a;
}

.ai-reg-required {
  color: var(--ai-cyan-bright);
  letter-spacing: 0.02em;
}

.ai-form-wrap.is-closed {
  opacity: 0.92;
}

.ai-form-wrap.is-closed form {
  pointer-events: none;
  opacity: 0.45;
  filter: grayscale(0.2);
}

.ai-form-wrap .form-sub {
  text-align: center;
  color: var(--ai-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.ai-form-wrap label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ai-text);
}

.ai-form-wrap input[type="text"],
.ai-form-wrap input[type="email"],
.ai-form-wrap input[type="tel"],
.ai-form-wrap select,
.ai-form-wrap textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(3, 7, 18, 0.6);
  color: var(--ai-text);
  font-family: inherit;
  font-size: 1rem;
}

.ai-form-wrap select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #67e8f9 50%),
    linear-gradient(135deg, #67e8f9 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1.1rem), calc(100% - 12px) calc(1.1rem);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.ai-form-wrap textarea {
  resize: vertical;
  min-height: 6rem;
  line-height: 1.5;
}

.ai-form-wrap input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ai-form-wrap input:focus,
.ai-form-wrap select:focus,
.ai-form-wrap textarea:focus {
  outline: none;
  border-color: var(--ai-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.ai-press-switch {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: rgba(56, 189, 248, 0.08);
  color: var(--ai-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

.ai-press-switch strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #e0f2fe;
  font-size: 0.98rem;
}

.ai-press-switch a {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--ai-cyan-bright);
  font-weight: 700;
  text-decoration: none;
}

.ai-press-switch a:hover {
  text-decoration: underline;
}

.ai-press-wrap {
  margin-top: 2.5rem;
}

.ai-press-banner {
  border-color: rgba(125, 211, 252, 0.45);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.12), rgba(56, 189, 248, 0.04));
}

.ai-press-note {
  margin-top: -0.5rem !important;
}

.ai-press-needs {
  border: none;
  padding: 0;
  margin: 1rem 0 0;
}

.ai-press-needs legend {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ai-text);
}

.ai-press-needs-hint {
  margin: 0 0 0.65rem;
  color: var(--ai-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.ai-press-needs .ai-private-check {
  margin-top: 0.5rem;
}

.ai-private-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(3, 7, 18, 0.35);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ai-text);
}

.ai-private-check:has(input:checked) {
  border-color: var(--ai-cyan);
  background: rgba(34, 211, 238, 0.08);
}

.ai-private-check input {
  margin-top: 0.2rem;
  accent-color: var(--ai-cyan);
  flex-shrink: 0;
}

.ai-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.ai-radio-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  cursor: pointer;
  font-weight: 400;
  transition: border-color 0.2s, background 0.2s;
}

.ai-radio-group label:has(input:checked) {
  border-color: var(--ai-cyan);
  background: rgba(34, 211, 238, 0.08);
}

.ai-radio-group input {
  margin-top: 0.2rem;
  accent-color: var(--ai-cyan);
}

.ai-form-wrap .btn-primary {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.9rem;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  background: linear-gradient(135deg, var(--ai-cyan), #0891b2);
  color: #030712;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ai-form-wrap .btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.35);
}

.ai-form-wrap .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ai-form-wrap .form-feedback {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

body.ai-conference-page .site-footer {
  background: var(--ai-bg2);
  border-top: 1px solid var(--ai-border);
  color: var(--ai-muted);
}

body.ai-conference-page .site-footer h4 {
  color: var(--ai-text);
}

@media (max-width: 640px) {
  .ai-form-wrap {
    padding: 1.25rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
}
