/* ScenesCut — عوامی ویب سائٹ */
:root {
  --bg: #0f1115;
  --bg2: #161920;
  --panel: #1b1f27;
  --line: #2a2f3a;
  --text: #e8eaf0;
  --muted: #9aa1ad;
  --blue: #2d6cdf;
  --violet: #8e2de2;
  --orange: #ff8a3c;
  --radius: 16px;
  --grad: linear-gradient(135deg, #2d6cdf, #8e2de2);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: #8fb4ff; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(15,17,21,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 19px; letter-spacing: -.2px; }
.brand:hover { text-decoration: none; }
.nav nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav nav a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 500; }
.nav nav a:hover, .nav nav a.on { color: #fff; background: var(--panel); text-decoration: none; }
.menu-toggle, .menu-btn { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 600; color: #fff; background: var(--panel); border: 1px solid var(--line); cursor: pointer; font-size: 15px; }
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn.primary { background: var(--grad); border: 0; }
.nav nav a.btn.primary { color: #fff; }
.btn.small { padding: 8px 14px; font-size: 14px; }
.play { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1px solid #555; border-radius: 12px; padding: 9px 18px; }
.play:hover { text-decoration: none; border-color: #999; }
.play span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: 19px; }
.play small { font-size: 10px; font-weight: 500; letter-spacing: .5px; }

/* ---------- hero ---------- */
.hero { padding: 80px 0 60px; background: radial-gradient(800px 400px at 15% 0%, rgba(45,108,223,.28), transparent 60%), radial-gradient(700px 400px at 90% 20%, rgba(142,45,226,.25), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255,138,60,.14); color: #ffb37a; font-weight: 600; font-size: 13px; border: 1px solid rgba(255,138,60,.35); }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.08; margin: 16px 0; letter-spacing: -1.4px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: #c5cad4; max-width: 560px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.stats { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.stats b { display: block; font-size: 26px; color: #fff; }
.stats span { color: var(--muted); font-size: 14px; }

/* فون کا خاکہ */
/* ہیرو: ایپ کی اصل تصویر، فون کے فریم میں */
.device { position: relative; perspective: 1400px; }
.device::before { content: ""; position: absolute; inset: 8% -6% -10% 6%; background: radial-gradient(closest-side, rgba(255,110,90,.45), rgba(150,60,220,.25) 60%, transparent); filter: blur(30px); z-index: 0; }
.device .frame { position: relative; z-index: 1; border-radius: 26px; padding: 10px 14px; background: linear-gradient(145deg, #2a2e38, #12141a); box-shadow: 0 40px 90px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.12); transform: rotateY(-9deg) rotateX(4deg); transform-origin: 60% 50%; transition: transform .6s ease; }
.device:hover .frame { transform: rotateY(-3deg) rotateX(1deg); }
.device .frame::after { content: ""; position: absolute; left: 5px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #0a0b0e; box-shadow: 0 0 0 1px #3a3f4a; }
.device img { display: block; width: 100%; height: auto; border-radius: 14px; }
.device .chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(20,22,30,.82); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1); font-size: 13px; font-weight: 600; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.device .chip b { color: #ffb37a; }
.device .chip.c1 { left: -18px; bottom: -22px; }
.device .chip.c2 { right: -10px; top: -14px; }
@media (max-width: 900px) { .device .frame { transform: none; } .device .chip.c1 { left: 6px; } .device .chip.c2 { right: 6px; } }
/* ---------- sections ---------- */
section { padding: 64px 0; }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-title h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 10px; letter-spacing: -.6px; }
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(45,108,223,.16); }
.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.steps { counter-reset: s; }
.steps .card::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); font-weight: 700; }
.compare { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { background: #20252f; }
.yes { color: #4ade80; font-weight: 700; }
.no { color: #f87171; }
.cta-band { text-align: center; background: var(--grad); border-radius: 24px; padding: 48px 24px; }
.cta-band h2 { margin: 0 0 8px; font-size: 32px; }
.cta-band .play { margin-top: 18px; }

/* ---------- blog ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.chip.on, .chip:hover { color: #fff; border-color: #4b6fb8; text-decoration: none; }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .cover { aspect-ratio: 16 / 9; background: var(--grad); display: grid; place-items: center; font-size: 42px; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-card h3 { margin: 0; }
.post-card h3 a { color: #fff; }
.meta { font-size: 13px; color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: #ffb37a; text-transform: uppercase; letter-spacing: .6px; }
.pager { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin: 10px 0 12px; letter-spacing: -.8px; }
.article .hero-img { border-radius: var(--radius); margin: 18px 0 8px; width: 100%; }
.prose { font-size: 17px; color: #d4d8e0; }
.prose h2, .prose h3, .prose h4 { color: #fff; margin: 1.6em 0 .5em; line-height: 1.25; }
.prose img { border-radius: 12px; margin: 10px 0; }
.prose code { background: #222833; padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose blockquote { margin: 1em 0; padding: 10px 16px; border-left: 4px solid var(--violet); background: var(--panel); border-radius: 0 10px 10px 0; }
.prose .video { position: relative; aspect-ratio: 16 / 9; margin: 16px 0; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }

/* ---------- legal / forms ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h1 { font-size: 38px; margin-bottom: 4px; }
.legal h2 { margin-top: 32px; font-size: 22px; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.legal td, .legal th { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.lang-tabs { display: flex; gap: 8px; margin: 18px 0; }
.form { display: grid; gap: 14px; max-width: 620px; }
.form label { display: grid; gap: 6px; font-weight: 500; }
.form input, .form textarea, .form select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #12151b; color: var(--text); font: inherit; }
.form textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 12px 16px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 14px; }
.alert.ok { border-color: #2f7a4b; background: rgba(47,122,75,.18); }
.alert.err { border-color: #8b3a3a; background: rgba(139,58,58,.2); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: #0c0e12; padding: 48px 0 18px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; }
.foot h4 { margin: 4px 0 10px; color: #fff; }
.foot a { display: block; color: var(--muted); padding: 3px 0; }
.foot a.brand { color: #fff; display: flex; }
.copy { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .hero-grid, .g3, .g4, .g2, .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .menu-btn { display: grid; gap: 5px; margin-left: auto; cursor: pointer; padding: 8px; }
  .menu-btn span { width: 24px; height: 2px; background: #fff; display: block; }
  .nav nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; }
  .menu-toggle:checked ~ nav { display: flex; }
  .g3, .g4, .g2, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  section { padding: 44px 0; }
  .compare th, .compare td { padding: 10px 8px; font-size: 14px; }
}

.hero { overflow-x: clip; }
