/* AB Székhely 2.0 – Statikus produkciós stíluslap (Tailwind CSS + Egyedi "Lélegző" Konvergencia Animáció) */
:root {
  --bg-primary: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.86);
  --bg-glass-strong: rgba(255, 255, 255, 0.94);
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-subtle: #475569;
  --blue-primary: #0284c7;
  --blue-deep: #1e3a8a;
  --indigo-accent: #4f46e5;
  --cyan-glow: #0ea5e9;
  --border-light: rgba(148, 163, 184, 0.28);
  --focus-ring: #0284c7;
  --cycle-duration: 16s;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(circle at 15% 15%, #e0f2fe 0%, #f8fafc 45%, #eef2ff 100%);
}

/* Skip link for keyboard accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--blue-deep);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--cyan-glow);
  outline-offset: 2px;
}

/* Visible Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 0.375rem;
}

/* Ambient Background Canvas (16s slow breathing cycle) */
.ambient-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(65px);
  opacity: 0.42;
  will-change: transform, opacity;
}

.ambient-orb--szekhely {
  width: min(52vw, 540px);
  height: min(52vw, 540px);
  top: 6%;
  left: 8%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.45) 0%, rgba(2, 132, 199, 0.08) 70%);
  animation: ambientBreathLeft var(--cycle-duration) ease-in-out infinite;
}

.ambient-orb--konyveles {
  width: min(50vw, 520px);
  height: min(50vw, 520px);
  top: 14%;
  right: 8%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.38) 0%, rgba(30, 58, 138, 0.06) 70%);
  animation: ambientBreathRight var(--cycle-duration) ease-in-out infinite;
}

@keyframes ambientBreathLeft {
  0%, 100% { transform: translate3d(-4%, -2%, 0) scale(0.96); opacity: 0.36; }
  50% { transform: translate3d(8%, 4%, 0) scale(1.06); opacity: 0.52; }
}

