:root {
  --red: #ff3b30; --rl: rgba(255,59,48,.12); --rg: rgba(255,59,48,.15);
  --bg: #fff; --bg2: #f2f2f7; --bg3: #e5e5ea; --border: #e5e5ea;
  --t1: #1c1c1e; --t2: #3a3a3c; --t3: #8e8e93; --t4: #aeaeb2;
  --green: #34c759; --blue: #007aff;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
html, body { background: var(--bg); color: var(--t1); font-family: 'Manrope', sans-serif; min-height: 100vh; overflow-x: hidden; }
body.noscroll { overflow: hidden; position: fixed; width: 100%; }
button, input { font-family: 'Manrope', sans-serif; }
::-webkit-scrollbar { display: none; }

#loadScr { position: fixed; inset: 0; background: #fff; z-index: 900; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; transition: opacity .5s; }
#loadScr.hide { opacity: 0; pointer-events: none; }
.load-logo { font-family: 'Bebas Neue', sans-serif; font-size: 44px; letter-spacing: 2px; }
.load-logo span { color: var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { width: 20px; height: 20px; border: 2.5px solid rgba(0,0,0,.08); border-top-color: var(--red); border-radius: 50%; animation: spin .7s linear infinite; flex-shrink: 0; }
.spin-w { border-color: rgba(255,255,255,.2) !important; border-top-color: #fff !important; }
.spin-sm { width: 15px; height: 15px; border-width: 2px; }

.nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.93); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border-bottom: 1px solid var(--border); padding: 13px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nav-logo { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: .5px; color: var(--t1); line-height: 1; }
.nav-logo span { color: var(--red); }
.nav-r { display: flex; align-items: center; gap: 8px; }
.status-pill { display: flex; align-items: center; gap: 6px; background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; padding: 6px 12px; flex-shrink: 0; }
.sdot { width: 7px; height: 7px; border-radius: 50%; background: var(--t4); }
.sdot.open { background: var(--green); box-shadow: 0 0 0 3px rgba(52,199,89,.22); animation: pulse 2s infinite; }
.sdot.closed { background: var(--red); }
.stxt { font-size: 12px; font-weight: 700; color: var(--t2); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,199,89,.4); } 70% { box-shadow: 0 0 0 6px rgba(52,199,89,0); } 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); } }

