/* ================================
   GENEL AYARLAR & DEĞİŞKENLER
=================================== */

:root {
  --bg-body: #f5f7fb;
  --bg-light: #ffffff;
  --bg-dark: #0f172a;

  --primary: #2563eb;      /* ana buton/ vurgu rengi */
  --primary-soft: #dbeafe; /* açık mavi arka plan */
  --accent: #22c55e;       /* küçük vurgular için */
  --border-soft: #e5e7eb;

  --text-main: #111827;
  --text-muted: #6b7280;
  --text-invert: #f9fafb;

  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-header: 0 10px 25px rgba(15, 23, 42, 0.06);

  --max-width: 1080px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e0edff 0, #f5f7fb 45%, #f5f7fb 100%);
  color: var(--text-main);
  line-height: 1.6;
}

/* ================================
   GENEL YAPI
=================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ================================
   HEADER & MENÜ
=================================== */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-header);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bg-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.logo::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 9px;
  background: conic-gradient(from 140deg, #22c55e, #2563eb, #4f46e5);
}

/* NAV */

nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #22c55e);
  transition: width var(--transition-fast);
}

nav a:hover {
  color: var(--bg-dark);
}

nav a:hover::after {
  width: 100%;
}

/* Mobil menü için basit yaklaşım (çok temel) */
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem 1rem;
  }
}

/* ================================
   HERO BÖLÜMÜ
=================================== */

.hero {
  padding: 4rem 0 3rem;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.2vw + 1rem, 2.8rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--bg-dark);
}

.hero p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.hero .btn-primary {
  margin-right: 0.75rem;
}

.hero-visual {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, #eff6ff 0, #ffffff 45%, #e5f3ff 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* Eğer hero içine görsel koyarsan */
.hero-visual img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

/* Küçük yüzen etiketler */
.hero-label {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  padding: 0.35rem 0.75rem;
  background: rgba(15, 23, 42, 0.86);
  color: var(--text-invert);
  border-radius: 999px;
  font-size: 0.75rem;
}

/* HERO responsive */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-visual {
    order: -1;
  }
}

/* ================================
   BUTONLAR
=================================== */

.btn-primary,
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  cursor: pointer;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

/* Asıl CTA */
.btn-primary {
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: var(--text-invert);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.45);
}

/* Link tarzı buton */
.btn-link {
  padding: 0.25rem 0;
  color: #2563eb;
  background: transparent;
}

.btn-link::after {
  content: "↗";
  font-size: 0.85rem;
  margin-left: 0.15rem;
}

.btn-link:hover {
  color: #1d4ed8;
}

/* ================================
   GENEL BÖLÜMLER
=================================== */

.section {
  padding: 3rem 0;
}

.section-alt {
  background: #f9fafb;
}

.section .container > h2,
.section-alt .container > h2 {
  margin-top: 0;
  margin-bottom: 1.75rem;
  font-size: 1.6rem;
  color: var(--bg-dark);
}

/* ================================
   GRID YAPILARI
=================================== */

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
}

.grid > div img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* 3 kolonlu özellik blokları */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-3 > div {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.grid-3 h3 {
  margin-top: 0;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.grid-3 p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Grid responsive ayarları */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ================================
   LİSTELER
=================================== */

.section ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section li + li {
  margin-top: 0.25rem;
}

/* ================================
   CTA BÖLÜMÜ
=================================== */

.section.cta {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #1d4ed8, #22c55e);
  color: var(--text-invert);
  text-align: center;
}

.section.cta h2 {
  margin: 0 0 0.75rem;
  font-size: 1.7rem;
}

.section.cta p {
  margin: 0 0 1.5rem;
  color: rgba(241, 245, 249, 0.9);
}

.section.cta .btn-primary {
  background: #ffffff;
  color: #1d4ed8;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.section.cta .btn-primary:hover {
  background: #e5ecff;
}

/* ================================
   FOOTER
=================================== */

footer {
  border-top: 1px solid var(--border-soft);
  background: #f9fafb;
  font-size: 0.85rem;
}

footer .container {
  padding: 1.4rem 1.25rem;
  text-align: center;
  color: var(--text-muted);
}

/* ================================
   KÜÇÜK DOKUNUŞLAR
=================================== */

/* Başlıklar arası boşluklar */
h1, h2, h3 {
  letter-spacing: -0.01em;
}

/* Linkler */
a {
  color: inherit;
}

/* Görseller için küçük animasyon */
img {
  max-width: 100%;
  height: auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

img:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

/* Body padding küçük ekranlarda */
@media (max-width: 480px) {
  .section,
  .hero {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