@keyframes ambientBreathRight {
  0%, 100% { transform: translate3d(4%, 3%, 0) scale(0.96); opacity: 0.34; }
  50% { transform: translate3d(-8%, -3%, 0) scale(1.06); opacity: 0.50; }
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-mark {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #0284c7 0%, #1e3a8a 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  box-shadow: 0 8px 20px -6px rgba(2, 132, 199, 0.45);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.6rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover {
  color: var(--blue-deep);
  background: rgba(2, 132, 199, 0.08);
}

.nav-link[aria-current="page"] {
  color: var(--blue-deep);
  background: rgba(2, 132, 199, 0.13);
  font-weight: 700;
}

/* Emphasized Service Links in Top Menu */
.nav-link--highlight {
  font-weight: 800;
  color: #0c4a6e;
  border: 1px solid rgba(2, 132, 199, 0.25);
  background: rgba(224, 242, 254, 0.55);
}

.nav-link--highlight:hover {
  background: rgba(186, 230, 253, 0.75);
  border-color: rgba(2, 132, 199, 0.45);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.motion-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.motion-toggle-btn:hover {
  border-color: var(--blue-primary);
  color: var(--blue-deep);
  background: #f0f9ff;
}

.motion-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #10b981;
}

body.motion-paused .motion-dot {
  background: #64748b;
}

.mobile-menu-btn {
  display: none;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 2.75rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: center;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(2, 132, 199, 0.3);
  color: #0c4a6e;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.badge--price {
  background: linear-gradient(135deg, #0284c7 0%, #1e3a8a 100%);
  color: #ffffff;
  border-color: transparent;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 1.1rem;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #0284c7 0%, #1e3a8a 60%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 62ch;
}

/* 4 Key Pillars Immediately Visible on First Screen */
.key-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.pillar-card {
  background: var(--bg-glass-strong);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.9rem;
  padding: 0.95rem 1.1rem;
  box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.06);
}

.pillar-card--accent {
  border-color: rgba(2, 132, 199, 0.5);
  background: linear-gradient(180deg, rgba(240, 249, 255, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.pillar-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
}

.pillar-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.pillar-value--price {
  font-size: 1.35rem;
  color: #0369a1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 1.4rem;
  border-radius: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #1e3a8a 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px -6px rgba(2, 132, 199, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -6px rgba(2, 132, 199, 0.55);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border-color: #cbd5e1;
}

.btn-secondary:hover {
  border-color: var(--blue-primary);
  color: var(--blue-deep);
  background: #f8fafc;
}

/* MEANINGFUL CONVERGENCE VISUALIZER (16s Breathing Cycle) */
.convergence-stage {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 22px 45px -15px rgba(15, 23, 42, 0.1);
  position: relative;
  overflow: hidden;
}

.convergence-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-subtle);
}

.convergence-canvas {
  position: relative;
  height: 290px;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 55%, #eef2ff 100%);
  border: 1px solid rgba(186, 230, 253, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Grid lines for subtle architectural / future feel */
.convergence-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(2, 132, 199, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 132, 199, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Shape 1: Székhelyszolgáltatás (Left Orbiting Sphere/Hex) */
.node-shape {
  position: absolute;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
  will-change: transform;
}

.node-shape--szekhely {
  background: radial-gradient(circle at 30% 30%, rgba(224, 242, 254, 0.95), rgba(14, 165, 233, 0.22));
  border: 2px solid rgba(2, 132, 199, 0.65);
  box-shadow: 0 12px 30px -6px rgba(2, 132, 199, 0.28);
  color: #0c4a6e;
  z-index: 2;
  animation: orbitSzekhely var(--cycle-duration) ease-in-out infinite;
}

/* Shape 2: Könyvelés (Right Orbiting Sphere/Hex) */
.node-shape--konyveles {
  background: radial-gradient(circle at 70% 30%, rgba(224, 231, 255, 0.95), rgba(79, 70, 229, 0.22));
  border: 2px solid rgba(67, 56, 202, 0.65);
  box-shadow: 0 12px 30px -6px rgba(67, 56, 202, 0.28);
  color: #1e1b4b;
  z-index: 2;
  animation: orbitKonyveles var(--cycle-duration) ease-in-out infinite;
}

.node-title {
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.node-meta {
  font-size: 0.74rem;
  font-weight: 700;
  opacity: 0.9;
}

/* Center Overlap Badge ("Együtt is") that emerges when the two shapes meet */
.node-overlap-badge {
  position: relative;
  z-index: 4;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 0.65rem 1.1rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.45), 0 0 0 4px rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
  animation: emergeEgyutt var(--cycle-duration) ease-in-out infinite;
}

.node-overlap-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: #bae6fd;
  margin-top: 0.1rem;
}

/* Halo ring when meeting */
.convergence-halo {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 2px dashed rgba(2, 132, 199, 0.45);
  z-index: 1;
  animation: haloPulse var(--cycle-duration) ease-in-out infinite;
}

@keyframes orbitSzekhely {
  0%, 100% { transform: translateX(-82px) translateY(-6px) scale(0.97); }
  38%, 62% { transform: translateX(-28px) translateY(0px) scale(1.03); }
}

@keyframes orbitKonyveles {
  0%, 100% { transform: translateX(82px) translateY(6px) scale(0.97); }
  38%, 62% { transform: translateX(28px) translateY(0px) scale(1.03); }
}

@keyframes emergeEgyutt {
  0%, 22%, 78%, 100% {
    opacity: 0.18;
    transform: scale(0.86) translateY(8px);
  }
  40%, 60% {
    opacity: 1;
    transform: scale(1.05) translateY(0px);
  }
}

@keyframes haloPulse {
  0%, 25%, 75%, 100% {
    opacity: 0.15;
    transform: scale(0.85);
  }
  42%, 58% {
    opacity: 0.75;
    transform: scale(1.08);
  }
}

.convergence-caption {
  margin-top: 0.9rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Pause & Reduced Motion Support */
body.motion-paused .ambient-orb,
body.motion-paused .node-shape--szekhely,
body.motion-paused .node-shape--konyveles,
body.motion-paused .node-overlap-badge,
body.motion-paused .convergence-halo {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ambient-orb,
  .node-shape--szekhely,
  .node-shape--konyveles,
  .node-overlap-badge,
  .convergence-halo {
    animation: none !important;
  }
  .node-shape--szekhely {
    transform: translateX(-42px);
  }
  .node-shape--konyveles {
    transform: translateX(42px);
  }
  .node-overlap-badge {
    opacity: 1;
    transform: scale(1);
  }
}

/* Section Styling */
.section {
  padding: 4rem 0;
}

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

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* 3-State Interactive Selector (Strictly User-Controlled) */
.selector-shell {
  background: var(--bg-glass-strong);
  border: 1px solid rgba(2, 132, 199, 0.3);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.08);
}

.selector-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: #f1f5f9;
  padding: 0.5rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.selector-tab {
  appearance: none;
  border: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-align: center;
}

.selector-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.6);
}

.selector-tab[aria-selected="true"] {
  background: #ffffff;
  color: var(--blue-deep);
  border-color: var(--blue-primary);
  box-shadow: 0 8px 20px -6px rgba(2, 132, 199, 0.25);
}

.selector-tab-sub {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.selector-tab[aria-selected="true"] .selector-tab-sub {
  color: var(--blue-primary);
}

.selector-panel {
  display: none;
  animation: fadeInPanel 0.25s ease-out;
}

.selector-panel.is-active {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

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

.panel-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0369a1;
  background: #e0f2fe;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.panel-title {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.panel-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.check-icon {
  color: #0284c7;
  font-weight: 900;
  flex-shrink: 0;
}

.panel-price-card {
  background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 100%);
  border: 1px solid rgba(2, 132, 199, 0.3);
  border-radius: 1.1rem;
  padding: 1.5rem;
}

.price-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
}

