/* ---------------------------
   Base / Reset
--------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}
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;
}
.page-container {
     width: min(100% - 40px, 1400px);
    margin: 0 auto;
    position: relative;
    z-index: 2;  
}
img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
;
}
@font-face {
  font-family: "Rocket Wildness";
  src: url("/assets/fonts/RocketWildness.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Orbitron";
  src: url("/assets/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, 1400px);
  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: 1rem;
  line-height: 1.5rem;
      font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }

.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;
  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;
}
/* =========================
   START NAV
   ========================= */

#nav-toggle {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  position: relative;
  font-weight: 500;
  font-family: 'Roboto Mono', monospace;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.3s ease;
  text-transform: uppercase;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.nav-sep {
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem;
  user-select: none;
}

.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);
}

/* Hamburger gomb alapból rejtve */
.nav-toggle-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  z-index: 40;
  position: relative;
  align-items: center;
  justify-content: center;
}

.nav-toggle-btn span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-btn span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle-btn span:nth-child(2) {
  transform: translateY(0);
}

.nav-toggle-btn span:nth-child(3) {
  transform: translateY(6px);
}

/* Overlay alapból nincs */
.nav-overlay {
  display: none;
}

/* =========================
   DESKTOP / TABLET LARGE
   ========================= */

@media (min-width: 981px) {
  .nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    pointer-events: auto;
    transform: none;
  }
}

/* =========================
   MOBILE / TABLET
   ========================= */

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .hero-badges,
  .cards-3,
  .industries,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    position: relative;
  }

  .callout {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-toggle-btn {
    display: inline-flex;
    margin: 0;
  }

  /* háttér overlay */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 25;
  }

  /* oldalsó menü */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(78vw, 340px);
    height: 100vh;
    padding: 6rem 1.5rem 2rem;
    background: rgba(1, 1, 2, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.2rem;
    list-style: none;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 30;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav a {
    font-size: 1.05rem;
  }

  .nav-sep {
    display: none;
  }

  .lang {
    margin-top: 1rem;
    margin-left: 0;
    padding-top: 1rem;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }

  /* nyitott állapot */
  #nav-toggle:checked ~ .nav {
    transform: translateX(0);
  }

  #nav-toggle:checked ~ .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  /* hamburger -> X */
  #nav-toggle:checked + .nav-toggle-btn span:nth-child(1) {
    transform: rotate(45deg);
  }

  #nav-toggle:checked + .nav-toggle-btn span:nth-child(2) {
    opacity: 0;
  }

  #nav-toggle:checked + .nav-toggle-btn span:nth-child(3) {
    transform: rotate(-45deg);
  }

  #nav-toggle:checked + .nav-toggle-btn {
    border-color: rgba(0, 255, 200, 0.24);
    background: rgba(255, 255, 255, 0.1);
  }
}

/* =========================
   END NAV
   ========================= */

/* ---------------------------
   Buttons / Small UI
--------------------------- */
.btn {
     display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    color: rgb(223, 252, 255);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    padding: 0px 1.6rem;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 242, 255, 0.55);
    border-image: initial;
    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.btn:hover {
    box-shadow: rgba(0, 242, 255, 0.18) 0px 0px 20px;
    transform: translateY(-2px);
    background: rgba(0, 242, 255, 0.1);
}

.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;
}

.outbutton {
    max-width: 80%;
    text-align: center;
}

.corner-button:before,
.corner-button span:before,
.corner-button:after,
.corner-button span:after {
    display: block;
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.corner-button {
    display: inline-block;
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    letter-spacing: 5px;
    text-align: center;
    position: relative;
    min-width: 100px;
    min-height: 10px;
  /*  margin: 20px;*/
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    color: #e7e7e7;
    border-radius: 10px;
    padding: 12px 20px;
    box-sizing: content-box;
    border: 2px solid transparent;
    text-align: center;
    line-height: 30px;
    transition: 1s ease;
}
.corner-button:before {
    top: -2px;
    left: -2px;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    transition: 1s all;
}
.corner-button:after {
    top: -2px;
    right: -2px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transition: 1s all;
}
.corner-button span {
    display: block;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-left: 8px;
}
.corner-button span:before {
    bottom: -2px;
    left: -2px;
    border-bottom: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    transition: 1s all;
}
.corner-button span:after {
    bottom: -2px;
    right: -2px;
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transition: 1s all;
}
.corner-button:hover {
    color: #ffffff;
    border-radius: 10px;
}
.corner-button:hover:before,
.corner-button:hover:after {
    border-color: #ffffff;
    width: 100%;
    height: 100%;
}
.corner-button:hover span:before,
.corner-button:hover span:after {
    border-color: #ffffff;
    width: 100%;
    height: 100%;
}
button:hover span::before,
button:hover span::after {
    width: 50px;
    height: 50px;
}

/* ---------------------------
   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, 1400px);
  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 {
   min-height: 60px;
    display: grid;
	grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
    align-items: center;   /* függőlegesen középre */
  justify-content: flex-start;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.77rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
}


