:root {
  /* Kurumsal taban (lacivert) */
  --c-ink:        #0A1A33;   /* en koyu — koyu bölüm zemini */
  --c-navy:       #0B2A5B;   /* kurumsal lacivert */
  --c-navy-700:   #143A78;
  /* AI-tech vurgu (gradient) */
  --c-accent:     #2E7CF6;   /* elektrik mavisi */
  --c-accent-2:   #22D3EE;   /* camgöbeği */
  --c-accent-3:   #7C3AED;   /* mor (gradient ucu) */
  /* Nötr / açık yüzeyler */
  --c-bg:         #FFFFFF;
  --c-surface:    #F6F8FC;   /* açık bölüm zemini */
  --c-border:     #E3E9F2;
  --c-text:       #0F172A;   /* ana metin */
  --c-muted:      #5B6B85;   /* ikincil metin */
  --c-on-dark:    #E7EEFB;   /* koyu zeminde metin */
}

/* İki dildeki yatay logolar navigasyonla çakışmadan ölçeklenir. */
.site-brand { min-width: 0; max-width: calc(100% - 140px); }
.site-logo { display: block; width: 300px; max-width: 100%; height: auto; }
@media (min-width: 768px) { .site-logo { width: 350px; } }
@media (min-width: 1280px) { .site-logo { width: 310px; } }
.ecosystem-layout { display: grid; gap: 3rem; align-items: center; }
.ecosystem-figure { background: white; border: 1px solid var(--c-border); border-radius: 1.5rem; padding: 1.25rem; min-width: 0; }
.ecosystem-figure img { width: 100%; height: auto; }
.ecosystem-pillars { display: grid; gap: 1rem; }
.ecosystem-pillars li { display: flex; align-items: center; gap: .75rem; color: var(--c-navy); }
.ecosystem-pillars li span { display: grid; place-items: center; flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%; background: white; border: 1px solid var(--c-border); font-size: .8rem; }
.gallery-grid { display: grid; gap: 2rem; }
.gallery-card { overflow: hidden; border-radius: 1rem; border: 1px solid var(--c-border); background: white; }
.gallery-card > a { display: flex; align-items: center; background: var(--c-surface); aspect-ratio: 3 / 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: contain; }
.gallery-card figcaption { padding: 1.5rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ecosystem-layout { grid-template-columns: .9fr 1.1fr; } }

/* Typography Base */
body {
  font-family: 'Inter', sans-serif;
  color: var(--c-text);
  background-color: var(--c-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.1;
}

/* Utility Classes */
.container {
  max-width: 80rem; /* 1280px (max-w-7xl) */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(120deg, var(--c-accent), var(--c-accent-2));
  color: white;
  font-weight: 500;
  border-radius: 0.75rem; /* rounded-xl */
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 124, 246, 0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  font-weight: 500;
  border-radius: 0.75rem;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-ghost:hover {
  background-color: var(--c-surface);
  border-color: var(--c-muted);
}

.card {
  background-color: white;
  border: 1px solid var(--c-border);
  border-radius: 1rem; /* rounded-2xl */
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.gradient-text {
  background: linear-gradient(120deg, var(--c-accent), var(--c-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.dark-section {
  background-color: var(--c-ink);
  color: var(--c-on-dark);
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up-active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-video {
    display: none;
  }
}
