/* ===================================================================
   MBSoft Yazılım — Dijital Çözüm Stüdyosu
   Saf CSS. Renkler ve ölçüler :root altında.
   =================================================================== */
:root {
  --paper: #0a0b0d;
  --paper-2: #0f1114;
  --surface: #131519;
  --surface-2: #171a1f;
  --ink: #f4f5f6;
  --ink-soft: #bcbfc7;
  --muted: #83868f;
  --line: #212329;
  --line-soft: #1a1c21;
  --accent: #ff5c3d;
  --accent-ink: #ff8064;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, .55);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --maxw: 1140px;
  --pad: clamp(20px, 5vw, 40px);
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.72;
  font-size: 16px;
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 200;
}
.skip-link:focus { left: 8px; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 11, 13, .7);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0;
}
.brand-logo {
  width: auto;
  height: 42px;
  flex: none;
  color: var(--accent);
  transition: transform .35s var(--ease);
}
.brand-logo .l-m { stroke: var(--ink); }
.brand-logo .l-b { stroke: var(--accent); }
.brand-logo .frame { stroke: var(--accent); }
.brand:hover .brand-logo { transform: translateY(-1px) scale(1.04); }
.footer-brand .brand-logo { height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent-ink); }

.nav-cta {
  border: 1px solid var(--line);
  padding: 9px 20px;
  border-radius: 999px;
  color: var(--ink) !important;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }

.nav-toggle {
  display: none;
  width: 44px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle span {
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .14s var(--ease), background .2s, color .2s, gap .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-link {
  padding-inline: 4px;
  color: var(--ink);
  border-radius: 0;
  border-bottom: 1px solid var(--muted);
}
.btn-link:hover { gap: 12px; color: var(--accent-ink); border-color: var(--accent-ink); }

/* ============ Hero ============ */
.hero {
  padding-block: clamp(44px, 8vw, 84px) clamp(36px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 2; }

/* Hero — tüm genişlikte kablo ağı, farklı noktalarda seyrek deşarjlar */
.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: .85;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
.hero-fx svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* kablo ağı hafifçe salınır */
.fx-bundle {
  transform-origin: 50% 30%;
  animation: sway 12s ease-in-out infinite alternate;
}
@keyframes sway {
  from { transform: translate3d(-8px, -6px, 0) rotate(-1deg); }
  to   { transform: translate3d(10px, 10px, 0) rotate(1deg); }
}

.hero-fx .wire {
  fill: none;
  stroke: rgba(134, 152, 180, .16);
  stroke-width: 1.3;
}

/* deşarj: gerçekçi şimşek — mavimsi-beyaz ark yavaşça akıp kaybolur */
.hero-fx .spark {
  fill: none;
  stroke: #eaf2ff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 46 3000;
  stroke-dashoffset: 3046;
  opacity: 0;
  filter:
    drop-shadow(0 0 3px #ffffff)
    drop-shadow(0 0 9px rgba(150, 190, 255, .85))
    drop-shadow(0 0 20px rgba(110, 150, 240, .5));
}
.hero-fx .spark.k1 { animation: strike 17s linear infinite 1s; }
.hero-fx .spark.k2 { animation: strike 21s linear infinite 6s; }
.hero-fx .spark.k3 { animation: strike 25s linear infinite 12s; }
.hero-fx .spark.k4 { animation: strike 29s linear infinite 18s; }
.hero-fx .spark.k5 { animation: strike 34s linear infinite 24s; }

@keyframes strike {
  0%    { stroke-dashoffset: 3046; opacity: 0; }
  1%    { opacity: 1; }
  22%   { stroke-dashoffset: 0; opacity: 1; }
  24%   { opacity: 0; }
  100%  { stroke-dashoffset: 0; opacity: 0; }
}

/* dallanan şimşek: farklı noktalarda, seyrek çakar */
.hero-fx .bolt {
  fill: none;
  stroke: #eaf2ff;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 10px rgba(150, 190, 255, .8));
  opacity: 0;
}
.hero-fx .bolt.b1 { animation: flash 21s steps(1) infinite 4s; }
.hero-fx .bolt.b2 { animation: flash 26s steps(1) infinite 13s; }
@keyframes flash {
  0%, 100% { opacity: 0; }
  0.5% { opacity: .95; }
  1.4% { opacity: 0; }
  2.3% { opacity: .5; }
  3.2% { opacity: 0; }
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 77, 46, .5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(255, 77, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 46, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.8vw, 4.3rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  max-width: 20ch;
  margin-bottom: 20px;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-ink);
}

.hero-lead {
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 50ch;
  margin-bottom: 28px;
}
.hero-lead strong { color: var(--ink); font-weight: 600; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 44px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1;
}
.hero-stats dd {
  font-size: .88rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ============ Marquee (kesintisiz şerit) ============ */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  flex: none;
  list-style: none;
  margin: 0;
  padding: 16px 0;
}
.marquee-group li {
  display: flex;
  align-items: center;
  flex: none;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--ink-soft);
  white-space: nowrap;
  padding-inline: 22px;
}
.marquee-group li::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 44px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ Sections ============ */
.section { padding-block: clamp(46px, 7vw, 80px); }
.section-paper { background: var(--paper-2); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(26px, 4vw, 42px);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 20px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex: none;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -.01em;
}

/* ============ Neden biz — pillars ============ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  background: var(--surface);
  padding: clamp(22px, 3vw, 32px);
}
.pillar-no {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
}
.pillar h3 {
  font-size: 1.2rem;
  margin: 14px 0 8px;
  letter-spacing: -.01em;
}
.pillar p { color: var(--muted); font-size: .96rem; }

/* ============ Hizmetler — list ============ */
.service-list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.service-list li {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  padding: clamp(16px, 2.4vw, 24px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
.service-list li:hover { padding-left: 12px; }
.s-idx {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--accent);
  padding-top: 4px;
  flex: none;
}
.service-list h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 4px;
}
.service-list p { color: var(--muted); font-size: .96rem; max-width: 52ch; }

/* ============ Süreç — steps ============ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: s;
}
.steps li {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.step-no {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .92rem; }

/* ============ İşler — work ============ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 40px);
}
.work-media {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.work-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.work:hover .work-media img { transform: scale(1.04); }
.work-meta { padding-top: 20px; }
.work-meta h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -.01em;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.work-meta h3 span { color: var(--accent); transition: transform .2s var(--ease); }
.work:hover .work-meta h3 span { transform: translate(3px, -3px); }
.work-meta p { color: var(--muted); font-size: .96rem; margin: 8px 0 14px; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: .78rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ============ Band (koyu — vurgu bölümü) ============ */
.band {
  position: relative;
  background: var(--paper-2);
  color: var(--ink);
  padding-block: clamp(48px, 7vw, 80px);
  border-block: 1px solid var(--line);
}
.band-inner {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  padding-left: clamp(18px, 3vw, 32px);
  border-left: 2px solid var(--accent);
}
.quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  line-height: 1.42;
  letter-spacing: -.005em;
  max-width: 26ch;
  color: var(--ink);
}
.quote cite {
  display: block;
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.band-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.band-stats dt {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -.01em;
}
.band-stats dd { font-size: .86rem; color: var(--muted); margin-top: 6px; }

/* ============ SSS ============ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 40px 17px 0;
  font-size: 1.02rem;
  font-weight: 600;
  position: relative;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--accent-ink); }
.faq details p {
  color: var(--muted);
  font-size: .95rem;
  padding-bottom: 20px;
  max-width: 62ch;
}

/* ============ İletişim ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(30px, 4vw, 52px);
  align-items: start;
}
.contact-info .section-head { margin-bottom: 0; }
.contact-info h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  letter-spacing: -.01em;
  line-height: 1.18;
  margin-bottom: 16px;
}
.contact-lead { color: var(--muted); max-width: 42ch; margin-bottom: 22px; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: grid; gap: 3px; font-size: .98rem; }
.contact-list span {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.contact-list a:hover { color: var(--accent-ink); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 92, 61, .25);
}
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
.form-note { font-size: .78rem; color: var(--muted); font-weight: 400; }
.form-note code { background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(36px, 5vw, 52px) 22px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}
.footer-brand { max-width: 34ch; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 12px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--ink-soft); font-size: .95rem; }
.footer-nav a:hover { color: var(--accent-ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer-bottom p { font-size: .84rem; color: var(--muted); }
.footer-bottom a:hover { color: var(--accent-ink); }

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .hero-fx { opacity: .45; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-cta { text-align: center; border: 1px solid var(--ink); margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