.badge-k {
  display: block;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: .9rem;
}
.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);
}

.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 #3b4542;
  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;
  flex-direction: column;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 22px;
}
.meta span {
  max-width: 220px;
   white-space: normal;
  word-break: keep-all;      /* ne törjön szót */
  overflow-wrap: normal; 
   font-size: clamp(0.7rem, 0.8vw, 1rem);
}

.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: 1350px){
  .card{
    padding: 28px;
  }
.badge {

    grid-template-columns: repeat(3, 1fr);
	
}
/* 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: 980px){
     .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: 8rem;
    right: 20%;
    left: auto;
    width: min(350px, 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;
}

/* **********
 
 SECTION 2 
 
*************** */
.section2 {
    position: relative;
    min-height: 100vh;
    background: #010102; /* Sötét háttér */
    z-index: 10; /* Minden felett */
    display: flex;
    align-items: center;
    justify-content: center;
}
.challenges-section {
    position: relative;
    padding: 60px 20px;
    overflow: hidden;

}

.section2-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.section2-video-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 10, 0.72);
}

.section2-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*.challenges-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 242, 255, 0.08), transparent 28%),
        radial-gradient(circle at 15% 80%, rgba(255, 255, 255, 0.035), transparent 22%);
    pointer-events: none;
}*/

.challenges-container {
    position: relative;
    z-index: 1;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.section-header {
    max-width: 900px;
    margin-bottom: 70px;
    text-align: left;
}

.section-kicker {
    margin-bottom: 18px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #7fd9e3;
}

.section-header h2 {
    margin: 0;
    max-width: 850px;
    font-size: clamp(1rem, 4vw, 2rem);
    line-height: 1.08;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
}

.section-header blockquote {
    margin: 32px 0 0;
    padding-left: 22px;
    max-width: 760px;
    border-left: 7px solid rgba(0, 242, 255, 0.45);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.7;
    color: #bcbdbf;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.challenge-card {
    position: relative;
    min-height: 260px;
    padding: 28px 26px 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.challenge-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 242, 255, 0), rgb(255 255 255 / 80%), rgba(0, 242, 255, 0));
    opacity: 0.7;
}

.challenge-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 242, 255, 0.22);
    background: rgba(255, 255, 255, 0.035);
}

.card-index {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #59cad8;
}

.challenge-card h3 {
    margin: 0 0 14px;
    font-size: 1.25rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.challenge-card p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.74);
}

.section-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 54px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
	    padding: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgb(46 49 61 / 55%);
    border-radius: 10px;
}

.section-cta p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.76);
	font-family: 'Roboto Mono', monospace;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid rgba(0, 242, 255, 0.55);
    color: #dffcff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: rgba(0, 242, 255, 0.08);
    box-shadow: 0 0 24px rgba(0, 242, 255, 0.12);
    transform: translateY(-2px);
}


/* Mobile */
@media (max-width: 800px) {
    .challenges-section {
        padding: 80px 16px;
    }

    .section-header {
        margin-bottom: 44px;
    }

    .section-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.2em;
    }

    .section-header h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        line-height: 1.15;
    }

    .section-header blockquote {
        margin-top: 22px;
        padding-left: 16px;
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .challenge-grid {
        gap: 16px;
    }

    .challenge-card {
        padding: 22px 18px 24px;
    }

    .challenge-card h3 {
        font-size: 1.05rem;
    }

    .challenge-card p {
        font-size: 0.93rem;
        line-height: 1.7;
    }

    .section-cta {
        margin-top: 38px;
        gap: 18px;
        align-items: stretch;
    }

    .cta-button {
        width: 100%;
        padding: 16px 20px;
        text-align: center;
    }
}

