/* Marka renkleri — assets/microsis-logo.png'den */
:root {
  --ink: #222222;       /* "MICROSIS" yazısı */
  --orange: #f28a1e;    /* i noktaları — vurgu / etkileşim */
  --indigo: #3a2d8c;    /* ikincil */
  --cyan: #63c4d4;      /* ikincil */
  --muted: #5c5c66;
  --bg: #f7f7f9;
  --surface: #ffffff;
  --line: #e6e6ec;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  position: relative;
}

/* ---- Hero ---- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 16px 48px;
  position: relative;
  z-index: 1;
}

.logo {
  width: min(520px, 86vw);
  height: auto;
  margin-bottom: 48px;
}

h1 {
  margin: 0 0 12px;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.6rem, 4.2vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.lead {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.6;
  color: var(--muted);
}

/* ---- Dekoratif noktalar (logodaki eğik nokta dizisinden) ---- */
.dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dots span {
  position: absolute;
  border-radius: 50%;
  opacity: 0.16;
  transform: rotate(-35deg);
  animation: drift 14s ease-in-out infinite alternate;
}

.dots span:nth-child(1) { width: 220px; height: 280px; top: -90px;  right: -60px;  background: var(--cyan); }
.dots span:nth-child(2) { width: 130px; height: 165px; top: 170px;  right: 150px;  background: var(--indigo); animation-delay: -3s; }
.dots span:nth-child(3) { width: 70px;  height: 90px;  top: 70px;   right: 230px;  background: var(--cyan);   animation-delay: -6s; }
.dots span:nth-child(4) { width: 190px; height: 240px; bottom: 90px; left: -80px;  background: var(--orange); animation-delay: -2s; }
.dots span:nth-child(5) { width: 90px;  height: 115px; bottom: 300px; left: 110px; background: var(--indigo); animation-delay: -8s; }
.dots span:nth-child(6) { width: 44px;  height: 56px;  bottom: 250px; left: 230px; background: var(--orange); animation-delay: -5s; }

@keyframes drift {
  to { translate: 0 -18px; }
}

@media (prefers-reduced-motion: reduce) {
  .dots span { animation: none; }
}

/* ---- İletişim şeridi ---- */
.contact {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  padding: 28px 16px 20px;
  background: var(--ink);
  color: #fff;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 30rem;
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 10px;
  transition: background-color 0.2s;
}

.contact-item:hover,
.contact-item:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.contact-item:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  fill: var(--orange);
}

.label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.copyright {
  flex-basis: 100%;
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
  .logo { margin-bottom: 36px; }
  /* Dar ekranda metnin arkasına düşen orta noktaları gizle */
  .dots span:nth-child(2),
  .dots span:nth-child(3),
  .dots span:nth-child(5) { display: none; }
  .contact { flex-direction: column; align-items: stretch; }
  .contact-item { max-width: none; }
}
