/* ============================================================
   DFN Yazılım — Modern tek sayfa stilleri
   ============================================================ */

:root {
  --ink: #101014;
  --ink-soft: #1b1b22;
  --muted: #5c5c68;
  --line: #e8e8e6;

  --bg: #fbfbfa;
  --card: #ffffff;
  --dark: #101014;

  --accent: #4338ca;
  --accent-hover: #3730a3;
  --accent-soft: #eef0fe;

  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-head: "Space Grotesk", "Inter", Arial, sans-serif;

  --container: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
}

/* ---------- Temel ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--alt { background: #f2f2ef; }

/* ---------- Bölüm başlıkları ---------- */
.section-head {
  max-width: 620px;
  margin-bottom: 52px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #dcdffb;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent); color: #fff; }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 250, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 10px 16px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
}
.main-nav a:hover { background: #f0f0ec; color: var(--ink); }
.main-nav .btn { margin-left: 10px; padding: 11px 22px; color: #fff; }
.main-nav .btn:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 100px;
  background:
    radial-gradient(circle at 1px 1px, #dededb 1.2px, transparent 0) 0 0 / 28px 28px,
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__media img {
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px -24px rgba(16, 16, 20, 0.25);
}

/* ---------- Kartlar ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  border-color: #c7cbf5;
  box-shadow: 0 20px 44px -22px rgba(16, 16, 20, 0.22);
  transform: translateY(-4px);
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Hakkımızda ---------- */
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__text p { color: var(--muted); }
.checklist {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
}
.checklist svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }

.about__panel {
  background: var(--dark);
  color: #fff;
  border-radius: 22px;
  padding: 52px 44px;
}
.about__panel h3 { color: #fff; font-size: 1.55rem; }
.about__panel p { color: #a7a7b2; }
.about__panel .divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 28px 0;
}
.about__panel .quote {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  color: #e5e5ea;
}
.about__panel .btn--light:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #a7a7b2;
  font-size: 0.9rem;
}
.footer-bottom { padding: 26px 0; }
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom a { color: #a7a7b2; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Görünüm animasyonu ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 80px 0 72px; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero__media { max-width: 620px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about .container { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 2px; }
  .main-nav a { padding: 12px 10px; border-radius: var(--radius-sm); }
  .main-nav .btn { margin: 10px 0 0; text-align: center; }
  .cards-grid { grid-template-columns: 1fr; }
  .about__panel { padding: 40px 28px; }
}