/* ---------------------------
   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, 12rem);
   height: clamp(4rem, 25vw, 12rem);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 30, 40, 0.9);
  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;
  padding-left: 3rem;
    padding-right: 3rem;
}

/* list grid */
#services #all > ul{
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

#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-top: 20px;
    padding-bottom: 20px;
    padding-right: 20px;
    padding-left: 20px;
  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%, rgb(0 175 255 / 14%), transparent 62%), 
	radial-gradient(520px 220px at 85% 10%, rgba(91, 138, 255, 0.10), transparent 64%), 
	linear-gradient(110deg, transparent 0%, rgb(0 175 255 / 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;
  line-height: 1.45;
  font-weight: 100;
  color: rgba(255,255,255,0.60);
  letter-spacing: 0.04em;
  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(14px, 18px, 20px);
}

@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");
}


/* ***********************SECTION4 ******************************/

.section4 {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 2vw, 6rem) 1rem;
}

.section4-container
{
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 7rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section4-container .section4-box
{
  position: relative;
  width: min(100%, 320px);
  min-height: 400px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin: 0;
  transition: 0.5s;
  flex: 1 1 320px;
  max-width: 360px;
  margin-top: 3rem;
}

.section4-container .section4-box::before
{
  content:' ';
  position: absolute;
  top: -20px;
  left: 50px;
  width: 50%;
  height: 110%;
  text-decoration: none;
  background: #fff;
  border-radius: 8px;
  transform: skewX(15deg);
  transition: 0.5s;
}

.section4-container .section4-box::after
{
  content:'';
  position: absolute;
  top: 0;
  left: 50px;
  width: 50%;
  height: 105%;
  background: #fff;
  border-radius: 8px;
  transform: skewX(15deg);
  transition: 0.5s;
  filter: blur(30px);
}

.section4-container .section4-box:hover:before,
.section4-container .section4-box:hover:after
{
  transform: skewX(0deg);
  left: 20px;
  width: calc(100% - 90px);
}

.section4-container .section4-box:nth-child(1):before,
.section4-container .section4-box:nth-child(1):after
{
  background:linear-gradient(315deg, #0F2E2E, #2E5E5A);
}

.section4-container .section4-box:nth-child(2):before,
.section4-container .section4-box:nth-child(2):after
{
  background: linear-gradient(315deg, #0B1F2A, #2F4F6F);
}

.section4-container .section4-box:nth-child(3):before,
.section4-container .section4-box:nth-child(3):after
{
  background: linear-gradient(315deg, #0f172a, #1e3a8a);
}

.section4-container .section4-box span
{
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  pointer-events: none;
}

.section4-container .section4-box span::before
{
  content:'';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: 0.1s;  
  animation: animate 2s ease-in-out infinite;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08)
}

.section4-container .section4-box:hover span::before
{
  top: -30px;
  left: 30px;
  width: 80px;
  height: 80px;
  opacity: 1;
}

.section4-container .section4-box span::after
{
  content:'';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: 0.5s;
  animation: animate 2s ease-in-out infinite;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  animation-delay: -1s;
}

.section4-container .section4-box:hover span:after
{
  bottom: -30px;
  right: 30px;
  width: 80px;
  height: 80px;
  opacity: 1;
}

@keyframes animate
{
  0%, 100%
  {
    transform: translateY(10px);
  }
  
  50%
  {
    transform: translateY(-10px);
  }
}

.section4-container .section4-box .section4-content
{
  position: relative;
  left: 0;
  width: 100%;
  min-height: 100%;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 1;
  transition: 0.5s;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.section4-container .section4-box:hover .section4-content
{
  left: -15px;
  padding: 36px 28px;
}

.section4-container .section4-box .section4-content h2
{
  font-size: clamp(1.35rem, 2vw, 1.7em);
  color: #fff;
  margin-bottom: 10px;
  padding-top: 50px;
  font-family: Arial, Helvetica, sans-serif;
}

.section4-container .section4-box .section4-content p
{
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.6;
  white-space: normal;
  overflow-wrap: anywhere;
  flex-grow: 1;
}

.section4-container .section4-box .section4-content a
{
  display: inline-block;
  align-self: flex-start;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: #111;
  background: #fff;
  padding: 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 12px;
}

.section4-container .section4-box .section4-content a:hover
{
  background: #ffcf4d;
  border: 1px solid rgba(255, 0, 88, 0.4);
  box-shadow: 0 1px 15px rgba(1, 1, 1, 0.2);
}

@media (max-width: 991px) {
  .section4 {
    padding: 3.5rem 1rem;
  }

  .section4-container {
    gap: 1.5rem;
  }

  .section4-container .section4-box {
    flex: 1 1 calc(50% - 1.5rem);
    max-width: 420px;
    min-height: 380px;
  }

  .section4-container .section4-box:hover .section4-content {
    left: -10px;
    padding: 30px 24px;
  }
}

@media (max-width: 767px) {
  .section4 {
    padding: 3rem 1rem;
  }

  .section4-container {
    padding: 20px 0;
  }

  .section4-container .section4-box {
    flex: 1 1 100%;
    width: 100%;
    max-width: 420px;
    min-height: auto;
  }

  .section4-container .section4-box::before,
  .section4-container .section4-box::after {
    left: 35px;
  }

  .section4-container .section4-box:hover:before,
  .section4-container .section4-box:hover:after {
    left: 14px;
    width: calc(100% - 56px);
  }

  .section4-container .section4-box .section4-content {
    padding: 22px 22px;
  }

  .section4-container .section4-box:hover .section4-content {
    left: 0;
    padding: 22px 22px;
  }

  .section4-container .section4-box:hover span::before,
  .section4-container .section4-box:hover span::after {
    width: 60px;
    height: 60px;
  }

  .section4-container .section4-box:hover span::before {
    top: -18px;
    left: 18px;
  }

  .section4-container .section4-box:hover span::after {
    right: 18px;
    bottom: -18px;
  }
}
/* ---------------------------
   About
--------------------------- */
./* ************************************************************SECTION3 - ABOUT ************************************** */

.services-future-divider {
  height: 1px;
  margin: 0 0 72px 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.03));
}

.services-future-subhead {
  max-width: 860px;
  margin-bottom: 56px;
}

.services-future-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.services-future-subhead h2 {
  margin: 0 0 18px 0;
  font-size: 64px;
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
}

.services-future-subhead p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.services-future-risk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.services-future-risk-card {
  position: relative;
  padding: 34px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.11);
  overflow: hidden;
}

.services-future-risk-card::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 54px;
  height: 54px;
  border-top: 2px solid rgba(255, 255, 255, 0.75);
  border-left: 2px solid rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

.services-future-risk-card::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 54px;
  height: 54px;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

.services-future-risk-card-large {
  grid-column: 1 / span 2;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.services-future-risk-card-right {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: center;
}

.services-future-risk-card-center {
  grid-column: 1 / span 2;
}

.services-future-risk-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.services-future-risk-center-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.services-future-risk-visual-box {
  position: relative;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.services-future-risk-visual-box::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.services-future-risk-visual-box img,
.services-future-risk-center-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.14) brightness(1.06);
}

.services-future-risk-visual-left img {
  animation: servicesFutureFloat 6.5s ease-in-out infinite;
}

.services-future-risk-visual-right img {
  max-width: 180px;
  transform: rotate(-8deg);
  animation: servicesFutureTilt 7s ease-in-out infinite;
}

.services-future-risk-visual-box-tall {
  min-height: 420px;
}

.services-future-risk-center-visual {
  position: relative;
  min-height: 320px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-future-risk-center-visual img {
  position: relative;
  z-index: 2;
  max-width: 220px;
  transform: rotate(8deg);
  animation: servicesFutureTiltReverse 8s ease-in-out infinite;
}

.services-future-risk-center-hud {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px dashed rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  animation: servicesFutureRotate 20s linear infinite;
}

.services-future-risk-meta {
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.services-future-risk-content h3 {
  margin: 0 0 16px 0;
  font-size: 34px;
  line-height: 1.02;
  text-transform: uppercase;
  color: #ffffff;
}

.services-future-risk-tag {
  margin: 0 0 18px 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.services-future-risk-content p {
  margin: 0 0 16px 0;
  font-size: .98rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.04em;
}

.services-future-risk-result {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.services-future-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 10px 14px;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

@keyframes servicesFutureFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes servicesFutureTilt {
  0% {
    transform: rotate(-8deg) translateY(0px);
  }
  50% {
    transform: rotate(-4deg) translateY(-8px);
  }
  100% {
    transform: rotate(-8deg) translateY(0px);
  }
}

@keyframes servicesFutureTiltReverse {
  0% {
    transform: rotate(8deg) translateY(0px);
  }
  50% {
    transform: rotate(3deg) translateY(-8px);
  }
  100% {
    transform: rotate(8deg) translateY(0px);
  }
}

@keyframes servicesFutureRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .services-future-risk-grid,
  .services-future-risk-card-large,
  .services-future-risk-card-right,
  .services-future-risk-center-layout {
    grid-template-columns: 1fr;
  }

  .services-future-risk-card {
    padding: 26px;
  }

  .services-future-risk-card-large,
  .services-future-risk-card-right,
  .services-future-risk-card-center {
    grid-column: auto;
  }

  .services-future-risk-visual-box-tall {
    min-height: 300px;
  }

  .services-future-subhead h2 {
    font-size: 54px;
  }
.services-future-risk-visual-box img, .services-future-risk-center-visual img {
    max-height: 45vh;
}
}

@media (max-width: 760px) {
  .services-future-subhead {
    margin-bottom: 38px;
  }

  .services-future-subhead h2 {
    font-size: 38px;
    line-height: 1;
  }

  .services-future-subhead p {
    font-size: 16px;
    line-height: 1.7;
  }

  .services-future-risk-card {
    padding: 20px;
  }

  .services-future-risk-topline {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .services-future-risk-content h3 {
    font-size: 26px;
  }

  .services-future-risk-center-visual,
  .services-future-risk-visual-box,
  .services-future-risk-visual-box-tall {
    min-height: 220px;
  }


  .services-future-divider {
    margin-bottom: 52px;
  }
}
/* =========================
   Industries
   ========================= */

/* =========================
   INDUSTRIES — futuristic dark orbital style
   ========================= */

.industries-hub .container {
  margin-top: 3.5rem;
}


.industries-hub h2{
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.industries-hub .lead-sm{
  color: rgba(220,230,235,0.68);
  max-width: 72ch;
}

/* OUTER BOX */
.industries-box{
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 20% 10%, rgba(120,160,255,0.08), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(255,255,255,0.05), transparent 22%),
    linear-gradient(180deg, rgba(10,12,18,0.96), rgba(5,7,12,0.98));
  box-shadow:
    0 24px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  min-width: 0;
}

/* fine tech grid */
.industries-box::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .22;
  mask-image: radial-gradient(circle at 50% 40%, #000 35%, transparent 100%);
  pointer-events:none;
}

/* soft scanning glow */
.industries-box::after{
  content:"";
  position:absolute;
  inset:-25%;
  background:
    radial-gradient(circle at 50% 50%, rgba(120,160,255,0.12), transparent 28%),
    conic-gradient(from 180deg,
      rgba(255,255,255,0.02),
      rgba(80,140,255,0.08),
      rgba(255,255,255,0.01),
      rgba(0,0,0,0));
  filter: blur(42px);
  opacity: .45;
  pointer-events:none;
}

/* hidden radios */
.ind-toggle{
  position:absolute;
  left:-9999px;
}

/* LAYOUT */
.industries-ui{
  position: relative;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  min-width: 0;
  z-index: 1;
}

/* LEFT COLUMN */
.industries-tabs{
  border-radius: 22px;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  display: grid;
  grid-template-columns: 1fr;
  gap: .7rem;
  align-content: start;
  min-width: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.ind-tabs-row{
  display: contents;
}

.ind-tab{
  position: relative;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: .8rem;
  padding: .95rem 1rem;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(241,246,248,0.88);
  font-weight: 500;
  letter-spacing: .01em;
  cursor: pointer;
  user-select: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
  min-width: 0;
  overflow: hidden;
}

.ind-tab::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(110,170,255,0.85), rgba(255,255,255,0.12));
  opacity: 0;
  transition: opacity 180ms ease;
}

.ind-tab::after{
  content:"↗";
  opacity:.42;
  font-weight: 700;
  font-size: .92rem;
}

.ind-tab:hover{
  transform: translateY(-2px);
  border-color: rgba(130,180,255,0.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: 0 12px 30px rgba(0,0,0,0.24);
}

.ind-hint{
  margin-top: .2rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.46);
  font-weight: 600;
  font-size: .88rem;
  display:flex;
  align-items:center;
  gap:.55rem;
  grid-column: 1 / -1;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ind-hint__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(180,220,255,0.82);
  box-shadow:
    0 0 0 6px rgba(180,220,255,0.06),
    0 0 18px rgba(180,220,255,0.22);
}

.ind-jump{
  display:none;
  text-decoration: none;
  font-weight: 800;
  opacity: .72;
  padding: .05rem .35rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: inherit;
}

/* RIGHT SCREEN */
.industries-screen{
  border-radius: 22px;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;

  min-width: 0;
  min-height: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.industries-screen::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 78% 12%, rgba(255,255,255,0.06), transparent 12%),
    radial-gradient(circle at 82% 30%, rgba(110,170,255,0.08), transparent 18%);
  pointer-events:none;
}

.industries-screen__top{
  margin-bottom: 1rem;
  display: grid;
  gap: .85rem;
}

.ind-terminal{
  display:flex;
  align-items:center;
  gap: .55rem;
  padding: .7rem .85rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
}

.ind-terminal__lamp{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}
.ind-terminal__lamp:nth-child(1){ background: rgba(255,255,255,0.28); }
.ind-terminal__lamp:nth-child(2){ background: rgba(160,200,255,0.55); }
.ind-terminal__lamp:nth-child(3){ background: rgba(255,255,255,0.85); }

.ind-terminal__title{
  margin-left: .35rem;
  color: rgba(224,240,255,.82);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .74rem;
}

/* IMAGE MODULE */
.ind-visual{
  display: grid;
  grid-template-columns: minmax(0, 180px) 1fr;
  gap: .9rem;
  align-items: center;
  padding: .85rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}

.ind-visual__frame{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: #030405;
  aspect-ratio: 4 / 5;
  max-width: 180px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

.ind-visual__frame::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.05), transparent 22%),
    linear-gradient(to top, rgba(255,255,255,0.03), transparent 18%);
  pointer-events:none;
}

.ind-visual__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.9);
}

