/* =============================================
   SHARED PAGE STYLES — Tanıtım · İşlemler · Emanetçilik
   ============================================= */

/* --- Fade-in on scroll --- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section title with gradient underline --- */
.section-heading {
  position: relative;
  font-weight: 800;
  font-size: 1.65rem;
  color: #0d1f3c;
  margin-bottom: 2rem;
  padding-bottom: .85rem;
}
.section-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3.5px;
  border-radius: 4px;
  background: linear-gradient(90deg, #00b4d8, #6366f1);
}
.section-heading.centered { text-align: center; }
.section-heading.centered::after { left: 50%; transform: translateX(-50%); }

/* --- Gradient top-border card --- */
.premium-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
}
.premium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #03254c, #00b4d8);
}
.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(3,37,76,.1);
}

/* --- Icon box (used inside cards) --- */
.card-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,180,216,.12), rgba(99,102,241,.1));
  color: #00b4d8;
  transition: transform .3s ease, background .3s ease;
}
.premium-card:hover .card-icon-box {
  transform: rotate(6deg) scale(1.08);
  background: linear-gradient(135deg, rgba(0,180,216,.2), rgba(99,102,241,.18));
}

/* --- Problem / Solution pair cards --- */
.problem-solution-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.problem-solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 5px;
  height: 100%;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(180deg, #ef4444, #f97316);
}
.problem-solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,.07);
}
.ps-number {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, #03254c, #026b8b);
  flex-shrink: 0;
}
.ps-problem-label {
  font-weight: 700;
  color: #1a1a2e;
  font-size: 1.05rem;
  margin-bottom: .35rem;
}
.ps-solution-box {
  background: linear-gradient(135deg, rgba(0,180,216,.06), rgba(99,102,241,.04));
  border: 1px solid rgba(0,180,216,.15);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-top: .85rem;
}
.ps-solution-label {
  font-weight: 700;
  color: #026b8b;
  font-size: .92rem;
  margin-bottom: .25rem;
}

/* --- Vertical timeline / stepper --- */
.v-timeline {
  position: relative;
  padding-left: 48px;
}
.v-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #03254c, #00b4d8, #6366f1);
}
.v-timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.v-timeline-item:last-child { padding-bottom: 0; }
.v-timeline-dot {
  position: absolute;
  left: -48px;
  top: 2px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #03254c, #026b8b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  border: 3px solid #f5f7f9;
  z-index: 1;
}
.v-timeline-dot.final {
  background: linear-gradient(135deg, #00b4d8, #6366f1);
  width: 44px;
  height: 44px;
  left: -51px;
  font-size: 1.1rem;
}
.v-timeline-content {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  transition: box-shadow .3s ease;
}
.v-timeline-content:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}
.v-timeline-title {
  font-weight: 700;
  color: #0d1f3c;
  font-size: 1rem;
  margin-bottom: .25rem;
}
.v-timeline-sub {
  color: #6b7280;
  font-size: .88rem;
}

/* --- Org chart modern --- */
.org-node {
  background: #fff;
  border: 2px solid rgba(3,37,76,.12);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.org-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(3,37,76,.08);
}
.org-node-primary {
  background: linear-gradient(135deg, #03254c, #026b8b);
  color: #fff;
  border: none;
  box-shadow: 0 8px 30px rgba(3,37,76,.2);
}
.org-connector {
  width: 3px;
  height: 32px;
  background: linear-gradient(180deg, #03254c, #00b4d8);
  margin: 0 auto;
  border-radius: 3px;
}
.org-connector-h {
  height: 3px;
  background: linear-gradient(90deg, #03254c, #00b4d8);
  border-radius: 3px;
}

/* --- Glassmorphism info box --- */
.glass-info-box {
  background: linear-gradient(135deg, rgba(3,37,76,.04), rgba(0,180,216,.06));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,180,216,.15);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.glass-info-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,.08), transparent 70%);
  pointer-events: none;
}

