/* ---------------------------
   Base / Reset
--------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
html, body{
  overflow-x: hidden;
}

:root {
  --bg: #000000 url('images/graphy-dark2.png') repeat top left;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.09);
  --stroke: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.90);
  --muted: rgba(255, 255, 255, 0.65);
  --muted-2: rgba(255, 255, 255, 0.52);
  --accent: #5b8aff;
  --accent-2: #00ffc8;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --mantis-overlap: 180px;
  --header-h: 76px;
}

body {
 padding-top: var(--header-h, 105px);
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(91, 138, 255, 0.20), transparent 55%),
              radial-gradient(900px 600px at 80% 0%, rgba(0, 255, 200, 0.10), transparent 50%),
              var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
@font-face {
  font-family: "Rocket Wildness";
  src: url("fonts/RocketWildness.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Orbitron";
  src: url("./fonts/Orbitron-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* =========================
   Perf helpers (safe defaults)
   ========================= */
.section{ scroll-margin-top: calc(var(--header-h, 105px) + 16px); }
#services,
#industries,
#about,
#contact,
#challenges {
  scroll-margin-top: 110px;
}
@supports (content-visibility: auto){
  .section{
    content-visibility: auto;
    contain-intrinsic-size: 900px;
  }
}
@media (prefers-reduced-motion: reduce){
  *{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------
   Layout
--------------------------- */
.container {
  width: clamp(320px, 92vw, 1600px);
  margin-inline: auto;
  padding-inline: 16px;
}

@media (max-width: 1200px) {
  .container {
    width: 100%;
    padding-inline: 16px; /* vagy 20px/24px ízlés szerint */
    box-sizing: border-box;
  }
}
/* ---------------------------
   Typography helpers
--------------------------- */
h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

h1 {
  
  font-size: clamp(42px, 5.2778vw, 76px);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1rem, 1vw, 2rem);
  letter-spacing: 0.07em;
  font-family: "Michroma", sans-serif;
  padding-top: 2rem;
  text-transform: uppercase;
  line-height: 2;
}
h3 {
  font-size: clamp(24px, 1.4vw, 30px);
  letter-spacing: 0.04em;
  font-family: "Heebo", sans-serif;
}
.h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.h3 { font-size: 1.15rem; }

.lead {
  color: var(--muted);
  font-size: 1.5rem;
  max-width: 62ch;
  margin: 0.85rem 0 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.1rem;
}

.lead-sm {
  color: var(--muted);
  margin: 0.8rem 0 1rem;
  max-width: 75ch;
  padding-bottom: 5rem;
  font-size: clamp(1rem, 1.2vw, 1.9rem); 
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  text-transform: uppercase;
}

.lead-anchor{
  position: relative;
  overflow: visible;
}

.muted { color: var(--muted-2); }

.fineprint {
  color: var(--muted-2);
  font-size: 0.92rem;
  margin: 0.85rem 0 0;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.70);
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}
p {
  color: #b0b3b8;
  line-height: 1.6;
   font-family: "Heebo", sans-serif;
  font-size: clamp(1rem, 1vw, 2.2rem);

}
/* ---------------------------
   Header / Nav
--------------------------- */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(7,10,18,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(91, 138, 255, 0.95), rgba(0, 255, 200, 0.75));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(7, 10, 18, 0.95);
}

.brand-text {
  font-size: 1.05rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.5rem;
  padding-left: 0.9rem;
  border-left: 1px solid rgba(255, 255, 255, 0.10);
}

.lang-link {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.lang-link.is-active {
  color: var(--text);
}

.lang-sep {
  color: rgba(255, 255, 255, 0.22);
}

/* Mobile nav toggle (CSS-only) */
.nav-toggle {
  display: none;
}
.nav-toggle-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle-btn span {
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.75);
  display: block;
}
/* =========================
   Mobile menu (phone)
   CSS-only drawer using your .nav-toggle checkbox
   ========================= */


/* Hamburger látszódjon telefonon */
@media (max-width: 520px){
  .nav-toggle-btn{
    display: inline-flex;
  }

  /* Language blokk alul */
  .lang{
    margin-top: 0.4rem;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;

    padding-top: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.10);
  }

  /* Nyitás checkbox-szal */
  .nav-toggle:checked ~ .nav{
    transform: translateX(0%) translateZ(0);
    pointer-events: auto;
  }

  /* Optional: hamburger "active" vizuál */
  .nav-toggle:checked + .nav-toggle-btn{
    border-color: rgba(0,255,200,0.24);
  }

  /* Kényelmi: kattintható felület nagyobb legyen */
  .nav-toggle-btn{
    width: 46px;
    height: 46px;
  }
}

/* Tablet/desktop: maradjon az eredeti vízszintes nav */
@media (min-width: 521px){
  .nav{
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    transform: none;
    pointer-events: auto;
    display: flex;
    box-shadow: none;
    border: 0;
    background: transparent;
  }
  .nav-toggle-btn{ display: none; }
}