.ind-visual__meta{
  display:flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-content: start;
}

.ind-chip{
  display:inline-flex;
  align-items:center;
  min-height: 34px;
  padding: .45rem .72rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  color: rgba(228,236,241,0.72);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

/* PANELS */
.ind-panel{
  display:none;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.1rem 1.1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 90% 10%, rgba(120,160,255,0.08), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  scroll-margin-top: calc(var(--header-h, 76px) + 16px);
  min-height: 0;
}

.ind-panel h3{
  margin: 0 0 .6rem;
  font-size: clamp(1.08rem, 1.4vw, 1.45rem);
  color: rgba(248,250,252,0.96);
  letter-spacing: .01em;
}

.ind-panel .tag{
  display: inline-block;
  margin: 0 0 1rem;
  padding: .45rem .7rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  color: rgba(198,215,227,0.82);
  font-size: .8rem;
  line-height: 1.35;
}

.ind-panel p{
  color: rgba(222,229,235,0.78);
  font-size: .98rem;
  line-height: 1.75;
}

.ind-list{
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: .6rem;
  color: rgba(235,241,245,0.78);
  font-weight: 600;
}

.ind-list li{
  position: relative;
  padding: .1rem 0 .1rem 1.2rem;
}

.ind-list li::before{
  content: "";
  position:absolute;
  left:0;
  top:.68rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(190,225,255,0.88);
  box-shadow: 0 0 12px rgba(190,225,255,0.25);
}

/* OPTIONAL PER-PANEL IMAGE */
.ind-panel__hero{
  margin-bottom: 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 180px;
  background: #020304;
}

.ind-panel__hero-img{
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.88);
}

