/* =========================================================
   BerberPro — Tasarım sistemi
   21st.dev / shadcn tarzı bileşenlerin vanilla CSS karşılıkları
   ========================================================= */
:root {
  --bg: #060a13;
  --bg-2: #0a101c;
  --card: #0d1422;
  --card-2: #131c2e;
  --ink: 255, 255, 255;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --switch: #243049;
  --popover: #131c2e;
  --nav-bg: rgba(6, 10, 19, .72);
  --glass: rgba(19, 28, 46, .82);
  --chart: #3b82f6;
  color-scheme: dark;
  --text: #fafafa;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --primary: #60a5fa;
  --primary-2: #3b82f6;
  --primary-soft: rgba(59, 130, 246, 0.14);
  --green: #22c55e;
  --red: #ef4444;
  --blue: #60a5fa;
  --orange: #f59e0b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --brand: "Sora", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--primary); color: #000; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.accent { color: var(--primary); }
.hidden { display: none !important; }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 999px;
  font-weight: 500; font-size: 14px; white-space: nowrap;
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s, opacity .2s;
  position: relative; overflow: hidden;
}
.btn:active { transform: scale(.97); }
.btn svg, .side-link svg, .icon-btn svg { flex: none; }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn-primary {
  background: linear-gradient(120deg, #2563eb 0%, #3b82f6 45%, #06b6d4 100%); background-size: 160% 100%; background-position: 0 0;
  color: #ffffff; font-weight: 600;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 8px 24px -8px rgba(37,99,235,.65);
  transition: transform .15s, background-position .5s, box-shadow .2s;
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 12px 30px -8px rgba(6,182,212,.55); }
/* renkli buton çeşitleri */
.btn-green { background: linear-gradient(120deg, #16a34a, #22c55e); color: #fff; font-weight: 600; box-shadow: 0 8px 22px -10px rgba(34,197,94,.7); }
.btn-violet { background: linear-gradient(120deg, #7c3aed, #a855f7 60%, #ec4899); color: #fff; font-weight: 600; box-shadow: 0 8px 22px -10px rgba(168,85,247,.7); }
.btn-orange { background: linear-gradient(120deg, #ea580c, #f59e0b); color: #fff; font-weight: 600; box-shadow: 0 8px 22px -10px rgba(245,158,11,.7); }
.btn-green:hover, .btn-violet:hover, .btn-orange:hover { filter: brightness(1.08) saturate(1.1); }
/* shimmer efekti (21st.dev "shimmer button") */
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .7s;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-outline { border: 1px solid var(--border-2); background: rgba(var(--ink), .02); }
.btn-outline:hover { border-color: var(--primary); background: var(--primary-soft); }
.btn-ghost:hover { background: rgba(var(--ink), .06); }
.btn-danger { background: rgba(239,68,68,.12); color: var(--red-fg); border: 1px solid rgba(239,68,68,.25); }
.btn-danger:hover { background: rgba(239,68,68,.2); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.icon-btn { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; border: 1px solid var(--border); }
.icon-btn:hover { border-color: var(--border-2); background: rgba(var(--ink), .05); }
/* renkli ikon butonları: işlemin anlamına göre */
.ib-green { color: var(--green-fg); background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.28); }
.ib-orange { color: var(--orange-fg); background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.28); }
.ib-red { color: var(--red-fg); background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.28); }
.ib-blue { color: var(--primary); background: var(--primary-soft); border-color: rgba(59,130,246,.3); }
.ib-wa { color: #fff; background: #25d366; border-color: #25d366; }
.ib-green:hover, .ib-orange:hover, .ib-red:hover, .ib-blue:hover { filter: brightness(1.15); border-color: currentColor; }
.ib-wa:hover { background: #1ebe5a; }

/* ---------- Kart ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card-title { font-size: 15px; font-weight: 600; }
.card-sub { color: var(--muted); font-size: 13px; }

/* spotlight kart — fare ile takip eden ışık */
.spotlight { position: relative; overflow: hidden; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(59,130,246,.12), transparent 40%);
  transition: opacity .3s;
}
.spotlight:hover::before { opacity: 1; }

/* ---------- Rozet ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--border-2); color: var(--muted); background: rgba(var(--ink), .03);
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.green { color: var(--green-fg); border-color: rgba(34,197,94,.3); background: rgba(34,197,94,.08); }
.badge.red { color: var(--red-fg); border-color: rgba(239,68,68,.3); background: rgba(239,68,68,.08); }
.badge.blue { color: var(--blue-fg); border-color: rgba(96,165,250,.3); background: rgba(96,165,250,.08); }
.badge.orange { color: var(--orange-fg); border-color: rgba(245,158,11,.3); background: rgba(245,158,11,.08); }
.badge.accent { color: var(--primary); border-color: rgba(59,130,246,.35); background: var(--primary-soft); }
.pulse .dot { animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 500; }
.input, .select, .textarea {
  width: 100%; height: 44px; padding: 0 14px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.textarea { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }

/* switch */
.switch { position: relative; width: 40px; height: 22px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--switch); transition: .2s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + span { background: var(--primary-2); }
.switch input:checked + span::before { transform: translateX(18px); }

/* chip seçim */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 13px; color: var(--muted); cursor: pointer; transition: .15s; user-select: none;
}
.chip:hover { border-color: var(--border-2); color: var(--text); }
.chip.active { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: var(--nav-bg); border-bottom: 1px solid var(--border);
}
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
/* Marka: makas sembolü + "traşlandın" */
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-family: var(--brand); font-weight: 600; font-size: 23px; letter-spacing: -0.045em; line-height: 1; color: var(--text); }
.wordmark .brand-mark { color: var(--primary); flex: none; transition: transform .4s cubic-bezier(.2,.9,.3,1.3); }
.logo:hover .brand-mark { transform: rotate(-12deg); }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #60a5fa, var(--primary-2)); color: #ffffff;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 110px 0 90px; text-align: center; overflow: hidden; }
.grid-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(var(--ink), .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--ink), .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; z-index: -1; width: 800px; height: 500px; left: 50%; top: -200px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(59,130,246,.25), transparent);
  filter: blur(30px);
}
.hero h1 {
  font-size: clamp(40px, 7vw, 82px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600;
  max-width: 900px; margin: 22px auto 20px;
}
.hero h1 .serif { color: var(--primary); font-size: 1.08em; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; justify-content: center; margin-top: 60px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 30px; letter-spacing: -0.03em; }
.hero-stats span { color: var(--muted); font-size: 13px; }

/* Ana sayfa: iki sütunlu hero */
.hero-split { text-align: left; padding: 80px 0 100px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-split h1 { margin: 22px 0 20px; max-width: none; font-size: clamp(46px, 6.4vw, 84px); }
.hero-split h1 .serif { color: var(--primary); }
.hero-split p.lead { margin: 0 0 32px; max-width: 520px; }
.hero-split .hero-cta { justify-content: flex-start; }
.hero-split .hero-stats { justify-content: flex-start; gap: 40px; margin-top: 44px; }
.hero-visual { position: relative; height: 600px; display: grid; place-items: center; }
.hero-mark { position: absolute; inset: 0; display: grid; place-items: center; color: #3b82f6; opacity: .07; animation: slowspin 60s linear infinite; pointer-events: none; }
@keyframes slowspin { to { transform: rotate(360deg); } }

.phone {
  position: relative; width: 290px; height: 580px; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #1b2740, #0b1220); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), 0 0 0 6px rgba(255,255,255,.03), 0 30px 120px -30px rgba(59,130,246,.55);
  transform: rotate(-4deg); animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(-4deg) translateY(-12px); } }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #000; z-index: 2; }
.phone-screen { height: 100%; border-radius: 36px; background: var(--bg); padding: 54px 16px 16px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.ph-head { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.ph-head b { font-size: 14px; display: block; letter-spacing: -0.02em; }
.ph-head small { font-size: 11px; color: var(--muted); }
.ph-av { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: linear-gradient(135deg, #60a5fa, #1d4ed8); }
.ph-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin-top: 6px; }
.ph-service { display: flex; justify-content: space-between; padding: 11px 12px; border-radius: 11px; border: 1px solid var(--primary); background: var(--primary-soft); font-size: 13px; }
.ph-service b { color: var(--primary); }
.ph-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ph-days span { text-align: center; padding: 7px 0; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-2); font-weight: 700; font-size: 16px; }
.ph-days small { display: block; font-size: 9.5px; font-weight: 500; color: var(--muted); }
.ph-days .on { border-color: var(--primary); background: var(--primary-soft); }
.ph-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ph-slots span { text-align: center; padding: 7px 0; font-size: 11.5px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-2); }
.ph-slots .on { background: var(--primary-2); border-color: var(--primary-2); font-weight: 600; }
.ph-slots .off { opacity: .3; text-decoration: line-through; }
.ph-btn { margin-top: auto; text-align: center; padding: 13px; border-radius: 99px; font-weight: 600; font-size: 13.5px; background: linear-gradient(180deg, #60a5fa, #2563eb); box-shadow: 0 8px 24px -8px rgba(59,130,246,.7); }

.float-card {
  position: absolute; display: flex; gap: 12px; align-items: flex-start; width: 290px; padding: 14px 16px;
  border-radius: 18px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(var(--ink), .12); box-shadow: var(--shadow); z-index: 3;
}
.float-card small { font-size: 11.5px; color: var(--muted); }
.float-card p { font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.fc-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-2); }
.fc-ico.ok { background: var(--green); }
.sms-card { top: 70px; right: -10px; animation: pop-in .7s .6s both, bob 6s 1.3s ease-in-out infinite; }
.book-card { bottom: 80px; left: -20px; width: 240px; animation: pop-in .7s 1.2s both, bob 7s 2s ease-in-out infinite reverse; }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.94); } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Animated gradient border (21st.dev "border beam") */
.beam {
  position: relative; border-radius: var(--radius); padding: 1px;
  background: var(--border);
  overflow: hidden;
}
.beam::before {
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent 0 300deg, var(--primary) 340deg, transparent 360deg);
  animation: spin 5s linear infinite;
}
.beam > * { position: relative; border-radius: calc(var(--radius) - 1px); background: var(--card); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero mock önizleme */
.mock { max-width: 980px; margin: 70px auto 0; text-align: left; }
.mock-inner { padding: 18px; display: grid; grid-template-columns: 220px 1fr; gap: 18px; }
.mock-side { display: flex; flex-direction: column; gap: 6px; }
.mock-side div { padding: 9px 12px; border-radius: 8px; font-size: 13px; color: var(--muted); }
.mock-side div.on { background: var(--primary-soft); color: var(--primary); }
.mock-main { display: grid; gap: 12px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-stat { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.mock-stat small { color: var(--muted); font-size: 12px; }
.mock-stat b { display: block; font-size: 22px; }
.mock-list { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; }
.mock-list div { display: flex; justify-content: space-between; padding: 11px 14px; font-size: 13px; border-bottom: 1px solid var(--border); }
.mock-list div:last-child { border: 0; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 30px 0; border-block: 1px solid var(--border);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { color: var(--muted-2); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bölüm ---------- */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -0.04em; line-height: 1.05; font-weight: 600; margin: 14px 0; }
.section-head h2 .serif { color: var(--primary); }
.section-head p { color: var(--muted); font-size: 17px; }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .card { min-height: 220px; display: flex; flex-direction: column; }
.bento .c3 { grid-column: span 3; } .bento .c2 { grid-column: span 2; } .bento .c4 { grid-column: span 4; }
.feat-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 18px; border: 1px solid rgba(59,130,246,.2); }
.bento h3 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 6px; }
.bento p { color: var(--muted); font-size: 14px; }
.slot-demo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: auto; padding-top: 18px; }
.slot-demo span { text-align: center; padding: 8px 0; font-size: 12px; border-radius: 8px; border: 1px solid var(--border); color: var(--muted); }
.slot-demo span.on { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.slot-demo span.off { text-decoration: line-through; opacity: .35; }

/* Fiyat */
.pricing { max-width: 480px; margin: 0 auto; }
.price-card { padding: 40px 36px; }
.price { font-size: 64px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.price small { font-size: 16px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.check-list { list-style: none; display: grid; gap: 12px; margin: 28px 0 32px; }
.check-list li { display: flex; gap: 10px; font-size: 14.5px; }
.check-list li svg { flex: none; color: var(--primary); margin-top: 3px; }

/* Berber kartları */
.barber-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.barber-card { padding: 0; overflow: hidden; transition: transform .2s, border-color .2s; }
.barber-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.barber-cover { height: 120px; position: relative; }
.barber-avatar {
  position: absolute; left: 20px; bottom: -26px; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-weight: 700; font-size: 20px; color: #ffffff;
  background: linear-gradient(135deg, #60a5fa, var(--primary-2)); border: 3px solid var(--card);
}
.barber-body { padding: 36px 20px 20px; }
.barber-body h3 { font-size: 17px; letter-spacing: -0.02em; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; font-size: 14.5px; }

/* CTA + footer */
.cta-box { text-align: center; padding: 70px 30px; position: relative; overflow: hidden; }
.cta-box h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 14px; }
.footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: 13px; }

/* Reveal animasyonu */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Berber sayfası (randevu)
   ========================================================= */
.shop-hero { position: relative; padding: 60px 0 40px; border-bottom: 1px solid var(--border); overflow: hidden; }
.shop-head { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.shop-avatar { width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; font-size: 32px; font-weight: 700; color: #ffffff; background: linear-gradient(135deg, #60a5fa, var(--primary-2)); box-shadow: 0 10px 40px -10px rgba(59,130,246,.6); }
.shop-head h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.04em; line-height: 1.1; }
.shop-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-top: 8px; }
.shop-meta span { display: inline-flex; align-items: center; gap: 6px; }

.booking { display: grid; grid-template-columns: 1fr 380px; gap: 24px; padding: 40px 0 80px; align-items: start; }
.booking > * { min-width: 0; }
.step { margin-bottom: 22px; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(59,130,246,.3); }
.step-head h2 { font-size: 17px; letter-spacing: -0.02em; }

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.service {
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; cursor: pointer;
  background: var(--bg-2); transition: .15s; display: flex; justify-content: space-between; gap: 12px;
}
.service:hover { border-color: var(--border-2); }
.service.active { border-color: var(--primary); background: var(--primary-soft); }
.service b { font-size: 14.5px; font-weight: 600; display: block; }
.service small { color: var(--muted); font-size: 12.5px; }
.service .p { font-weight: 600; color: var(--primary); white-space: nowrap; }

.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day {
  flex: none; width: 68px; padding: 10px 0; text-align: center; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg-2); cursor: pointer; transition: .15s;
}
.day small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.day b { font-size: 20px; display: block; letter-spacing: -0.03em; }
.day:hover { border-color: var(--border-2); }
.day.active { border-color: var(--primary); background: var(--primary-soft); }
.day.active small { color: var(--primary); }
.day.closed { opacity: .35; pointer-events: none; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; }
.slot {
  padding: 10px 0; text-align: center; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg-2); font-size: 14px; font-weight: 500; cursor: pointer; transition: .15s;
  font-variant-numeric: tabular-nums;
}
.slot:hover { border-color: var(--primary); }
.slot.active { background: var(--primary); color: #ffffff; border-color: var(--primary); font-weight: 600; }
.slot.taken { opacity: .3; text-decoration: line-through; pointer-events: none; }
.legend-row { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 12px; }
.legend-row i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1px solid var(--border-2); }

.summary { position: sticky; top: 90px; }
.summary-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.summary-line span:first-child { color: var(--muted); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 4px; }
.summary-total b { font-size: 26px; letter-spacing: -0.03em; }

.empty { text-align: center; color: var(--muted); padding: 30px 10px; font-size: 14px; border: 1px dashed var(--border); border-radius: var(--radius-sm); }

/* =========================================================
   Panel düzeni (berber + admin)
   ========================================================= */
.app { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar {
  border-right: 1px solid var(--border); background: var(--bg-2); padding: 20px 14px;
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px;
}
.sidebar .logo { padding: 4px 8px 22px; }
.side-label { font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; padding: 14px 12px 6px; }
.side-link {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px;
  font-size: 14px; color: var(--muted); cursor: pointer; transition: .15s;
}
.side-link:hover { background: rgba(var(--ink), .04); color: var(--text); }
.side-link.active { background: var(--primary-soft); color: var(--primary); }
.side-link .count { margin-left: auto; font-size: 11px; background: rgba(var(--ink), .08); padding: 1px 7px; border-radius: 99px; color: var(--text); }
.side-foot { margin-top: auto; border-top: 1px solid var(--border); padding-top: 14px; }
.user-box { display: flex; gap: 10px; align-items: center; padding: 8px; }
.user-box .av { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #60a5fa, var(--primary-2)); color: #ffffff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.user-box b { font-size: 13px; display: block; line-height: 1.2; }
.user-box small { font-size: 12px; color: var(--muted); }

.main { padding: 28px 34px 60px; min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.page-head h1 { font-size: 28px; letter-spacing: -0.035em; font-weight: 600; }
.page-head p { color: var(--muted); font-size: 14px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat { padding: 18px 20px; }
.stat small { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.stat b { display: block; font-size: 28px; letter-spacing: -0.04em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat .delta { font-size: 12px; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.grid-2e { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Tablo */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12.5px; padding: 12px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; background: rgba(var(--ink), .015); }
td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(var(--ink), .02); }
td .sub { display: block; color: var(--muted); font-size: 12.5px; }
.toolbar { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.toolbar .input, .toolbar .select { height: 38px; width: auto; min-width: 160px; }

/* Liste */
.list-item { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.list-item:last-child { border-bottom: 0; }
.time-pill { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; min-width: 64px; text-align: center; }

/* Grafik */
.chart { position: relative; height: 220px; margin-top: 16px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .bar { fill: var(--chart); transition: opacity .15s; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .hit:hover + .bar, .chart .bar.hover { fill: var(--primary); }
.chart .axis-label { fill: var(--muted-2); font-size: 11px; }
.chart .gridline { stroke: rgba(var(--ink), .06); stroke-width: 1; }
.chart .val-label { fill: var(--text); font-size: 11px; font-weight: 600; }
.tooltip {
  position: absolute; pointer-events: none; background: var(--popover); border: 1px solid var(--border-2);
  padding: 8px 12px; border-radius: 8px; font-size: 12.5px; white-space: nowrap; transform: translate(-50%, -110%);
  box-shadow: var(--shadow); opacity: 0; transition: opacity .1s; z-index: 5;
}
.tooltip b { display: block; font-size: 14px; }

/* Haftalık takvim */
.week { display: grid; grid-template-columns: 56px repeat(7, 1fr); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); font-size: 12px; }
.week .h { padding: 10px 6px; text-align: center; border-bottom: 1px solid var(--border); border-left: 1px solid var(--border); background: rgba(var(--ink), .015); }
.week .h.today { color: var(--primary); }
.week .h b { display: block; font-size: 16px; }
.week .t { padding: 0 6px; color: var(--muted-2); text-align: right; height: 48px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.week .c { height: 48px; border-left: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; padding: 2px; }
.week .ev { background: var(--primary-soft); border-left: 3px solid var(--primary); border-radius: 5px; padding: 3px 6px; font-size: 11px; line-height: 1.25; height: 100%; overflow: hidden; cursor: pointer; }
.week .ev.done { border-left-color: var(--green); background: rgba(34,197,94,.08); }

/* Modal */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 100; padding: 20px; animation: fade .2s; }
.modal { width: min(520px, 100%); max-height: 90vh; overflow-y: auto; background: var(--card); border: 1px solid var(--border-2); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); animation: pop .25s cubic-bezier(.2,.9,.3,1.2); }
.modal h3 { font-size: 20px; letter-spacing: -0.03em; margin-bottom: 4px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }

/* Toast */
.toasts { position: fixed; bottom: 22px; right: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  --tc: #3b82f6; position: relative; overflow: hidden;
  background: linear-gradient(90deg, color-mix(in srgb, var(--tc) 16%, var(--popover)), var(--popover) 70%);
  border: 1px solid color-mix(in srgb, var(--tc) 40%, transparent); border-left: 4px solid var(--tc);
  padding: 12px 16px 14px 12px; border-radius: 14px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; animation: toast-in .35s cubic-bezier(.2,.9,.3,1.2); min-width: 260px; max-width: 380px;
}
.toast.success { --tc: #22c55e; } .toast.error { --tc: #ef4444; } .toast.warn { --tc: #f59e0b; } .toast.sms { --tc: #a855f7; }
.toast .ti { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; color: #fff; background: var(--tc); box-shadow: 0 6px 16px -6px var(--tc); }
.toast::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--tc); opacity: .5; transform-origin: left; animation: toast-bar 3.2s linear forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(30px) scale(.96); } }
@keyframes toast-bar { to { transform: scaleX(0); } }

/* Auth */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; overflow: hidden; border-right: 1px solid var(--border); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; background: var(--bg-2); }
.auth-form { display: grid; place-items: center; padding: 40px 20px; }
.auth-form .box { width: min(400px, 100%); }
.tabs { display: flex; background: var(--bg-2); border: 1px solid var(--border); padding: 4px; border-radius: 12px; margin-bottom: 24px; }
.tabs button { flex: 1; height: 36px; border-radius: 9px; font-size: 14px; color: var(--muted); font-weight: 500; }
.tabs button.active { background: var(--card-2); color: var(--text); box-shadow: 0 1px 0 rgba(var(--ink), .06) inset; }
.demo-box { margin-top: 20px; padding: 14px; border-radius: 12px; border: 1px dashed var(--border-2); font-size: 13px; color: var(--muted); }
.demo-box code { color: var(--primary); font-family: ui-monospace, monospace; font-size: 12.5px; }

.hours-row { display: grid; grid-template-columns: 120px 50px 1fr 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.hours-row:last-child { border-bottom: 0; }
.hours-row .input { height: 38px; }

.mobile-menu { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-split { text-align: center; padding-top: 60px; }
  .hero-split p.lead { margin-inline: auto; }
  .hero-split .hero-cta, .hero-split .hero-stats { justify-content: center; }
  .hero-visual { height: 560px; }
  .booking { grid-template-columns: 1fr; }
  .summary { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-2e { grid-template-columns: 1fr; }
  .bento .c3, .bento .c2, .bento .c4 { grid-column: span 6; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .mock-inner { grid-template-columns: 1fr; }
  .mock-side { display: none; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; z-index: 60; width: 260px; transform: translateX(-100%); transition: transform .25s; }
  .sidebar.open { transform: none; box-shadow: var(--shadow); }
  .mobile-menu { display: inline-grid; }
  .main { padding: 20px 16px 60px; }
  .form-grid { grid-template-columns: 1fr; }
  .hours-row { grid-template-columns: 1fr 50px; }
  .hours-row .input { grid-column: span 1; }
  .week { font-size: 10px; }
}
@media (max-width: 520px) {
  .float-card { width: 240px; }
  .sms-card { right: -6px; top: 30px; }
  .book-card { left: -6px; }
  .phone { width: 260px; height: 520px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 22px; }
  .hero { padding-top: 70px; }
}

/* ---------- Renkli istatistik ikonları ---------- */
.stat small .si { width: 28px; height: 28px; border-radius: 8px; display: inline-grid; place-items: center; color: #fff; flex: none; }
.si.c1 { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.si.c2 { background: linear-gradient(135deg, #16a34a, #4ade80); }
.si.c3 { background: linear-gradient(135deg, #7c3aed, #c084fc); }
.si.c4 { background: linear-gradient(135deg, #ea580c, #fbbf24); }

/* ---------- Tema düğmesi ---------- */
.theme-toggle { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--border); color: var(--muted); transition: .2s; }
.theme-toggle:hover { color: var(--text); background: rgba(var(--ink), .05); transform: rotate(15deg); }
.theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }

/* durum renkleri (koyu tema) */
:root { --green-fg: #86efac; --red-fg: #fca5a5; --blue-fg: #93c5fd; --orange-fg: #fcd34d; }

/* =========================================================
   AÇIK TEMA — Google ürünlerindeki gibi sakin, göz yormayan
   ========================================================= */
[data-theme="light"] {
  color-scheme: light;
  --ink: 31, 31, 31;
  --bg: #f8fafd;
  --bg-2: #f0f4f9;
  --card: #ffffff;
  --card-2: #eef2f8;
  --border: #e3e3e3;
  --border-2: #c7c7c7;
  --text: #1f1f1f;
  --muted: #444746;
  --muted-2: #747775;
  --primary: #0b57d0;
  --primary-2: #1a73e8;
  --primary-soft: #e8f0fe;
  --shadow: 0 1px 3px rgba(60,64,67,.15), 0 4px 12px 2px rgba(60,64,67,.12);
  --switch: #c4c7c5;
  --popover: #ffffff;
  --nav-bg: rgba(248, 250, 253, .86);
  --glass: rgba(255, 255, 255, .92);
  --chart: #1a73e8;
  --green-fg: #137333; --red-fg: #c5221f; --blue-fg: #0b57d0; --orange-fg: #b06000;
}
[data-theme="light"] body { -webkit-font-smoothing: auto; }
[data-theme="light"] .card { box-shadow: 0 1px 2px rgba(60,64,67,.06); }
[data-theme="light"] .hero-glow { background: radial-gradient(closest-side, rgba(26,115,232,.16), transparent); }
[data-theme="light"] .grid-bg { opacity: .7; }
[data-theme="light"] .sidebar { background: #ffffff; }
[data-theme="light"] .side-link.active { background: #d3e3fd; color: #041e49; font-weight: 500; }
[data-theme="light"] .side-link.active svg { color: #0b57d0; }
[data-theme="light"] .badge.accent { border-color: #aecbfa; }
[data-theme="light"] .modal-bg { background: rgba(32,33,36,.4); }
[data-theme="light"] .hero-mark { color: #1a73e8; opacity: .06; }
[data-theme="light"] .float-card { border-color: #e3e3e3; }
[data-theme="light"] .input, [data-theme="light"] .select, [data-theme="light"] .textarea { background: #ffffff; border-color: #c7c7c7; }
[data-theme="light"] .input:focus, [data-theme="light"] .select:focus, [data-theme="light"] .textarea:focus { border-color: #0b57d0; box-shadow: 0 0 0 3px #d3e3fd; }
[data-theme="light"] .btn-outline { background: #ffffff; border-color: #c7c7c7; color: #0b57d0; }
[data-theme="light"] .btn-outline:hover { background: #f0f6ff; border-color: #0b57d0; }
[data-theme="light"] .day, [data-theme="light"] .slot, [data-theme="light"] .service { background: #ffffff; }
[data-theme="light"] .phone-screen { background: #ffffff; }
[data-theme="light"] .ph-days span, [data-theme="light"] .ph-slots span { background: #f8fafd; }
[data-theme="light"] .toast { box-shadow: 0 4px 18px rgba(60,64,67,.22); }
[data-theme="light"] th { background: #f8fafd; }
[data-theme="light"] .week .ev { color: #041e49; }

/* müşteriye hatırlatma sorusu */
.remind-box { padding: 16px; border-radius: 14px; border: 1px solid rgba(168,85,247,.3); background: linear-gradient(135deg, rgba(168,85,247,.08), rgba(59,130,246,.06)); }
.remind-q { color: var(--text) !important; font-size: 14.5px !important; font-weight: 600 !important; display: flex; gap: 8px; align-items: center; }
.remind-q svg { color: #a855f7; }
.remind-box .chip.active { border-color: #a855f7; color: #a855f7; background: rgba(168,85,247,.12); }
[data-theme="light"] .remind-box .chip.active { color: #7c3aed; border-color: #7c3aed; }

/* =========================================================
   Ortak üst menü (mobilde açılır), duyuru, footer
   ========================================================= */
.announce { background: linear-gradient(90deg, #1a73e8, #7c3aed); color: #fff; font-size: 13.5px; font-weight: 500; text-align: center; padding: 8px 0; }
.nav-actions { gap: 8px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s, opacity .2s; }
.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-sheet { display: none; }
@media (max-width: 820px) {
  .nav-burger { display: inline-flex; }
  .hide-sm { display: none !important; }
  .nav-inner { height: 60px; }
  .nav-sheet { display: grid; gap: 2px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; padding: 0 20px; background: var(--bg); }
  .menu-open .nav-sheet { max-height: 80vh; padding: 8px 20px 20px; border-bottom: 1px solid var(--border); }
  .menu-open { overflow: hidden; }
  .sheet-link { display: block; padding: 14px 4px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--border); }
  .sheet-cta { display: grid; gap: 10px; margin-top: 16px; }
}

.site-footer { border-top: 1px solid var(--border); padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); margin-top: 40px; color: var(--muted); font-size: 14px; background: var(--bg-2); }
.foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 26px; border-radius: 18px; border: 1px solid var(--border); background: var(--card); margin-bottom: 48px; }
.foot-cta b { display: block; color: var(--text); font-size: 18px; letter-spacing: -0.02em; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-brand p { margin: 14px 0 18px; max-width: 300px; line-height: 1.6; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 { color: var(--text); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.foot-col a:hover, .foot-contact a:hover { color: var(--primary); }
.foot-social { display: flex; gap: 8px; margin-bottom: 18px; }
.soc { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--card); color: var(--muted); transition: .2s; }
.soc:hover { color: #fff; background: var(--primary-2); border-color: var(--primary-2); transform: translateY(-2px); }
.foot-contact { display: grid; gap: 6px; font-size: 13.5px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 40px; padding-top: 22px; font-size: 13px; }
.foot-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.foot-badges span::before { content: "✓ "; color: var(--green); }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) {
  .foot-grid { gap: 26px 18px; }
  .foot-cta { padding: 18px; } .foot-cta .btn { width: 100%; }
  .foot-col a { padding: 3px 0; }
}

/* mobilde sabit alt düğme (ana sayfa) */
.mobile-cta { display: none; }
@media (max-width: 820px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--nav-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--border); transform: translateY(110%); transition: transform .3s; }
  .mobile-cta.show { transform: none; }
  body:has(.mobile-cta) .site-footer { padding-bottom: 96px; }
}

/* =========================================================
   Ana sayfa bölümleri
   ========================================================= */
.section-tight { padding: 80px 0; }
.h2 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -0.04em; line-height: 1.08; font-weight: 600; margin: 14px 0; }
.lead-sm { font-size: 17px; max-width: 460px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo-card { padding: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.duo-card h3 { font-size: 24px; letter-spacing: -0.03em; }
.duo-card .btn { margin-top: auto; }
.tick { list-style: none; display: grid; gap: 10px; margin-bottom: 8px; }
.tick li { padding-left: 28px; position: relative; color: var(--muted); }
.tick li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a73e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

.sms-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sms-steps { list-style: none; counter-reset: s; display: grid; gap: 14px; margin-top: 26px; }
.sms-steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
.sms-steps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #7c3aed, #a855f7); }
.sms-steps li:nth-child(2)::before { background: linear-gradient(135deg, #16a34a, #4ade80); }
.sms-steps li:nth-child(3)::before { background: linear-gradient(135deg, #1a73e8, #06b6d4); }
.sms-steps span { color: var(--muted); font-size: 14.5px; }
.sms-stack { display: grid; gap: 14px; }
.bubble { position: relative; padding: 16px 18px; border-radius: 20px 20px 20px 6px; background: var(--card); border: 1px solid var(--border); font-size: 14.5px; line-height: 1.5; box-shadow: var(--shadow); max-width: 440px; }
.bubble small { display: block; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #a855f7; margin-bottom: 4px; }
.bubble.b2 { margin-left: auto; border-radius: 20px 20px 6px 20px; } .bubble.b2 small { color: var(--green); }
.bubble.b3 small { color: var(--primary); }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps3 .card { padding: 26px; display: grid; gap: 10px; }
.steps3 h3 { font-size: 19px; letter-spacing: -0.02em; }
.steps3 p { color: var(--muted); font-size: 14.5px; }

.compare { max-width: 860px; margin: 0 auto; padding: 6px 0; overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 12px; padding: 15px 24px; border-bottom: 1px solid var(--border); font-size: 14.5px; align-items: center; }
.cmp-row:last-child { border-bottom: 0; }
.cmp-head { font-weight: 600; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.cmp-head span:last-child { color: var(--primary); }
.cmp-row .no { color: var(--muted); }
.cmp-row .yes { color: var(--text); font-weight: 600; }
.cmp-row .yes::before { content: "✓ "; color: var(--green); }

.search-wrap { max-width: 560px; margin: 0 auto 26px; }
.input-lg { height: 54px; font-size: 16px; border-radius: 14px; padding: 0 18px; }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 30px; }
.city-chips a { padding: 9px 15px; border-radius: 99px; border: 1px solid var(--border); background: var(--card); font-size: 14px; transition: .15s; }
.city-chips a:hover { border-color: var(--primary); color: var(--primary); }
.city-chips a.all { background: var(--primary-soft); color: var(--primary); border-color: transparent; font-weight: 600; }

@media (max-width: 820px) {
  .section-tight { padding: 56px 0; }
  .duo, .sms-split, .steps3 { grid-template-columns: 1fr; }
  .sms-split { gap: 30px; }
  .cmp-row { grid-template-columns: 1fr 1fr; padding: 14px 16px; font-size: 14px; }
  .cmp-row > span:first-child { grid-column: 1 / -1; font-weight: 600; color: var(--text); }
  .cmp-head > span:first-child { display: none; }
  .duo-card { padding: 22px; }
}

/* =========================================================
   İl sayfaları, iller dizini, yasal sayfalar
   ========================================================= */
.page-pad { padding: 28px 0 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--primary); }
.crumbs b { color: var(--text); font-weight: 500; }
.page-hero { padding: 10px 0 30px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -0.045em; line-height: 1.05; font-weight: 600; margin: 14px 0; }
.page-hero h1 .serif { color: var(--primary); }
.page-hero .lead { font-size: 17.5px; color: var(--muted); max-width: 760px; line-height: 1.65; }
.il-search { max-width: 520px; margin-top: 22px; }
.region { margin-top: 34px; }
.region h2 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 14px; display: flex; gap: 10px; align-items: baseline; }
.region h2 .muted { font-size: 14px; font-weight: 400; }
.il-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.il-link { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); font-weight: 500; font-size: 15px; transition: .15s; min-height: 48px; }
.il-link:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.plate { font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--primary); background: var(--primary-soft); border-radius: 6px; padding: 3px 6px; min-width: 28px; text-align: center; }
.il-hero { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.il-plate { width: 120px; height: 64px; border-radius: 10px; border: 3px solid var(--text); background: #fff; color: #111; display: flex; align-items: center; justify-content: center; gap: 8px; font: 800 34px/1 var(--brand); letter-spacing: .02em; margin-top: 26px; position: relative; overflow: hidden; padding-left: 26px; }
.il-plate small { position: absolute; left: 0; top: 0; bottom: 0; width: 24px; background: #1a4fd1; color: #fff; font-size: 10px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; letter-spacing: 0; }
.il-section { margin-top: 44px; }
.il-section > h2, .il-section .row > h2 { font-size: 24px; letter-spacing: -0.03em; font-weight: 600; }
.il-section .card h2 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 6px; }
.il-section .faq { margin: 16px 0 0; max-width: none; }
.il-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.il-two .card { padding: 24px; }
.il-two .chip { min-height: 40px; }
.tip-card { background: linear-gradient(135deg, rgba(168,85,247,.10), rgba(26,115,232,.06)); border-color: rgba(168,85,247,.3); }
.tip-card p { color: var(--text); line-height: 1.65; }
.steps-list { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.steps-list li { counter-increment: s; padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); color: var(--muted); line-height: 1.6; }
.steps-list li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-weight: 700; margin-bottom: 12px; }
.steps-list b { color: var(--text); display: block; }
.barber-invite { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px; flex-wrap: wrap; }
.barber-invite h2 { font-size: 24px; letter-spacing: -0.03em; margin-bottom: 6px; }
.barber-invite p { max-width: 620px; }
@media (max-width: 820px) {
  .il-hero { grid-template-columns: 1fr; gap: 0; }
  .il-plate { width: 104px; height: 54px; font-size: 28px; margin-top: 0; }
  .il-two, .steps-list { grid-template-columns: 1fr; }
  .il-grid { grid-template-columns: repeat(2, 1fr); }
  .barber-invite .btn { width: 100%; }
  .il-section { margin-top: 34px; }
}

.legal-grid { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: start; }
.legal { padding: 36px 40px; line-height: 1.75; font-size: 15.5px; }
.legal h1 { font-size: 32px; letter-spacing: -0.035em; margin-bottom: 6px; }
.legal h2 { font-size: 19px; letter-spacing: -0.02em; margin: 28px 0 10px; }
.legal p { margin: 10px 0; color: var(--muted); }
.legal p strong, .legal li strong { color: var(--text); }
.legal ul { margin: 10px 0 10px 22px; color: var(--muted); display: grid; gap: 6px; }
.legal-side { position: sticky; top: 90px; display: grid; gap: 4px; }
.legal-side h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.legal-side a { padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.legal-side a:hover { background: var(--primary-soft); color: var(--primary); }
@media (max-width: 820px) { .legal-grid { grid-template-columns: 1fr; } .legal { padding: 22px 18px; font-size: 15px; } .legal-side { position: static; } }

/* giriş sayfası */
.auth-points { list-style: none; display: grid; gap: 18px; max-width: 420px; }
.auth-points li { display: flex; gap: 14px; align-items: flex-start; }
.auth-points .si { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.auth-points b { display: block; } .auth-points small { color: var(--muted); font-size: 13.5px; }

/* =========================================================
   Mobil kolaylık: büyük dokunma alanları, iOS'ta yakınlaştırma yok
   ========================================================= */
@media (max-width: 820px) {
  .input, .select, .textarea { font-size: 16px; }
  .input, .select { min-height: 48px; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
  .chip { min-height: 40px; display: inline-flex; align-items: center; }
  .hero-cta .btn { width: 100%; }
  .faq summary { padding: 16px 0; min-height: 52px; }
  .container { width: min(1180px, 100% - 32px); }
}

/* =========================================================
   Yönetim paneli: ayarlar, uyarılar, ödemeler, yasal metinler
   ========================================================= */
.set-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.set-tabs::-webkit-scrollbar { display: none; }
.set-tab { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--border); background: var(--card); color: var(--muted); font-size: 14px; font-weight: 500; min-height: 40px; }
.set-tab:hover { color: var(--text); }
.set-tab.active { background: var(--primary-2); color: #fff; border-color: var(--primary-2); }
.set-form { padding: 24px; display: grid; gap: 16px; }
.set-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.set-grid .full { grid-column: 1 / -1; }
.set-grid .field label { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.set-grid .badge { font-size: 11px; padding: 1px 8px; }
.set-extra { padding: 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); }
.switch-row { flex-direction: row !important; justify-content: space-between; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; border: 1px solid var(--border); cursor: pointer; }
.switch-row > span:first-child { display: grid; gap: 2px; }
.save-bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 0 calc(4px + env(safe-area-inset-bottom)); margin-top: 4px; border-top: 1px solid var(--border); background: var(--card); z-index: 2; }
.warn-list { display: grid; gap: 8px; margin-bottom: 16px; }
.warn { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: 14px; border: 1px solid; margin-bottom: 14px; }
.warn-list .warn { margin: 0; }
.warn > span { flex: 1; }
.warn.red { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.3); color: var(--red-fg); }
.warn.orange { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.3); color: var(--orange-fg); }
.warn.blue { background: var(--primary-soft); border-color: rgba(59,130,246,.3); color: var(--blue-fg); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.mini { display: flex; gap: 12px; align-items: center; padding: 14px 16px; }
.mini .si { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.mini b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.mini small { color: var(--muted); font-size: 12.5px; }
.legal-admin { display: grid; gap: 10px; }
.legal-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.legal-item b { display: block; } .legal-item small { font-size: 13px; }
.legal-item:hover { border-color: var(--primary); }
.legal-ta { min-height: 52vh; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; line-height: 1.6; }
@media (max-width: 820px) {
  .set-grid, .mini-stats { grid-template-columns: 1fr; }
  .set-form { padding: 16px; }
  .save-bar .btn-primary { flex: 1; }
  .legal-item .badge { display: none; }
}

/* abonelik süre seçimi (panel) */
.center { text-align: center; }
.period-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.period { position: relative; display: grid; gap: 2px; padding: 16px 8px 12px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--bg-2); text-align: center; transition: .15s; min-height: 72px; }
.period b { font-size: 17px; letter-spacing: -0.02em; }
.period span { font-size: 13px; color: var(--muted); }
.period.active { border-color: #a855f7; background: rgba(168,85,247,.10); }
.period.active span { color: var(--text); }
.period-tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-size: 10.5px !important; font-weight: 700; color: #fff !important; background: linear-gradient(120deg, #7c3aed, #ec4899); padding: 1px 8px; border-radius: 99px; white-space: nowrap; }
.pay-spin { width: 44px; height: 44px; margin: 6px auto 0; border-radius: 50%; border: 4px solid rgba(168,85,247,.2); border-top-color: #a855f7; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 520px) { .period-grid { grid-template-columns: 1fr 1fr; } }

/* giriş sayfası: üst çubuk (mobilde logo) ve belirgin sekmeler */
.auth-form { position: relative; }
.auth-top { position: absolute; top: 16px; left: 20px; right: 20px; display: flex; justify-content: flex-end; align-items: center; }
.auth-logo { display: none; margin-right: auto; }
.tabs button.active { background: var(--card); color: var(--primary); box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }
[data-theme="light"] .tabs button.active { background: #fff; color: #0b57d0; box-shadow: 0 1px 3px rgba(60,64,67,.25); }
@media (max-width: 980px) {
  .auth-logo { display: flex; }
  .auth-form { align-items: start; padding-top: 88px; }
  .tabs button { min-height: 44px; }
}

/* randevu: dolu günler ve mobil alt çubuk */
.day { position: relative; }
.day.full { opacity: .55; }
.day.full b { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.full-tag { display: block; font-size: 10px; font-weight: 700; color: var(--red-fg); margin-top: 2px; }
.days { scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.day { scroll-snap-align: start; }
.book-bar { display: none; }
@media (max-width: 980px) {
  .book-bar { display: flex; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; gap: 12px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border); box-shadow: 0 -6px 24px -12px rgba(0,0,0,.25); }
  .book-bar .bb-info { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
  .book-bar .bb-info b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .book-bar .bb-info span { font-size: 13px; color: var(--muted); }
  .book-bar .btn { flex: none; min-width: 124px; }
  body:has(.book-bar) .booking { padding-bottom: 110px; }
  .summary { display: none; }
  .slot { padding: 13px 0; font-size: 15px; }
  .slots { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
  .day { width: 64px; padding: 10px 0 8px; }
}

/* grafik: boş gün işareti, dokunmatik, ipucu kenarlara sığar */
.chart .zero { fill: rgba(var(--ink), .18); }
.chart .zero.hover { fill: var(--primary); }
.chart svg { touch-action: pan-y; }
.chart .hit { pointer-events: all; }
.chart .tooltip { white-space: nowrap; pointer-events: none; z-index: 5; }
@media (max-width: 520px) { .period-grid { row-gap: 18px; } }

/* =========================================================
   AÇIK VE FERAH TASARIM (v3)
   Kullanıcı isteği: açık renkler, mavi navbar, sade admin/panel
   ========================================================= */
[data-theme="light"] {
  --bg: #f5f8fd;
  --bg-2: #edf2fb;
  --card: #ffffff;
  --card-2: #f3f6fc;
  --border: #e1e7f1;
  --border-2: #c8d3e4;
  --text: #182033;
  --muted: #4d5868;
  --muted-2: #7b8596;
  --primary: #1a73e8;
  --primary-2: #1a73e8;
  --primary-soft: #e8f0fe;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 10px 30px -12px rgba(16,24,40,.16);
  --nav-bg: rgba(255,255,255,.92);
  --glass: rgba(255,255,255,.94);
}
[data-theme="light"] .card { border-color: var(--border); box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 6px 20px -14px rgba(16,24,40,.12); }
[data-theme="light"] .btn-primary { background: linear-gradient(120deg, #1a73e8, #3b8bf5 60%, #4fa3ff); box-shadow: 0 8px 20px -10px rgba(26,115,232,.65); }

/* ---------- Mavi üst menü ---------- */
.nav { background: linear-gradient(100deg, #1557c0 0%, #1a73e8 45%, #3d8ef7 100%); border-bottom: 0; box-shadow: 0 6px 20px -12px rgba(26,115,232,.7); color: #fff; }
.nav .wordmark, .nav .wordmark .brand-mark { color: #fff; }
.nav-links { gap: 4px; }
.nav-links a { color: rgba(255,255,255,.88); font-weight: 500; font-size: 14.5px; padding: 8px 14px; border-radius: 99px; transition: .15s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.16); }
.nav .theme-toggle { color: #fff; border-color: rgba(255,255,255,.38); }
.nav .theme-toggle:hover { background: rgba(255,255,255,.16); }
.nav .btn-ghost { color: #fff; }
.nav .btn-ghost:hover { background: rgba(255,255,255,.16); }
.nav .btn-primary { background: #fff; color: #1a73e8; box-shadow: 0 4px 14px -6px rgba(0,0,0,.3); }
.nav .btn-primary::after { display: none; }
.nav .btn-outline { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.42); }
.nav .btn-outline:hover { background: rgba(255,255,255,.24); border-color: #fff; }
.nav-burger { border-color: rgba(255,255,255,.42); }
.nav-burger span { background: #fff; }
.nav-sheet { color: var(--text); background: var(--card) !important; }
.announce { background: #0d47a1; }
[data-theme="dark"] .nav { background: linear-gradient(100deg, #0c2a66, #1246a8 60%, #1a5fd0); }

/* ---------- Ana sayfa (açık) ---------- */
[data-theme="light"] .hero { background: linear-gradient(180deg, #e3eefe 0%, #f0f6ff 55%, var(--bg) 100%); }
[data-theme="light"] .grid-bg { opacity: .45; }
[data-theme="light"] .section-head h2 .serif, [data-theme="light"] .page-hero h1 .serif { color: #1a73e8; }
[data-theme="light"] .duo-card:first-child { background: linear-gradient(160deg, #eef5ff, #fff 60%); }
[data-theme="light"] .duo-card:last-child { background: linear-gradient(160deg, #ecfbf1, #fff 60%); }
[data-theme="light"] .site-footer { background: #eaf1fc; }
[data-theme="light"] .foot-cta { background: linear-gradient(110deg, #1a73e8, #4fa3ff); border: 0; color: #e8f0fe; }
[data-theme="light"] .foot-cta b { color: #fff; }
[data-theme="light"] .foot-cta .btn-primary { background: #fff; color: #1a73e8; }
[data-theme="light"] .shop-hero { background: linear-gradient(180deg, #e3eefe, var(--bg)); border-bottom-color: transparent; }

/* ---------- Gün seçimi: 2 haftalık ızgara, kaydırma yok ---------- */
.days { display: grid !important; grid-template-columns: repeat(7, 1fr); gap: 8px; overflow: visible !important; padding: 0 !important; }
.days-month { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: capitalize; margin-bottom: 2px; }
.days .day { width: auto !important; min-height: 64px; padding: 8px 2px !important; border-radius: 14px; background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: inherit; color: inherit; }
.days .day small { font-size: 11px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.days .day b { font-size: 19px; line-height: 1.15; }
.days .day.active { background: #1a73e8; border-color: #1a73e8; color: #fff; box-shadow: 0 6px 16px -8px rgba(26,115,232,.8); }
.days .day.active small { color: rgba(255,255,255,.9); }
.days .day.closed, .days .day.full { opacity: 1; background: var(--bg-2); color: var(--muted-2); border-style: dashed; }
.days .day.closed b, .days .day.full b { text-decoration: none; }
.days .day.full { pointer-events: none; }
.days .full-tag { font-size: 9.5px; font-weight: 600; margin: 0; color: var(--muted-2); }
@media (max-width: 400px) { .days { gap: 5px; } .days .day { min-height: 58px; border-radius: 12px; } .days .day b { font-size: 17px; } .days .day small { font-size: 10px; } }

/* ---------- Panel & yönetim: açık, sade, mobilde mavi üst çubuk ---------- */
[data-theme="light"] .app { background: var(--bg); }
[data-theme="light"] .sidebar { background: #fff; border-right-color: var(--border); }
[data-theme="light"] .side-link { color: #3c4656; font-weight: 500; }
[data-theme="light"] .side-link:hover { background: #f1f5fc; }
[data-theme="light"] .side-link.active { background: #e8f0fe; color: #1a73e8; }
[data-theme="light"] .table-wrap { background: #fff; }
[data-theme="light"] th { background: #f6f9fe; color: #556070; }
.app-bar { display: none; }
.side-backdrop { display: none; }
@media (max-width: 820px) {
  .app-bar { display: flex; position: sticky; top: 0; z-index: 55; height: 58px; padding: 0 12px; align-items: center; gap: 10px; background: linear-gradient(100deg, #1557c0, #1a73e8 50%, #3d8ef7); color: #fff; box-shadow: 0 6px 18px -12px rgba(26,115,232,.8); }
  .app-bar .wordmark, .app-bar .wordmark .brand-mark { color: #fff; }
  .app-bar .logo { margin-right: auto; }
  .app-bar .icon-btn, .app-bar .theme-toggle { width: 42px; height: 42px; color: #fff; border-color: rgba(255,255,255,.4); border-radius: 12px; }
  .page-head .mobile-menu { display: none !important; }
  .page-head h1 { font-size: 24px; }
  .side-backdrop { position: fixed; inset: 0; z-index: 58; background: rgba(15,23,42,.35); }
  .sidebar.open ~ .side-backdrop { display: block; }
  .sidebar { z-index: 60; width: 280px; }
  .side-link { padding: 12px 12px; font-size: 15px; }
  .stats { gap: 10px; }
  .stat { padding: 14px; }
}

/* ---------- Abonelik & ödeme ekranları ---------- */
.sub-hero { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 22px 24px; border-radius: 18px; margin-bottom: 16px; color: #fff; background: linear-gradient(110deg, #1557c0, #1a73e8 55%, #4fa3ff); box-shadow: 0 12px 30px -18px rgba(26,115,232,.9); }
.sub-hero.sub-trial { background: linear-gradient(110deg, #6d28d9, #8b5cf6 55%, #c084fc); }
.sub-hero.sub-expired { background: linear-gradient(110deg, #b91c1c, #ef4444 60%, #f97316); }
.sub-hero small { display: block; opacity: .9; font-size: 13px; font-weight: 500; }
.sub-hero b { display: block; font-size: 26px; letter-spacing: -0.03em; line-height: 1.2; }
.sub-hero span { font-size: 13.5px; opacity: .92; }
.sub-hero .badge { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.4); color: #fff; }
.pay-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
.period em { font-style: normal; font-size: 11.5px; color: var(--muted-2); }
.period.active em { color: #7c3aed; }
.pay-sum { border-radius: 14px; background: var(--bg-2); padding: 6px 16px; }
.pay-sum > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.pay-sum > div span:first-child { color: var(--muted); }
.pay-sum .tot { border: 0; }
.pay-sum .tot b { font-size: 22px; letter-spacing: -0.03em; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 5px; }
.trust svg { color: var(--green); }
.pay-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(34,197,94,.14); color: var(--green); flex: none; }
.pay-modal { display: grid; gap: 4px; }
.pm-head { text-align: center; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 8px; display: grid; gap: 2px; }
.pm-amt { font-size: 34px; font-weight: 700; letter-spacing: -0.04em; }
.pm-steps { list-style: none; display: grid; gap: 14px; margin: 10px 0 18px; }
.pm-steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted-2); }
.pm-steps i { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 13px; border: 1.5px solid var(--border-2); }
.pm-steps b { display: block; font-size: 14.5px; }
.pm-steps span { font-size: 13px; }
.pm-steps li.done { color: var(--text); } .pm-steps li.done i { background: var(--green); border-color: var(--green); color: #fff; }
.pm-steps li.now { color: var(--text); } .pm-steps li.now i { border-color: #a855f7; }
.pm-steps li span { color: var(--muted); }
.pay-spin.sm { width: 16px; height: 16px; border-width: 2.5px; margin: 0; }
.pay-ok { width: 76px; height: 76px; margin: 4px auto 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #16a34a, #4ade80); box-shadow: 0 12px 30px -10px rgba(34,197,94,.7); animation: pop .4s cubic-bezier(.2,.9,.3,1.4); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@media (max-width: 820px) {
  .pay-layout { grid-template-columns: 1fr; }
  .sub-hero { padding: 18px; } .sub-hero b { font-size: 22px; }
}

/* berber sayfası başlığı: mobilde kompakt, randevu hemen görünsün */
.shop-actions { display: none; }
@media (max-width: 820px) {
  .shop-hero { padding: 18px 0 14px; }
  .shop-head { gap: 14px; flex-wrap: nowrap; align-items: flex-start; }
  .shop-avatar { width: 56px; height: 56px; border-radius: 16px; font-size: 21px; flex: none; }
  .shop-head h1 { font-size: 23px; }
  .shop-head .badge { font-size: 11.5px; padding: 2px 9px; }
  .shop-meta { gap: 4px 12px; font-size: 13px; margin-top: 6px; }
  .shop-meta span:nth-child(2) { display: block; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .shop-meta span:nth-child(4) { display: none; }
  .shop-about { font-size: 14px; margin-top: 10px !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .shop-actions { display: flex; gap: 8px; margin-top: 12px; }
  .shop-actions .btn { flex: 1; background: var(--card); }
  .booking { padding-top: 14px; gap: 14px; }
  .step-head { flex-wrap: wrap; }
  .step-head .grow { flex-basis: 100%; text-align: left !important; padding-left: 40px; margin-top: -6px; }
}
@media (max-width: 820px) { .shop-head .grow { min-width: 0; } .service { padding: 14px 16px; } }

/* takvim: mobilde gün gün liste */
.agenda { display: none; }
@media (max-width: 820px) {
  .week-desk { display: none; }
  .agenda { display: grid; gap: 12px; }
  .ag-day { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 14px; }
  .ag-day.today { border-color: #1a73e8; box-shadow: 0 0 0 3px var(--primary-soft); }
  .ag-day h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; margin-bottom: 8px; }
  .ag-day h3 small { color: var(--muted); font-weight: 500; font-size: 13px; }
  .ag-item { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 0; border-top: 1px solid var(--border); font: inherit; color: inherit; position: static !important; background: none !important; height: auto !important; }
  .ag-item b { display: block; font-size: 15px; } .ag-item small { color: var(--muted); font-size: 13px; }
  .ag-empty { color: var(--muted-2); font-size: 14px; padding: 6px 0 2px; }
}
@media (max-width: 820px) {
  .warn { padding: 10px 12px; font-size: 13.5px; gap: 8px; border-radius: 12px; }
  .warn-list { gap: 6px; }
  .mini { padding: 12px 14px; }
}
.chart .bar, .chart .zero, .chart text, .chart .gridline { pointer-events: none; }
.chart .tooltip.below { transform: translate(-50%, 0); }
[data-theme="light"] .float-card { background: #fff; box-shadow: 0 12px 32px -12px rgba(16,24,40,.28); }

/* ---------- Giriş / kayıt: tek sütun, ortada, sade ---------- */
.auth { grid-template-columns: 1fr; min-height: 100vh; min-height: 100dvh; }
.auth-side { display: none !important; }
.auth-form { place-items: start center; padding: 96px 20px 40px; }
.auth-form .box { width: min(460px, 100%); }
.auth-top { max-width: 460px; margin: 0 auto; }
.auth-logo { display: flex !important; }
.select:disabled { opacity: .6; cursor: not-allowed; }
@media (min-width: 761px) { .auth-form { padding-top: 120px; } .auth-form .box { background: var(--surface, #fff); border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: 0 8px 30px rgba(26,115,232,.08); } }

/* ---------- Footer: mavi (navbar ile aynı ton), boyut değişmedi ---------- */
.site-footer, [data-theme="light"] .site-footer { background: linear-gradient(160deg, #1557c0, #1a73e8 55%, #2f86f2); color: rgba(255,255,255,.82); border-top: 0; }
.site-footer .wordmark, .site-footer .wordmark .brand-mark { color: #fff; }
.site-footer .foot-col h4, .site-footer .foot-cta b { color: #fff; }
.site-footer a { color: rgba(255,255,255,.86); }
.site-footer .foot-col a:hover, .site-footer .foot-contact a:hover, .site-footer a.accent { color: #fff; }
.site-footer a.accent { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .foot-cta, [data-theme="light"] .site-footer .foot-cta { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.85); }
.site-footer .foot-cta .btn-primary, [data-theme="light"] .site-footer .foot-cta .btn-primary { background: #fff; color: #1a73e8; box-shadow: none; }
.site-footer .soc { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #fff; }
.site-footer .soc:hover { background: #fff; color: #1a73e8; border-color: #fff; }
.site-footer .foot-bottom { border-top-color: rgba(255,255,255,.2); }
.site-footer .foot-badges span::before { color: #fff; }