/* ---------------------------
   Buttons / Small UI
--------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(135deg, rgba(91, 138, 255, 0.95), rgba(0, 255, 200, 0.55));
  color: rgba(7, 10, 18, 0.95);
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: var(--shadow);
  text-decoration: none;

  /* perf: ne animáljunk filtert */
  transition: transform 140ms ease;
  transform: translateZ(0);
  will-change: transform;
}

.btn:hover {
  /* vizuál ugyanaz: picit “fényesebb” érzet — transformmal gyors */
  transform: translateY(-1px) translateZ(0);
  text-decoration: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: none;
}

.btn-small {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
}

.link {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.pill {
  display: inline-flex;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
}



/* ---------------------------
   Sections / Layout
--------------------------- */
.section {
  padding: 2rem 0;
}

.section-head {
  margin-bottom: 1.6rem;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
  margin: 2.2rem 0;
}

/* ---------------------------
   Hero
--------------------------- */
.hero-container {
  width: clamp(400px, 80vw, 1600px);
  margin-inline: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.cta-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.3rem;
  flex-wrap: wrap;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 0.9rem 0.9rem;
}

.badge-k {
  display: block;
  font-weight: 700;
  letter-spacing: 0.1px;
}
.badge-v {
  display: block;
  color: var(--muted);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  margin-top: 0.7rem;
}

.hero{
  padding-top: clamp(0px, 20vw, 120px);
  padding-right: 80px;
  padding-bottom: clamp(0px, 1vw, 20px);
  padding-left: 80px;
}

.hero-card{ position:relative; }

/* CARD */
.herocard{
  position:relative;
  background:linear-gradient(180deg,rgba(15,20,35,.65),rgba(10,14,26,.55));
  border:1px solid rgba(229, 241, 238, 0.41);
  border-radius:18px;
  box-shadow:0 30px 60px rgba(0,0,0,.55);

  backdrop-filter:blur(10px);
  -webkit-backdrop-filter: blur(10px);

  padding:
    clamp(24px,3vw,36px)
    calc(clamp(240px, 24vw, 400px) + 24px)
    clamp(24px,3vw,36px)
    clamp(24px,3vw,36px);

  overflow:visible;
}

.herocard::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),transparent 40%);
  pointer-events:none;
}

/* MANTIS CUTOUT */
.mantis{
  position:absolute;
  top:50%;
  right:8vw;

  transform: translate(38%, -50%) translateZ(0);
  width: clamp(260px, 80vw, 800px);
  height: clamp(360px, 70vw, 800px);

  z-index:3;
  pointer-events:none;

  perspective: 1100px;

  will-change: transform;
  backface-visibility: hidden;
}

/* Image */
.mantis__img{
  position:relative;
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;

  /* marad – de fix, nem animáljuk */
  filter:
    drop-shadow(0 45px 70px rgba(0,0,0,.60))
    drop-shadow(0 10px 22px rgba(0,0,0,.35));
}

/* TEXT */
.eyebrow{
  margin:0 0 30px;
  font-size:clamp(14px,1vw,20px);
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(185,255,239,.85);
  
}

.title{
  font-family: "Rocket Wildness", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  margin:0 0 30px;
  font-size:clamp(30px,5.6vw,76px);
  line-height:1.05;
}

.lead{
  margin: 0px 150px 40px 0px;
  max-width:58ch;
  color:var(--muted);
  line-height:1.6;
}

.meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 22px;
}
.meta span {
  max-width: 220px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.chip{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.12);
  color:rgba(231,238,252,.78);
}

/* SECTION 2 (az eredetiben duplán szerepelt .section padding; itt nem írjuk felül) */
.section__inner{ display:grid; gap:14px; }
.section__title{
  margin:0;
  font-size:clamp(20px,2.1vw,28px);
}
.card--text{
  padding:24px;
  color:var(--muted);
  line-height:1.65;
}

/* RESPONSIVE: on smaller screens, stack mantis BELOW the card content */
@media (max-width: 1550px){
  .card{
    padding: 28px;
  }

/* MANTIS CUTOUT */
.mantis{
  position:absolute;
  bottom:0%;
  right:9vw;
top:70%;
  transform: translate(38%, -50%) translateZ(0);
  width: clamp(260px, 80vw, 700px);
  height: clamp(360px, 70vw, 700px);

  z-index:3;
  pointer-events:none;

  perspective: 1100px;

  will-change: transform;
  backface-visibility: hidden;
}

/* Image */
.mantis__img{
  position:relative;
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;

  /* marad – de fix, nem animáljuk */
  filter:
    drop-shadow(0 45px 70px rgba(0,0,0,.60))
    drop-shadow(0 10px 22px rgba(0,0,0,.35));
}
}

/* Mantis animáció: csak transform (GPU) */
.mantis{
  animation: mantis-float 7s ease-in-out infinite;
}
@keyframes mantis-float{
  0%{   transform: translate(38%, -40%) translateY(0) translateZ(0); }
  50%{  transform: translate(38%, -40%) translateY(-30px) translateZ(0); }
  100%{ transform: translate(38%, -40%) translateY(0) translateZ(0); }
}