/* FOOTER */
.industries-screen__footer{
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  position: sticky;
  bottom: 0;
  background: rgba(6,8,12,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ind-foot{
  color: rgba(255,255,255,0.52);
  font-weight: 700;
}

.ind-foot__k{
  color: rgba(210,232,248,.84);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .74rem;
}

.ind-foot__v{
  color: rgba(240,245,248,0.84);
}

/* ACTIVE TAB */
#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(160,210,255,0.26);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  box-shadow:
    inset 0 0 0 1px rgba(160,210,255,0.08),
    0 16px 44px rgba(0,0,0,0.26);
}

#ind-auto:checked ~ .industries-ui .industries-tabs label[for="ind-auto"]::before,
#ind-defense:checked ~ .industries-ui .industries-tabs label[for="ind-defense"]::before,
#ind-energy:checked ~ .industries-ui .industries-tabs label[for="ind-energy"]::before,
#ind-health:checked ~ .industries-ui .industries-tabs label[for="ind-health"]::before,
#ind-fintech:checked ~ .industries-ui .industries-tabs label[for="ind-fintech"]::before{
  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; }

/* RESPONSIVE */
@media (max-width: 1024px){
  .industries-ui{
    grid-template-columns: 1fr;
    padding: .8rem;
    gap: .8rem;
  }

  .industries-tabs{
    padding: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
  }

  .industries-tabs .ind-hint{
    display:none;
  }

  .ind-tab{
    width: 100%;
    padding: .78rem .88rem;
    border-radius: 15px;
    font-size: clamp(.88rem, 2.2vw, .98rem);
    line-height: 1.2;
  }

  .ind-tab::after{
    content: "";
  }

  .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;
  }

  .ind-visual{
    grid-template-columns: 120px 1fr;
    padding: .7rem;
  }

  .ind-visual__frame{
    max-width: 120px;
  }

  .ind-panel{
    padding: .9rem;
  }

  .industries-screen__footer{
    margin-top: .7rem;
    padding-top: .7rem;
  }
}