.price-big {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--blue-deep);
  margin: 0.35rem 0;
}

.price-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Feature Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 12px 30px -12px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 1rem;
}

/* Inquiry / Quote Request Form (Honest Serverless Implementation) */
.form-card {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.35);
  border-radius: 1.5rem;
  padding: 2.25rem;
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.08);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--text-main);
  background: #f8fafc;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue-primary);
  background: #ffffff;
}

.selected-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e0f2fe;
  color: #0c4a6e;
  border: 1px solid #7dd3fc;
  padding: 0.5rem 1rem;
  border-radius: 0.65rem;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.form-feedback {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: 0.9rem;
  background: #f0f9ff;
  border: 1px solid #7dd3fc;
  color: #0c4a6e;
  display: none;
}

.form-feedback.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #0f172a;
  color: #e2e8f0;
  padding: 3.5rem 0 5.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Sticky Mobile Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid #cbd5e1;
  padding: 0.6rem 0.75rem;
  box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.08);
}

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

.mobile-bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.6rem 0.4rem;
  border-radius: 0.55rem;
  font-weight: 800;
  font-size: 0.8rem;
  text-decoration: none;
  background: #f1f5f9;
  color: var(--text-main);
}

.mobile-bar-btn--primary {
  background: var(--blue-primary);
  color: #ffffff;
}

/* Responsive Breakpoints (Zero Horizontal Overflow Guaranteed) */
@media (max-width: 960px) {
  .hero-grid,
  .selector-panel.is-active,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
  }
  .main-nav.is-open {
    display: flex;
  }
  .key-pillars,
  .selector-tabs,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .node-shape {
    width: 126px;
    height: 126px;
    padding: 0.6rem;
  }
  @keyframes orbitSzekhely {
    0%, 100% { transform: translateX(-54px) translateY(-4px) scale(0.95); }
    38%, 62% { transform: translateX(-18px) translateY(0px) scale(1.02); }
  }
  @keyframes orbitKonyveles {
    0%, 100% { transform: translateX(54px) translateY(4px) scale(0.95); }
    38%, 62% { transform: translateX(18px) translateY(0px) scale(1.02); }
  }
  .mobile-sticky-bar {
    display: block;
  }
}