.panel-glow {
  position: absolute;
  inset: -80px;
  background: conic-gradient(from 180deg, rgba(91, 138, 255, 0.35), rgba(0, 255, 200, 0.20), rgba(91, 138, 255, 0.25));
  filter: blur(38px);
  opacity: 0.45;
}

.panel-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 30% 30%, #000 10%, transparent 70%);
  opacity: 0.55;
}

.panel-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 1.1rem;
  border-radius: 16px;
  background: rgba(7, 10, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  contain: paint;
}

.panel-title { margin: 0; font-weight: 800; }
.panel-sub { margin: 0.25rem 0 0.9rem; color: var(--muted); }
@media (max-width: 920px){
     .hero{
    padding-top: clamp(0px, 20vw, 120px);
  padding-inline: clamp(16px, 5vw, 80px);
  padding-bottom: clamp(0px, 1vw, 20px);
  }


  .herocard{
	  position: relative;
    padding: 24px 20px 20px;
    min-height: auto;
    overflow: visible;
  }

  .mantis{
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: min(420px, 88vw);
    height: auto;
    margin: -40px auto 12px;
    perspective: none;
  margin-top: -120px;
    transform: translateY(0);
    animation: mantis-float-mobile 7s ease-in-out infinite;
  }

  .heroimg{
    width: 100%;
    height: auto;
    display: block;
    transform: none;
  }
}

@keyframes mantis-float-mobile{
  0%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-14px);
  }
  100%{
    transform: translateY(0);
  }
}
}

/* Mantis animáció: csak transform (GPU) */
.mantis{
  animation: mantis-float 7s ease-in-out infinite;
}
@keyframes mantis-float{
  0%{   transform: translate(38%, -40%) translateY(0) translateZ(0); }
  50%{  transform: translate(38%, -40%) translateY(-30px) translateZ(0); }
  100%{ transform: translate(38%, -40%) translateY(0) translateZ(0); }
}

.panel-glow {
  position: absolute;
  inset: -80px;
  background: conic-gradient(from 180deg, rgba(91, 138, 255, 0.35), rgba(0, 255, 200, 0.20), rgba(91, 138, 255, 0.25));
  filter: blur(38px);
  opacity: 0.45;
}

.panel-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 30% 30%, #000 10%, transparent 70%);
  opacity: 0.55;
}

.panel-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 1.1rem;
  border-radius: 16px;
  background: rgba(7, 10, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  contain: paint;
}

.panel-title { margin: 0; font-weight: 800; }
.panel-sub { margin: 0.25rem 0 0.9rem; color: var(--muted); }

/* ---------------------------
   Cards / Grids
--------------------------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(91, 203, 216, 0.53);
  border-radius: var(--radius);
  padding: 1.8rem;
  backdrop-filter: blur(0.9px);
  -webkit-backdrop-filter: blur(0.9px);
  contain: paint;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 900;
}

.callout {
  margin-top: 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(91, 203, 216, 0.35);

  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 0 0 1px rgba(91, 203, 216, 0.35),
    0 20px 60px rgba(0, 255, 200, 0.11),
    inset 0 0 30px rgba(255, 255, 255, 0.18);

  position: relative;
  contain: paint;
}

.callout::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top center, rgba(91, 203, 216, 0.40), transparent 70%);
  pointer-events: none;
}

.callout-copy p {
  margin: 0.2rem 0;
  color: var(--muted);
  max-width: 90ch;
  padding: 2%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  contain: paint;
}



.tag {
  margin: 0.35rem 0 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

/* ---------------------------
   Challenges
--------------------------- */
#challenges .container{ position: relative; }
#challenges .challenges-layout{ padding-left: clamp(340px, 28vw, 480px); }

.challenges-cards{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.challenge-card{
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(91, 203, 216, 0.53);
  border-radius: var(--radius);
  padding: 1.2rem;
  padding-top: 5rem;
  backdrop-filter: blur(0.9px);
  -webkit-backdrop-filter: blur(0.9px);
  contain: paint;
}

.challenge-card h3::before {
  content: "▣";
  margin-right: 0.5rem;
  color: #00ffd1;
}
.challenge-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #ffffff;
   min-width: 0;
}
.challenge-card 

/* itt nálad sem animálódott, marad */
.challenge-card:hover {
  transform: none;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 200, 0.06);
  border-color: #1a1d22;
}

#challenges .info-panel{
  position: absolute !important;
  top: clamp(180px, -40vw, 220px);
  width: clamp(320px, 26vw, 420px);
  max-width: none;
  z-index: 5;
}

.panel{
  position: relative;
  display: block;
  border-right: clamp(10px, 4vw, 50px) solid transparent;
  border-image: url("images/info.svg") 1 fill stretch;
  height: 60%;
  padding: 44px;
}