@media (max-width: 640px){
   .challenge-grid { 
       grid-template-columns: repeat(1, minmax(0, 1fr));
   }
   .section-cta {
       flex-direction: column;
       align-items: center;
   }
  .ind-visual{
    grid-template-columns: 1fr;
  }

  .ind-visual__frame{
    max-width: 120px;
  }

  .ind-visual__meta{
    gap: .4rem;
  }

  .ind-chip{
    font-size: .7rem;
    min-height: 30px;
  }
  #services #all {
          padding-left: 5px;
    padding-right: 5px;
}
}

@media (max-width: 520px){
  .industries-ui{ padding: .6rem; gap: .6rem; }
  .industries-tabs{ padding: .6rem; }
  .industries-screen{ padding: .6rem; }

  .industries-tabs{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }

  .ind-tab{
    padding: .68rem .72rem;
    border-radius: 14px;
    font-size: clamp(.6rem, 4vw, .95rem);
  }

  .ind-panel{
    padding: .78rem;
  }

  .ind-panel p,
  .ind-list li{
    font-size: .94rem;
  }
}


/* =========================
   CONTACT / MINIMAL MONOCHROME
   ========================= */

.contact-section {
  position: relative;
  padding: 8rem 0 0;
  background: linear-gradient(180deg, #050505 0%, #020202 100%);
  color: #f5f5f5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.container {
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: 0 16px;
}

.section-header-minimal {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-header-minimal .section-index {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.section-header-minimal h2 {
  margin: 0 0 1rem;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.section-header-minimal p {
  margin: 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.68);
}

.contact-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-block {
  position: relative;
  padding: 2.75rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-block:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-block::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.contact-label {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.contact-block h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.contact-text {
  max-width: 42ch;
  margin: 0 0 2rem;
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.68);
}

.reveal-mail {
  margin-top: auto;
  width: fit-content;
}

.reveal-mail summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.reveal-mail summary::-webkit-details-marker {
  display: none;
}

.reveal-mail summary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
}

.reveal-mail[open] summary {
  margin-bottom: 1rem;
}

.contact-value {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.06rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.6;
  word-break: break-word;
}

.contact-note {
  justify-content: space-between;
}

.contact-note-text {
  max-width: 44ch;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.68);
}

.contact-note-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.contact-note-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}

.contact-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-block:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .contact-block {
    min-height: auto;
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .contact-section {
    padding: 6rem 0 0;
  }

  .section-header-minimal {
    margin-bottom: 2rem;
  }

  .section-header-minimal h2 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .section-header-minimal p,
  .contact-text,
  .contact-note-text,
  .contact-note-list li {
    font-size: 0.92rem;
  }

  .contact-block {
    padding: 1.5rem;
  }

  .contact-block::after {
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
  }

  .reveal-mail {
    width: 100%;
  }

  .reveal-mail summary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    text-align: center;
  }

  .contact-value {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* =========================
   FOOTER
   ========================= */

.site-footer-minimal {
  position: relative;
  background: #020202;
  color: #f5f5f5;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(0, 2fr);
  gap: 4rem;
  padding: 4rem 0 3rem;
}

.footer-brand img {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  display: block;
  margin-bottom: 1.25rem;
  filter: grayscale(1) brightness(1.08);
}

.footer-tagline {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.footer-description {
  max-width: 42ch;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.66);
}

.footer-nav-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-col h4 {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-col a,
.footer-col summary {
  display: block;
  margin-bottom: 0.9rem;
  color: rgba(255,255,255,0.66);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.7;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-col a:hover,
.footer-col summary:hover {
  color: #ffffff;
}

.reveal-mail--footer summary {
  padding: 0;
  min-height: auto;
  border: none;
  background: transparent;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  text-transform: none;
  font-weight: 400;
  color: rgba(255,255,255,0.66);
}

.reveal-mail--footer[open] summary {
  margin-bottom: 0.9rem;
}

.reveal-mail--footer .contact-value {
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 980px) {
  .contact-grid,
  .footer-top,
  .footer-nav-wrap {
    grid-template-columns: 1fr;
  }

  .contact-block:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .footer-top {
    gap: 2.5rem;
  }

  .footer-nav-wrap {
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .contact-section {
    padding-top: 6rem;
  }

  .contact-block {
    padding: 2rem 1.4rem;
    min-height: auto;
  }

  .footer-top {
    padding: 3rem 0 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ---------------------------
   Responsive
--------------------------- */

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    position: relative;
  }

  .hero-badges {
    grid-template-columns: 1fr;
  }
  .badge {

	grid-template-columns: repeat(2, 1fr);
  }
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .industries,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .callout {
    flex-direction: column;
    align-items: stretch;
  }
 .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: 150px;
    height: 150px;
    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;
}

}



@media (min-width: 900px) {
    .callout {
        flex-direction: row;
        text-align: left;
    }
}

/* "Technical depth" szekció speciális rácsa */
.challenge-grid {
    margin-top: 4rem;
}

/* Gombok és linkek finomítása */
.btn {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

/* Navigáció fixálás */
.site-header .container {
    max-width: 1400px;
}


/* Animáció a háttérnek */
@keyframes pulse-glow {
    0% { opacity: 0.45; }
    50% { opacity: 0.65; }
    100% { opacity: 0.45; }
}

.panel-glow {
    animation: pulse-glow 4s ease-in-out infinite;
}
@media (max-width: 620px) {
  .form {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 520px){
 .challenges-cards{
    grid-template-columns: 1fr;
  }
  .footer-grid{
    grid-template-columns:1fr;
  }

  .footer-bottom-inner{
    flex-direction:column;
    gap:.5rem;
  }
  .corner-button {
    font-size: 15px;
    padding-left: 10px;
    padding-right: 10px;

}
}


/* --- Landing-specifikus kiegészítések --- */

.hero-badges {
    margin-top: 3rem;
    perspective: 1000px;
}



/* Szolgáltatás lista extra stílus */
#all ul {
    list-style: none;
    padding: 0;
}


/* Challenge kártyák egyedi számozása */
.card-index {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2rem;
}

/* Callout finomhangolás */
.callout {
    flex-direction: column;
    padding: 4rem 2rem;
    text-align: center;
}
@media (max-width: 450px){
    .page-container {
        width: min(100% - 10px, 1400px);
    }
	h3 {
  font-size: clamp(12px, 4vw, 20px);
  line-height: 1.5rem;
	}
	
	p {
    font-size: clamp(15px, 2.5vw, 20px);
}
.mantis {
        right: 30%;
        width: min(280px, 88vw);
}
	.grid {
    grid-template-columns: 1fr;
}
	.neo-grid {
	    row-gap: 5rem;
	}
	
  #services #all{
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  #services #all a::before {
    content: "";
   border-radius: none; 
    background: none;
    border: none;
    box-shadow: none;
    background-repeat: none;
    background-position: none;
    background-size: none;
    background-image: none;
}
*, *::before, *::after {
    box-sizing: border-box;
}.title {font-size: clamp(25px, 5.6vw, 60px)
  }

#services #all ul{
  padding-left: 0;
}

  #services #all li,
  #services #all a,
  #services .svc-desc{
    min-width: 0;
  }

  #services #all a{
grid-template-columns: 5px 1fr;
    column-gap: 8px;
    padding: 10px;
    font-size: 1rem;
    line-height: 1.25;
    align-items: start;
  }


  #services .svc-desc{
    grid-column: 2;
    padding-left: 8px;
    margin-top: 6px;
    font-size: 0.8rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

#services .neo-card {
        padding: 50px 5px 5px;
    }

  .neo-thumb{
    top: -3.5rem;
    width: 96px;
    height: 96px;
  }
  .section4-container .section4-box .section4-content h2 {
    font-size: clamp(12px, 5vw, 20px);;
}