:root {
  --bg: #f5f7ff;
  --panel: #ffffff;
  --panel-2: #f1f4fb;
  --border: #e2e8f0;
  --text: #1f2a44;
  --muted: #6b7793;
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --green: #22c55e;
  --red: #ef4444;
  --amber: #f59e0b;
  --radius: 14px;
  --shadow: 0 4px 16px rgba(99, 102, 241, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #eef2ff 0%, #fdf4ff 45%, #ecfeff 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;       /* sayfanın sağa kaymasını engelle */
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .12s, box-shadow .12s, opacity .12s, background .15s;
}
button:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(99, 102, 241, .45); }

.btn-ghost { background: #eef1f8; color: #475069; }
.btn-ghost:hover { background: #e2e7f3; transform: translateY(-1px); }

.btn-green {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, .35);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(16, 185, 129, .45); }

.btn-danger { background: #fff0f0; color: var(--red); padding: 7px 14px; box-shadow: none; }
.btn-danger:hover { background: #ffe0e0; }

.btn-sm { padding: 7px 14px; font-size: 13px; }
.icon-btn { padding: 7px 9px; font-size: 16px; line-height: 1; }

input, select, textarea {
  font-family: inherit;
  font-size: 16px;      /* iOS odaklanınca yakınlaştırmasın diye en az 16px (kayma sorununu çözer) */
  width: 100%;
  padding: 11px 13px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .15);
}
textarea { resize: vertical; min-height: 70px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 700; }
.field { margin-bottom: 14px; }

/* ---- Login ---- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.login-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 38px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 18px 50px rgba(99, 102, 241, .18);
}
.brand-logo {
  width: 24px; height: 24px; border-radius: 7px; vertical-align: -6px;
  margin-right: 6px; box-shadow: 0 2px 6px rgba(99, 102, 241, .35);
}
.brand-logo.lg { width: 36px; height: 36px; border-radius: 10px; vertical-align: -9px; }

.login-card h1 {
  font-size: 26px; margin-bottom: 4px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.login-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.login-card .domain {
  font-size: 13px; font-weight: 700; margin-bottom: 22px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.login-card button { width: 100%; padding: 13px; margin-top: 8px; }
.login-lang { text-align: right; margin-bottom: 4px; }
.login-lang select { width: auto; display: inline-block; padding: 6px 10px; font-size: 13px; border-radius: 8px; border-width: 1px; }
.auth-tabs { display: flex; gap: 6px; background: #eef1f8; padding: 5px; border-radius: 12px; margin-bottom: 20px; }
.auth-tab {
  flex: 1; padding: 10px; border-radius: 8px; font-weight: 700; font-size: 14px;
  background: transparent; color: var(--muted); cursor: pointer; border: none;
}
.auth-tab.active { background: #fff; color: var(--primary); box-shadow: 0 2px 6px rgba(99,102,241,.18); }
.auth-note { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.login-card .row { gap: 10px; }

/* ---- Tanıtım (landing) sayfası ---- */
.landing { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.lp-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; position: sticky; top: 0; z-index: 20;
  background: transparent;            /* renkli zemine otursun, beyaz şerit yok */
}
.lp-nav.scrolled {                    /* aşağı kayınca hafif cam efekti */
  background: rgba(255,255,255,.55); backdrop-filter: blur(12px) saturate(140%);
  border-radius: 0 0 16px 16px; box-shadow: 0 6px 20px rgba(99,102,241,.10);
}
.lp-nav .brand {
  display: flex; align-items: center; font-weight: 800; font-size: 21px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-nav-right { display: flex; align-items: center; gap: 10px; }
.lp-lang {
  width: auto; padding: 8px 12px; font-size: 16px; font-weight: 600; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.65);
  backdrop-filter: blur(6px); color: var(--text); cursor: pointer;
}
.lp-login-link {
  text-decoration: none; display: inline-block; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(99,102,241,.35);
}

.lp-hero { text-align: center; padding: 40px 10px 30px; }
.lp-hero h1 {
  font-size: 34px; line-height: 1.2; margin-bottom: 14px; max-width: 760px; margin-inline: auto;
  background: linear-gradient(135deg, #4f46e5, #ec4899);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-lead { color: var(--muted); font-size: 16px; max-width: 620px; margin: 0 auto 20px; }
.lp-cta { display: inline-block; text-decoration: none; padding: 14px 34px; font-size: 16px; border-radius: 999px; }
.lp-hero .domain {
  margin-top: 14px; font-weight: 700; font-size: 14px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0 40px; }
.lp-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px 18px; box-shadow: var(--shadow);
}
.lp-card { border-top: 4px solid var(--border); transition: transform .15s, box-shadow .15s; }
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(99,102,241,.18); }
.lp-card .lp-ic {
  font-size: 26px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; margin-bottom: 12px;
}
.lp-card h3 { font-size: 17px; margin-bottom: 6px; }
.lp-card p { color: var(--muted); font-size: 14px; }
/* özellik kartı renkleri */
.lp-c-blue   { border-top-color: #2563eb; } .lp-c-blue .lp-ic   { background: #dbeafe; }
.lp-c-green  { border-top-color: #059669; } .lp-c-green .lp-ic  { background: #d1fae5; }
.lp-c-amber  { border-top-color: #d97706; } .lp-c-amber .lp-ic  { background: #fef3c7; }
.lp-c-pink   { border-top-color: #db2777; } .lp-c-pink .lp-ic   { background: #fce7f3; }
.lp-c-purple { border-top-color: #7c3aed; } .lp-c-purple .lp-ic { background: #ede9fe; }
.lp-c-teal   { border-top-color: #0d9488; } .lp-c-teal .lp-ic   { background: #ccfbf1; }

/* Roller / hiyerarşi */
.lp-roles { text-align: center; margin: 10px 0 40px; }
.lp-roles h2 { font-size: 24px; margin-bottom: 6px; }
.lp-roles-grid { display: flex; align-items: stretch; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.lp-role {
  flex: 1 1 240px; max-width: 300px; text-align: left;
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow);
  padding: 18px; display: flex; gap: 12px; align-items: flex-start;
}
.lp-role-ic {
  font-size: 22px; width: 44px; height: 44px; flex: 0 0 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: linear-gradient(135deg, #eef2ff, #fae8ff);
}
.lp-role h3 { font-size: 16px; margin-bottom: 4px; }
.lp-role p { color: var(--muted); font-size: 13.5px; }
.lp-arrow { display: flex; align-items: center; color: var(--primary); font-size: 22px; font-weight: 800; }

/* Sektör etiketleri */
.lp-sectors { text-align: center; margin: 10px 0 40px; }
.lp-sectors h2 { font-size: 24px; margin-bottom: 6px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.lp-chip {
  background: var(--panel); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 16px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow);
}

/* SEO kapanış bölümü */
.lp-seo {
  text-align: center; margin: 10px 0 30px; padding: 32px 20px;
  background: linear-gradient(135deg, #eef2ff, #fce7f3); border-radius: 20px;
}
.lp-seo h2 { font-size: 22px; margin-bottom: 8px; }

/* "Çok yakında" paket kutusu */
.lp-soon { text-align: center; }
.lp-soon h2 { font-size: 24px; margin: 8px 0; }
.lp-plans .lp-soon { padding: 36px 20px; background: linear-gradient(135deg, #eef2ff, #fce7f3); border-radius: 20px; }

@media (max-width: 760px) { .lp-roles-grid { flex-direction: column; align-items: center; } .lp-arrow { transform: rotate(90deg); } }

.lp-plans { margin: 10px 0 40px; }
.lp-plans h2 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.lp-plans .lp-lead { margin-bottom: 18px; }

.landing .login-wrap { min-height: auto; padding: 20px 0 50px; }
.lp-foot { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 0 40px; border-top: 1px solid var(--border); }

/* ---- Landing: ortak başlık stili (görsel tazeleme) ---- */
.lp-shots, .lp-how, .lp-reviews, .lp-faq { margin: 14px 0 44px; }
.lp-shots > h2, .lp-how > h2, .lp-reviews > h2, .lp-faq > h2, .lp-roles > h2, .lp-sectors > h2, .lp-plans h2, .lp-seo > h2 {
  font-size: 26px; text-align: center; margin-bottom: 6px;
}

/* ---- Özellik vitrini (ekran görüntüleri) ---- */
.lp-shots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.lp-shot { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.lp-shot:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(99,102,241,.18); }
.lp-shot-img { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, #eef2ff, #fce7f3); display: flex; align-items: center; justify-content: center; }
.lp-shot-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-shot-ph { display: none; font-size: 46px; opacity: .55; }
.lp-shot-img.noimg img { display: none; }
.lp-shot-img.noimg .lp-shot-ph { display: block; }
.lp-shot h3 { font-size: 16px; margin: 14px 16px 4px; }
.lp-shot p { font-size: 13.5px; color: var(--muted); margin: 0 16px 16px; }

/* ---- Nasıl çalışır (adımlar) ---- */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.lp-step { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 20px 16px; text-align: center; }
.lp-step-n { width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(135deg, #6366f1, #ec4899); }
.lp-step h3 { font-size: 16px; margin-bottom: 4px; }
.lp-step p { font-size: 13.5px; color: var(--muted); }

/* ---- Müşteri yorumları ---- */
.lp-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.lp-review { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; }
.lp-stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 8px; }
.lp-review p { font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
.lp-review-who { font-size: 13px; color: var(--muted); }
.lp-trust { margin-top: 18px; font-weight: 600; }

/* ---- SSS (FAQ) ---- */
.lp-faq { max-width: 760px; margin-left: auto; margin-right: auto; }
.lp-faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 10px; }
.lp-faq-item > summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.lp-faq-item > summary::-webkit-details-marker { display: none; }
.lp-faq-item > summary::after { content: "+"; color: var(--primary); font-size: 22px; font-weight: 700; }
.lp-faq-item[open] > summary::after { content: "−"; }
.lp-faq-a { padding: 0 18px 16px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---- "Ana ekrana ekle" (PWA kurulum) ---- */
.lp-install { margin: 6px 0 30px; }
.lp-install-card { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, #eef2ff, #fce7f3); border: 1px solid var(--border); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); }
.lp-install-ic { font-size: 32px; line-height: 1; }
.lp-install-txt { flex: 1; min-width: 0; }
.lp-install-txt h3 { font-size: 16px; margin-bottom: 2px; }
.lp-install-txt p { font-size: 13px; color: var(--muted); margin: 0; }
.lp-install-card #installBtn { white-space: nowrap; flex-shrink: 0; }
.lp-install-tip { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.lp-install-tip.show { color: var(--primary); font-weight: 600; }
@media (max-width: 560px) {
  .lp-install-card { flex-direction: column; text-align: center; }
  .lp-install-card #installBtn { width: 100%; }
}

@media (max-width: 860px) {
  .lp-shots-grid, .lp-reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .lp-features { grid-template-columns: 1fr 1fr; }
  .lp-hero h1 { font-size: 26px; }
}
@media (max-width: 480px) {
  .lp-features { grid-template-columns: 1fr; }
  .lp-shots-grid, .lp-reviews-grid, .lp-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   PREMIUM LANDING (mor-pembe yeniden tasarım)
   ============================================================ */
:root { --lp-ink: #1e1b3a; --lp-grad: linear-gradient(135deg, #6366f1, #ec4899); }

.lp-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .3px;
  color: #6d28d9; background: rgba(124,58,237,.08); border: 1px solid rgba(124,58,237,.18);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }

/* HERO */
.lp-hero { position: relative; overflow: hidden; padding: 46px 0 30px; text-align: left; }
.lp-hero::before, .lp-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(72px); opacity: .55; z-index: 0; pointer-events: none; }
.lp-hero::before { width: 340px; height: 340px; background: #c7d2fe; top: -100px; left: -90px; }
.lp-hero::after { width: 320px; height: 320px; background: #fbcfe8; bottom: -120px; right: -80px; }
.lp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 42px; align-items: center; }
.lp-hero-txt { text-align: left; }
.lp-hero-txt h1 { font-size: 42px; line-height: 1.12; font-weight: 800; color: var(--lp-ink); margin: 0 0 16px; letter-spacing: -.5px; }
.lp-hero-txt .lp-lead { font-size: 18px; color: #475569; margin: 0 0 24px; max-width: 520px; }
.lp-hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.lp-cta-ghost { font-weight: 700; color: #6d28d9; text-decoration: none; padding: 13px 18px; border-radius: 12px; border: 1px solid rgba(124,58,237,.25); transition: background .15s; }
.lp-cta-ghost:hover { background: rgba(124,58,237,.06); }
.lp-hero-mini { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 13.5px; font-weight: 600; color: #475569; }
.lp-hero-mini span { white-space: nowrap; }
.lp-trial { display: inline-block; margin-top: 14px; background: #ecfdf5; color: #047857; border: 1px solid #6ee7b7;
  font-weight: 700; font-size: 13.5px; padding: 7px 15px; border-radius: 999px; }
.lp-hero-art img { width: 100%; height: auto; border-radius: 20px; display: block;
  box-shadow: 0 30px 60px -20px rgba(99,102,241,.45); border: 1px solid rgba(255,255,255,.6); }

/* Premium CTA buton */
.lp-cta { display: inline-block; padding: 14px 28px; border-radius: 14px; color: #fff; font-weight: 700; text-decoration: none;
  background: var(--lp-grad); border: none; box-shadow: 0 12px 24px -8px rgba(236,72,153,.5); transition: transform .15s, box-shadow .15s; }
.lp-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(236,72,153,.6); }
.lp-cta.lg { font-size: 17px; padding: 15px 32px; }

/* Güven şeridi */
.lp-trustbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; padding: 18px 16px; margin: 6px 0 38px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.lp-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #475569; font-weight: 600; }
.lp-trust-item b { color: #f59e0b; font-size: 14px; }

/* Bölüm başlığı */
.lp-sec-head { text-align: center; margin-bottom: 30px; }
.lp-sec-head h2 { font-size: 30px; color: var(--lp-ink); margin: 0; letter-spacing: -.4px; }

/* 4 ÖZELLİK BLOĞU (dönüşümlü) */
.lp-feats { margin: 12px 0 52px; }
.lp-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; margin-bottom: 30px; }
.lp-feat.rev .lp-feat-art { order: 2; }
.lp-feat-art { position: relative; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #eef2ff, #fce7f3);
  border: 1px solid var(--border); box-shadow: 0 18px 40px -22px rgba(99,102,241,.4); aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center; transition: transform .18s; }
.lp-feat-art:hover { transform: translateY(-4px); }
.lp-feat-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-feat-ph { display: none; font-size: 60px; opacity: .5; }
.lp-feat-art.noimg img { display: none; }
.lp-feat-art.noimg .lp-feat-ph { display: block; }
.lp-feat-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--lp-grad); color: #fff; display: flex;
  align-items: center; justify-content: center; font-size: 26px; margin-bottom: 14px; box-shadow: 0 10px 20px -8px rgba(236,72,153,.5); }
.lp-feat-txt h3 { font-size: 23px; color: var(--lp-ink); margin: 0 0 10px; letter-spacing: -.3px; }
.lp-feat-txt p { font-size: 16px; color: #475569; line-height: 1.6; margin: 0; }

/* Premium "wow" vitrin (konumlu mesai takibi) */
.lp-spotlight { margin: 4px 0 34px; }
.lp-spot-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center;
  background: linear-gradient(135deg, #1e1b3a, #4338ca 55%, #6d28d9); border-radius: 24px; padding: 30px 32px; color: #fff;
  box-shadow: 0 26px 54px -20px rgba(67,56,202,.65); position: relative; overflow: hidden; }
.lp-spot-card::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,.45), transparent 70%); top: -80px; right: -60px; }
.lp-badge { display: inline-block; background: linear-gradient(135deg, #f59e0b, #ec4899); color: #fff; font-weight: 800;
  font-size: 12px; padding: 5px 14px; border-radius: 999px; letter-spacing: .6px; }
.lp-spot-txt { position: relative; z-index: 1; }
.lp-spot-txt h2 { color: #fff; font-size: 28px; margin: 14px 0 10px; letter-spacing: -.4px; }
.lp-spot-txt p { color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.6; margin: 0; }
.lp-spot-art { position: relative; z-index: 1; }
.lp-spot-art img { width: 100%; height: auto; border-radius: 18px; display: block; box-shadow: 0 22px 44px -16px rgba(0,0,0,.55); }
@media (max-width: 860px) {
  .lp-spot-card { grid-template-columns: 1fr; gap: 20px; text-align: center; padding: 26px 20px; }
  .lp-spot-txt h2 { font-size: 23px; }
  .lp-spot-art { max-width: 440px; margin: 0 auto; }
}

/* FINAL CTA BANDI */
.lp-cta-band { margin: 22px 0 42px; }
.lp-cta-inner { background: var(--lp-grad); border-radius: 24px; padding: 46px 24px; text-align: center; color: #fff;
  box-shadow: 0 24px 50px -20px rgba(124,58,237,.6); }
.lp-cta-inner h2 { color: #fff; font-size: 30px; margin: 0 0 8px; letter-spacing: -.4px; }
.lp-cta-inner p { color: rgba(255,255,255,.92); font-size: 16px; margin: 0 0 22px; }
.lp-cta-inner .lp-cta.lg { background: #fff; color: #6d28d9; box-shadow: 0 12px 24px -10px rgba(0,0,0,.35); }
.lp-cta-inner .lp-cta.lg:hover { background: #fff; }
.lp-install-link { background: transparent; border: none; color: rgba(255,255,255,.95); font-weight: 700; font-size: 14px;
  cursor: pointer; margin-top: 16px; text-decoration: underline; padding: 6px; }
.lp-cta-band .lp-install-tip { color: rgba(255,255,255,.9); }
.lp-cta-band .lp-install-tip.show { color: #fff; font-weight: 700; }

/* RESPONSIVE (premium) */
@media (max-width: 880px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .lp-hero, .lp-hero-txt { text-align: center; }
  .lp-hero-txt h1 { font-size: 34px; }
  .lp-hero-txt .lp-lead { margin-left: auto; margin-right: auto; }
  .lp-hero-cta, .lp-hero-mini { justify-content: center; }
  .lp-hero-art { max-width: 460px; margin: 0 auto; }
  .lp-feat, .lp-feat.rev { grid-template-columns: 1fr; gap: 16px; }
  .lp-feat.rev .lp-feat-art { order: 0; }
  .lp-feat-txt { text-align: center; }
  .lp-feat-ic { margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .lp-hero-txt h1 { font-size: 28px; }
  .lp-sec-head h2, .lp-cta-inner h2, .lp-feat-txt h3 { font-size: 23px; }
}
.hint {
  margin-top: 20px; padding: 13px; background: #f4f1ff;
  border: 1px dashed #c7befb; border-radius: 12px; font-size: 12px; color: #5b5276;
}
.error-msg { color: var(--red); font-size: 13px; margin-top: 10px; min-height: 18px; font-weight: 600; }

/* ---- Layout ---- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.topbar .brand {
  font-weight: 800; font-size: 19px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.topbar .user-info { display: flex; align-items: center; gap: 14px; }
.topbar .user-info span { font-size: 14px; color: var(--muted); font-weight: 600; }

/* Mobilde üst bar daralsın — sağa kayma (yatay taşma) olmasın */
@media (max-width: 600px) {
  .topbar { padding: 9px 12px; }
  .topbar .brand { font-size: 16px; gap: 6px; }
  .brand-logo { width: 22px; height: 22px; }
  .topbar .user-info { gap: 6px; }
  .topbar .user-info > span:not(.badge) { display: none; }   /* kullanıcı adını gizle */
  .topbar .badge { padding: 3px 8px; font-size: 10px; letter-spacing: 0; }
  .topbar .btn-sm { padding: 6px 9px; font-size: 12px; }
  .topbar .icon-btn { padding: 6px 8px; font-size: 15px; }
}
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
}
.badge-mgr { background: linear-gradient(135deg, #dbeafe, #c7d2fe); color: #4338ca; }
.badge-chef { background: linear-gradient(135deg, #fef3c7, #fed7aa); color: #b45309; }
.badge-staff { background: linear-gradient(135deg, #fce7f3, #f3e8ff); color: #a21caf; }

.container { max-width: 1000px; margin: 0 auto; padding: 24px; }

.tabs {
  display: flex; gap: 8px; margin-bottom: 22px;
  flex-wrap: wrap; overflow: visible;             /* gruplu menü — açılır kutu kırpılmasın */
  padding-bottom: 2px;
}
.tab {
  flex: 0 0 auto; white-space: nowrap;            /* sekmeler küçülmesin/sarmasın */
  background: #fff; color: var(--muted); border: 2px solid var(--border);
  padding: 9px 18px; border-radius: 999px; font-weight: 700;
}
.tab:hover { border-color: #c7d2fe; color: var(--primary); }
.tab.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 12px rgba(99, 102, 241, .35);
}

/* Açılır menü grupları (Ekip / Daha Fazla) */
.tab-group { position: relative; }
.tab-group > summary {
  list-style: none; cursor: pointer; user-select: none;
}
.tab-group > summary::-webkit-details-marker { display: none; }
.tab-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 40;
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(31, 42, 68, .18); padding: 6px; min-width: 170px;
  display: flex; flex-direction: column; gap: 2px;
}
/* Açılır menü her zaman sağa doğru açılır (sola taşıp gizlenmesin) */
.tab-sub {
  text-align: left; padding: 10px 13px; border: none; background: none;
  border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 600;
  color: var(--text); white-space: nowrap;
}
.tab-sub:hover { background: #eef1f8; color: var(--primary); }
.tab-sub.active { background: #eef4ff; color: var(--primary); font-weight: 800; }

/* Mobilde sekmeleri biraz küçült (daha çoğu görünsün) */
@media (max-width: 640px) {
  .tab { padding: 8px 14px; font-size: 13px; }
  .tabs { gap: 6px; }
}

.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.card h2 { font-size: 17px; margin-bottom: 16px; }
.card h3 { font-size: 13px; color: var(--muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }

.row { display: flex; gap: 14px; flex-wrap: wrap; }
.row > * { flex: 1; min-width: 180px; }

.list-item {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: var(--shadow);
}
.list-item .meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.list-item .title { font-weight: 700; }

.empty { color: var(--muted); font-size: 14px; text-align: center; padding: 24px; }

.item-actions { display: flex; align-items: center; gap: 8px; }
.list-item.venue-item { cursor: pointer; transition: transform .12s, box-shadow .12s; }
.list-item.venue-item:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(99, 102, 241, .18); border-color: #c7d2fe; }
.form-actions { display: flex; gap: 8px; }

.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill {
  display: flex; align-items: center; gap: 8px; background: #fff;
  border: 2px solid var(--border); border-radius: 10px; padding: 8px 13px; cursor: pointer;
  font-size: 14px; font-weight: 600; transition: border-color .12s, background .12s;
}
.check-pill input { width: auto; }
.check-pill.sel { border-color: var(--primary); background: #eef0ff; color: var(--primary-hover); }

.day-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.check-pill.mini { padding: 7px 4px; justify-content: center; min-width: 0; font-size: 13px; }

.range-actions { display: flex; align-items: flex-end; gap: 8px; }
.range-actions button { flex: 1; }

/* ---- Task cards ---- */
.task {
  background: var(--panel); border: 1px solid var(--border);
  border-left: 5px solid var(--primary); border-radius: var(--radius);
  padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.task.done { border-left-color: var(--green); background: #f6fef9; }
.task-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.task-title { font-size: 16px; font-weight: 800; }
.task-desc { color: var(--muted); margin: 6px 0 12px; font-size: 14px; white-space: pre-wrap; }
.task-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag {
  font-size: 12px; padding: 5px 11px; border-radius: 999px; font-weight: 700;
  background: #eef1f8; color: #5a6582;
}
.tag.venue { background: #fff4d6; color: #b45309; }
.tag.rec { background: #dbf4ff; color: #0369a1; }
.tag.duetime { background: #fee2e2; color: #b91c1c; font-weight: 700; }
.tag.starttime { background: #e0e7ff; color: #4338ca; font-weight: 700; }
.tag.creator { background: #ede9fe; color: #6d28d9; }
.edited-note { font-size: 12.5px; font-weight: 600; color: #b45309; background: #fef3c7; border-radius: 8px; padding: 5px 10px; margin: 6px 0; display: inline-block; }
/* Mesai saati (time clock) kartı */
.clock-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 13px 18px; margin: 0 0 14px; box-shadow: var(--shadow); }
.clock-card.on { background: linear-gradient(135deg, #ecfdf5, #d1fae5); border-color: #6ee7b7; }
.clock-info { font-size: 15px; font-weight: 800; color: #334155; }
.clock-info span { font-weight: 600; color: var(--muted); }
.clock-note { font-size: 12px; color: var(--muted); margin: -8px 0 14px; padding: 0 4px; line-height: 1.4; }
.kvkk-note { margin: -6px 0 14px; padding: 0 2px; }
.kvkk-note > summary { cursor: pointer; font-size: 12px; color: var(--muted); font-weight: 600; }
.kvkk-note p { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 8px 0 0; }
.status-line.not-started { color: #4338ca; font-weight: 700; font-size: 13.5px; }
.status-line { font-size: 13px; padding: 10px 0 4px; border-top: 1px solid var(--border); }

/* Okunma durumu — tıklayınca açılır */
.reads-toggle { margin-top: 6px; border-top: 1px solid var(--border); padding-top: 6px; }
.reads-toggle > summary {
  cursor: pointer; font-size: 13px; font-weight: 700; color: var(--muted);
  list-style: none; display: flex; align-items: center;
}
.reads-toggle > summary::-webkit-details-marker { display: none; }
.reads-toggle > summary::after { content: "▸"; margin-left: 6px; color: var(--muted); font-size: 11px; transition: transform .15s; }
.reads-toggle[open] > summary::after { transform: rotate(90deg); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot.green { background: var(--green); }
.dot.amber { background: var(--amber); }

.completion-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; padding: 7px 0;
}
.completion-row .ok { color: #059669; font-weight: 700; }
.completion-row .wait { color: #d97706; font-weight: 700; }
.completion-row .seen { color: #2563eb; font-weight: 700; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
tbody tr:hover { background: #f7f9ff; }
td .when, td.when { color: var(--muted); font-size: 13px; }

.section-title { font-size: 19px; font-weight: 800; margin: 4px 0 16px; }

/* ---- Açılır-kapanır kategori (mekana göre görevler) ---- */
.cat {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow);
  overflow: hidden;
}
.cat > summary {
  cursor: pointer; padding: 15px 18px; font-weight: 800; font-size: 15px;
  list-style: none; display: flex; align-items: center; gap: 10px;
  transition: background .12s;
}
.cat > summary:hover { background: #f7f9ff; }
.cat > summary::-webkit-details-marker { display: none; }
.cat > summary .cat-count {
  margin-left: auto; background: #eef1f8; color: #5a6582;
  border-radius: 999px; padding: 2px 11px; font-size: 12px; font-weight: 700;
}
.cat > summary::after { content: "▸"; color: var(--muted); font-size: 13px; transition: transform .15s; }
.cat[open] > summary::after { transform: rotate(90deg); }
.cat-body { padding: 4px 14px 8px; border-top: 1px solid var(--border); }
.cat-body .task { box-shadow: none; }

/* ---- Görev paylaşımı (şef) ---- */
.share-row { margin-top: 10px; }
.share-box {
  margin-top: 12px; padding: 14px; border-radius: 10px;
  background: #f4f1ff; border: 1px dashed #c7befb;
}

/* ---- Pano: özet sayaç kartları (kompakt) ---- */
.dash-date { font-size: 14px; font-weight: 700; color: var(--muted); margin: 2px 0 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 16px; }
/* Premium: kişisel karşılama */
.dash-greet { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin: 2px 0 14px; }
.dg-hi { font-size: 22px; font-weight: 800; color: var(--lp-ink, #1e1b3a); letter-spacing: -.3px; }
.dg-hi span { background: linear-gradient(135deg, #6366f1, #ec4899); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.dg-date { font-size: 13px; font-weight: 700; color: var(--muted); }

/* Premium: bugünkü ilerleme — halka (ring) göstergesi + cam efekti */
.prog-card { border-radius: 18px; padding: 16px 20px; margin: 0 0 16px; box-shadow: var(--shadow); border: 1px solid var(--border); background: var(--panel); }
.prog-card.glass { display: flex; align-items: center; gap: 20px;
  background: linear-gradient(135deg, rgba(238,242,255,.75), rgba(252,231,243,.75));
  border: 1px solid rgba(255,255,255,.7); box-shadow: 0 16px 40px -22px rgba(99,102,241,.45); }
.prog-ring { width: 116px; height: 116px; flex-shrink: 0; }
.prog-ring svg { width: 100%; height: 100%; animation: ringpop .6s cubic-bezier(.2,.8,.2,1); }
@keyframes ringpop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
.prog-info { flex: 1; min-width: 0; }
.prog-eyebrow { font-size: 10.5px; font-weight: 800; letter-spacing: .6px; color: #6d28d9; opacity: .85; }
.prog-msg { font-size: 17px; font-weight: 800; color: #334155; margin: 3px 0 4px; }
.prog-sub { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.prog-card.celebrate { animation: celebrate 1.3s ease-in-out infinite alternate; }
@keyframes celebrate {
  from { box-shadow: 0 0 0 2px #fcd34d, 0 12px 30px -16px rgba(245,158,11,.5); }
  to   { box-shadow: 0 0 0 3px #f59e0b, 0 20px 46px -10px rgba(245,158,11,.75); }
}
@media (max-width: 480px) { .prog-card.glass { gap: 14px; } .prog-ring { width: 96px; height: 96px; } .prog-msg { font-size: 15px; } }
/* Haftanın Yıldızı (ödül/rekabet kartı) */
.week-star { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #fffbeb, #fde68a);
  border: 1px solid #fcd34d; border-radius: 16px; padding: 13px 18px; margin: 0 0 14px;
  box-shadow: 0 10px 24px -12px rgba(245,158,11,.55); }
.ws-crown { font-size: 30px; line-height: 1; }
.ws-body { flex: 1; min-width: 0; }
.ws-label { font-size: 11px; font-weight: 800; letter-spacing: .5px; color: #d97706; text-transform: uppercase; }
.ws-name { font-size: 18px; font-weight: 800; color: #92400e; line-height: 1.2; }
.ws-count { font-size: 17px; font-weight: 800; color: #b45309; background: rgba(255,255,255,.6);
  border-radius: 12px; padding: 6px 14px; white-space: nowrap; }
/* Premium: stat kartları (dikey, gradyan ikon çipi, hover) */
.stat-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 10px 6px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px;
  min-width: 0;   /* grid içinde küçülebilsin, taşma olmasın */
  transition: transform .15s, box-shadow .15s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(99,102,241,.4); }
.stat-card .stat-icon {
  font-size: 15px; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: #eef1f8;
}
.stat-card .stat-val { font-size: 21px; font-weight: 800; line-height: 1; }
.stat-card .stat-label { font-size: 11px; color: var(--muted); margin-top: 1px; font-weight: 700; }
.stat-card.blue  .stat-val { color: #2563eb; } .stat-card.blue  .stat-icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.stat-card.green .stat-val { color: #059669; } .stat-card.green .stat-icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.stat-card.red   .stat-val { color: #dc2626; } .stat-card.red   .stat-icon { background: linear-gradient(135deg, #fee2e2, #fecaca); }
.stat-card.amber .stat-val { color: #b45309; } .stat-card.amber .stat-icon { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.stat-card.gray  .stat-val { color: #6366f1; } .stat-card.gray  .stat-icon { background: linear-gradient(135deg, #eef2ff, #e0e7ff); }
/* Mobil: 4 kutu 2x2 düzeninde (taşmaz, dengeli) */
@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ---- Kırmızı geciken görevler panosu ---- */
.overdue-board {
  border: 2px solid #fca5a5; background: #fef2f2;
  border-radius: var(--radius); padding: 16px; margin-bottom: 18px;
}
.overdue-head { font-weight: 800; font-size: 16px; color: #b91c1c; margin-bottom: 12px; }
.overdue-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid #fecaca; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 8px;
}
.overdue-item:last-child { margin-bottom: 0; }
.overdue-item .title { font-weight: 700; color: #7f1d1d; }
.overdue-item .meta { font-size: 13px; color: #b46a6a; margin-top: 2px; }
.overdue-empty { color: #9a6b6b; font-size: 14px; }
.btn-late {
  background: #dc2626; color: #fff; border-radius: 8px;
  padding: 8px 13px; font-size: 13px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 3px 10px rgba(220, 38, 38, .3);
}
.btn-late:hover { background: #b91c1c; transform: translateY(-1px); }
.overdue-actions { display: flex; gap: 8px; align-items: center; }
.overdue-actions .lnote { width: 150px; }

/* ---- Görev tamamlama notu ---- */
.complete-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.complete-row .cnote { flex: 1; min-width: 180px; }
.cnote-show {
  margin-top: 8px; padding: 8px 12px; background: #eef1f8;
  border-radius: 8px; font-size: 13px; color: #475069;
}

/* ---- Görev kontrol listesi (çek-list) ---- */
.checklist {
  margin: 8px 0; padding: 10px 12px; background: #f8fafc;
  border: 1px solid var(--border); border-radius: 10px;
}
.checklist-head {
  font-size: 12.5px; font-weight: 700; color: var(--muted);
  margin-bottom: 6px; display: flex; align-items: center; gap: 8px;
}
.cl-prog {
  background: #e0e7ff; color: #4338ca; font-weight: 700;
  font-size: 11.5px; padding: 1px 8px; border-radius: 999px;
}
.cl-item {
  display: flex; align-items: center; gap: 9px; padding: 6px 4px;
  font-size: 14px; cursor: pointer; border-radius: 6px;
}
.cl-item input { width: 18px; height: 18px; flex-shrink: 0; }
.cl-item.on span { color: var(--muted); text-decoration: line-through; }

/* ---- Duyurular ---- */
.annc-board {
  border: 2px solid #93c5fd; background: #eff6ff;
  border-radius: var(--radius); padding: 16px; margin-bottom: 18px;
}
.annc-head { font-weight: 800; font-size: 16px; color: #1d4ed8; margin-bottom: 12px; }
.annc-item {
  background: #fff; border: 1px solid #bfdbfe; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 8px;
}
.annc-item:last-child { margin-bottom: 0; }
.annc-text { font-size: 14px; white-space: pre-wrap; color: #1e293b; font-weight: 600; }
.annc-meta { font-size: 13px; color: #5b7aa8; margin-top: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---- Geri alma notu (görev kartında) ---- */
.undo-note {
  margin-top: 6px; padding: 7px 12px; background: #f5f3ff;
  border-left: 3px solid #a78bfa; border-radius: 6px;
  font-size: 13px; color: #6d28d9; font-weight: 600;
}

/* ---- Bildirim / Talep ---- */
.notif-banner {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #065f46;
  border: 1px solid #6ee7b7; border-radius: 12px; padding: 12px 16px;
  font-weight: 700; font-size: 14px; margin-bottom: 16px;
}
.reports-board {
  border: 2px solid #fcd34d; background: #fffbeb;
  border-radius: var(--radius); padding: 16px; margin-bottom: 18px;
}
.reports-head { font-weight: 800; font-size: 16px; color: #b45309; margin-bottom: 12px; }
.report {
  background: var(--panel); border: 1px solid var(--border);
  border-left: 4px solid var(--amber); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 10px; box-shadow: var(--shadow);
}
.report.resolved { border-left-color: var(--green); background: #f6fef9; }
.report-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rcat { font-weight: 800; font-size: 14px; }
.badge-open { background: #fef3c7; color: #b45309; }
.badge-done { background: #d1fae5; color: #065f46; }
.badge-progress { background: #dbeafe; color: #1d4ed8; }
.report-text { font-size: 14px; white-space: pre-wrap; }
.report-meta { font-size: 13px; color: var(--muted); margin-top: 6px; }
.report-reply {
  margin-top: 10px; padding: 10px 12px; background: #ecfdf5;
  border-radius: 8px; font-size: 14px; color: #065f46; font-weight: 600;
}
.report-actions { display: flex; gap: 8px; margin-top: 12px; align-items: center; flex-wrap: wrap; }
.report-actions .rresolve-note, .report-actions .ldec-note { flex: 1; min-width: 180px; }
.report.rejected { border-left-color: var(--red); background: #fef2f2; }
.badge-rej { background: #fee2e2; color: #b91c1c; }

/* ---- İzin / Mesai dengesi ---- */
.bal {
  display: inline-block; font-weight: 800; font-size: 15px;
  padding: 4px 14px; border-radius: 999px;
}
.bal-green { background: #d1fae5; color: #065f46; }
.bal-red { background: #fee2e2; color: #b91c1c; }
.bal-amber { background: #fef3c7; color: #b45309; }
.bal-zero { background: #eef1f8; color: #475069; }
.balance-card {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.balance-card .balance-label { font-weight: 800; font-size: 16px; }
.balance-card .meta { font-size: 13px; color: var(--muted); width: 100%; }

/* ---- İzin/Mesai: kişiye tıkla → talep geçmişi ---- */
.person-leaves {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden;
}
.person-leaves > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 15px;
}
.person-leaves > summary::-webkit-details-marker { display: none; }
.person-leaves > summary::after { content: "▸"; color: var(--muted); margin-left: 4px; transition: transform .15s; }
.person-leaves[open] > summary::after { transform: rotate(90deg); }
.person-leaves > summary .title { font-weight: 700; }
.person-leaves .pl-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.person-leaves .pl-count {
  background: #eef1f8; color: var(--muted); font-size: 12px; font-weight: 700;
  border-radius: 999px; padding: 2px 9px; min-width: 22px; text-align: center;
}
.person-leaves .pl-body { padding: 4px 15px 12px; border-top: 1px solid var(--border); }
.pl-line { padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.pl-line:last-child { border-bottom: none; }
.pl-line .rcat { font-weight: 600; }
.pl-line-meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---- Süper admin: tek tık paket butonları ---- */
.pkg-presets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; }
.pkg-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 9px 8px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--panel); cursor: pointer; font-weight: 700; font-size: 13px; color: var(--text);
}
.pkg-btn span { font-size: 12px; font-weight: 600; color: var(--muted); }
.pkg-btn:hover { border-color: var(--primary); }
.pkg-btn.active { border-color: var(--primary); background: #eef4ff; color: var(--primary); }
.pkg-btn.active span { color: var(--primary); }

/* ---- Plan süresi banner'ı (geri sayım / doldu) ---- */
.plan-banner { padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 13.5px; margin-bottom: 14px; }
.plan-banner.bad { background: #fee2e2; color: #b91c1c; }
.plan-banner.warn { background: #fef3c7; color: #b45309; }
.plan-banner.ok { background: #eef4ff; color: #3730a3; }

/* ---- Müşteriye görünen paket kartları ---- */
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pkg-card {
  position: relative; background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--border);
}
.pkg-card.pkg-free  { border-top-color: #94a3b8; }
.pkg-card.pkg-start { border-top-color: #059669; }
.pkg-card.pkg-pro   { border-top-color: #2563eb; }
.pkg-card.pkg-corp  { border-top-color: #7c3aed; }
.pkg-card.current { box-shadow: 0 0 0 2px var(--primary); }
.pkg-cur-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.pkg-name { font-size: 16px; font-weight: 800; }
.pkg-price { font-size: 26px; font-weight: 800; }
.pkg-price .pkg-per { font-size: 13px; font-weight: 600; color: var(--muted); }
.pkg-feats { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.pkg-feats li { font-size: 13.5px; color: var(--text); }
@media (max-width: 760px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   PREMIUM AÇIK LANDING — aydınlık tema + AI "wow" bölümü
   ============================================================ */
.landing.lp-light { max-width: 1160px; }   /* içeriği biraz daha geniş yay */
.lp-grad, .lp-ai h2 {
  background: linear-gradient(90deg, #6366f1, #a855f7 55%, #d946ef);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== AI "wow" bölümü (açık premium) ===== */
.lp-ai { max-width: 1080px; margin: 44px auto; padding: 8px 18px; text-align: center; }
.lp-ai-inner {
  background: linear-gradient(160deg, #eef2ff, #f5f3ff 55%, #fdf4ff);
  border: 1px solid #e3dafb; border-radius: 24px; padding: 34px 22px;
  box-shadow: 0 24px 70px rgba(124,58,237,.14);
}
.lp-ai .lp-badge {
  display: inline-block; background: #ede9fe; color: #6d28d9;
  border: 1px solid #ddd6fe; padding: 5px 13px; border-radius: 999px;
  font-weight: 700; font-size: 12.5px;
}
.lp-ai h2 { font-size: 27px; margin: 12px 0 6px; }
.lp-ai .lp-lead { color: #5b6478; max-width: 660px; margin: 0 auto 22px; }
.lp-ai-demo { max-width: 560px; margin: 0 auto 18px; text-align: left; }
.lp-ai-bubble {
  background: #fff; border: 1px solid #e6e8f0; color: #1f2533;
  padding: 14px 16px; border-radius: 16px 16px 16px 4px; font-size: 14.5px; line-height: 1.5;
  box-shadow: 0 4px 14px rgba(30,30,60,.06);
}
.lp-ai-arrow { text-align: center; color: #7c3aed; font-weight: 700; font-size: 12px; margin: 12px 0; letter-spacing: .5px; }
.lp-ai-cards { display: grid; gap: 10px; }
.lp-ai-card {
  background: #fff; border: 1px solid #d1fae5; border-left: 3px solid #10b981;
  border-radius: 12px; padding: 12px 14px; box-shadow: 0 4px 14px rgba(30,30,60,.05);
}
.lp-ai-card-t { font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.lp-ai-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-ai-card-tags span { background: #f1f5f9; color: #475069; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.lp-ai-feats { list-style: none; padding: 0; margin: 20px auto; max-width: 520px; display: grid; gap: 8px; text-align: left; }
.lp-ai-feats li {
  color: #334155; font-size: 14px; background: #fff;
  border: 1px solid #ececf4; border-radius: 10px; padding: 9px 12px; box-shadow: 0 2px 8px rgba(30,30,60,.04);
}
@media (max-width: 640px) { .lp-ai h2 { font-size: 22px; } .lp-ai-inner { padding: 26px 16px; } }

/* AI görev: etiketli yazım ipucu */
.ai-tip { margin: 8px 0 4px; }
.ai-tip > summary { cursor: pointer; color: var(--primary); font-size: 13px; font-weight: 600; list-style: none; }
.ai-tip > summary::-webkit-details-marker { display: none; }
@media (max-width: 420px) { .pkg-grid { grid-template-columns: 1fr; } }

/* ---- Haftalık vardiya ızgarası ---- */
.shift-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.shift-range { font-weight: 700; font-size: 14px; color: var(--text); }
.shift-grid {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow); overflow-x: auto; padding: 4px;
}
.sh-row { display: flex; align-items: stretch; }
.sh-row + .sh-row { border-top: 1px solid var(--border); }
.sh-name {
  flex: 0 0 120px; min-width: 120px; padding: 10px 12px; font-size: 13.5px; font-weight: 600;
  display: flex; align-items: center; position: sticky; left: 0; background: var(--panel); z-index: 1;
}
.sh-cell {
  flex: 1 1 0; min-width: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 4px; font-size: 17px; border: none; background: none; border-left: 1px solid var(--border);
}
.sh-head { background: #f8fafc; border-bottom: 2px solid var(--border); font-weight: 700; border-radius: 10px 10px 0 0; }
.sh-dayhdr { font-size: 12px; color: var(--muted); gap: 1px; }
.sh-dayhdr span { font-size: 15px; color: var(--text); font-weight: 800; }
.sh-dayhdr.today { color: var(--primary); }
.sh-dayhdr.today span { color: var(--primary); }
button.sh-cell { cursor: pointer; }
button.sh-cell:hover { background: #eef1f8; }
.sh-cell.off { background: #fff7ed; }
.sh-cell.on { background: #f0fdf4; }
.sh-cell.shift { background: #eef2ff; }
.sh-lab { font-size: 14px; font-weight: 800; color: var(--primary); }

/* ---- Yazdırma / PDF (performans raporu) ---- */
.print-only { display: none; }
@media print {
  body { background: #fff !important; }
  .topbar, .modal-overlay { display: none !important; }
  .container > *:not(#perf-print):not(#shift-print) { display: none !important; }   /* sadece raporu yazdır */
  #perf-print, #shift-print { display: block !important; }
  #perf-print h2, #shift-print h2 { font-size: 18px; margin-bottom: 4px; }
  #perf-print table, #shift-print table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
  #perf-print th, #perf-print td, #shift-print th, #shift-print td { border: 1px solid #bbb; padding: 5px 7px; font-size: 12px; text-align: left; }
  #perf-print .bal { border: none; padding: 0; background: none; }
  #shift-print th, #shift-print td { text-align: center; }
  #shift-print th:first-child, #shift-print td:first-child { text-align: left; white-space: nowrap; }
  #shift-print .sp-h { font-size: 14px; margin: 12px 0 4px; }
}

/* ---- Modal ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(31, 42, 68, .45);
  backdrop-filter: blur(3px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px; overflow-y: auto;
}
.modal {
  background: var(--panel); border-radius: 18px; padding: 26px;
  width: 100%; max-width: 520px;
  box-shadow: 0 24px 60px rgba(31, 42, 68, .35);
  animation: pop .15s ease-out;
}
.modal h2 { font-size: 19px; margin-bottom: 18px; }
@keyframes pop {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: none; }
}