.panel .text{
  position: relative;
  color: #111;
  line-height: 1.2;
  padding-top: 100px;
}

/* ---------------------------
   Services
--------------------------- */
.neo-grid{
  display: grid;
  row-gap: 12rem;
  column-gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top:120px;
}


@media (max-width: 620px){
  .neo-grid{ grid-template-columns: 1fr; }
}

.neo-card{
  position: relative;
  border-radius: 22px;
  padding: 150px 22px 18px;
  min-height: 260px;

  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 18px 55px rgba(0,0,0,0.55),
    0 0 0 1px rgba(91,203,216,0.10) inset;

  overflow: visible;
}

.neo-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  background:
    radial-gradient(600px 220px at 30% 0%, rgba(91,203,216,0.18), transparent 55%),
    radial-gradient(420px 200px at 85% 15%, rgba(91,203,216,0.10), transparent 60%);
  pointer-events:none;
}

.neo-card::after{
  content:"";
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,203,216,0.45), transparent);
  opacity: 0.6;
  pointer-events:none;
}

/* Kiskép blokk */
.neo-thumb{
  position: absolute;
  top: -7rem;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  width: clamp(4rem, 25vw, 15rem);
   height: clamp(4rem, 25vw, 15rem);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 30, 40, 0.9);
  border: 2px solid rgba(91,203,216,0.6);
  box-shadow:
    0 0 0 6px rgba(91,203,216,0.12),
    0 12px 28px rgba(0,0,0,0.55),
    inset 0 0 18px rgba(91,203,216,0.25);
  contain: paint;
}

.neo-thumb img{
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.neo-title{
  margin: 6px 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.01em;
}

.neo-text{
  margin: 0;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  font-size: 0.95rem;
}

#services #all{
  width: 100%;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  padding-top: 2rem;
  padding-bottom: 2rem;
  box-shadow: 0 18px 55px rgba(0,0,0,0.40);
  contain: paint;
}

/* list grid */
#services #all > ul{
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

#services #all li{ margin: 0; }
#services #all > ul > li.svc-item{
  height: 100%;
  display: flex;              /* hogy a belső link stretch-elhető legyen */
}
#services #all a{
  --glow: rgba(0,255,200,0.18);
  --glow2: rgba(91,138,255,0.14);

  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  column-gap: 12px;

  padding: 14px 14px;
  border-radius: 16px;
  text-align: left;

  color: rgba(235,255,250,0.88);
  text-decoration: none;

  background: linear-gradient(180deg, rgba(25,35,44,0.62), rgba(12,18,24,0.55));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 12px 30px rgba(0,0,0,0.35);

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;

  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 160ms ease, border-color 160ms ease;

  contain: layout paint;

}

/* ikon blokk */
#services #all a::before{
  content:"";
  width: 40px;
  height: 40px;
  border-radius: 14px;

  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.14), transparent 60%),
    linear-gradient(135deg, rgba(91,138,255,0.32), rgba(0,255,200,0.16));

  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 0 0 6px rgba(0,255,200,0.06),
    inset 0 0 16px rgba(0,255,200,0.10);

  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  background-image: var(--svc-icon);
  pointer-events: none;
}

/* sweep + glow overlay (GPU: opacity+transform) */
#services #all a::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 16px;
  pointer-events:none;

  background:
    radial-gradient(600px 260px at 28% 20%, rgba(0,255,200,0.14), transparent 62%),
    radial-gradient(520px 220px at 85% 10%, rgba(91,138,255,0.10), transparent 64%),
    linear-gradient(
      110deg,
      transparent 0%,
      rgba(0,255,200,0.10) 35%,
      rgba(91,138,255,0.08) 55%,
      transparent 75%
    );

  transform: translateX(-65%) translateZ(0);
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 220ms ease, opacity 160ms ease;
}

/* hover/focus */
#services #all a:hover,
#services #all a:focus-visible{
  transform: translateY(-2px) translateZ(0);
  border-color: rgba(0,255,200,0.24);
  outline: none;
}

#services #all a:hover::after,
#services #all a:focus-visible::after{
  transform: translateX(0%) translateZ(0);
  opacity: 1;
}

/* Kattintás */
#services #all a:active{
  transform: translateY(0px) scale(0.995) translateZ(0);
}

/* fókuszálós opacity (nem animált) */
#services #all:hover a{ opacity: 0.62; }
#services #all:hover a:hover{ opacity: 1; }

/* description fix */
#services .svc-desc{
  grid-column: 2;
  margin: 6px 0 0;
  padding-left: 10px;
  font-size: 1.2rem;
  line-height: 1.45;
  font-weight: 400;
  color: rgba(255,255,255,0.60);
  letter-spacing: 0.01em;
  border-left: 2px solid rgba(0,255,200,0.35);
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  font-family: "Heebo", sans-serif;
  font-size: clamp(1rem, 1vw, 2.2rem);
}

