/* FixPoint Tech — fő stíluslap (index.html)
 * Szekciók: tokenek → reset → burkoló → nav → hero → panel/chip → stat → szolgáltatások → helyszín → kapcsolat → animáció → reszponzív
 */

/* --- Design tokenek (:root) --- */
:root {
  --ink: #06101f;
  --panel: rgba(5, 24, 48, 0.78);
  --line: rgba(32, 214, 255, 0.28);
  --neon: #20d6ff;
  --neon-soft: #70edff;
  --text: #ecfbff;
  --muted: #9ec7d5;
}

/* --- Reset, dokumentum, linkek --- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}

/* --- Oldal burkoló + háttér rács --- */
.site-shell {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding: 24px clamp(18px, 4vw, 64px) 52px;
  background:
    radial-gradient(
      circle at 82% 8%,
      rgba(32, 214, 255, 0.24),
      transparent 30%
    ),
    radial-gradient(circle at 8% 18%, rgba(11, 92, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #041021 0%, #061a32 46%, #020711 100%);
}
.circuit-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(90deg, rgba(32, 214, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(32, 214, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(112, 237, 255, 0.42) 1.5px, transparent 2px);
  background-size:
    74px 74px,
    74px 74px,
    148px 148px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 75%, transparent 100%);
}

/* --- Közös: fő szekciók szélessége --- */
.topbar,
.hero-section,
.stats-row,
.services-section,
.location-section,
.contact-section {
  width: min(1180px, 100%);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* --- Navigáció (topbar, brand, linkek, nyelvváltó) --- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(3, 15, 31, 0.72);
  box-shadow: 0 0 34px rgba(32, 214, 255, 0.13);
  backdrop-filter: blur(18px);
}
.brand,
.nav-links,
.eyebrow,
.hero-actions,
.stats-row,
.contact-section {
  display: flex;
  align-items: center;
}
.brand {
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #00101a;
  background: linear-gradient(135deg, var(--neon), #fff);
  box-shadow: 0 0 24px rgba(32, 214, 255, 0.72);
  font-family: "Rajdhani", sans-serif;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-links {
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  transition:
    transform 0.18s ease,
    color 0.18s ease,
    background-color 0.18s ease;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(32, 214, 255, 0.12);
  transform: translateY(-2px);
}
.language-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(112, 237, 255, 0.36);
  border-radius: 999px;
  color: var(--text);
  background: rgba(32, 214, 255, 0.08);
  font:
    700 13px "Space Grotesk",
    sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: inset 0 0 14px rgba(32, 214, 255, 0.09);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}
.language-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(112, 237, 255, 0.72);
  background: rgba(32, 214, 255, 0.14);
  box-shadow: 0 10px 26px rgba(32, 214, 255, 0.16);
}

/* --- Hero: szöveg, címsorok, CTA --- */
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 104px);
  padding: 72px 0 46px;
}
.hero-copy {
  animation: riseIn 0.7s ease both;
}
.eyebrow {
  gap: 8px;
  margin: 0 0 18px;
  color: var(--neon-soft);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.hero-lead,
.location-copy p,
.contact-section p,
.service-card p {
  color: var(--muted);
  line-height: 1.7;
}
.hero-lead {
  max-width: 640px;
  margin-bottom: 34px;
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
}
.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
}
.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.primary-cta {
  color: #00101a;
  background: linear-gradient(135deg, var(--neon), #e8fbff);
  box-shadow: 0 0 30px rgba(32, 214, 255, 0.42);
}
.secondary-cta {
  border: 1px solid var(--line);
  background: rgba(7, 30, 59, 0.6);
  color: var(--text);
}
.primary-cta:hover,
.secondary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(32, 214, 255, 0.22);
}

/* --- Hero jobb: áramköri panel, chip kártya, pulse pontok --- */
.hero-panel {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      transparent 48%,
      rgba(32, 214, 255, 0.28) 49%,
      rgba(32, 214, 255, 0.28) 51%,
      transparent 52%
    ),
    linear-gradient(
      0deg,
      transparent 48%,
      rgba(32, 214, 255, 0.18) 49%,
      rgba(32, 214, 255, 0.18) 51%,
      transparent 52%
    ),
    radial-gradient(
      circle at 50% 44%,
      rgba(32, 214, 255, 0.34),
      transparent 35%
    ),
    rgba(4, 18, 36, 0.76);
  background-size:
    120px 120px,
    120px 120px,
    auto,
    auto;
  box-shadow:
    inset 0 0 80px rgba(32, 214, 255, 0.1),
    0 0 54px rgba(11, 92, 255, 0.16);
  animation: riseIn 0.8s 0.16s ease both;
}
.chip-card {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(330px, calc(100% - 44px));
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(112, 237, 255, 0.52);
  border-radius: 28px;
  padding: 30px;
  display: grid;
  align-content: space-between;
  background: linear-gradient(
    145deg,
    rgba(0, 25, 46, 0.98),
    rgba(2, 61, 94, 0.82)
  );
  box-shadow:
    0 0 44px rgba(32, 214, 255, 0.48),
    inset 0 0 38px rgba(32, 214, 255, 0.12);
}
.chip-label {
  font-family: "Rajdhani", sans-serif;
  color: var(--neon-soft);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.chip-tile {
  aspect-ratio: 1.4;
  border: 1px solid rgba(32, 214, 255, 0.44);
  border-radius: 12px;
  background: rgba(32, 214, 255, 0.08);
  display: grid;
  place-items: center;
  padding: 8px;
  position: relative;
  overflow: hidden;
}
.chip-tile svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--neon-soft);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(32, 214, 255, 0.45));
}
.chip-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pulse-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 22px 8px rgba(32, 214, 255, 0.38);
  animation: pulse 1.8s ease-in-out infinite;
}
.node-one {
  top: 18%;
  left: 18%;
}
.node-two {
  top: 76%;
  right: 22%;
  animation-delay: 0.42s;
}
.node-three {
  top: 24%;
  right: 16%;
  animation-delay: 0.8s;
}

