/* ========================================
   KOBALT SUITE — Ana Stil Dosyası
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Tasarım Değişkenleri ── */
:root {
  --kobalt:       #0047AB;
  --kobalt-dark:  #003080;
  --kobalt-deep:  #001F5B;
  --kobalt-light: #1A6DD4;
  --kobalt-pale:  #E8F0FB;
  --kobalt-mist:  #F0F5FF;

  --accent:       #00C6AE;
  --accent-warm:  #FF6B35;

  --slate-50:  #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  --white: #FFFFFF;
  --body-bg: #F8FAFD;

  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,71,171,.08), 0 1px 2px rgba(0,71,171,.04);
  --shadow-md:  0 4px 16px rgba(0,71,171,.10), 0 2px 8px rgba(0,71,171,.06);
  --shadow-lg:  0 12px 40px rgba(0,71,171,.14), 0 4px 16px rgba(0,71,171,.08);
  --shadow-xl:  0 24px 64px rgba(0,71,171,.18), 0 8px 24px rgba(0,71,171,.10);

  --nav-h: 72px;
  --max-w: 1200px;
  --section-pad: 100px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--body-bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--slate-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { line-height: 1.75; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--slate-600);
  font-weight: 400;
  line-height: 1.7;
}

.mono { font-family: var(--font-mono); font-size: .875rem; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.section {
  padding-block: var(--section-pad);
}

.section--light { background: var(--white); }
.section--pale  { background: var(--kobalt-mist); }
.section--dark  {
  background: var(--kobalt-deep);
  color: var(--white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  :root { --section-pad: 60px; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--kobalt);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,71,171,.30);
}
.btn--primary:hover {
  background: var(--kobalt-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,71,171,.38);
}

.btn--outline {
  background: transparent;
  color: var(--kobalt);
  border: 2px solid var(--kobalt);
}
.btn--outline:hover {
  background: var(--kobalt-pale);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--kobalt);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.btn--white:hover {
  background: var(--kobalt-mist);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,198,174,.30);
}
.btn--accent:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.btn--sm { padding: 9px 20px; font-size: .875rem; }
.btn--lg { padding: 17px 36px; font-size: 1.05rem; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: all .25s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--kobalt-pale);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(248,250,253,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--kobalt-deep);
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo img { height: 70px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav__link {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: all .2s;
  text-decoration: none;
}
.nav__link:hover, .nav__link.active {
  color: var(--kobalt);
  background: var(--kobalt-pale);
}

.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown-item {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--slate-700);
  transition: all .15s;
  text-decoration: none;
}
.nav__dropdown-item:hover {
  background: var(--kobalt-pale);
  color: var(--kobalt);
}

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px;
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link { padding: 12px 16px; }

@media (max-width: 860px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__burger { display: flex; }
  .nav__actions .btn--outline { display: none; }
}

/* ── Footer ── */
.footer {
  background: var(--kobalt-deep);
  color: rgba(255,255,255,.75);
  padding: 72px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer__brand p { margin-top: 12px; font-size: .9rem; line-height: 1.7; }
.footer__logo { height: 70px; width: auto;  }
.footer__col h5 {
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
  font-family: var(--font-display);
}
.footer__col a {
  display: block;
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__rss {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  transition: all .2s;
  text-decoration: none;
}
.footer__rss:hover { background: rgba(255,255,255,.18); color: var(--white); }

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ── Section Headings ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--kobalt-pale);
  color: var(--kobalt);
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--kobalt);
}

.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header h2 { margin-bottom: 16px; }
.section-header .lead { max-width: 640px; }
.section-header--center .lead { margin-inline: auto; }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--font-display);
}
.badge--blue   { background: var(--kobalt-pale); color: var(--kobalt); }
.badge--green  { background: #E6FAF7; color: #007A6A; }
.badge--orange { background: #FFF0EA; color: #C44B1B; }

/* ── Divider ── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--slate-200), transparent);
  margin-block: 64px;
}

/* ── Stats row ── */
.stats-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--kobalt);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label { font-size: .875rem; color: var(--slate-500); }

/* ── Scroll-reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--slate-400);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--kobalt); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: linear-gradient(135deg, var(--kobalt-deep) 0%, var(--kobalt) 100%);
  color: var(--white);
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .lead { color: rgba(255,255,255,.8); }

/* ── Utility ── */
.text-center { text-align: center; }
.text-kobalt { color: var(--kobalt); }
.text-accent  { color: var(--accent); }
.fw-700 { font-weight: 700; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── Form ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: .9375rem;
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--kobalt);
  box-shadow: 0 0 0 3px rgba(0,71,171,.12);
}
.form-control::placeholder { color: var(--slate-400); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Blog card ── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.blog-card__thumb {
  background: linear-gradient(135deg, var(--kobalt-deep), var(--kobalt-light));
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.blog-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  color: var(--slate-400);
  margin-bottom: 12px;
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.3;
  margin-bottom: 12px;
}
.blog-card__excerpt {
  font-size: .875rem;
  color: var(--slate-500);
  line-height: 1.65;
  flex: 1;
}
.blog-card__footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-100);
}
.blog-card__read {
  font-size: .85rem;
  font-weight: 600;
  color: var(--kobalt);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.blog-card__read:hover { gap: 10px; }

/* ── Module cards ── */
.module-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--kobalt), var(--kobalt-light));
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}
.module-card:hover { box-shadow: var(--shadow-lg); border-color: var(--kobalt-pale); transform: translateY(-4px); }
.module-card:hover::before { transform: scaleX(1); }
.module-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--kobalt-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.module-card__icon svg { width: 24px; height: 24px; color: var(--kobalt); }
.module-card h3 { margin-bottom: 12px; }
.module-card p { font-size: .9rem; color: var(--slate-500); }
.module-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

/* ── Feature list ── */
.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-item__icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--kobalt-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item__icon svg { width: 12px; height: 12px; color: var(--kobalt); }
.feature-item p { font-size: .9375rem; color: var(--slate-600); }

/* ── CTA box ── */
.cta-box {
  background: linear-gradient(135deg, var(--kobalt-deep) 0%, var(--kobalt) 60%, var(--kobalt-light) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='white' fill-opacity='.1'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.cta-box h2 { color: var(--white); margin-bottom: 16px; position: relative; z-index: 1; }
.cta-box p  { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 36px; position: relative; z-index: 1; }
.cta-box .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

@media (max-width: 640px) {
  .cta-box { padding: 48px 28px; }
}

/* ── Prose (blog single) ── */
.prose h2 { margin: 2rem 0 1rem; font-size: 1.6rem; }
.prose h3 { margin: 1.75rem 0 .875rem; font-size: 1.25rem; }
.prose p  { margin-bottom: 1.25rem; }
.prose ul { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.prose ul li { margin-bottom: .5rem; list-style: disc; }
.prose strong { font-weight: 700; color: var(--slate-800); }
.prose a { color: var(--kobalt); text-decoration: underline; }
.prose blockquote {
  border-left: 3px solid var(--kobalt);
  padding: 16px 24px;
  background: var(--kobalt-mist);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--slate-600);
}

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 500px;
  background: var(--slate-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: .875rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.show { transform: none; opacity: 1; }
.cookie-banner p { color: rgba(255,255,255,.8); }
.cookie-banner__actions { display: flex; gap: 10px; }