@media (min-width: 980px){
	
	
  #services .neo-card #all > ul{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* per-item ikonok */
#services #all a{
  --svc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23b6fff2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='7' width='10' height='10' rx='2'/%3E%3Cpath d='M4 9h3M4 15h3M17 9h3M17 15h3M9 4v3M15 4v3M9 17v3M15 17v3'/%3E%3C/svg%3E");
}
#services #all li:nth-child(1) a{
  --svc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23b6fff2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Cpath d='M12 3v3M12 18v3M3 12h3M18 12h3'/%3E%3Cpath d='M12 9v6M9 12h6'/%3E%3C/svg%3E");
}
#services #all li:nth-child(2) a{
  --svc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23b6fff2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 4v6c0 5-3 8-7 9-4-1-7-4-7-9V7l7-4z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}
#services #all li:nth-child(3) a{
  --svc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23b6fff2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
}
#services #all li:nth-child(4) a{
  --svc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23b6fff2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10h18M3 14h18'/%3E%3Cpath d='M7 10v4M13 10v4'/%3E%3C/svg%3E");
}
#services #all li:nth-child(5) a{
  --svc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23b6fff2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 11a4 4 0 1 0-8 0'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}
#services #all li:nth-child(6) a{
  --svc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23b6fff2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18h10a4 4 0 0 0 0-8 6 6 0 0 0-11-1A4 4 0 0 0 7 18z'/%3E%3C/svg%3E");
}
@media (max-width: 450px){
	h3 {
    font-size: clamp(16px, 1.4vw, 30px);
	}
  #services #all{
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
.title {font-size: clamp(25px, 5.6vw, 76px)
  }

#services #all ul{
  padding-left: 0;
}

  #services #all li,
  #services #all a,
  #services .svc-desc{
    min-width: 0;
  }

  #services #all a{
grid-template-columns: 28px 1fr;
    column-gap: 8px;
    padding: 10px;
    font-size: 1rem;
    line-height: 1.25;
    align-items: start;
  }

  #services #all a::before{
    width: 32px;
    height: 32px;
    background-size: 16px 16px;
  }

  #services .svc-desc{
    grid-column: 2;
    padding-left: 8px;
    margin-top: 6px;
    font-size: 0.92rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .neo-card{
    padding: 88px 12px 14px;
    min-height: 0;
  }

  .neo-thumb{
    top: -3.5rem;
    width: 96px;
    height: 96px;
  }
}
/* ---------------------------
   About
--------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: start;
}

.prose p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.quote-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 1.2rem;
  contain: paint;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.ticks li {
  padding-left: 1.4rem;
  margin: 0.65rem 0;
  position: relative;
  color: var(--muted);
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(0, 255, 200, 0.85);
  font-weight: 900;
}

/* =========================
   Industries
   ========================= */


.industries-hub .section-head { margin-bottom: 1.2rem; }

/* OUTER BOX */
.industries-box{
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: 0 18px 55px rgba(0,0,0,0.45);
  overflow: hidden;
  min-width: 0;
}

/* subtle grid + glow */
.industries-box::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.35;
  mask-image: radial-gradient(circle at 25% 20%, #000 18%, transparent 70%);
  pointer-events:none;
}
.industries-box::after{
  content:"";
  position:absolute;
  inset:-90px;
  background: conic-gradient(from 180deg,
    rgba(91,138,255,0.22),
    rgba(0,255,200,0.16),
    rgba(91,138,255,0.18)
  );
  filter: blur(44px);
  opacity: .28;
  pointer-events:none;
}

/* radios hidden */
.ind-toggle{
  position:absolute;
  left:-9999px;
}

/* =========================
   LAYOUT
   ========================= */

/* Desktop: tabs left, panel right */
.industries-ui{
  position: relative;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  min-width: 0;
}

/* =========================
   TABS (LEFT)
   IMPORTANT: we make .industries-tabs a grid so we can do 2 per row on mobile/tablet
   ========================= */

.industries-tabs{
  border-radius: 20px;
  padding: 1rem;
  background: rgba(7,10,18,0.40);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* default desktop: 1 column */
  display: grid;
  grid-template-columns: 1fr;
  gap: .7rem;
  align-content: start;

  min-width: 0;
}

/* If you still have a wrapper (.ind-tabs-row), don't let it break layout */
.ind-tabs-row{
  display: contents; /* makes children participate in parent's grid */
}

/* TAB BUTTON */
.ind-tab{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: .8rem;

  padding: .9rem 1rem;
  border-radius: 16px;

  background: linear-gradient(180deg, rgba(25,35,44,0.62), rgba(12,18,24,0.55));
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(235,255,250,0.86);

  font-weight: 500;
  letter-spacing: .01em;

  cursor: pointer;
  user-select: none;

  transform: translateZ(0);
  will-change: transform;
  transition: transform 160ms ease, border-color 160ms ease, opacity 160ms ease;

  min-width: 0; /* grid overflow fix */
}

.ind-tab::after{
  content:"→";
  opacity:.6;
  font-weight: 900;
}

