:root {
  --bg: #0d0d0d; --bg2: #161616; --card: rgba(28, 28, 28, .78); --line: rgba(255, 255, 255, .09);
  --red: #e11d1d; --red2: #ff2a2a; --txt: #f4f4f4; --muted: #a3a3a3; --ok: #22c55e; --warn: #f59e0b;
  --brown: #7a3b17; --r: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 16px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }

/* arka planda inek */
.bg-cow { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 70% 20%, rgba(225, 29, 29, .16), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(122, 59, 23, .22), transparent 50%), var(--bg); }
.bg-cow::after { content: ""; position: absolute; right: -6vw; top: 50%; width: min(78vw, 760px); aspect-ratio: 220/232; transform: translateY(-46%) rotate(-8deg);
  background: url(inek.png) center/contain no-repeat; opacity: .10; filter: saturate(1.2); animation: float 14s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-50%) rotate(-5deg); } }

/* üst çubuk */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(13, 13, 13, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand img { height: 40px; display: block; border-radius: 6px; }
.links { display: flex; gap: 22px; margin-right: auto; }
.links a { color: var(--muted); font-weight: 500; transition: color .2s; }
.links a:hover, .links a.on { color: #fff; }
.acct { display: flex; align-items: center; gap: 10px; }
.dd { position: relative; }
.ddbox { position: absolute; right: 0; top: calc(100% + 10px); width: 320px; padding: 18px; border-radius: var(--r); background: #1a1a1a; border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6); animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.ddbox h3 { margin: 0 0 12px; font-size: 17px; }

/* düğmeler ve formlar */
.btn { border: 0; border-radius: 10px; padding: 9px 16px; font: inherit; font-weight: 600; cursor: pointer; color: #fff; background: #262626; transition: transform .12s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.red { background: linear-gradient(135deg, var(--red2), #b91c1c); box-shadow: 0 6px 20px rgba(225, 29, 29, .35); }
.btn.red:hover { box-shadow: 0 8px 28px rgba(225, 29, 29, .5); }
.btn.ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .22); }
.btn.ghost:hover { border-color: #fff; }
.btn.big { padding: 13px 24px; font-size: 17px; }
.btn.sm { padding: 6px 10px; font-size: 14px; }
.btn.full { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
input, select { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid #333; background: #0f0f0f; color: #fff; font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225, 29, 29, .2); }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; }
.chk { display: flex; align-items: center; gap: 8px; color: var(--txt); font-size: 14px; margin: 8px 0; }
.chk input { width: auto; }
.err { color: #f87171; font-size: 14px; min-height: 20px; margin-top: 8px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 10px; }
.linkish { background: none; border: 0; color: var(--red2); cursor: pointer; font: inherit; padding: 0; }

/* vitrin */
.hero { min-height: calc(100vh - 66px); display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(20px, 7vw, 110px); position: relative; }
.hero-in { max-width: 680px; animation: rise .8s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.eyebrow { color: var(--red2); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.04; margin: 0 0 18px; letter-spacing: -.02em; }
.hero h1 span { color: var(--red2); }
.lead { font-size: 19px; color: #cfcfcf; max-width: 560px; }
.cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; transform: translateX(-50%); }
.scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }
.sec { padding: 90px clamp(20px, 7vw, 110px); }
.sec h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 32px; }
.sec h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 10px; border-radius: 2px; background: var(--red); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(6px); transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(225, 29, 29, .5); }
.card .ic { font-size: 34px; }
.card h3 { margin: 10px 0 6px; }
.card p { margin: 0; color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.feat { padding: 22px; border-left: 3px solid var(--red); background: var(--card); border-radius: 0 var(--r) var(--r) 0; }
.feat b { display: block; font-size: 19px; margin-bottom: 4px; }
.feat span { color: var(--muted); }
.contact { padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); max-width: 640px; }
.foot { text-align: center; color: #6b6b6b; padding: 40px 20px; border-top: 1px solid var(--line); }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* modal ve bildirim */
.ov { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); }
.modal { width: min(440px, 100%); padding: 26px; border-radius: 20px; background: #181818; border: 1px solid var(--line); box-shadow: 0 30px 90px rgba(0, 0, 0, .7); animation: pop .2s ease-out; }
.modal h3 { margin: 0 0 6px; font-size: 22px; }
.mbtns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 12px 16px; border-radius: 12px; background: #1f1f1f; border-left: 4px solid var(--ok); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: pop .2s ease-out; max-width: 360px; }
.toast.err { border-left-color: var(--red); }
.toast.info { border-left-color: var(--warn); }

/* panel */
.pan { padding: 26px clamp(14px, 4vw, 48px) 60px; max-width: 1280px; margin: 0 auto; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tab { padding: 9px 16px; border-radius: 999px; background: #1c1c1c; border: 1px solid var(--line); color: var(--muted); cursor: pointer; font: inherit; font-weight: 600; position: relative; }
.tab.on { background: var(--red); border-color: var(--red); color: #fff; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--warn); color: #000; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.who { display: flex; align-items: center; gap: 10px; }
.who .nm { font-weight: 600; }
.bell { position: relative; background: #1c1c1c; border: 1px solid var(--line); border-radius: 10px; width: 40px; height: 38px; cursor: pointer; font-size: 18px; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.stat small { color: var(--muted); display: block; }
.stat b { font-size: 26px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.box { padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.box h3 { margin: 0 0 12px; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; }
td.r, th.r { text-align: right; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.p-satis { background: rgba(34, 197, 94, .15); color: #4ade80; }
.p-iade { background: rgba(225, 29, 29, .18); color: #f87171; }
.p-stok { background: rgba(245, 158, 11, .16); color: #fbbf24; }
.p-gun { background: rgba(147, 197, 253, .15); color: #93c5fd; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #666; margin-right: 6px; }
.dot.on { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.req { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding: 14px; border-radius: 12px; background: #121212; border: 1px solid rgba(245, 158, 11, .35); margin-bottom: 10px; }
.req .info { flex: 1 1 180px; }
.req .info b { display: block; }
.req input { width: 160px; }
.key { font-family: Consolas, monospace; padding: 12px; background: #0f0f0f; border-radius: 10px; border: 1px dashed #444; word-break: break-all; margin: 10px 0; }

@media (max-width: 860px) {
  .links { display: none; }
  .acct { margin-left: auto; }
  .grid2 { grid-template-columns: 1fr; }
  .ddbox { position: fixed; left: 12px; right: 12px; top: 70px; width: auto; }
  .brand img { height: 32px; }
}
@media (prefers-reduced-motion: reduce) { *, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }
