/* Portal ana sayfa — yasamprofesyonel marka dili */
:root {
  --yp-blue: #1e4d8c;
  --yp-blue-dark: #15345f;
  --yp-accent: #e85d1a;
  --yp-ink: #0f172a;
  --yp-muted: #64748b;
  --yp-line: #e2e8f0;
  --yp-bg: #f8fafc;
  --yp-ok: #15803d;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.yp-portal {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--yp-ink);
  background: #fff;
  min-height: 100vh;
}

.yp-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--yp-line);
}
.yp-header-inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.yp-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--yp-ink);
}
.yp-logo img { height: 40px; width: auto; }
.yp-logo span {
  font-weight: 700; font-size: 15px; color: var(--yp-blue-dark); display: none;
}
@media (min-width: 640px) { .yp-logo span { display: block; } }
.yp-header-cta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.yp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px; border-radius: 10px;
  font: inherit; font-size: 13px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .15s;
}
.yp-btn-ghost { background: #fff; color: var(--yp-blue); border: 1px solid var(--yp-line); }
.yp-btn-ghost:hover { border-color: var(--yp-blue); }
.yp-btn-primary {
  background: linear-gradient(135deg, var(--yp-blue), var(--yp-blue-dark));
  color: #fff; box-shadow: 0 4px 14px rgba(30,77,140,0.35);
}
.yp-btn-primary:hover { transform: translateY(-1px); }
.yp-btn-accent { background: var(--yp-accent); color: #fff; }
.yp-btn-accent:hover { filter: brightness(1.05); }

.yp-hero {
  position: relative; min-height: min(72vh, 640px);
  display: flex; align-items: flex-end; color: #fff; overflow: hidden;
}
.yp-hero-bg {
  position: absolute; inset: 0;
  background-color: #15345f;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.yp-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,32,64,0.88) 0%, rgba(21,52,95,0.72) 42%, rgba(15,23,42,0.35) 100%);
}
.yp-hero-inner {
  position: relative; z-index: 1;
  max-width: 1180px; width: 100%; margin: 0 auto;
  padding: 72px 24px 56px;
}
.yp-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.78); margin-bottom: 14px;
}
.yp-kicker i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,0.25);
}
.yp-hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.03em;
  max-width: 16ch; margin-bottom: 14px;
}
.yp-hero h1 em { font-style: normal; color: #ffb088; }
.yp-lead {
  font-size: 1.05rem; line-height: 1.6;
  color: rgba(255,255,255,0.82); max-width: 50ch; margin-bottom: 22px;
}
.yp-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.yp-trust {
  display: flex; flex-wrap: wrap; gap: 14px 18px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.75);
}
.yp-trust span::before { content: "✓ "; color: #86efac; }

.yp-paths {
  background:
    radial-gradient(ellipse 70% 50% at 90% 0%, rgba(30,77,140,0.08), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--yp-bg) 100%);
  padding: 56px 24px 72px;
  margin-top: -28px;
  position: relative; z-index: 2;
}
.yp-paths-shell {
  max-width: 1180px; margin: 0 auto;
  background: #fff; border: 1px solid var(--yp-line);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.08);
  padding: 28px 24px 24px;
}
.yp-paths-head { margin-bottom: 22px; padding: 0 4px; }
.yp-paths-head h2 {
  font-size: 1.35rem; font-weight: 800; color: var(--yp-blue-dark);
  letter-spacing: -0.02em; margin-bottom: 6px;
}
.yp-paths-head p { color: var(--yp-muted); font-size: 14px; max-width: 52ch; line-height: 1.5; }

.yp-path-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.yp-path-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .yp-path-grid,
  .yp-path-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .yp-path-grid,
  .yp-path-grid--4 { grid-template-columns: 1fr; }
}

.yp-path-card {
  position: relative;
  border: 1px solid var(--yp-line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  min-height: 280px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.yp-path-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 16px 36px rgba(30,77,140,0.12);
  transform: translateY(-3px);
}
.yp-path-media {
  position: relative; height: 140px; flex: 0 0 140px;
  background-size: cover; background-position: center; background-color: #e2e8f0;
}
.yp-p-bina .yp-path-media { background-image: linear-gradient(145deg, #0f2a44, #1e4d8c 55%, #2a5a9e); }
.yp-p-havuz .yp-path-media { background-image: linear-gradient(145deg, #14532d, #166534 55%, #3f8f5a); }
.yp-p-crm .yp-path-media { background-image: linear-gradient(145deg, #064e4e, #0f5c5c 55%, #14837a); }
.yp-p-satis .yp-path-media { background-image: linear-gradient(145deg, #7c2d12, #b45309 55%, #d97706); }
.yp-path-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15,23,42,0.5));
  pointer-events: none;
}
.yp-path-body {
  position: relative; z-index: 1;
  padding: 14px 14px 16px;
  display: flex; flex-direction: column; flex: 1 1 auto; gap: 6px;
  background: #fff;
  min-height: 140px;
}
.yp-path-num {
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--yp-blue);
}
.yp-path-body h3 {
  font-size: 1rem; font-weight: 800; color: var(--yp-blue-dark); letter-spacing: -0.01em;
}
.yp-path-body p { font-size: 12.5px; color: var(--yp-muted); line-height: 1.45; flex: 1; }
.yp-path-cta {
  margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--yp-blue);
  display: inline-flex; align-items: center; gap: 6px;
}
.yp-path-cta::after { content: "→"; transition: transform .15s; }
.yp-path-card:hover .yp-path-cta::after { transform: translateX(3px); }

.yp-stats { background: var(--yp-blue-dark); color: #fff; padding: 28px 24px; }
.yp-stats-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
@media (max-width: 700px) { .yp-stats-inner { grid-template-columns: repeat(2, 1fr); } }
.yp-stats .num { font-size: 1.65rem; font-weight: 800; display: block; }
.yp-stats .lbl { font-size: 12px; opacity: 0.85; margin-top: 4px; display: block; }

.yp-footer {
  max-width: 1180px; margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12px; color: var(--yp-muted);
  border-top: 1px solid var(--yp-line);
}
.yp-footer a { color: var(--yp-blue); text-decoration: none; font-weight: 600; }