.ind-tab:hover{
  transform: translateY(-2px) translateZ(0);
  border-color: rgba(0,255,200,0.22);
}

/* Hint */
.ind-hint{
  margin-top: .2rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.60);
  font-weight: 650;
  font-size: .95rem;
  display:flex;
  align-items:center;
  gap:.55rem;

  /* if tabs become 2 columns, hint should span full width */
  grid-column: 1 / -1;
}
.ind-hint__dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(0,255,200,0.75);
  box-shadow: 0 0 0 6px rgba(0,255,200,0.10);
}

/* Jump link */
.ind-jump{
  display:none;
  text-decoration: none;
  font-weight: 900;
  opacity: .75;
  padding: .05rem .35rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}
.ind-jump:hover{ opacity: 1; }

/* =========================
   SCREEN (RIGHT)
   Make it a 3-row grid so only the panel scrolls
   ========================= */

.industries-screen{
  border-radius: 20px;
  padding: 1rem;
  background: rgba(7,10,18,0.40);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;

  min-width: 0;
  min-height: 0;
}

.industries-screen__top{ margin-bottom: 1rem; }

.ind-terminal{
  display:flex;
  align-items:center;
  gap: .5rem;
  padding: .65rem .8rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}
.ind-terminal__lamp{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}
.ind-terminal__lamp:nth-child(1){ background: rgba(255,80,80,0.65); }
.ind-terminal__lamp:nth-child(2){ background: rgba(255,200,80,0.60); }
.ind-terminal__lamp:nth-child(3){ background: rgba(0,255,200,0.55); }

.ind-terminal__title{
  margin-left: .4rem;
  color: rgba(185,255,239,.82);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}

/* PANELS */
.ind-panel{
  display:none;

  overflow: auto; /* only this scrolls */
  -webkit-overflow-scrolling: touch;

  padding: 1rem 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(540px 260px at 20% 10%, rgba(91,138,255,0.14), transparent 60%),
    rgba(255,255,255,0.03);

  scroll-margin-top: calc(var(--header-h, 76px) + 16px);

  min-height: 0;
}
.ind-panel h3{
  margin: 0 0 .6rem;
  font-size: clamp(1.1rem, 1.4vw, 1.5rem);
}

.ind-list{
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: .55rem;
  color: rgba(255,255,255,0.72);
  font-weight: 650;
}
.ind-list li{
  position: relative;
  padding-left: 1.25rem;
}
.ind-list li::before{
  content: "▣";
  position:absolute;
  left:0;
  top:0;
  color: rgba(0,255,200,0.75);
}

/* FOOTER */
.industries-screen__footer{
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.10);

  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;

  position: sticky;
  bottom: 0;
  background: rgba(7,10,18,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ind-foot{
  color: rgba(255,255,255,0.62);
  font-weight: 800;
}
.ind-foot__k{
  color: rgba(185,255,239,.85);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}
.ind-foot__v{
  color: rgba(255,255,255,0.78);
}

/* ACTIVE TAB highlight */
#ind-auto:checked ~ .industries-ui .industries-tabs label[for="ind-auto"],
#ind-defense:checked ~ .industries-ui .industries-tabs label[for="ind-defense"],
#ind-energy:checked ~ .industries-ui .industries-tabs label[for="ind-energy"],
#ind-health:checked ~ .industries-ui .industries-tabs label[for="ind-health"],
#ind-fintech:checked ~ .industries-ui .industries-tabs label[for="ind-fintech"]{
  border-color: rgba(0,255,200,0.28);
  box-shadow: 0 0 0 1px rgba(0,255,200,0.14) inset, 0 18px 60px rgba(0,0,0,0.25);
  opacity: 1;
}

/* SHOW selected panel */
#ind-auto:checked ~ .industries-ui .industries-screen .ind-auto{ display:block; }
#ind-defense:checked ~ .industries-ui .industries-screen .ind-defense{ display:block; }
#ind-energy:checked ~ .industries-ui .industries-screen .ind-energy{ display:block; }
#ind-health:checked ~ .industries-ui .industries-screen .ind-health{ display:block; }
#ind-fintech:checked ~ .industries-ui .industries-screen .ind-fintech{ display:block; }

/* =========================
   TYPO (section scoped)
   ========================= 

.industries-hub h2{
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
}
.industries-hub .lead-sm{
  font-size: clamp(.95rem, 2.2vw, 1.05rem);
}
.industries-hub .ind-panel h3{
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
}
.industries-hub .ind-panel p,
.industries-hub .ind-list li{
  font-size: clamp(.92rem, 2.4vw, 1.02rem);
  line-height: 1.55;
}*/

/* =========================
   RESPONSIVE
   Tablet + Mobile: 2 buttons per row
   ========================= */

