/* Ardin AI Photobooth — arayüz stili (yatay + dikey kiosk) */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --navy-950:#060f1d;--navy-900:#0a1a30;--navy-800:#0f2d52;--navy-700:#143a6d;--navy-600:#1a4d8f;
  --blue:#0066cc;--blue-lt:#3d8eea;--blue-glow:rgba(61,142,234,.35);
  --ink:#eef4fb;--ink-2:rgba(238,244,251,.72);--ink-3:rgba(238,244,251,.48);
  --line:rgba(238,244,251,.10);--line-2:rgba(238,244,251,.18);
  --surface:rgba(255,255,255,.04);--surface-2:rgba(255,255,255,.07);
  --ok:#3ddc97;--radius:20px;--radius-sm:12px;--ease:cubic-bezier(.2,.7,.2,1);
}
html,body{min-height:100%;background:var(--navy-950);color:var(--ink);
  font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  -webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;overflow-x:hidden;
  background:
    radial-gradient(1200px 700px at 85% -10%,rgba(26,77,143,.55),transparent 60%),
    radial-gradient(900px 600px at -10% 110%,rgba(0,102,204,.28),transparent 60%),
    var(--navy-950)}
body::before{content:'';position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.5;
  background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:56px 56px;mask-image:radial-gradient(ellipse at center,#000 10%,transparent 75%)}
button,input{font:inherit;color:inherit}
img{display:block;max-width:100%}
.hide{display:none!important}

/* ── Üst bar ── */
.topbar{position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px clamp(16px,4vw,48px)}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit}
.brand-word{font-weight:800;font-size:1.6rem;letter-spacing:-.02em;line-height:1;color:#fff}
.brand-sep{width:1px;height:22px;background:var(--line-2)}
.brand-product{font-size:.78rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--ink-2)}
.brand-product b{color:var(--blue-lt);font-weight:700}
.lang{display:flex;padding:4px;border-radius:999px;background:var(--surface);border:1px solid var(--line)}
.lang button{border:0;background:transparent;padding:8px 14px;border-radius:999px;font-size:.75rem;font-weight:700;letter-spacing:.08em;color:var(--ink-3);cursor:pointer;transition:all .2s}
.lang button.on{background:var(--ink);color:var(--navy-900)}

/* ── Adım göstergesi ── */
.steps{display:flex;align-items:center;gap:8px}
.steps .st{display:flex;align-items:center;gap:8px;font-size:.72rem;font-weight:600;color:var(--ink-3);letter-spacing:.04em;white-space:nowrap}
.steps .st i{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:.72rem;border:1px solid var(--line-2);transition:all .3s}
.steps .st.done i{background:var(--navy-600);border-color:var(--navy-600);color:#fff}
.steps .st.on{color:var(--ink)}
.steps .st.on i{background:var(--blue);border-color:var(--blue-lt);color:#fff;box-shadow:0 0 0 6px var(--blue-glow)}
.steps .bar{width:22px;height:1px;background:var(--line-2)}
.steps .st.done + .bar{background:var(--navy-600)}
@media (max-width:900px){.steps .st span{display:none}}
@media (max-width:560px){.steps{display:none}}

/* ── Ortak ── */
.screen{position:relative;z-index:1;flex:1;display:none;flex-direction:column;align-items:center;justify-content:center;
  gap:32px;padding:16px clamp(16px,4vw,48px) 40px;width:100%}
.screen.active{display:flex}
.head{text-align:center;max-width:720px;animation:rise .7s var(--ease) both}
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;background:rgba(0,102,204,.14);
  border:1px solid rgba(61,142,234,.3);color:var(--blue-lt);font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;margin-bottom:18px}
.eyebrow::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--blue-lt);box-shadow:0 0 10px var(--blue-lt)}
h1{font-size:clamp(2.2rem,5vw,3.8rem);font-weight:800;letter-spacing:-.035em;line-height:1.04}
h1 .grad,h1 em,h2 em{font-family:'Fraunces',Georgia,serif;font-style:italic;font-weight:500;letter-spacing:-.02em;padding-right:.06em;
  background:linear-gradient(100deg,#fff 0%,var(--blue-lt) 55%,#8cc4ff 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.lead{margin-top:14px;font-size:clamp(1rem,1.6vw,1.15rem);line-height:1.6;color:var(--ink-2)}
@keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes spin{to{transform:rotate(360deg)}}
.panel{width:100%;background:linear-gradient(180deg,var(--surface-2),var(--surface));border:1px solid var(--line);border-radius:var(--radius);
  backdrop-filter:blur(14px);box-shadow:0 30px 80px rgba(0,0,0,.35)}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:60px;padding:0 28px;border-radius:999px;border:1px solid transparent;
  font-size:1.02rem;font-weight:700;letter-spacing:.01em;cursor:pointer;text-decoration:none;user-select:none;
  transition:transform .15s,box-shadow .25s,background .25s,opacity .2s}
.btn:active{transform:scale(.97)}
.btn-primary{background:linear-gradient(135deg,var(--blue) 0%,var(--blue-lt) 100%);color:#fff;box-shadow:0 12px 34px rgba(0,102,204,.45)}
.btn-primary:hover{box-shadow:0 16px 44px rgba(0,102,204,.6)}
.btn-primary:disabled{opacity:.35;box-shadow:none;cursor:not-allowed}
.btn-ghost{background:var(--surface);border-color:var(--line-2);color:var(--ink)}
.btn-ghost:hover{background:var(--surface-2)}
.btn-lg{min-height:72px;padding:0 40px;font-size:1.15rem}
.btn svg{width:22px;height:22px;flex-shrink:0}
.actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}

.field{display:flex;flex-direction:column;gap:8px}
.field label{font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.field input{height:62px;padding:0 20px;border-radius:var(--radius-sm);background:rgba(6,15,29,.55);border:1px solid var(--line-2);font-size:1.08rem;outline:none;transition:border-color .2s,box-shadow .2s;width:100%}
.field input::placeholder{color:rgba(238,244,251,.28)}
.field input:focus{border-color:var(--blue-lt);box-shadow:0 0 0 4px var(--blue-glow)}
.note{font-size:.85rem;line-height:1.55;color:var(--ink-3)}
.alert{display:none;padding:14px 18px;border-radius:var(--radius-sm);font-size:.92rem;background:rgba(255,107,107,.1);border:1px solid rgba(255,107,107,.35);color:#ffb3b3}
.alert.show{display:block}

#veil{position:fixed;inset:0;z-index:999;background:var(--navy-950);opacity:0;pointer-events:none;transition:opacity .25s ease}
#veil.show{opacity:1;pointer-events:all}
.foot{position:relative;z-index:1;text-align:center;padding:0 16px 22px;font-size:.75rem;color:var(--ink-3);letter-spacing:.04em}
.foot b{color:var(--ink-2);font-weight:600}

/* ── 1 · Karşılama ── */
.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(28px,5vw,80px);align-items:center;width:100%;max-width:1180px}
.hero .head{text-align:left;max-width:none}
.features{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.feat{display:flex;align-items:center;gap:10px;padding:10px 16px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-size:.88rem;color:var(--ink-2)}
.feat svg{width:18px;height:18px;color:var(--blue-lt)}
.hero .cta{margin-top:36px}
.showcase{position:relative;height:min(64vh,560px);animation:rise .8s .1s var(--ease) both}
.showcase .sc{position:absolute;top:50%;left:50%;width:min(58%,300px);aspect-ratio:3/4;border-radius:22px;overflow:hidden;
  border:1px solid var(--line-2);box-shadow:0 30px 70px rgba(0,0,0,.5);background:var(--surface);transition:transform .6s var(--ease)}
.showcase .sc img{width:100%;height:100%;object-fit:cover}
.showcase .sc:nth-child(1){transform:translate(-95%,-46%) rotate(-9deg)}
.showcase .sc:nth-child(2){transform:translate(-5%,-46%) rotate(8deg)}
.showcase .sc:nth-child(3){transform:translate(-50%,-54%);z-index:2;border-color:rgba(61,142,234,.5);box-shadow:0 30px 80px rgba(0,102,204,.35)}

/* ── 2 · Koleksiyon ── */
.choices{display:grid;grid-template-columns:1fr 1fr;gap:20px;width:100%;max-width:820px}
.choice{position:relative;padding:40px 28px;border-radius:var(--radius);cursor:pointer;text-align:left;background:linear-gradient(180deg,var(--surface-2),var(--surface));
  border:1px solid var(--line);display:flex;flex-direction:column;gap:22px;min-height:280px;transition:transform .2s var(--ease),border-color .2s,box-shadow .25s}
.choice:hover{transform:translateY(-4px);border-color:var(--line-2)}
.choice.on{border-color:var(--blue-lt);box-shadow:0 0 0 4px var(--blue-glow),0 24px 60px rgba(0,102,204,.3)}
.choice .ic{width:76px;height:76px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,var(--navy-600),var(--blue));box-shadow:0 12px 30px rgba(0,102,204,.35)}
.choice .ic svg{width:40px;height:40px;color:#fff}
.choice h3{font-size:1.7rem;font-weight:800;letter-spacing:-.02em}
.choice p{color:var(--ink-3);font-size:.95rem;line-height:1.5;margin-top:-12px}
.choice .check{position:absolute;top:22px;right:22px;width:32px;height:32px;border-radius:50%;border:2px solid var(--line-2);display:grid;place-items:center;transition:all .2s}
.choice.on .check{background:var(--blue);border-color:var(--blue-lt)}
.choice .check svg{width:16px;height:16px;color:#fff;opacity:0}
.choice.on .check svg{opacity:1}

/* ── 3 · Sahne ── */
#scr-3{justify-content:flex-start;padding-bottom:140px}
.grid{width:100%;max-width:1240px;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px}
.tcard{position:relative;border-radius:var(--radius);overflow:hidden;cursor:pointer;border:1px solid var(--line);background:var(--surface);aspect-ratio:3/4;
  transition:transform .2s var(--ease),box-shadow .25s,border-color .2s;animation:rise .5s var(--ease) both;padding:0;text-align:left}
.tcard:hover{transform:translateY(-4px)}
.tcard img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.tcard:hover img{transform:scale(1.04)}
.tcard .cap{position:absolute;left:0;right:0;bottom:0;padding:44px 16px 16px;background:linear-gradient(transparent,rgba(6,15,29,.92));font-weight:700;font-size:.98rem;text-transform:capitalize}
.tcard .tick{position:absolute;top:12px;right:12px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--blue);box-shadow:0 6px 18px rgba(0,102,204,.5);transform:scale(0);transition:transform .2s var(--ease)}
.tcard .tick svg{width:18px;height:18px;color:#fff}
.tcard.on{border-color:var(--blue-lt);box-shadow:0 0 0 4px var(--blue-glow),0 20px 50px rgba(0,102,204,.35)}
.tcard.on .tick{transform:scale(1)}
.skel{aspect-ratio:3/4;border-radius:var(--radius);background:linear-gradient(100deg,var(--surface) 30%,var(--surface-2) 50%,var(--surface) 70%);background-size:300% 100%;animation:shimmer 1.4s infinite}
@keyframes shimmer{to{background-position:-150% 0}}
.empty{display:none;text-align:center;color:var(--ink-3);padding:40px}
.dock{position:fixed;left:0;right:0;bottom:0;z-index:20;display:none;align-items:center;justify-content:space-between;gap:16px;
  padding:18px clamp(16px,4vw,48px);background:rgba(6,15,29,.85);backdrop-filter:blur(16px);border-top:1px solid var(--line)}
.dock.show{display:flex}
.dock .sel{font-size:.9rem;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dock .sel b{color:var(--ink);font-weight:700;text-transform:capitalize}
.dock .actions{flex-wrap:nowrap}

/* ── 4 · Portre ── */
.stage{display:grid;grid-template-columns:auto 300px;gap:28px;align-items:stretch;width:100%;max-width:1040px;justify-content:center}
.viewer{position:relative;width:min(640px,100%);aspect-ratio:4/3;border-radius:28px;overflow:hidden;background:#000;border:1px solid var(--line-2);box-shadow:0 30px 90px rgba(0,0,0,.5)}
.viewer video,.viewer img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.viewer video{transform:scaleX(-1)}
.viewer img{display:none}
.guide{position:absolute;left:50%;top:48%;width:38%;aspect-ratio:3/4;transform:translate(-50%,-50%);border:2px dashed rgba(255,255,255,.45);border-radius:50%;pointer-events:none;transition:opacity .3s}
.corner{position:absolute;width:34px;height:34px;border-color:rgba(255,255,255,.8);border-style:solid;pointer-events:none}
.corner.tl{top:18px;left:18px;border-width:3px 0 0 3px;border-top-left-radius:12px}
.corner.tr{top:18px;right:18px;border-width:3px 3px 0 0;border-top-right-radius:12px}
.corner.bl{bottom:18px;left:18px;border-width:0 0 3px 3px;border-bottom-left-radius:12px}
.corner.br{bottom:18px;right:18px;border-width:0 3px 3px 0;border-bottom-right-radius:12px}
.live{position:absolute;top:22px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;
  background:rgba(6,15,29,.6);backdrop-filter:blur(8px);font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.live i{width:8px;height:8px;border-radius:50%;background:#ff4d4d;animation:blink 1s infinite}
.live.ready i{background:var(--ok);animation:none}
@keyframes blink{50%{opacity:.25}}
#count{position:absolute;inset:0;display:none;place-items:center;background:rgba(6,15,29,.35);font-size:9rem;font-weight:800;color:#fff;text-shadow:0 10px 40px rgba(0,0,0,.5)}
#count.show{display:grid}
#count span{animation:pop .9s var(--ease)}
@keyframes pop{from{transform:scale(1.6);opacity:0}to{transform:scale(1);opacity:1}}
#flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none}
#flash.go{animation:flash .5s ease-out}
@keyframes flash{0%{opacity:.9}100%{opacity:0}}
.cam-side{display:flex;flex-direction:column;gap:14px;justify-content:center}
.cam-side .btn{width:100%}
.scene{display:flex;gap:14px;align-items:center;padding:14px;border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--line)}
.scene img{width:64px;height:84px;object-fit:cover;border-radius:10px}
.scene small{display:block;font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.scene b{display:block;margin-top:4px;font-size:1rem;text-transform:capitalize}
.tips{list-style:none;display:flex;flex-direction:column;gap:10px;font-size:.9rem;color:var(--ink-2)}
.tips li{display:flex;gap:10px;align-items:flex-start}
.tips li::before{content:'';width:6px;height:6px;margin-top:8px;border-radius:50%;background:var(--blue-lt);flex-shrink:0}
.upload{text-align:center;font-size:.88rem;color:var(--ink-3)}
.upload label{color:var(--blue-lt);font-weight:700;cursor:pointer}
#file{display:none}

/* ── 5 · Teslim bilgileri ── */
.send-wrap{display:grid;grid-template-columns:minmax(260px,420px) minmax(360px,520px);gap:clamp(28px,4vw,64px);align-items:center;width:100%;max-width:1080px;justify-content:center}
.send-preview{position:relative;display:flex;flex-direction:column;align-items:center;gap:18px;animation:rise .7s var(--ease) both}
.pv-shot{width:100%;border-radius:26px;padding:8px;background:linear-gradient(135deg,var(--blue-lt),var(--navy-600) 50%,var(--blue));box-shadow:0 30px 80px rgba(0,102,204,.3)}
.pv-shot img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:19px;background:var(--navy-900)}
.pv-arrow{width:44px;height:44px;margin:-40px 0 -10px;z-index:2;border-radius:50%;display:grid;place-items:center;background:var(--navy-900);border:1px solid var(--line-2)}
.pv-arrow svg{width:20px;height:20px;color:var(--blue-lt)}
.pv-scene{display:flex;align-items:center;gap:12px;padding:10px 16px 10px 10px;border-radius:999px;background:var(--surface);border:1px solid var(--line)}
.pv-scene img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.pv-scene span{font-weight:700;font-size:.95rem;text-transform:capitalize}
.deliver{padding:clamp(24px,3vw,36px);display:flex;flex-direction:column;gap:16px;animation:rise .7s .08s var(--ease) both}
.deliver .eyebrow{align-self:flex-start;margin-bottom:0}
.deliver-title{font-size:clamp(1.7rem,3vw,2.4rem);font-weight:800;letter-spacing:-.03em;line-height:1.1}
.deliver .sub{font-size:.95rem;color:var(--ink-2);line-height:1.6}
.deliver .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.deliver .btn{width:100%}

/* ── 6 · Teşekkür ── */
.thanks{display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px;max-width:720px;animation:rise .7s var(--ease) both}
.thanks-ic{width:112px;height:112px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue),var(--blue-lt));
  box-shadow:0 0 0 14px rgba(61,142,234,.12),0 0 0 28px rgba(61,142,234,.06),0 24px 60px rgba(0,102,204,.5);animation:popIn .7s var(--ease) both}
.thanks-ic svg{width:54px;height:54px;color:#fff}
@keyframes popIn{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}
.thanks .lead{max-width:560px}
.mail-chip{display:flex;align-items:center;gap:12px;padding:14px 22px;border-radius:999px;background:rgba(61,220,151,.08);border:1px solid rgba(61,220,151,.3);font-weight:600;word-break:break-all}
.mail-chip svg{width:22px;height:22px;color:var(--ok);flex-shrink:0}
.thanks .btn{margin-top:10px}
.timer{font-size:.85rem;color:var(--ink-3);text-align:center}
#confetti{position:fixed;inset:0;pointer-events:none;z-index:5}

/* ── Dar ekran ── */
@media (max-width:900px){
  .hero{grid-template-columns:1fr}.hero .head{text-align:center}.features{justify-content:center}.showcase{display:none}
  .stage{grid-template-columns:1fr;justify-items:center}.cam-side{width:min(640px,100%)}
  .send-wrap{grid-template-columns:1fr;justify-items:center}.send-preview{width:min(280px,70%)}.deliver{width:min(560px,100%)}
}
@media (max-width:620px){.choices{grid-template-columns:1fr}.choice{min-height:0;padding:28px}}
@media (max-width:560px){.grid{grid-template-columns:repeat(2,1fr);gap:12px}.dock .sel{display:none}.dock{justify-content:center}.deliver .row{grid-template-columns:1fr}}

/* ── Dikey ekran (portre kiosk, ör. 1080×1920) ── */
@media (orientation:portrait) and (min-width:561px){
  .screen{gap:clamp(28px,3.5vh,56px);padding-top:clamp(16px,3vh,48px);padding-bottom:clamp(40px,5vh,80px)}
  h1{font-size:clamp(2.6rem,7vw,5rem)}
  .lead{font-size:clamp(1.05rem,2.3vw,1.45rem)}
  .btn{min-height:68px;font-size:1.1rem}
  .btn-lg{min-height:84px;font-size:1.3rem;padding:0 48px}
  .field input{height:70px;font-size:1.2rem}

  .hero{grid-template-columns:1fr;justify-items:center;gap:clamp(32px,5vh,72px)}
  .hero .head{text-align:center;max-width:860px}
  .features{justify-content:center}
  .showcase{display:block;order:-1;width:min(100%,860px);height:clamp(340px,38vh,760px)}
  .showcase .sc{width:min(42%,400px)}

  .choices{grid-template-columns:1fr;max-width:760px}
  .choice{min-height:0;flex-direction:row;align-items:center;padding:36px}
  .choice p{margin-top:6px}
  .choice .ic{flex-shrink:0}

  .grid{grid-template-columns:repeat(auto-fill,minmax(min(30%,300px),1fr));max-width:980px}

  .stage{grid-template-columns:1fr;justify-items:center;max-width:860px}
  .viewer{width:min(100%,820px);aspect-ratio:3/4}
  .guide{width:58%}
  .cam-side{width:min(100%,820px)}
  .tips{display:none}

  .send-wrap{grid-template-columns:1fr;justify-items:center;gap:clamp(24px,3vh,48px)}
  .send-preview{width:min(46%,400px)}
  .deliver{width:min(100%,760px);gap:20px}
  .deliver-title{font-size:clamp(2.2rem,5vw,3.4rem)}

  .thanks{gap:32px;max-width:860px}
  .thanks-ic{width:150px;height:150px}
  .thanks-ic svg{width:72px;height:72px}
  .mail-chip{font-size:1.2rem;padding:18px 28px}
}
@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}
