/* ==========================================================================
   Keskintech — home.css
   Anasayfa-spesifik stiller.
   Bölümler:
     1. Hero (background + copy + visual cards)
     2. Services grid (6 kart)
     3. Why Us (navy zemin grid)
     4. Marketplaces (logos + split CTA)
     5. Blog teaser (3 kart)
   Process, stats grid, CTA banner zaten components.css'tedir.
   ========================================================================== */


/* ==========================================================================
   1. HERO
   ========================================================================== */

.kt-hero {
  position: relative;
  min-height: calc(100vh - 110px);
  padding: 64px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.kt-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 80% 10%, rgba(37, 99, 235, .32), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(16, 185, 129, .16), transparent 60%),
    linear-gradient(180deg, #0A1628 0%, #0B1B33 60%, #0A1628 100%);
}
.kt-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.kt-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 200px);
  position: relative;
  z-index: 1;
}

.kt-hero-copy {
  color: var(--white);
  max-width: 620px;
}
.kt-hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
  margin: 0 0 28px;
  max-width: 540px;
}
.kt-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* Hero visual */
.kt-hero-visual {
  position: relative;
  min-height: 480px;
}
.kt-hero-grid {
  position: absolute;
  inset: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37, 99, 235, .18), rgba(16, 185, 129, .08));
  border: 1px solid rgba(255, 255, 255, .08);
}
.kt-hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  right: -40px;
  top: 30px;
  background: radial-gradient(circle, rgba(37, 99, 235, .55), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.kt-hero-card {
  position: absolute;
  background: rgba(15, 31, 56, .85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 14px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, .4),
    0 1px 0 rgba(255, 255, 255, .06) inset;
  color: var(--white);
}

/* Card 1 — IDE mockup */
.kt-hero-card-1 {
  top: 40px;
  left: 0;
  right: 60px;
  padding: 14px;
}
.kt-hero-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 12px;
}
.kt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.kt-dot-r { background: #ef4444; }
.kt-dot-y { background: #f59e0b; }
.kt-dot-g { background: var(--emerald); }

.kt-hero-card-title {
  margin-left: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-mono);
}
.kt-hero-code {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .85);
  white-space: pre-wrap;
}

/* Card 2 — Lighthouse skoru */
.kt-hero-card-2 {
  bottom: 30px;
  left: 30px;
  padding: 18px;
  width: 200px;
}
.kt-hero-metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.kt-hero-metric-label {
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.kt-hero-metric-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--emerald);
}
.kt-hero-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
}
.kt-hero-bars span {
  flex: 1;
  background: linear-gradient(180deg, #60A5FA, var(--blue));
  border-radius: 3px 3px 0 0;
}

/* Card 3 — Deploy pill */
.kt-hero-card-3 {
  top: 200px;
  right: -10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kt-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, .15);
  color: #6EE7B7;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, .3);
  white-space: nowrap;
}
.kt-hero-pill svg { color: #6EE7B7; }


/* ==========================================================================
   2. SERVICES (6 kart) — kart stilleri components.css'tedir
   ========================================================================== */

.kt-section-home-services {
  padding: 96px 0;
}


/* ==========================================================================
   3. WHY US — navy zemin stilleri components.css'tedir
   ========================================================================== */


/* ==========================================================================
   3.5. INDUSTRIES — Sektör tecrübesi göstergesi
   ========================================================================== */

.kt-industries { padding: 96px 0; }

.kt-industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kt-industry-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.kt-industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald);
}

.kt-industry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(16, 185, 129, .14);
  color: var(--emerald-2);
  margin-bottom: 16px;
}

.kt-industry-count {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  color: var(--emerald-2);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.kt-industry-label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.kt-industry-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}


/* ==========================================================================
   4. MARKETPLACES
   ========================================================================== */

.kt-section-marketplaces .kt-section-head { margin-bottom: 32px; }

.kt-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 24px 0;
  margin-bottom: 24px;
}

.kt-mp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

/* Feature list: 2x2 grid (tam genişlik) */
.kt-mp-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 8px 0 32px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* 2 CTA kart yan yana */
.kt-mp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.kt-mp-cta-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.kt-mp-cta-card::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(16, 185, 129, .4), transparent 70%);
  filter: blur(20px);
}
.kt-mp-cta-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  position: relative;
}
.kt-mp-cta-desc {
  color: rgba(255, 255, 255, .75);
  margin: 0 0 24px;
  position: relative;
}
.kt-mp-cta-card .kt-btn {
  position: relative;
}
.kt-mp-cta-card .kt-btn-dark {
  background: var(--emerald);
}
.kt-mp-cta-card .kt-btn-dark:hover {
  background: var(--emerald-2);
}

/* ── Marketplaces ürün kartı varyantı ─────────────────────────────────── */
.kt-mp-cta-card-product {
  background: linear-gradient(135deg, #1E3A8A 0%, #0A1628 100%);
  border: 1px solid rgba(96, 165, 250, .25);
}
.kt-mp-cta-card-product::before {
  background: radial-gradient(circle, rgba(96, 165, 250, .35), transparent 70%);
}
.kt-mp-cta-card-product .kt-btn-dark {
  background: var(--blue);
}
.kt-mp-cta-card-product .kt-btn-dark:hover {
  background: #1D4ED8;
}

/* Badge (her iki CTA kartında ortak yapı) */
.kt-mp-product-badge,
.kt-mp-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  position: relative;
  border: 1px solid transparent;
}
.kt-mp-product-badge .kt-eyebrow-dot,
.kt-mp-service-badge .kt-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}

/* Marketplaces ürün kartı — mavi tema */
.kt-mp-product-badge {
  color: #93C5FD;
  background: rgba(96, 165, 250, .12);
  border-color: rgba(96, 165, 250, .25);
}
.kt-mp-product-badge .kt-eyebrow-dot {
  background: #60A5FA;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, .18);
}

/* Hizmet kartı — emerald tema */
.kt-mp-service-badge {
  color: #6EE7B7;
  background: rgba(16, 185, 129, .14);
  border-color: rgba(16, 185, 129, .28);
}
.kt-mp-service-badge .kt-eyebrow-dot {
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .18);
}

.kt-mp-cta-tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .65);
  letter-spacing: .02em;
  margin-top: 4px;
  text-transform: none;
}


/* ==========================================================================
   5. BLOG TEASER — kart stilleri components.css'tedir
   ========================================================================== */


/* ==========================================================================
   6. RESPONSIVE (anasayfa-spesifik)
   ========================================================================== */

@media (max-width: 1024px) {
  .kt-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }
  .kt-hero-visual {
    min-height: 380px;
  }

  .kt-mp-split { grid-template-columns: 1fr; }
  .kt-mp-cards { grid-template-columns: 1fr; }

  .kt-industries-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .kt-hero { padding: 24px 0 56px; min-height: auto; }
  .kt-hero-card-2 { display: none; }
  .kt-hero-card-1 { right: 20px; }
  .kt-hero-card-3 { right: 10px; top: 240px; }
  .kt-hero-visual { min-height: 360px; }

  .kt-section-home-services { padding: 64px 0; }
  .kt-mp-cta-card { padding: 28px 24px; }
  .kt-mp-features { grid-template-columns: 1fr; }

  .kt-industries { padding: 64px 0; }
  .kt-industries-grid { grid-template-columns: 1fr; }
  .kt-industry-card { padding: 22px 20px; }
}