@media (max-width: 1024px){

  /* stack layout */
  .industries-ui{
    grid-template-columns: 1fr;
    padding: .75rem;
    gap: .75rem;
  }

  /* keep whole component within viewport 
  .industries-box{
    max-block-size: calc(100dvh - var(--header-h, 76px) - 24px);
  }*/

  /* THE IMPORTANT PART:
     2 buttons per row */
  .industries-tabs{
    padding: .75rem;

    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
  }

  /* make non-button items full width, so they don't steal a column */
  .industries-tabs .ind-hint{
    display: none;           /* optional: hide on mobile/tablet for more space */
    /* if you prefer visible, remove display:none and keep: grid-column: 1 / -1; */
  }

  .ind-tab{
    width: 100%;
    padding: .75rem .85rem;
    border-radius: 16px;
    font-size: clamp(.88rem, 2.2vw, .98rem);
    line-height: 1.15;
  }

  .ind-tab::after{
    content: ""; /* mobile: tisztább, ne foglaljon helyet */
  }

  /* jump (if used inside tab label) */
  .ind-jump{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: .78rem;
    margin-left: .5rem;
  }

  .industries-screen{
    padding: .75rem;
    min-height: 0;
  }

  .industries-screen__top{ margin-bottom: .65rem; }
  .ind-terminal{
    padding: .55rem .65rem;
    border-radius: 14px;
  }
  .ind-terminal__title{
    font-size: .72rem;
    letter-spacing: .10em;
  }

  .ind-panel{ padding: .85rem; }

  .industries-screen__footer{
    margin-top: .65rem;
    padding-top: .65rem;
    padding-bottom: .15rem;
  }

  .industries-screen__footer .btn{
    padding: .65rem .85rem;
    border-radius: 12px;
  }
}

@media (max-width: 520px){

  .industries-ui{ padding: .6rem; gap: .6rem; }
  .industries-tabs{ padding: .6rem; }
  .industries-screen{ padding: .6rem; }

  /* still 2 per row, tighter */
  .industries-tabs{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }

  .ind-tab{
    padding: .68rem .72rem;
    border-radius: 14px;
    font-size: clamp(.84rem, 4vw, .98rem);
  }

  .ind-panel{ padding: .75rem; }
  .ind-list{ gap: .45rem; }
}

/* ---------------------------
   Contact
--------------------------- */
.contact-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}

.contact-card{
  display:block;
  padding:1.2rem;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  text-decoration:none;

  /* hover gyors */
  transform: translateZ(0);
  will-change: transform;
  transition: transform 140ms ease, border-color 140ms ease;
}

.contact-card:hover{
  border-color:rgba(91,138,255,.35);
  text-decoration:none;
  transform: translateY(-2px) translateZ(0);
}

.contact-cta{
  display:inline-block;
  margin-top:.8rem;
  font-weight:800;
  color:rgba(255,255,255,.88);
}

.contact-card--alert{
  border-color:rgba(255,80,80,.25);
  background:radial-gradient(520px 220px at 10% 10%, rgba(255,80,80,.10), transparent 60%),
             rgba(255,255,255,.04);
}

@media (max-width: 980px){
  .contact-cards{ grid-template-columns:1fr; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: start;
}

.form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  contain: paint;
}

.form label {
  display: grid;
  gap: 0.4rem;
}

.form label span {
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.form input,
.form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 10, 18, 0.55);
  color: var(--text);
  padding: 0.85rem 0.9rem;
  outline: none;
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(91, 138, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(91, 138, 255, 0.14);
}

.form .full {
  grid-column: 1 / -1;
}

.contact-side {
  display: grid;
  gap: 1rem;
}

.social,
.links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.social a,
.links a {
  color: var(--muted);
  font-weight: 600;
}
.social a:hover,
.links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ---------------------------
   Footer
--------------------------- */
.footer {
  padding: 2.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  margin: 0;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.82);
}
.footer-copy {
  margin: 0;
  color: var(--muted-2);
}

/* ---------------------------
   Responsive
--------------------------- */
@media (max-width: 1550px){
.meta .badge{
    flex-basis: calc((100% - 1 * 0.75rem) / 3);
  }
}
@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    position: relative;
  }

  .hero-badges {
    grid-template-columns: 1fr;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .industries,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .callout {
    flex-direction: column;
    align-items: stretch;
  }

  /* nav becomes drawer */
  .nav-toggle-btn {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 64px;
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 10, 18, 0.92);
    box-shadow: var(--shadow);

    transform: translateY(-10px) translateZ(0);
    opacity: 0;
    pointer-events: none;

    /* GPU-barát: transform+opacity */
    will-change: transform, opacity;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .lang {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 0.8rem;
  }

  .nav-toggle:checked ~ .nav {
    opacity: 1;
    transform: translateY(0) translateZ(0);
    pointer-events: auto;
  }
}

@media (max-width: 620px) {
  .form {
    grid-template-columns: 1fr;
  }
}

/* =========================
   ContactX 
   ========================= */
.contact-secure .section-head{
  margin-bottom: 1.2rem;
}

.secure-card{
  position: relative;
  border-radius: 24px;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 55px rgba(0,0,0,0.45);
  overflow: hidden;
}

