:root {
  --bg: #0b0d1a; --card: #151834; --line: #262a52; --text: #eef0ff; --muted: #9aa0cf;
  --accent: #7c5cff; --accent2: #22d3ee; --ok: #34d399; --bad: #f87171;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent2); text-decoration: none; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

.top {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 960px; margin: 0 auto; padding: 18px 20px;
}
.logo { font-weight: 800; font-size: 22px; color: var(--text); letter-spacing: -.5px; }
.logo span { color: var(--accent2); }
.top nav { display: flex; align-items: center; gap: 16px; }
.top nav form { margin: 0; }

.btn {
  display: inline-block; border: 0; cursor: pointer; font: 600 16px system-ui, sans-serif;
  color: #fff; padding: 13px 24px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #5b8dff);
}
.btn.sm { padding: 8px 16px; font-size: 14px; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn.danger { background: transparent; border: 1px solid var(--bad); color: var(--bad); padding: 6px 12px; font-size: 13px; }
.link { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 0; }

.hero { text-align: center; padding: 70px 0 50px; }
.hero h1 { font-size: clamp(34px, 7vw, 60px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -1.5px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); font-size: 19px; max-width: 540px; margin: 0 auto 30px; }

.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 20px 0 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card h3 { margin: 10px 0 6px; }
.card p { margin: 0; color: var(--muted); }
.num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(124, 92, 255, .2); color: var(--accent2); font-weight: 700;
}

.price { max-width: 380px; margin: 0 auto 50px; text-align: center; }
.price .amount { font-size: 48px; font-weight: 800; letter-spacing: -1px; }
.price .amount small { font-size: 16px; color: var(--muted); font-weight: 400; }
.price ul { list-style: none; padding: 0; margin: 18px 0 24px; color: var(--muted); }
.price li { padding: 4px 0; }
.price li::before { content: "✓ "; color: var(--ok); }

details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }
h2 { font-size: 26px; text-align: center; margin: 10px 0 20px; }

.box { max-width: 420px; margin: 30px auto; }
.box h1 { margin-top: 0; }
label { display: block; margin: 14px 0 6px; color: var(--muted); font-size: 14px; }
input[type=email], input[type=password], input[type=text], input[type=file] {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #0e1128; color: var(--text); font: inherit;
}
.box .btn { width: 100%; margin-top: 20px; }
.muted { color: var(--muted); font-size: 14px; }

.flash { max-width: 520px; margin: 10px auto; padding: 12px 16px; border-radius: 10px; background: rgba(248, 113, 113, .12); border: 1px solid var(--bad); }
.flash.ok { background: rgba(52, 211, 153, .12); border-color: var(--ok); }
.status { display: inline-block; padding: 4px 12px; border-radius: 99px; font-size: 14px; font-weight: 600; }
.status.on { background: rgba(52, 211, 153, .15); color: var(--ok); }
.status.off { background: rgba(248, 113, 113, .15); color: var(--bad); }
.stack > * + * { margin-top: 12px; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.scroll { overflow-x: auto; }
.legal h2 { text-align: left; font-size: 20px; margin-top: 28px; }
.legal p, .legal li { color: var(--muted); }

footer { text-align: center; color: var(--muted); font-size: 14px; padding: 40px 20px; }
footer a { color: var(--muted); }
#iyzipay-checkout-form { background: #fff; border-radius: 16px; padding: 10px; }

/* katalog platformu eklemeleri */
.row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.row img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #0e1128; }
.row input[type=text] { flex: 1; min-width: 0; }
.row .st { font-size: 13px; color: var(--muted); white-space: nowrap; }
.grid2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
.bar { height: 8px; border-radius: 99px; background: #0e1128; overflow: hidden; margin-top: 10px; }
.bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .2s; }
input[type=color] { width: 56px; height: 40px; padding: 2px; border-radius: 8px; border: 1px solid var(--line); background: #0e1128; }
input[type=number] { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #0e1128; color: var(--text); font: inherit; }
.addr { display: flex; gap: 8px; }
.addr input { flex: 1; min-width: 0; }
.big { font-size: 34px; font-weight: 800; letter-spacing: -1px; }
.wide { max-width: 720px; }

/* sade yükleme ekranı */
.item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.badge { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgba(124, 92, 255, .2); color: var(--accent2); font-weight: 700; }
.item.tail .badge { opacity: .45; }
.slot { flex: 1; min-width: 0; height: 64px; border: 1.5px dashed var(--line); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 10px;
  color: var(--muted); font-size: 14px; cursor: pointer; overflow: hidden; text-align: center; }
.slot.filled { border-style: solid; color: var(--text); }
.slot.static { cursor: default; }
.slot img { height: 100%; width: 56px; object-fit: cover; border-radius: 6px; flex: none; }
.slot input { display: none; }
.slot span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; padding: 0; }
.x:hover { color: var(--bad); border-color: var(--bad); }
.xspace { flex: none; width: 34px; }
