/* =========================================================
   Bilgim — İkinci El Bilgisayar Alımı
   Extends styles.css tokens. Beyaz ağırlıklı, az renk, mavi CTA.
   ========================================================= */

/* ----- Page-level accent override: CTA mavi, gold aksan minimal ----- */
:root {
  --ie-cta:       var(--c-datakor);       /* #1E6FE0 — CTA mavi */
  --ie-cta-deep:  #1558B8;
  --ie-cta-soft:  var(--c-datakor-soft);  /* #E4EEFC */
}

/* ----- Skip link ----- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--navy); color: #fff; padding: 12px 20px;
  border-radius: 0 0 10px 0; font-family: var(--sans); font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ----- Breadcrumb ----- */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumb ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--sans); font-size: 13.5px; color: var(--muted);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb li[aria-current] { color: var(--ink-2); font-weight: 600; }
.breadcrumb .sep { color: var(--faint); }

/* ----- Hero ----- */
.ie-hero {
  position: relative;
  padding: 64px 0 72px;
  background: radial-gradient(ellipse 90% 55% at 80% 0%, rgba(30,111,224,0.06), transparent 65%), var(--bg);
  overflow: hidden;
}
.ie-hero .wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.ie-hero-copy h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08;
  letter-spacing: -0.02em; color: var(--ink); margin: 0 0 20px; text-wrap: balance;
}
.ie-badges {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 32px;
}
.ie-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--sans); font-weight: 600; font-size: 13.5px; color: var(--ink-2);
  box-shadow: var(--shadow-1);
}
.ie-badge svg { flex: none; color: var(--success); }
.ie-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-cta {
  background: var(--ie-cta); color: #fff; border-color: var(--ie-cta);
  box-shadow: 0 10px 26px rgba(30,111,224,0.28);
}
.btn-cta:hover { background: var(--ie-cta-deep); transform: translateY(-1px); box-shadow: 0 14px 34px rgba(30,111,224,0.36); }

.ie-hero-visual { display: flex; justify-content: center; align-items: center; }
.ie-hero-visual svg { width: 100%; max-width: 420px; height: auto; }

/* ----- Trust strip ----- */
.trust-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.trust-item {
  padding: 22px 18px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.trust-item .ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--ie-cta-soft); color: var(--ie-cta);
  display: inline-flex; align-items: center; justify-content: center;
}
.trust-item .t { font-family: var(--display); font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.3; }

/* ----- Product grid ----- */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.product-card { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.product-card .ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--navy-soft); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.product-card h3 { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); margin: 0; }
.product-card p { font-family: var(--sans); font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* ----- Why grid ----- */
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.why-item {
  display: flex; gap: 14px; padding: 22px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
}
.why-item .num {
  flex: none; width: 34px; height: 34px; border-radius: 999px;
  background: var(--navy); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.why-item h3 { font-family: var(--display); font-weight: 700; font-size: 16.5px; color: var(--ink); margin: 0 0 4px; }
.why-item p { font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ----- Timeline ----- */
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.timeline::before {
  content: ''; position: absolute; top: 23px; left: 8%; right: 8%; height: 2px;
  background: var(--line-strong);
}
.timeline-step { position: relative; padding: 0 16px; text-align: center; }
.timeline-step .dot {
  width: 46px; height: 46px; border-radius: 999px; margin: 0 auto 18px;
  background: var(--navy); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-2); position: relative; z-index: 1;
}
.timeline-step h3 { font-family: var(--display); font-weight: 700; font-size: 16.5px; color: var(--ink); margin: 0 0 6px; }
.timeline-step p { font-family: var(--sans); font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ----- Long-form article ----- */
.article-content { max-width: 820px; }
.article-content h3 {
  font-family: var(--display); font-weight: 700; font-size: 22px;
  color: var(--ink); margin: 36px 0 14px;
}
.article-content h3:first-child { margin-top: 0; }
.article-content p { font-family: var(--sans); font-size: 16px; line-height: 1.75; color: var(--ink-2); margin: 0 0 16px; }
.article-content ul { margin: 0 0 16px; padding-left: 20px; }
.article-content li { font-family: var(--sans); font-size: 15.5px; line-height: 1.7; color: var(--ink-2); margin-bottom: 8px; }

/* ----- Corporate section ----- */
.corp-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start;
}
.corp-list { display: flex; flex-direction: column; gap: 14px; }
.corp-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-family: var(--sans); font-size: 15.5px; color: var(--ink-2); line-height: 1.55;
  list-style: none;
}
.corp-list li svg { flex: none; margin-top: 3px; color: var(--ie-cta); }
.corp-list li strong { color: var(--ink); font-weight: 700; }

/* ----- Locality ----- */
.locality-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.locality-chip {
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-family: var(--sans); font-weight: 600; font-size: 13.5px; color: var(--ink-2);
}

/* ----- FAQ (shared with faq.jsx visuals, static version) ----- */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: transparent; transition: all 200ms var(--ease); }
.faq-item[open] { background: var(--surface); border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--display); font-weight: 700; font-size: 16.5px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex: none; width: 30px; height: 30px; border-radius: 999px;
  border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--ink); transition: all 200ms var(--ease);
}
.faq-item[open] summary .plus { background: var(--navy); border-color: var(--navy); color: #fff; }
.faq-item .faq-a {
  padding: 0 24px 22px; font-family: var(--sans); font-size: 15px; line-height: 1.7; color: var(--ink-2);
  border-top: 1px solid var(--line); margin-top: 2px; padding-top: 16px;
}

/* ----- Lead form ----- */
.lead-panel {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--navy); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-3);
}
.lead-copy { padding: clamp(36px, 4vw, 56px); color: #fff; }
.lead-copy h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin: 0 0 14px; color: #fff; }
.lead-copy p { font-family: var(--sans); font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,0.78); margin: 0 0 24px; max-width: 420px; }
.lead-contacts { display: flex; flex-direction: column; gap: 12px; }
.lead-contacts a {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 17px; color: #fff; text-decoration: none;
}
.lead-contacts a svg { color: var(--ie-cta); }
.lead-form-wrap { background: var(--surface); padding: clamp(28px, 4vw, 40px); }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form label { font-family: var(--sans); font-weight: 600; font-size: 13.5px; color: var(--ink-2); display: block; margin-bottom: 6px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-strong);
  background: var(--surface); transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--ie-cta); box-shadow: 0 0 0 3px var(--ie-cta-soft);
}
.lead-form textarea { resize: vertical; min-height: 88px; }
.lead-form button { margin-top: 4px; justify-content: center; width: 100%; }
.lead-form-note { font-family: var(--sans); font-size: 12.5px; color: var(--muted-2); margin-top: 10px; }

/* ----- Sticky mobile CTA bar ----- */
.mobile-cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -8px 24px rgba(20,30,60,0.10);
}
.mobile-cta-bar a { flex: 1; justify-content: center; padding: 13px 12px; font-size: 14.5px; }

/* ----- Reveal ----- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ----- Section eyebrow shared ----- */
.section-head { max-width: 720px; margin-bottom: 44px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .ie-hero .wrap { grid-template-columns: 1fr; }
  .ie-hero-visual { order: -1; max-width: 320px; margin: 0 auto 8px; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .timeline::before { display: none; }
  .corp-grid { grid-template-columns: 1fr; gap: 32px; }
  .lead-panel { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 74px; }
}
