/**
 * Denklem Bilgisayar — Sayfa Bölümleri ve Özel Tasarımlar (pages.css)
 * Hero Alanı • Çözüm Vitrini • İletişim Grid Simetrisi • Donanım Panelleri • CTA
 */

/* ==================== 1. HERO BÖLÜMÜ (ANA SAYFA MANŞET) ==================== */
.hero-section {
  position: relative;
  padding-top: clamp(48px, 6vw, 90px);
  padding-bottom: clamp(56px, 7vw, 100px);
  background: radial-gradient(circle at 80% 20%, rgba(245, 124, 0, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(2, 132, 199, 0.05) 0%, transparent 45%),
              var(--bg-body);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background-color: #ecfdf5;
  color: #059669;
  border: 1px solid #d1fae5;
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #059669;
  display: inline-block;
}

.hero-title {
  font-size: clamp(1.85rem, 1.6rem + 0.8vw, 2.4rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-title span.highlight-orange {
  color: var(--primary-orange);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: var(--font-lg);
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-size: var(--font-2xl);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-num span {
  color: var(--primary-orange);
}

.hero-stat-text {
  font-size: var(--font-xs);
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Görsel / Ekosistem Kartı */
.hero-visual {
  position: relative;
}

.hero-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-orange), var(--tech-blue));
}

.ecosystem-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ecosystem-title {
  font-size: var(--font-base);
  font-weight: 800;
  color: var(--navy-900);
}

.ecosystem-badge {
  font-size: var(--font-xs);
  font-weight: 700;
  padding: 4px 10px;
  background-color: #ecfdf5;
  color: #059669;
  border-radius: var(--radius-full);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.eco-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  transition: all var(--transition-normal);
}

.eco-item:hover {
  background-color: var(--primary-orange-light);
  border-color: var(--primary-orange-border);
  transform: translateY(-2px);
}

.eco-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.eco-item-name {
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.eco-item-desc {
  font-size: var(--font-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==================== 2. HİZMET VE ÇÖZÜM MODÜLLERİ ==================== */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-sm);
  color: var(--text-body);
}

.feature-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ==================== 3. SİNERJİ / NEDEN BİZ BÖLÜMÜ ==================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-point-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.why-point-card:hover {
  border-color: rgba(245, 124, 0, 0.3);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.why-point-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.why-point-title {
  font-size: var(--font-base);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.why-point-desc {
  font-size: var(--font-sm);
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==================== 4. İLETİŞİM SAYFASI SİMETRİK GRID ==================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.contact-info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.contact-form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

/* ==================== 5. KURUMSAL CTA BANNER ==================== */
.cta-box {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 124, 0, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: var(--font-2xl);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: var(--font-base);
  color: #cbd5e1;
  line-height: 1.6;
}

.cta-actions {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* ==================== 6. RESPONSIVE DÜZENLEME ==================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .cta-box {
    flex-direction: column;
    text-align: center;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 580px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