.hero { padding: 26px 20px 0; max-width: 500px; margin: 0 auto; }
.hero-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(48px,14vw,76px); line-height: .9; letter-spacing: .5px; color: var(--t1); margin-bottom: 12px; }
.hero-title span { color: var(--red); }
.hero-sub { font-size: 14px; color: var(--t3); font-weight: 600; line-height: 1.6; }
.cta-wrap { padding: 20px 20px 0; max-width: 500px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-btn { padding: 20px 14px; border-radius: 22px; border: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; font-size: 14px; font-weight: 900; transition: all .2s cubic-bezier(.34,1.4,.64,1); letter-spacing: .2px; }
.cta-btn:active { transform: scale(.91); }
.cta-btn i { font-size: 24px; }
.cta-main { background: var(--red); color: #fff; box-shadow: 0 8px 28px rgba(255,59,48,.32); }
.cta-sec { background: var(--bg2); color: var(--t1); border: 1.5px solid var(--border); }
.social-wrap { padding: 18px 20px 0; max-width: 500px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-col { display: flex; flex-direction: column; gap: 7px; }
.social-col-hd { font-size: 10px; font-weight: 800; color: var(--t4); text-transform: uppercase; letter-spacing: 1.5px; display: flex; align-items: center; gap: 5px; padding: 0 2px; }
.scard { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 16px; text-decoration: none; background: var(--bg2); border: 1.5px solid var(--border); transition: .18s; }
.scard:active { transform: scale(.93); }
.scard-ico { font-size: 19px; flex-shrink: 0; width: 22px; text-align: center; }
.scard-nick { font-size: 12px; font-weight: 800; color: var(--t1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scard-sub { font-size: 10px; font-weight: 600; color: var(--t4); }
.scard.ig .scard-ico { color: #e1306c; }

.page { position: fixed; inset: 0; z-index: 200; background: #fff; display: none; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.page.show { display: flex; }
.page-hd { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.93); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border-bottom: 1px solid var(--border); padding: 13px 18px; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.back-btn { width: 34px; height: 34px; background: var(--bg2); border-radius: 11px; border: none; cursor: pointer; color: var(--t2); font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.back-btn:active { transform: scale(.9); }
.page-title { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: var(--t1); letter-spacing: .3px; }
.page-body { flex: 1; padding: 24px 20px 40px; max-width: 500px; margin: 0 auto; width: 100%; }

.auth-illo { width: 72px; height: 72px; border-radius: 24px; background: linear-gradient(135deg,var(--rl),rgba(255,59,48,.06)); border: 1.5px solid rgba(255,59,48,.18); display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 18px; }
.auth-h1 { font-size: 22px; font-weight: 900; color: var(--t1); margin-bottom: 6px; text-align: center; }
.auth-sub { font-size: 13px; color: var(--t3); font-weight: 600; line-height: 1.6; text-align: center; }
.field { margin-bottom: 12px; }
.field-lbl { display: block; font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: var(--t3); margin-bottom: 7px; }
.phone-field { display: flex; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; transition: .2s; background: #fff; }
.phone-field:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px var(--rg); }
.phone-pfx { padding: 14px 12px 14px 16px; background: var(--bg2); color: var(--t2); font-weight: 800; font-size: 15px; border-right: 1.5px solid var(--border); display: flex; align-items: center; }
.phone-inp { flex: 1; border: none; padding: 14px 16px; font-size: 16px; font-weight: 800; outline: none; color: var(--t1); width: 100%; }
.phone-inp::placeholder { color: var(--t4); font-weight: 600; }

.btn { width: 100%; padding: 16px; border-radius: 16px; border: none; font-size: 15px; font-weight: 800; cursor: pointer; transition: .2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--red); color: #fff; }
.btn:disabled { opacity: .4; pointer-events: none; }

.ac { background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 16px; margin-bottom: 12px; }
.ac-row { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; }
.ac-lbl { color: var(--t3); font-weight: 600; }
.ac-val { font-weight: 800; color: var(--t2); }
.badge { padding: 4px 8px; border-radius: 8px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.b-act { background: var(--rl); color: var(--red); }
.b-can { background: var(--bg3); color: var(--t3); text-decoration: line-through; }
.b-don { background: rgba(52,199,89,.15); color: #248a3d; }
.cancel-btn { width: 100%; padding: 12px; margin-top: 14px; background: var(--bg2); color: var(--red); border: none; border-radius: 12px; font-size: 13px; font-weight: 800; cursor: pointer; }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1000; display: none; flex-direction: column; justify-content: flex-end; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.overlay.show { display: flex; animation: fadeBg .3s; }
@keyframes fadeBg { from { opacity: 0; } to { opacity: 1; } }
.sheet { background: #fff; border-radius: 32px 32px 0 0; max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column; animation: slideUp .4s cubic-bezier(.34,1.4,.64,1); position: relative; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sh-hd { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 20px 24px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.sh-title { font-size: 20px; font-weight: 900; color: var(--t1); }
.sh-close { width: 32px; height: 32px; border-radius: 50%; background: var(--bg2); border: none; color: var(--t2); font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.steps-wrap { display: flex; align-items: center; justify-content: center; padding: 16px 24px 0; gap: 12px; }
.dot { width: 28px; height: 28px; border-radius: 50%; background: var(--bg2); color: var(--t3); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; transition: .3s; }
.dot.active { background: var(--t1); color: #fff; }
.dot.done { background: var(--green); color: #fff; font-size: 0; }
.dot.done::after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-size: 12px; }
.step-line { flex: 1; height: 2px; background: var(--bg2); border-radius: 2px; }
.step-body { padding: 24px; flex: 1; }
.sec-hd { font-size: 16px; font-weight: 800; margin-bottom: 16px; color: var(--t1); }
.sh-footer { position: sticky; bottom: 0; padding: 16px 24px 24px; background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0)); display: flex; gap: 12px; z-index: 10; }

.svc-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.svc-chip { padding: 16px; border: 1.5px solid var(--border); border-radius: 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; cursor: pointer; transition: .2s; }
.svc-chip.on { border-color: var(--red); background: var(--rl); color: var(--red); }
.svc-price { font-weight: 900; }

/* 📅 TARİH (YATAY KAYDIRMA VE GÜN KUTULARI) */
.date-scroller { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 10px; margin-bottom: 20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.date-scroller::-webkit-scrollbar { display: none; }
.dchip { min-width: 68px; padding: 12px 5px; border: 1.5px solid var(--border); border-radius: 16px; text-align: center; cursor: pointer; transition: 0.2s; flex-shrink: 0; background: #fff; scroll-snap-align: start; }
.dchip.on { border-color: var(--t1); background: var(--t1); color: #fff; }
.dchip-dn { font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; opacity: 0.8; }
.dchip-dd { font-size: 18px; font-weight: 900; }
.dchip.off { opacity: 0.4; pointer-events: none; background: var(--bg2); }
.dchip-cl { font-size: 9px; font-weight: 800; color: var(--red); margin-top: 6px; }

/* 🕐 SAAT SEÇİMİ (GRID KUTULARI) */
.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.tslot { padding: 14px 10px; border: 1.5px solid var(--border); border-radius: 14px; text-align: center; font-weight: 800; font-size: 15px; cursor: pointer; transition: 0.2s; background: #fff; }
.tslot.on { border-color: var(--t1); background: var(--t1); color: #fff; }
.tslot.off { opacity: 0.4; pointer-events: none; background: var(--bg2); }
.tslot-sub { display: block; font-size: 11px; font-weight: 600; opacity: 0.8; margin-top: 4px; }

.sum-box { background: var(--bg2); border-radius: 20px; padding: 20px; margin-bottom: 24px; }
.sum-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.sum-row:last-child { border: none; }
.sum-lbl { color: var(--t3); font-weight: 600; }
.sum-val { font-weight: 800; color: var(--t1); }
.sum-tot .sum-val { color: var(--red); font-size: 18px; }
.tip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.tip-chip { padding: 12px 4px; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; text-align: center; cursor: pointer; font-size: 13px; font-weight: 800; color: var(--t2); transition: .18s; }
.tip-chip:active { transform: scale(.9); }
.tip-chip.on { background: var(--green); border-color: var(--green); color: #fff; }

.succ-ring { width: 90px; height: 90px; border-radius: 50%; background: rgba(52,199,89,.1); border: 2.5px solid rgba(52,199,89,.3); display: flex; align-items: center; justify-content: center; font-size: 40px; margin: 0 auto 18px; color: var(--green); }
