:root {
  --bg: #0c0c0c;
  --surface: #141414;
  --border: #222;
  --accent: #c8f135;
  --accent2: #ff5c3a;
  --text: #f0ede6;
  --muted: #666;
  --card-bg: #161616;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NOISE OVERLAY */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(20px);
}

.nav-logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: #000 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover {
  opacity: 0.85;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 241, 53, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 241, 53, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridFade 3s ease forwards;
}

@keyframes gridFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 241, 53, 0.12) 0%,
    transparent 70%
  );
  top: -100px;
  right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 92, 58, 0.08) 0%,
    transparent 70%
  );
  bottom: 100px;
  left: 200px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 241, 53, 0.1);
  border: 1px solid rgba(200, 241, 53, 0.25);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
  width: fit-content;
  animation: fadeUp 0.8s 0.2s both;
}

.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero h1 {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 900px;
  animation: fadeUp 0.8s 0.4s both;
}

.hero h1 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 3rem;
  animation: fadeUp 0.8s 0.6s both;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 400px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #000;
  padding: 0.9rem 2rem;
  border-radius: 3rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  padding: 0.9rem 2rem;
  border: 1px solid var(--border);
  border-radius: 3rem;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.btn-ghost:hover {
  border-color: var(--muted);
  transform: translateY(-2px);
}

/* STATS BAR */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 2rem;
  border-right: 1px solid var(--border);
}
.stat:last-child {
  border-right: none;
}

.stat-num {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--accent);
  letter-spacing: -0.03em;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
  display: block;
}

/* SECTION */
section {
  padding: 6rem 3rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.section-num {
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-title {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-title em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--accent);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--card-bg);
  padding: 2.5rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  background: #1c1c1c;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* REFERENCES */
.refs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ref-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  text-decoration: none;
  display: block;
  border: 1px solid var(--border);
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s;
}
.ref-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.ref-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  transition: transform 0.6s;
  position: relative;
}
.ref-card:hover .ref-bg {
  transform: scale(1.05);
}

.ref-bg.dentist {
  background: linear-gradient(135deg, #0a2a4a 0%, #1a5c8a 50%, #0d3d6b 100%);
}
.ref-bg.psycho {
  background: linear-gradient(135deg, #2d3a2e 0%, #4a6741 50%, #3d5c35 100%);
}
.ref-bg.garage {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1f1f1f 100%);
}
.ref-bg.barber {
  background: linear-gradient(135deg, #2a1a0e 0%, #5c3a1e 50%, #3d2510 100%);
}

.ref-mockup {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.mock-nav {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mock-hero-line {
  height: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 6px;
  width: 60%;
}
.mock-hero-line.short {
  width: 40%;
  background: rgba(255, 255, 255, 0.08);
}

.mock-btn {
  height: 22px;
  width: 80px;
  border-radius: 20px;
  margin-top: 10px;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.mock-block {
  height: 40px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

.ref-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background 0.3s;
}
.ref-card:hover .ref-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.3) 60%
  );
}

.ref-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.ref-name {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.3rem;
}

.ref-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.ref-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition:
    background 0.2s,
    transform 0.2s;
}
.ref-card:hover .ref-arrow {
  background: var(--accent);
  color: #000;
  transform: rotate(45deg);
}

/* PROCESS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card-bg);
  transition: border-color 0.3s;
}
.step:hover {
  border-color: var(--accent);
}

.step-num {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: rgba(200, 241, 53, 0.15);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}



/* CONTACT */
.contact-section {
  background: var(--surface);
  margin: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;

  /* 👇 ez hiányzott */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6rem 2rem;
  gap: 1.5rem;
}

.contact-section .section-title {
  margin-bottom: 0.5rem;
}

.contact-desc {
  color: var(--muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* CTA középre fixen */
.hero-cta-group2 {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
}

/* email maradhat, csak finomítva */
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.25rem;
  transition: all 0.2s;
  margin-top: 1.5rem;
}

.contact-email:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
}

.footer-logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--muted);
}
.footer-logo span {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mock-btn.garage-btn {
  background: #e53e3e;
}
.mock-btn.barber-btn {
  background: #c9a84c;
}

.mock-logo {
  height: 8px;
  width: 80px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  margin-bottom: 14px;
}

/* =========================
   RESPONSIVE / MOBILE
========================= */

@media (max-width: 1100px) {

  .hero-sub,
  .section-header,
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar {
    flex-wrap: wrap;
  }

  .stat {
    width: 50%;
    border-bottom: 1px solid var(--border);
    padding: 2rem 1rem;
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .refs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  nav {
    padding: 1rem 1.25rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 7rem 1.25rem 3rem;
    min-height: auto;
  }

  section {
    padding: 4rem 1.25rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 5rem);
    line-height: 1;
  }

  .hero-sub {
    margin-top: 2rem;
  }

  .hero-desc {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-cta-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    justify-content: center;
    width: 100%;
  }

  .services-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .service-card,
  .step {
    padding: 1.75rem;
  }

  .stats-bar {
    padding: 0;
  }

  .stat {
    width: 100%;
    border-right: none;
  }

  .stat:not(:last-child) {
    border-bottom: 1px solid var(--border);
  }

  .section-title {
    font-size: 2.2rem;
  }

  .contact-email {
    font-size: 1.2rem;
    word-break: break-word;
    text-align: center;
  }

  .ref-overlay {
    padding: 1.25rem;
  }

  .ref-name {
    font-size: 1.1rem;
  }

  .ref-desc {
    font-size: 0.78rem;
  }

  footer {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 480px) {

  .nav-links a {
    font-size: 0.72rem;
  }

  .hero-tag {
    font-size: 0.7rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stat-num {
    font-size: 2rem;
  }

  .service-title,
  .step-title {
    font-size: 1rem;
  }

  .contact-email {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 3.2rem);
    line-height: 1.05;
    word-break: normal;
  }

  .hero-sub {
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-tag {
    margin-top: 4.5rem;
  }
}

