/* SunTeam v2 — app install guide (/app) */
.ai-hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(20px, 4vw, 40px); overflow: hidden; }
.ai-hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,212,0,.28), transparent); z-index: -1; }
.ai-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.ai-copy .lead { max-width: 560px; }
.ai-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 14px; }
.ai-cta .btn:disabled { opacity: 1; background: var(--mint-soft); color: var(--mint); box-shadow: none; }
.ai-state { font-size: var(--fs-sm); color: var(--text-3); }
.ai-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-xs); font-weight: 800; color: var(--text-2); }
.ai-badges .ic { color: var(--mint); }

.ai-art { position: relative; display: grid; place-items: center; min-height: 460px; }
.ai-phone { position: relative; width: 250px; height: 500px; padding: 12px; border-radius: 46px; background: #111318; box-shadow: 0 50px 90px -40px rgba(17,19,24,.7), inset 0 0 0 2px #2A2E36; animation: ai-float 6s ease-in-out infinite; }
@keyframes ai-float { 50% { transform: translateY(-10px) rotate(-1deg); } }
.ai-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 14px; background: #000; z-index: 2; }
.ai-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; padding: 46px 18px 18px; background: linear-gradient(160deg, #FFE45C 0%, #F2C200 38%, #3A2F00 100%); }
.ai-status { position: absolute; top: 14px; inset-inline: 22px; display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; color: #111318; direction: ltr; }
.ai-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 10px; }
.ai-app { aspect-ratio: 1; border-radius: 14px; background: hsl(var(--h, 200) 60% 92% / .55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.ai-app.ai-sun { position: relative; background: #fff; box-shadow: 0 0 0 3px #111318, 0 0 0 7px rgba(255,255,255,.5); animation: ai-pop 2.8s ease-in-out infinite; }
.ai-app.ai-sun img { width: 100%; height: 100%; border-radius: 14px; object-fit: cover; }
.ai-app.ai-sun em { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; font-style: normal; font-size: 9px; font-weight: 900; color: #111318; white-space: nowrap; }
@keyframes ai-pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.12); } }
.ai-dock { position: absolute; bottom: 14px; inset-inline: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px; border-radius: 22px; background: rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.ai-dock span { aspect-ratio: 1; border-radius: 12px; background: rgba(255,255,255,.55); }
.ai-float { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-3); font-size: var(--fs-xs); font-weight: 900; animation: ai-float 5s ease-in-out infinite; }
.ai-float .ic { color: var(--accent-ink); }
.ai-float.f1 { top: 12%; inset-inline-end: 0; animation-delay: -1s; }
.ai-float.f2 { top: 48%; inset-inline-start: 0; animation-delay: -2.5s; }
.ai-float.f3 { bottom: 10%; inset-inline-end: 6%; animation-delay: -4s; }

.ai-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ai-b { padding: 20px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ai-b-ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: #111318; color: var(--sun-400); margin-bottom: 12px; }
.ai-b b { display: block; font-size: var(--fs-lg); font-weight: 900; margin-bottom: 4px; }
.ai-b p { margin: 0; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.9; }

.ai-tabs { display: inline-flex; gap: 6px; padding: 5px; margin-bottom: 18px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ai-tabs button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding-inline: 18px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: var(--fs-sm); font-weight: 800; color: var(--text-2); cursor: pointer; }
.ai-tabs button.is-on { background: #111318; color: #fff; }
[data-theme="dark"] .ai-tabs button.is-on { background: var(--sun-400); color: #111318; }
.ai-pane { display: none; }
.ai-pane.is-on { display: block; animation: ai-in .4s var(--ease) both; }
@keyframes ai-in { from { opacity: 0; transform: translateY(8px); } }
.ai-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.ai-steps li { position: relative; padding: 18px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); counter-increment: st; }
.ai-steps li::before { content: counter(st, persian); position: absolute; top: 14px; inset-inline-start: 14px; width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; background: var(--sun-400); color: #111318; font-weight: 900; }
.ai-steps b { display: block; margin-top: 12px; font-size: var(--fs-lg); font-weight: 900; }
.ai-steps p { margin: 4px 0 0; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.9; }
.ai-steps em { font-style: normal; font-weight: 800; color: var(--text); direction: ltr; unicode-bidi: isolate; }
.ai-shot { display: grid; place-items: center; height: 170px; border-radius: 18px; background: var(--surface-sunk); }
.ai-shot svg { height: 150px; width: auto; }
.ai-shot .sc { fill: var(--surface); stroke: var(--line-strong); stroke-width: 2; }
.ai-shot .bar { fill: var(--surface-sunk); }
.ai-shot .blk { fill: var(--amber-soft); }
.ai-shot .ln { fill: var(--line-strong); }
.ai-shot .menu { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; filter: drop-shadow(0 6px 10px rgba(0,0,0,.12)); }
.ai-shot .pick { fill: #FFD400; animation: ai-blink 2s ease-in-out infinite; }
.ai-shot .ico { fill: #FFD400; }
.ai-shot .k { fill: #111318; }
.ai-shot .k-line { fill: none; stroke: #111318; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-shot .hl-dot > * { fill: #FFD400; }
.ai-shot .hl-dot .k { fill: #111318; }
.ai-shot .hl-dot { animation: ai-blink 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ai-blink { 50% { opacity: .45; } }
.ai-qr-wrap { display: grid; place-items: center; height: 170px; border-radius: 18px; background: var(--surface-sunk); }
.ai-qr { width: 130px; height: 130px; padding: 10px; border-radius: 16px; background: #fff; }
.ai-qr svg { width: 100%; height: 100%; }

.ai-short { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px; border-radius: 30px; background: #111318; color: #fff; }
.ai-short p { color: rgba(255,255,255,.65); margin: 6px 0 0; }
.ai-short .h-2 { color: #fff; }
.ai-short-menu { display: flex; align-items: flex-start; gap: 12px; }
.ai-short-ico { width: 64px; height: 64px; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 4px rgba(255,212,0,.35); }
.ai-short-ico img { width: 100%; height: 100%; object-fit: cover; }
.ai-short-menu ul { list-style: none; margin: 0; padding: 8px; border-radius: 18px; background: #fff; color: #111318; min-width: 190px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.ai-short-menu li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; font-size: var(--fs-sm); font-weight: 800; }
.ai-short-menu li + li { border-top: 1px solid rgba(17,19,24,.06); }
.ai-short-menu li .ic { color: #B48A00; }

.ai-faq { display: flex; flex-direction: column; gap: 8px; max-width: 860px; }
.ai-faq details { border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ai-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; cursor: pointer; font-weight: 800; list-style: none; }
.ai-faq summary::-webkit-details-marker { display: none; }
.ai-faq summary .ic { transition: transform .25s; color: var(--text-3); }
.ai-faq details[open] summary .ic { transform: rotate(180deg); }
.ai-faq p { margin: 0; padding: 0 18px 16px; color: var(--text-2); line-height: 2; font-size: var(--fs-sm); }

@media (max-width: 900px) {
  .ai-hero-grid { grid-template-columns: 1fr; }
  .ai-art { min-height: 400px; }
  .ai-benefits { grid-template-columns: 1fr 1fr; }
  .ai-steps { grid-template-columns: 1fr; }
  .ai-short { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ai-phone { width: 210px; height: 420px; border-radius: 40px; }
  .ai-float { font-size: 11px; padding: 6px 10px; }
  .ai-benefits { grid-template-columns: 1fr; }
  .ai-tabs { display: flex; }
  .ai-tabs button { flex: 1; justify-content: center; padding-inline: 8px; }
}