/* --- Előnyök / stat sor --- */
.stats-row {
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 88px;
}
.stat-chip {
  flex: 1 1 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(5, 24, 48, 0.66);
  backdrop-filter: blur(16px);
}
.stat-chip strong {
  display: block;
  margin-bottom: 5px;
  color: var(--neon-soft);
  font-size: 24px;
}
.stat-chip span {
  color: var(--muted);
}

/* --- Szekciók alsó margó (szolgáltatás, helyszín, kapcsolat) --- */
.services-section,
.location-section,
.contact-section {
  margin-bottom: 92px;
}

/* --- Szolgáltatások: címsor + kártyarács --- */
.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}
.section-heading span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--neon-soft);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(
    145deg,
    rgba(5, 24, 48, 0.86),
    rgba(4, 15, 30, 0.76)
  );
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.19s ease,
    border-color 0.19s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(112, 237, 255, 0.72);
}
.service-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--neon-soft);
  background: rgba(32, 214, 255, 0.1);
  box-shadow: inset 0 0 18px rgba(32, 214, 255, 0.16);
}
.service-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

/* --- Helyszín: szöveg + térkép kártya --- */
.location-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: stretch;
}
.location-copy,
.map-card,
.contact-section {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(5, 24, 48, 0.72);
  backdrop-filter: blur(18px);
}
.location-copy {
  padding: clamp(26px, 4vw, 46px);
}
.map-card {
  overflow: hidden;
  min-height: 360px;
}
.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: saturate(1.05) contrast(1.02);
}

/* --- Kapcsolat: részletek, messenger, CTA --- */
.contact-section {
  justify-content: space-between;
  gap: 24px;
  padding: clamp(26px, 4vw, 44px);
}
.contact-section > div {
  max-width: 710px;
}
.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.contact-line,
.messenger-row {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(32, 214, 255, 0.07);
}
.contact-line {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}
.contact-line:hover,
.messenger-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(112, 237, 255, 0.72);
}
.contact-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-line strong {
  color: var(--text);
  font-size: 17px;
}
.messenger-row {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
}
.messenger-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.messenger-badge.viber {
  background: linear-gradient(
    135deg,
    rgba(115, 96, 242, 0.28),
    rgba(32, 214, 255, 0.08)
  );
}
.messenger-badge.whatsapp {
  background: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.22),
    rgba(32, 214, 255, 0.08)
  );
}
.messenger-logo {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #00101a;
  background: var(--neon-soft);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(32, 214, 255, 0.35);
}
.contact-cta {
  flex: 0 0 auto;
}

/* --- Animációk --- */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.45);
    opacity: 1;
  }
}

/* --- Reszponzív: tablet --- */
@media (max-width: 920px) {
  .topbar {
    align-items: flex-start;
    border-radius: 28px;
    flex-direction: column;
  }
  .nav-links {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .nav-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .hero-section,
  .location-section {
    grid-template-columns: 1fr;
  }
  .hero-section {
    min-height: auto;
    padding-top: 56px;
  }
  .hero-panel {
    min-height: 440px;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-details {
    grid-template-columns: 1fr;
  }
}

/* --- Reszponzív: mobil --- */
@media (max-width: 620px) {
  .site-shell {
    padding-inline: 14px;
  }
  .brand {
    font-size: 14px;
  }
  .nav-links a {
    padding-inline: 10px;
  }
  .language-toggle {
    min-height: 38px;
    padding-inline: 12px;
  }
  h1 {
    font-size: clamp(2.7rem, 18vw, 4.3rem);
  }
  .primary-cta,
  .secondary-cta,
  .contact-cta {
    width: 100%;
  }
  .hero-panel {
    min-height: 340px;
  }
  .chip-card {
    padding: 22px;
  }
  .chip-label {
    font-size: 22px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}
