/* ============================================================
   pestel.css v2.0 — MecAnalytica
   PESTEL Analizi Sayfası Stilleri
   ============================================================ */

/* ── HERO ─────────────────────────────────── */
.pestel-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}
.pestel-hero .hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.pestel-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,.15) 0%, transparent 70%);
  pointer-events: none;
}
.pestel-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.3);
  color: #818cf8;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.1;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.metric-num {
  font-size: 2rem;
  font-weight: 800;
  color: #6366f1;
}
.metric-label {
  font-size: .8rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── PESTEL GRID ──────────────────────────── */
.section-pad { padding: 100px 0; }
.bg-subtle { background: #f8fafc; }
[data-theme="dark"] .bg-subtle { background: #0f172a; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: rgba(99,102,241,.1);
  color: #6366f1;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}
[data-theme="dark"] .section-header h2 { color: #f1f5f9; }
.section-header p {
  color: #64748b;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.pestel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pestel-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
[data-theme="dark"] .pestel-card { background: #1e293b; border-color: #334155; }

.pestel-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  transition: height .3s ease;
}
.pestel-card[data-color="political"]::before { background: #ef4444; }
.pestel-card[data-color="economic"]::before  { background: #f97316; }
.pestel-card[data-color="social"]::before    { background: #eab308; }
.pestel-card[data-color="tech"]::before      { background: #22c55e; }
.pestel-card[data-color="env"]::before       { background: #06b6d4; }
.pestel-card[data-color="legal"]::before     { background: #8b5cf6; }

.pestel-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.1); }
.pestel-card:hover::before { height: 6px; }

.pestel-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.pestel-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.pestel-icon.political { background: rgba(239,68,68,.1);  color: #ef4444; }
.pestel-icon.economic  { background: rgba(249,115,22,.1); color: #f97316; }
.pestel-icon.social    { background: rgba(234,179,8,.1);  color: #eab308; }
.pestel-icon.tech      { background: rgba(34,197,94,.1);  color: #22c55e; }
.pestel-icon.env       { background: rgba(6,182,212,.1);  color: #06b6d4; }
.pestel-icon.legal     { background: rgba(139,92,246,.1); color: #8b5cf6; }

.pestel-letter {
  font-size: 3.5rem;
  font-weight: 900;
  opacity: .06;
  line-height: 1;
  color: #0f172a;
}
[data-theme="dark"] .pestel-letter { color: #f1f5f9; }

.pestel-card__title { font-size: 1.2rem; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
[data-theme="dark"] .pestel-card__title { color: #f1f5f9; }
.pestel-card__desc { font-size: .9rem; color: #64748b; line-height: 1.6; margin-bottom: 20px; }

.pestel-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pestel-list li { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: #475569; }
[data-theme="dark"] .pestel-list li { color: #94a3b8; }
.pestel-list li i { font-size: .7rem; color: #6366f1; flex-shrink: 0; }

/* ── PROCESS TIMELINE ─────────────────────── */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 32px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 1.1rem; font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(99,102,241,.4);
}
.step-content { padding: 0 8px; }
.step-icon { font-size: 1.4rem; color: #6366f1; margin-bottom: 12px; }
.step-content h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
[data-theme="dark"] .step-content h3 { color: #f1f5f9; }
.step-content p { font-size: .875rem; color: #64748b; line-height: 1.6; }

/* ── BENEFITS GRID ────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
[data-theme="dark"] .benefit-card { background: #1e293b; border-color: #334155; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.08); }
.benefit-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(99,102,241,.1), rgba(139,92,246,.1));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #6366f1;
  margin: 0 auto 20px;
}
.benefit-card h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
[data-theme="dark"] .benefit-card h3 { color: #f1f5f9; }
.benefit-card p { font-size: .875rem; color: #64748b; line-height: 1.6; }

/* ── METRİKLER BANDI ──────────────────────── */
.metrics-band { background: linear-gradient(135deg, #0f172a, #1e293b); padding: 80px 0; }
.metrics-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.metric-block { display: flex; flex-direction: column; gap: 8px; }
.metric-big {
  font-size: 3rem; font-weight: 900;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-desc { font-size: .875rem; color: #94a3b8; }

/* ── CTA ──────────────────────────────────── */
.cta-section { background: #f8fafc; }
[data-theme="dark"] .cta-section { background: #0f172a; }

.cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-tag {
  display: inline-block;
  background: rgba(99,102,241,.2);
  color: #818cf8;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .8rem; font-weight: 600;
  margin-bottom: 16px;
}
.cta-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-content p {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.cta-pestel-badge {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  position: relative;
  z-index: 1;
}
.cta-pestel-badge span {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900;
  border-radius: 12px;
  color: #fff;
}
.cta-pestel-badge span:nth-child(1) { background: rgba(239,68,68,.8); }
.cta-pestel-badge span:nth-child(2) { background: rgba(249,115,22,.8); }
.cta-pestel-badge span:nth-child(3) { background: rgba(234,179,8,.8); }
.cta-pestel-badge span:nth-child(4) { background: rgba(34,197,94,.8); }
.cta-pestel-badge span:nth-child(5) { background: rgba(6,182,212,.8); }
.cta-pestel-badge span:nth-child(6) { background: rgba(139,92,246,.8); }

/* ════════════════════════════════════════════════════════════
   BUTONLAR — TURUNCU
   ════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .2s;
  line-height: 1;
}

/* ── Birincil buton ── */
.btn-primary {
  background: #f97316;
  color: #fff !important;
  border: none;
}
.btn-primary:hover {
  background: #ea6c0a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,.45);
  color: #fff !important;
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(249,115,22,.3);
}

/* ── Outline buton ── */
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,.85) !important;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
  color: #fff !important;
}

/* ── Ghost buton ── */
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85) !important;
  border: 1px solid rgba(255,255,255,.15);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); }

/* ── Boyutlar ── */
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; margin-bottom: 10px; }

/* ── Animasyon ── */
[data-animate] {
  opacity: 1;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-animate].animated { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pestel-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-timeline::before { display: none; }
  .metrics-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pestel-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .metrics-inner { grid-template-columns: repeat(2, 1fr); }
  .cta-box { grid-template-columns: 1fr; padding: 40px 32px; text-align: center; }
  .cta-pestel-badge { justify-content: center; }
  .cta-actions { justify-content: center; }
  .hero-metrics { gap: 32px; }
}
@media (max-width: 480px) {
  .metrics-inner { grid-template-columns: 1fr; }
  .section-pad { padding: 60px 0; }
}
