*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Inter,system-ui,sans-serif;
  background:#0e1116;
  color:#e5e7eb;
  line-height:1.6;
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

/* ================= HEADER ================= */

.header{
  position:fixed;
  top:0;
  width:100%;
  background:rgba(14,17,22,.9);
  backdrop-filter:blur(6px);
  z-index:100;
  border-bottom:1px solid #1f2933;
}

.header-inner{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  text-decoration:none;
  display:flex;
  align-items:baseline;
  gap:2px;
  font-family:"Segoe UI", Inter, system-ui, sans-serif;
  cursor:pointer;
}

.brand-mark{
  font-size:22px;
  font-weight:700;
  color:#f1f5f9;
  letter-spacing:-0.5px;
}

.brand-name{
  font-size:20px;
  font-weight:400;
  color:#cbd5e1;
}


.brand-mark,
.brand-name{
  transition:all .18s ease;
}

.brand:hover .brand-mark{
  transform:translateY(-1px);
}

.brand:hover .brand-name{
  color:#ffffff;
}

nav a{
  margin-left:28px;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#9ca3af;
}

nav a:hover{
  color:#ffffff;
}

/* ================= HERO ================= */

.hero-bg{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  background:
    url("../assets/images/hero.png") 65% center / cover no-repeat;
}

/* OVERLAY – OLVASHATÓSÁG */
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(2,6,23,.92) 0%,
      rgba(2,6,23,.78) 45%,
      rgba(2,6,23,.55) 70%,
      rgba(2,6,23,.35) 100%
    );
  z-index:1;
}

/* TECH LAYER */
.hero-tech{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
}

.grid-overlay{
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.03) 0,
      rgba(255,255,255,.03) 1px,
      transparent 1px,
      transparent 80px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.03) 0,
      rgba(255,255,255,.03) 1px,
      transparent 1px,
      transparent 80px
    );
}

/* FÓKUSZ KÖR */
.pulse{
  position:absolute;
  width:520px;
  height:520px;
  right:14%;
  top:50%;
  transform:translateY(-50%);
  border-radius:50%;
  border:1px solid rgba(148,163,184,.28);
  box-shadow:0 0 90px rgba(56,189,248,.12);
}

/* SZÖVEG */
.hero-content{
  position:relative;
  z-index:3;
  max-width:720px;
  margin-top:-40px;
}

.hero-eyebrow{
  display:block;
  margin-bottom:20px;
  font-size:12px;
  letter-spacing:.3em;
  text-transform:uppercase;
  color:#64748b;
}

.hero-content h1{
  font-size:60px;
  font-weight:500;
  line-height:1.05;
  margin:0 0 32px;
}

.hero-lead{
  max-width:520px;
  font-size:18px;
  color:#cbd5e1;
  margin-bottom:48px;
}

.hero-services{
  display:flex;
  gap:32px;
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#9ca3af;
}

.hero-services div{
  padding-left:14px;
  border-left:2px solid #334155;
}

/* ================= SECTIONS ================= */

.section{
  padding:140px 0;
}

.section-dark{
  background:#020617;
}

.section h2{
  font-size:28px;
  font-weight:500;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:48px;
}

/* ================= SERVICES ================= */

.service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

.service-card{
  border:1px solid #1f2933;
  padding:32px;
  background:#020617;
}

.service-card h3{
  margin-top:0;
  font-size:18px;
}

.service-card p{
  font-size:15px;
  color:#9ca3af;
}

/* ================= CAPABILITIES ================= */

.cap-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:24px;
}

.cap-grid div{
  padding:20px;
  border-left:2px solid #334155;
  font-size:15px;
}

/* ================= REFERENCES ================= */

.muted{
  color:#9ca3af;
  max-width:520px;
}

.ref-grid{
  margin-top:48px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
}

.ref-grid div{
  padding:28px;
  border:1px solid #1f2933;
  text-align:center;
  font-size:15px;
  letter-spacing:.08em;
}

/* ================= CONTACT ================= */

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
}

/* ================= FOOTER ================= */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  font-size: 13px;
  color: #9aa0a6;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer a {
  color: #9aa0a6;
  text-decoration: none;
  margin-left: 16px;
}

.footer a:hover {
  color: #ffffff;
}

.footer-links {
  white-space: nowrap;
}


/* ================= MOBILE ================= */

@media(max-width:900px){
  .hero-content{
    margin-top:0;
  }

  .hero-content h1{
    font-size:40px;
  }

  .hero-services{
    flex-direction:column;
    gap:16px;
  }

  .pulse{
    width:360px;
    height:360px;
    right:50%;
    transform:translate(50%,-50%);
  }

  .service-grid{
    grid-template-columns:1fr;
  }

  .ref-grid{
    grid-template-columns:1fr 1fr;
  }

  .contact-grid{
    grid-template-columns:1fr;
  }
}