.secure-glow{
  position:absolute;
  inset:-80px;
  background: conic-gradient(from 180deg,
    rgba(91,138,255,0.28),
    rgba(0,255,200,0.18),
    rgba(91,138,255,0.22)
  );
  filter: blur(40px);
  opacity: .35;
  pointer-events:none;
}

.secure-grid{
  position: relative;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
   align-items: stretch;      /* default is, de legyen explicit */
  grid-auto-rows: 1fr;
}

.secure-item{
  border-radius: 20px;
  padding: 1.05rem;
  background: rgba(7,10,18,0.40);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 100%;
}

.secure-kicker{
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 1.3rem;
  color: rgba(185,255,239,.85);
  margin-bottom: .55rem;
}

.secure-value{
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;                 /* fontos: ne legyen extra rés */
  padding: .75rem .85rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 400;
  letter-spacing: .02em;
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  user-select: text;      /* másolható legyen */
}

.secure-value span{
  display:inline-block;
  /* botok sokszor pontos tokenekre vadásznak, így minimálisan “szétszedjük”
     (nem 100% védelem, de csökkenti a sima regex-scrape esélyét) */
}

.secure-email .at,
.secure-email .dot,
.secure-phone .sep{
  opacity: .9;
}

.secure-note{
  margin: .7rem 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}

.secure-divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,203,216,0.45), transparent);
  opacity: .65;
  margin: 1rem 0 .9rem;
  position: relative;
}

.secure-footer{
  position: relative;
  display:grid;
  gap: .65rem;
}

.secure-badges{
  display:flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.secure-badge{
  display:inline-flex;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.72);
  font-weight: 850;
  font-size: .86rem;
}

.secure-fine{
  margin: 0;
  color: var(--muted-2);
  font-size: .9rem;
  max-width: 95ch;
}
.reveal summary { cursor: pointer; }
.reveal[open] summary { opacity: .7; }

/* Responsive */
@media (max-width: 980px){
  .secure-grid{
    grid-template-columns: 1fr;
  }
}
/* =========================
   Footer
   ========================= */

.site-footer{
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(900px 400px at 20% -10%, rgba(91,138,255,0.12), transparent 60%),
    radial-gradient(800px 400px at 80% -10%, rgba(0,255,200,0.08), transparent 60%),
    rgba(7,10,18,0.65);

  backdrop-filter: blur(8px);
}

.footer-grid{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap:2rem;
  padding:3rem 0;
}

.footer-brand img{
  width:20rem;
  margin-bottom:1rem;
}

.footer-tagline{
  font-weight:700;
  color:rgba(255,255,255,0.9);
  margin-bottom:.5rem;
}

.footer-text{
  color:var(--muted);
  max-width:40ch;
}

.footer-col h4{
  font-size:.9rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:rgba(185,255,239,.85);
  margin-bottom:1rem;
}

.footer-col a{
  display:block;
  margin-bottom:.55rem;
  color:var(--muted);
  font-weight:500;
}

.footer-col a:hover{
  color:var(--text);
  text-decoration:none;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.08);
  padding:1rem 0;
}

.footer-bottom-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.footer-legal{
  display:flex;
  gap:1rem;
}

.footer-legal a{
  color:var(--muted);
  font-size:.9rem;
}

/* responsive */

@media (max-width: 900px){

  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:1.5rem;
  }

}

@media (max-width: 520px){
 .challenges-cards{
    grid-template-columns: 1fr;
  }
  .footer-grid{
    grid-template-columns:1fr;
  }

  .footer-bottom-inner{
    flex-direction:column;
    gap:.5rem;
  }

}
@media (max-width: 980px){

  .container{
    width: 100%;
    padding-inline: 12px;
  }

  .hero-container{
    width: 100%;
    min-width: 0;
  }

  .hero{
    padding-inline: 12px;
  }

  .herocard{
    padding: 20px 16px 16px;
  }

  .lead{
    margin: 0 0 24px 0;
    max-width: 100%;
  }

  .mantis{
    margin: -30px auto 12px;
  }

  #services .neo-card{
    padding: 110px 14px 14px;
  }

  .neo-thumb{
    width: 120px;
    height: 120px;
    top: -3.25rem;
  }

  #services #all a{
    grid-template-columns: 36px 1fr;
    column-gap: 10px;
    padding: 12px;
    font-size: 1.05rem;
  }

  #services #all a::before{
    width: 32px;
    height: 32px;
    background-size: 16px 16px;
  }

  #services .svc-desc{
    font-size: 0.95rem;
    padding-left: 8px;
  }

  #challenges .challenges-layout{
    padding-left: 0;
    padding-right: 0;
  }

  #challenges .info-panel{
    position: static !important;
    margin: 1rem 0 1.25rem;
  }

  .challenge-card{
    padding: 1rem;
    padding-top: 3.5rem;
  }
  .panel .text {
    position: relative;
    color: #111;
    line-height: 1.2;
    padding-top: 3rem;
}
}