/* --- Product badge pills --- */
.product-pill {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .55rem 1.1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  color: #03254c;
  background: linear-gradient(135deg, rgba(0,180,216,.08), rgba(99,102,241,.06));
  border: 1px solid rgba(0,180,216,.18);
  transition: all .3s ease;
}
.product-pill:hover {
  background: linear-gradient(135deg, rgba(0,180,216,.16), rgba(99,102,241,.12));
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,180,216,.12);
}

/* --- Checklist items --- */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .6rem 0;
  color: #4b5563;
  font-size: .95rem;
  line-height: 1.55;
}
.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Essay / article typography --- */
.essay-modern {
  max-width: 840px;
  margin: 0 auto;
}
.essay-modern .essay-section-title {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: #0d1f3c;
  margin-top: 2.75rem;
  margin-bottom: 1.15rem;
  padding-bottom: .65rem;
  border-bottom: 2px solid rgba(3,37,76,.08);
}
.essay-modern .essay-section-title .title-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #03254c, #026b8b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 800;
  flex-shrink: 0;
}
.essay-modern .essay-sub-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a2744;
  margin-top: 2rem;
  margin-bottom: .75rem;
}
.essay-modern .essay-sub-sub-title {
  font-weight: 600;
  font-size: .98rem;
  color: #374151;
  margin-top: 1.5rem;
  margin-bottom: .5rem;
}
.essay-modern p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #4b5563;
  text-align: justify;
  margin-bottom: 1rem;
  text-indent: 1.5em;
}
.essay-modern p:first-of-type { text-indent: 0; }

/* --- Abstract hero box --- */
.abstract-box {
  background: linear-gradient(135deg, rgba(3,37,76,.03), rgba(0,180,216,.05));
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #03254c, #00b4d8) 1;
  border-radius: 0 16px 16px 0;
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
}
.abstract-box .abstract-badge {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #03254c, #026b8b);
  margin-bottom: 1rem;
}
.abstract-box p {
  font-style: italic;
  color: #4b5563;
  font-size: .98rem;
  line-height: 1.75;
  margin-bottom: 0;
  text-indent: 0 !important;
}

/* --- Diagram card --- */
.diagram-card {
  background: #f8fafc;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  overflow: hidden;
  margin: 1.5rem 0;
}
.diagram-card-header {
  background: linear-gradient(90deg, #03254c, #026b8b);
  color: #fff;
  padding: .75rem 1.25rem;
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.diagram-card-body {
  padding: 1.5rem;
}

/* --- Reference list --- */
.ref-list .ref-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
  font-size: .92rem;
  color: #4b5563;
  line-height: 1.6;
}
.ref-list .ref-item:last-child { border-bottom: none; }
.ref-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #03254c, #026b8b);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Security zone layers --- */
.security-layer {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: .75rem;
  background: rgba(3,37,76,.02);
  border: 1px solid rgba(3,37,76,.06);
  transition: background .3s ease;
}
.security-layer:hover {
  background: rgba(0,180,216,.04);
}
.security-layer-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #03254c, #026b8b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}

/* --- Steps (for İşlemler membership) --- */
.step-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  margin-bottom: 1rem;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,.06);
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #03254c, #026b8b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.step-card::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 1rem;
  background: linear-gradient(180deg, rgba(3,37,76,.15), transparent);
}
.step-card:last-child::after { display: none; }

/* --- Section divider --- */
.section-divider {
  height: 2px;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(0,180,216,.3), transparent);
  margin: 2.5rem 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .problem-solution-card { padding: 1.25rem; }
  .v-timeline { padding-left: 40px; }
  .v-timeline::before { left: 15px; }
  .v-timeline-dot { left: -40px; width: 32px; height: 32px; font-size: .75rem; }
  .v-timeline-dot.final { left: -43px; width: 36px; height: 36px; }
  .section-heading { font-size: 1.35rem; }
  .abstract-box { padding: 1.25rem; }
  .essay-modern p { font-size: .95rem; text-indent: 0; }
  .glass-info-box { padding: 1.25rem; }
  .step-card { flex-direction: column; gap: .75rem; }
}

/* Registration form: fields flagged by ASP.NET validation (server render or jquery.validate.unobtrusive) */
.contact-form-input.input-validation-error { box-shadow: inset 0 0 0 1px #dc3545 !important; }
