/* =============================================
   BMG Otomasyon – pages.css
   Hizmet detay sayfaları stilleri
   ============================================= */

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--light);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray2);
}
.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray1);
}
.breadcrumb a { color: var(--gray1); transition: color .2s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { color: var(--gray2); font-size: 16px; }
.breadcrumb .current { color: var(--navy); font-weight: 600; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--navy);
  overflow: hidden;
  position: relative;
  padding: 72px 0;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(0,194,255,.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(20,86,200,.12) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
}
.page-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,194,255,.1);
  border: 1px solid rgba(0,194,255,.25);
  color: var(--cyan);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin-bottom: 16px;
}
.page-hero h1 span { color: var(--cyan); }
.page-hero-desc {
  color: rgba(255,255,255,.65);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}
.page-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero image */
.page-hero-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-img img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--blue);
  padding: 28px 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 8px 20px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 5px;
}
.stat-num sup { font-size: 18px; color: var(--cyan); }
.stat-label { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500; }

/* ── OVERVIEW ── */
.overview { padding: 80px 0; background: var(--white); }
.overview-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.overview-content .section-eyebrow { text-align: left; }
.overview-content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.overview-content p { color: var(--gray1); font-size: 15.5px; line-height: 1.75; margin-bottom: 14px; }
.overview-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.overview-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
}
.overview-list .bullet {
  width: 20px; height: 20px;
  background: rgba(20,86,200,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.overview-visual {
  position: relative;
}
.overview-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.overview-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--blue);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  line-height: 1.3;
}
.overview-badge .badge-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--cyan);
  display: block;
}
.overview-badge .badge-lbl { font-size: 12px; font-weight: 600; opacity: .85; }

/* ── FEATURES ── */
.features { padding: 80px 0; background: var(--light); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--gray2);
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: default;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(20,86,200,.2); }
.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-card p { font-size: 14px; color: var(--gray1); line-height: 1.65; }

/* ── PLATFORMS / MARKA ÇÖZÜMLERI ── */
.platforms { padding: 64px 0; background: var(--white); }
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.platform-card {
  background: var(--light);
  border: 1.5px solid var(--gray2);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all .22s;
  cursor: default;
}
.platform-card:hover {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.platform-card .ico   { font-size: 32px; margin-bottom: 10px; }
.platform-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.platform-card p  { font-size: 12.5px; color: var(--gray1); }

/* ── PROCESS STEPS ── */
.process { padding: 80px 0; background: var(--navy); }
.process .section-header h2 { color: var(--white); }
.process .section-eyebrow   { color: var(--cyan); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin-top: 52px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px; left: calc(100% / 14); right: calc(100% / 14);
  height: 1px;
  background: rgba(0,194,255,.2);
}
.process-step {
  text-align: center;
  padding: 0 14px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  background: rgba(0,194,255,.08);
  border: 2px solid rgba(0,194,255,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--cyan);
  transition: all .2s;
}
.process-step:hover .step-num { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 20px rgba(20,86,200,.4); }
.process-step h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.process-step p  { font-size: 12.5px; color: rgba(255,255,255,.45); line-height: 1.6; }

/* ── TECH SPECS TABLE ── */
.tech-specs { padding: 72px 0; background: var(--light); }
.specs-wrap { margin-top: 40px; overflow-x: auto; }
.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 560px;
}
.specs-table th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
}
.specs-table td {
  padding: 13px 20px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--gray2);
  vertical-align: middle;
}
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:nth-child(even) td { background: var(--light); }
.spec-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(20,86,200,.1);
  color: var(--blue);
}
.spec-badge.green { background: rgba(22,163,74,.1); color: var(--green); }

/* ── FAQ ── */
.faq-section { padding: 80px 0; background: var(--white); }
.faq-list {
  max-width: 780px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--light);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray2);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(20,86,200,.35); }
.faq-q {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  user-select: none;
}
.faq-chevron {
  width: 26px; height: 26px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--blue);
  transition: transform .25s;
  box-shadow: var(--shadow);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s ease;
  font-size: 14.5px;
  color: var(--gray1);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 320px; padding: 0 20px 18px; }

/* ── RELATED SERVICES ── */
.related { padding: 72px 0; background: var(--light); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.related-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  border: 1px solid var(--gray2);
  box-shadow: var(--shadow);
  transition: all .22s;
  display: block;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(20,86,200,.2); }
.related-icon { font-size: 30px; margin-bottom: 12px; }
.related-card h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.related-card p  { font-size: 13.5px; color: var(--gray1); }
.related-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue); margin-top: 12px; transition: gap .18s; }
.related-card:hover .related-link { gap: 10px; }

/* ── PAGE CTA ── */
.page-cta {
  padding: 80px 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0,194,255,.09) 0%, transparent 70%);
  pointer-events: none;
}
.page-cta .container { position: relative; z-index: 1; }
.page-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.page-cta p { color: rgba(255,255,255,.6); font-size: 16px; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.page-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .page-hero-inner  { grid-template-columns: 1fr; }
  .page-hero-img    { display: none; }
  .overview-inner   { grid-template-columns: 1fr; }
  .overview-visual  { display: none; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .process-steps::before  { display: none; }
  .process-steps  { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .related-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stats-bar .container  { grid-template-columns: 1fr 1fr; }
  .process-steps   { grid-template-columns: 1fr; }
  .platforms-grid  { grid-template-columns: repeat(2, 1fr); }
  .features-grid   { grid-template-columns: 1fr; }
}
