/* =========================================
   Safiro Teknoloji — Hero Section
   ========================================= */

:root {
  --bg-deep: #f8fafc;
  --bg-base: #f0f4f8;
  --bg-elev: #e8eef5;
  --bg-card: #ffffff;
  --border: rgba(22, 81, 160, 0.08);
  --border-strong: rgba(22, 81, 160, 0.15);
  
  --text: #0d1b2a;
  --text-dim: #4a5568;
  --text-mute: #718096;
  
  --accent: #1651a0;       /* marka mavisi */
  --accent-2: #2d6fc4;
  --accent-glow: rgba(22, 81, 160, 0.2);
  
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  
  --shadow-card: 0 1px 0 rgba(255,255,255,0.8) inset, 0 30px 60px -30px rgba(22,81,160,0.12);
}

/* =========================================
   HERO WRAPPER
   ========================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: auto;
  padding: 180px 48px 80px;
  overflow: hidden;
  isolation: isolate;
}

/* Background — light clean */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(22, 81, 160, 0.06), transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 70%, rgba(22, 81, 160, 0.04), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f8 100%);
  background-attachment: scroll;
  background-size: 100% 100%;
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 81, 160, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 81, 160, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-attachment: scroll;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}

/* =========================================
   CONTAINER (2 columns)
   ========================================= */
.hero__container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}

/* =========================================
   LEFT — content
   ========================================= */
.hero__content { max-width: 620px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(22, 81, 160, 0.06);
  font-size: 13px;
  font-weight: 500;
  color: #1651a0;
  letter-spacing: 0.01em;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2d6fc4;
  box-shadow: 0 0 12px rgba(22, 81, 160, 0.3);
}

.hero__title {
  margin: 28px 0 28px;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: #0d1b2a;
  text-wrap: pretty;
}
.hero__title-accent {
  color: #1651a0;
  font-weight: 700;
}

.hero__desc {
  margin: 0 0 36px;
  font-size: 17px;
  line-height: 1.6;
  color: #4a5568;
  max-width: 540px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn--primary {
  background: #1651a0;
  color: #ffffff;
  box-shadow: 0 0 0 0 rgba(22,81,160,0.2), 0 10px 30px -10px rgba(22, 81, 160, 0.4);
}
.btn--primary:hover {
  background: #0e3a78;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: #0d1b2a;
  border-color: rgba(22, 81, 160, 0.25);
}
.btn--ghost:hover {
  border-color: rgba(22, 81, 160, 0.5);
  background: rgba(22, 81, 160, 0.06);
  color: #1651a0;
}

/* =========================================
   RIGHT — feature panel
   ========================================= */
.hero__panel {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #dce6f5 0%, #e8eef8 50%, #d6e2f2 100%);
  border: 1px solid rgba(22, 81, 160, 0.15);
  box-shadow: 0 8px 40px -12px rgba(22, 81, 160, 0.18), 0 1px 0 rgba(255,255,255,0.8) inset;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  grid-auto-rows: 1fr;
}

.feature {
  padding: 24px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(22, 81, 160, 0.1);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-clip: padding-box;
  -webkit-background-clip: padding-box;
  box-shadow: 0 2px 8px rgba(22, 81, 160, 0.06);
}

.feature > * {
  position: relative;
  z-index: 1;
}

.feature:hover {
  border-color: rgba(22, 81, 160, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 81, 160, 0.12);
}

.feature:hover::before {
  opacity: 0.25;
}

/* Daha Fazlasını Keşfet kartı için özel stil */
.feature--discover {
  background: linear-gradient(135deg, rgba(22, 81, 160, 0.08) 0%, rgba(22, 81, 160, 0.05) 100%);
  border-color: rgba(22, 81, 160, 0.2);
}
.feature--discover:hover {
  background: linear-gradient(135deg, rgba(22, 81, 160, 0.12) 0%, rgba(22, 81, 160, 0.08) 100%);
  border-color: rgba(22, 81, 160, 0.35);
  transform: translateY(-2px);
}
.feature--discover .feature__icon {
  color: #1651a0;
}
.feature--discover .feature__title {
  color: #1651a0;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: #1651a0;
}

/* Feature kartları — arka plan görseli olan kartlarda açıklama beyaz, başlık+ikon açık mavi */
.feature[style*="background-image"] .feature__title {
  color: #6cb4e8 !important;
  font-weight: 700 !important;
}

.feature[style*="background-image"] .feature__desc {
  color: rgba(255, 255, 255, 0.9) !important;
}

.feature[style*="background-image"] .feature__icon {
  color: #6cb4e8 !important;
}

/* Hero panel içindeki tüm feature kartları */
.hero__panel .feature .feature__title {
  color: #6cb4e8;
  font-weight: 700;
}

.hero__panel .feature .feature__desc {
  color: rgba(255, 255, 255, 0.85);
}

.hero__panel .feature .feature__icon {
  color: #6cb4e8;
}

.feature__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #0d1b2a;
  line-height: 1.35;
}
.feature__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #4a5568;
}

.feature-note {
  margin-top: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(22, 81, 160, 0.1);
  background: rgba(22, 81, 160, 0.03);
  font-size: 14px;
  color: #4a5568;
  line-height: 1.5;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero { padding: 140px 32px 64px; }
  .hero__container {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (max-width: 600px) {
  .hero { padding: 100px 20px 56px; }
  .hero__title { font-size: clamp(36px, 9vw, 48px); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding: 20px; }
  .btn { padding: 13px 20px; font-size: 14px; }
}
