/* ═══════════════════════════════════════════
   AP FOOD — LANDING PAGE (FINAL)
   ═══════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --primary: #4f46e5;
  --violet: #7c3aed;
  --orange: #f97316;
  --pink: #ec4899;
  --green: #16a34a;
  --red: #dc2626;
  --yellow: #f59e0b;
  --blue: #0284c7;
  --dark: #0a0a15;
  --grad-brand: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  --grad-hero: linear-gradient(135deg, #0a0a15 0%, #1a0f3d 50%, #2d1b4e 100%);
}

html { scroll-behavior: smooth; }

body.landing {
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  background: #0a0a15;
  color: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: 72px;
}

/* ═══════════════════════════════════════════
   PROGRESS BAR
   ═══════════════════════════════════════════ */
.progress-bar {
  position: fixed;
  top: 0; right: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-brand);
  z-index: 10000;
  box-shadow: 0 0 20px rgba(236,72,153,.6);
  transition: width .1s linear;
}

/* ═══════════════════════════════════════════
   HEADER — Fixed Glass
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,21,.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: all .3s;
}

.site-header.scrolled {
  background: rgba(10,10,21,.95);
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(79,70,229,.4);
  transition: transform .3s;
}

.header-logo:hover .logo-mark {
  transform: scale(1.08) rotate(-6deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text b {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.logo-text small {
  color: rgba(255,255,255,.5);
  font-size: 10.5px;
  font-weight: 500;
}

/* Navigation */
.header-nav {
  display: none;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all .25s;
  position: relative;
}

.header-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

@media (min-width: 900px) {
  .header-nav { display: flex; }
}

/* Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  flex-shrink: 0;
}

/* Voice Button */
.voice-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
  position: relative;
  font-family: inherit;
}

.voice-btn:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}

.voice-btn.playing {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(22,163,74,.5);
  animation: voicePulse 1.5s infinite;
}

@keyframes voicePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

.voice-icon-wrap {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.voice-bars {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 2px;
  height: 8px;
}

.voice-btn.playing .voice-bars { display: flex; }

.voice-bars span {
  width: 2px;
  background: #fff;
  border-radius: 2px;
  animation: voiceWave .7s ease-in-out infinite;
}

.voice-bars span:nth-child(1) { animation-delay: 0s; }
.voice-bars span:nth-child(2) { animation-delay: .1s; }
.voice-bars span:nth-child(3) { animation-delay: .2s; }
.voice-bars span:nth-child(4) { animation-delay: .3s; }
.voice-bars span:nth-child(5) { animation-delay: .4s; }

@keyframes voiceWave {
  0%, 100% { height: 3px; }
  50%      { height: 8px; }
}

/* Header Buttons */
.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.header-btn svg {
  transition: transform .3s;
}

/* Login Button */
.login-btn {
  color: #fff;
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.1);
}

.login-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}

/* Register Button */
.register-btn {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 6px 20px rgba(79,70,229,.4);
  position: relative;
}

.register-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transition: left .6s;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(79,70,229,.55);
}

.register-btn:hover::before { left: 100%; }

.register-btn:hover svg { transform: translateX(-3px); }

/* Hide labels in small screens */
@media (max-width: 720px) {
  .header-inner { padding: 10px 14px; height: 64px; gap: 10px; }
  .logo-text small { display: none; }
  .logo-text b { font-size: 14px; }
  .logo-mark { width: 38px; height: 38px; font-size: 20px; }
  .header-btn { padding: 8px 12px; font-size: 12.5px; }
  body.landing { padding-top: 64px; }
}

@media (max-width: 420px) {
  .header-btn svg { display: none; }
  .login-btn { padding: 8px 12px; }
  .register-btn { padding: 8px 14px; }
}

/* ═══════════════════════════════════════════
   HERO SCENE
   ═══════════════════════════════════════════ */
.scene-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 20px 40px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .5;
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px; height: 500px;
  background: #4f46e5;
  top: -200px; right: -150px;
  animation: orbFloat 18s ease-in-out infinite;
}

.hero-orb-2 {
  width: 600px; height: 600px;
  background: #ec4899;
  bottom: -250px; left: -200px;
  animation: orbFloat 18s ease-in-out infinite -9s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(50px,-40px) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
}

.hero-logo-wrap {
  display: inline-block;
  margin-bottom: 28px;
  position: relative;
  animation: logoEntrance 1.2s cubic-bezier(.5,1.8,.5,1) both;
}

.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -25px;
  background: radial-gradient(circle, rgba(79,70,229,.7), transparent 70%);
  border-radius: 50%;
  animation: logoGlow 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes logoGlow {
  0%, 100% { transform: scale(1); opacity: .6; }
  50%      { transform: scale(1.2); opacity: 1; }
}

@keyframes logoEntrance {
  0%   { transform: scale(0) rotate(-180deg); opacity: 0; }
  60%  { transform: scale(1.15) rotate(10deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

.hero-logo {
  width: 100px;
  height: 100px;
  background: var(--grad-brand);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  box-shadow:
    0 25px 60px rgba(79,70,229,.6),
    inset 0 2px 0 rgba(255,255,255,.4);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
  animation: fadeSlideUp 1s ease .4s both;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 12px #22c55e;
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .6; }
}

.hero-title {
  font-size: clamp(30px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 22px;
  letter-spacing: -1px;
  animation: fadeSlideUp 1s ease .6s both;
}

.hero-title .grad {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 50%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.hero-title .grad::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #f97316, transparent);
  border-radius: 2px;
  animation: underlineExpand 1.5s ease 1.5s both;
  transform-origin: center;
}

@keyframes underlineExpand {
  0%   { transform: scaleX(0); opacity: 0; }
  100% { transform: scaleX(1); opacity: 1; }
}

.hero-desc {
  font-size: clamp(15px, 1.9vw, 18px);
  color: rgba(255,255,255,.85);
  line-height: 2;
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeSlideUp 1s ease .8s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  animation: fadeSlideUp 1s ease 1s both;
}

.hero-trust {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 1s ease 1.2s both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}

.hero-trust-item svg {
  width: 14px;
  height: 14px;
  color: #22c55e;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn-cine {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .4s cubic-bezier(.2,.8,.2,1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-cine::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transition: left .6s;
}

.btn-cine:hover::before { left: 100%; }

.btn-cine svg { width: 18px; height: 18px; }

.btn-cine.primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 15px 45px rgba(255,255,255,.25);
}

.btn-cine.primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 25px 60px rgba(255,255,255,.4);
}

.btn-cine.outline {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 2px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}

.btn-cine.outline:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.5);
  transform: translateY(-4px);
}

/* ═══════════════════════════════════════════
   SCROLL HINT
   ═══════════════════════════════════════════ */
.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: scrollBounce 2.5s ease-in-out infinite;
  z-index: 3;
  letter-spacing: 3px;
}

.scroll-hint svg { width: 20px; height: 20px; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}

/* ═══════════════════════════════════════════
   COMMON
   ═══════════════════════════════════════════ */
.scene-container {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.scene-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(79,70,229,.15);
  color: #a5b4fc;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 16px;
  border: 1px solid rgba(79,70,229,.25);
}

.scene-label.light {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

.scene-title {
  font-size: clamp(26px, 4.5vw, 46px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -.5px;
  color: #fff;
}

.scene-title .grad-red {
  background: linear-gradient(135deg, #dc2626, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.scene-desc {
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255,255,255,.7);
  line-height: 2;
  max-width: 640px;
  margin-bottom: 30px;
}

.section-head .scene-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════
   PROBLEM
   ═══════════════════════════════════════════ */
.scene-problem {
  padding: 100px 20px;
  background: linear-gradient(180deg, #0a0a15 0%, #150d25 100%);
  position: relative;
  overflow: hidden;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 900px) {
  .problem-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.problem-text .scene-desc { margin-bottom: 36px; }

.problem-highlight {
  display: flex;
  gap: 16px;
  align-items: center;
  background: linear-gradient(135deg, rgba(79,70,229,.15), rgba(124,58,237,.1));
  border: 1px solid rgba(79,70,229,.3);
  border-radius: 18px;
  padding: 18px 20px;
  transition: all .3s;
}

.problem-highlight:hover {
  border-color: rgba(79,70,229,.5);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(79,70,229,.2);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(249,115,22,.4);
}

.problem-highlight b {
  display: block;
  font-size: 14.5px;
  color: #fff;
  margin-bottom: 4px;
}

.problem-highlight small {
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
}

/* Problem Cards Vertical Stack */
.problem-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 400px;
}

.problem-card-new {
  position: relative;
  background: rgba(20,15,40,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 22px;
  overflow: hidden;
  transition: all .6s cubic-bezier(.2,.8,.2,1);
  opacity: 0;
  transform: translateX(60px);
}

.problem-card-new.visible {
  opacity: 1;
  transform: translateX(0);
}

.problem-card-new:hover {
  transform: translateY(-6px);
  border-color: var(--pc-color, rgba(255,255,255,.2));
  box-shadow:
    0 30px 60px rgba(0,0,0,.5),
    0 0 0 1px var(--pc-color, rgba(255,255,255,.15));
}

.pc-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .3;
  pointer-events: none;
  transition: opacity .4s, transform .4s;
}

.problem-card-new:hover .pc-glow {
  opacity: .6;
  transform: scale(1.2);
}

.problem-card-new[data-color="red"] {
  --pc-color: #dc2626;
  --pc-bg: rgba(220,38,38,.15);
  --pc-border: rgba(220,38,38,.35);
}
.problem-card-new[data-color="red"] .pc-glow {
  background: radial-gradient(circle, #dc2626, transparent 70%);
}
.problem-card-new[data-color="red"] .pc-meter-bar {
  background: linear-gradient(90deg, #dc2626, #f97316);
  box-shadow: 0 0 12px rgba(220,38,38,.6);
}

.problem-card-new[data-color="yellow"] {
  --pc-color: #f59e0b;
  --pc-bg: rgba(245,158,11,.15);
  --pc-border: rgba(245,158,11,.35);
}
.problem-card-new[data-color="yellow"] .pc-glow {
  background: radial-gradient(circle, #f59e0b, transparent 70%);
}
.problem-card-new[data-color="yellow"] .pc-meter-bar {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  box-shadow: 0 0 12px rgba(245,158,11,.6);
}

.problem-card-new[data-color="blue"] {
  --pc-color: #0284c7;
  --pc-bg: rgba(2,132,199,.15);
  --pc-border: rgba(2,132,199,.35);
}
.problem-card-new[data-color="blue"] .pc-glow {
  background: radial-gradient(circle, #0284c7, transparent 70%);
}
.problem-card-new[data-color="blue"] .pc-meter-bar {
  background: linear-gradient(90deg, #0284c7, #06b6d4);
  box-shadow: 0 0 12px rgba(2,132,199,.6);
}

.pc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.pc-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--pc-bg);
  border: 1px solid var(--pc-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s;
}

.problem-card-new:hover .pc-icon-wrap {
  transform: scale(1.08) rotate(-6deg);
}

.pc-icon {
  font-size: 26px;
  line-height: 1;
}

.pc-number {
  font-size: 32px;
  font-weight: 900;
  color: rgba(255,255,255,.08);
  line-height: 1;
  letter-spacing: -2px;
  transition: color .3s;
}

.problem-card-new:hover .pc-number {
  color: var(--pc-color);
}

.pc-content {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.pc-content b {
  display: block;
  font-size: 16px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.4;
}

.pc-content p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.9;
  margin: 0;
}

.pc-meter {
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.pc-meter-bar {
  height: 100%;
  border-radius: 4px;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}

.problem-card-new.visible .pc-meter-bar {
  transform: scaleX(1);
}

.pc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  position: relative;
  z-index: 1;
}

.pc-footer b {
  color: var(--pc-color);
  font-weight: 800;
  font-size: 14px;
}

@media (max-width: 500px) {
  .problem-card-new { padding: 20px; }
  .pc-icon-wrap { width: 46px; height: 46px; }
  .pc-icon { font-size: 22px; }
  .pc-number { font-size: 26px; }
  .pc-content b { font-size: 15px; }
  .pc-content p { font-size: 12.5px; }
}

/* ═══════════════════════════════════════════
   REVEAL
   ═══════════════════════════════════════════ */
.scene-reveal {
  padding: 120px 20px;
  background: var(--grad-brand);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.scene-reveal::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,.12) 0%, transparent 45%),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,.08) 0%, transparent 45%);
}

.scene-reveal .scene-container { position: relative; z-index: 2; }

.scene-reveal .scene-title {
  font-size: clamp(28px, 5vw, 52px);
  margin-bottom: 24px;
}

.scene-reveal .scene-desc {
  color: rgba(255,255,255,.9);
  margin: 0 auto;
}

.reveal-arrow {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: arrowDown 2s ease-in-out infinite;
}

.reveal-arrow svg { width: 26px; height: 26px; color: #fff; }

@keyframes arrowDown {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(12px); }
}

/* ═══════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════ */
.scene-features {
  padding: 100px 20px;
  background: #0a0a15;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

.feature-cine {
  position: relative;
  background: rgba(20,15,40,.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  padding: 40px 30px;
  overflow: hidden;
  transition: all .5s cubic-bezier(.2,.8,.2,1);
}

.feature-cine::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--fc, rgba(79,70,229,.3)) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(40%, -40%);
  transition: transform .5s;
  pointer-events: none;
}

.feature-cine:hover::before {
  transform: translate(20%, -20%) scale(1.4);
}

.feature-cine:hover {
  transform: translateY(-10px);
  border-color: var(--fc-border, rgba(79,70,229,.5));
  box-shadow:
    0 30px 60px rgba(0,0,0,.5),
    0 0 0 1px var(--fc-border, rgba(79,70,229,.5));
}

.feature-cine.blue {
  --fc: rgba(2,132,199,.4);
  --fc-border: rgba(2,132,199,.5);
  --fc-solid: #0284c7;
  --fc-bg: rgba(2,132,199,.15);
}

.feature-cine.orange {
  --fc: rgba(249,115,22,.4);
  --fc-border: rgba(249,115,22,.5);
  --fc-solid: #f97316;
  --fc-bg: rgba(249,115,22,.15);
}

.feature-cine.green {
  --fc: rgba(22,163,74,.4);
  --fc-border: rgba(22,163,74,.5);
  --fc-solid: #16a34a;
  --fc-bg: rgba(22,163,74,.15);
}

.feature-icon-cine {
  width: 72px;
  height: 72px;
  background: var(--fc-bg);
  color: var(--fc-solid);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: all .4s cubic-bezier(.2,.8,.2,1);
  border: 1px solid var(--fc-border);
}

.feature-cine:hover .feature-icon-cine {
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 15px 40px var(--fc);
}

.feature-cine h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.feature-cine p {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 2;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.feature-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(22,163,74,.2);
  color: #4ade80;
  border: 1px solid rgba(22,163,74,.3);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════
   LIVE MENUS
   ═══════════════════════════════════════════ */
.scene-menus {
  padding: 100px 20px;
  background: linear-gradient(180deg, #0a0a15 0%, #150d25 100%);
  overflow: hidden;
}

.menus-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 0 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.menus-carousel::-webkit-scrollbar { display: none; }

.menu-card {
  flex: 0 0 300px;
  background: rgba(20,15,40,.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: all .5s cubic-bezier(.2,.8,.2,1);
  opacity: 0;
  transform: translateY(40px) scale(.95);
  cursor: pointer;
}

.menu-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.menu-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--mc, rgba(79,70,229,.5));
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
}

.menu-card-banner {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: var(--mbg, var(--grad-brand));
}

.menu-card-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,.7));
}

.menu-card-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.menu-card-cat {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,.95);
  color: #1a1a2e;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  z-index: 2;
}

.menu-card-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(22,163,74,.95);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-card-logo {
  position: absolute;
  bottom: -24px; right: 20px;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--mbg, var(--grad-brand));
  border: 3px solid rgba(20,15,40,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

.menu-card-body {
  padding: 32px 22px 22px;
}

.menu-card-body h4 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-card-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}

.menu-card-meta span { display: flex; align-items: center; gap: 5px; }

.menu-card-items {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  min-height: 48px;
}

.menu-card-item {
  width: 48px; height: 48px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform .3s;
}

.menu-card:hover .menu-card-item {
  transform: scale(1.08) rotate(-3deg);
}

.menu-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  text-decoration: none;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  transition: all .3s;
}

.menu-card:hover .menu-card-cta {
  background: var(--mc, #4f46e5);
  border-color: var(--mc, #4f46e5);
  color: #fff;
}

.menu-card-cta svg { width: 16px; height: 16px; }

.menus-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 80px 0;
  flex: 0 0 100%;
}

.dot-loader {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  animation: loaderBounce 1.4s ease-in-out infinite both;
}

.dot-loader:nth-child(2) { animation-delay: .16s; background: var(--violet); }
.dot-loader:nth-child(3) { animation-delay: .32s; background: var(--pink); }

@keyframes loaderBounce {
  0%, 80%, 100% { transform: scale(0); opacity: .5; }
  40%           { transform: scale(1); opacity: 1; }
}

/* ═══════════════════════════════════════════
   HOW
   ═══════════════════════════════════════════ */
.scene-how {
  padding: 100px 20px;
  background: #0a0a15;
}

.steps-cine {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
}

@media (min-width: 768px) {
  .steps-cine { grid-template-columns: repeat(3, 1fr); gap: 30px; }

  .steps-cine::before {
    content: '';
    position: absolute;
    top: 36px;
    right: 12%; left: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg,
      rgba(79,70,229,.4) 0, rgba(79,70,229,.4) 8px,
      transparent 8px, transparent 16px);
    z-index: 0;
  }
}

.step-cine {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num-cine {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  box-shadow:
    0 15px 40px rgba(79,70,229,.5),
    inset 0 2px 0 rgba(255,255,255,.3);
  border: 5px solid #0a0a15;
  transition: all .4s;
}

.step-cine:hover .step-num-cine {
  transform: scale(1.12) rotate(10deg);
}

.step-cine h4 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.step-cine p {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.9;
  max-width: 280px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════ */
.scene-stats {
  padding: 100px 20px;
  background: var(--grad-brand);
  position: relative;
  overflow: hidden;
}

.scene-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.1) 0%, transparent 40%);
}

.scene-stats .scene-container { position: relative; z-index: 1; }

.stats-grid-cine {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (min-width: 768px) {
  .stats-grid-cine { grid-template-columns: repeat(4, 1fr); gap: 40px; }
}

.stat-cine { text-align: center; }

.stat-cine-num {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0,0,0,.3);
  font-variant-numeric: tabular-nums;
}

.stat-cine-label {
  font-size: 14px;
  color: rgba(255,255,255,.9);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.scene-testimonials {
  padding: 100px 20px;
  background: #0a0a15;
}

.testimonials-grid-cine {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonials-grid-cine { grid-template-columns: repeat(2, 1fr); }
}

.testimonial-cine {
  position: relative;
  background: rgba(20,15,40,.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 32px;
}

.testimonial-cine::before {
  content: '"';
  position: absolute;
  top: 12px; left: 24px;
  font-size: 80px;
  line-height: 1;
  color: rgba(79,70,229,.3);
  font-family: Georgia, serif;
}

.testimonial-cine-stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 16px;
}

.testimonial-cine p {
  font-size: 15px;
  color: rgba(255,255,255,.8);
  line-height: 2;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-cine-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.testimonial-cine-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(79,70,229,.4);
}

.testimonial-cine-info b {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 3px;
}

.testimonial-cine-info small {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

/* ═══════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════ */
.scene-final {
  padding: 130px 20px;
  background: var(--grad-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.scene-final::before,
.scene-final::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .5;
  animation: orbFloat 16s ease-in-out infinite;
}

.scene-final::before {
  width: 500px; height: 500px;
  background: #7c3aed;
  top: -200px; right: -150px;
}

.scene-final::after {
  width: 450px; height: 450px;
  background: #ec4899;
  bottom: -180px; left: -130px;
  animation-delay: -8s;
}

.scene-final .scene-container { position: relative; z-index: 2; }

.scene-final h2 {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -1px;
}

.scene-final .scene-desc {
  color: rgba(255,255,255,.9);
  margin: 0 auto 40px;
  max-width: 560px;
}

.final-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.final-buttons .btn-cine.primary {
  font-size: 16px;
  padding: 18px 42px;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer-cine {
  background: #050510;
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 50px 20px;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,.05);
}

.footer-cine b { color: #fff; }

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all .9s cubic-bezier(.2,.8,.2,1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-card {
  opacity: 0;
  transform: translateY(50px) scale(.95);
  transition: all .7s cubic-bezier(.2,.8,.2,1);
}

.reveal-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ═══════════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════════ */
@media (max-width: 600px) {
  .scene-hero { padding: 40px 16px 60px; min-height: auto; }
  .hero-logo { width: 88px; height: 88px; font-size: 44px; }
  .hero-title { margin-bottom: 18px; }
  .hero-desc { margin-bottom: 28px; }
  .btn-cine { padding: 14px 26px; font-size: 14px; }
  .scene-problem, .scene-features, .scene-menus,
  .scene-how, .scene-stats, .scene-testimonials { padding: 70px 16px; }
  .scene-reveal, .scene-final { padding: 90px 16px; }
  .menu-card { flex: 0 0 260px; }
  .feature-cine { padding: 30px 24px; }
  .feature-icon-cine { width: 60px; height: 60px; font-size: 26px; }
  .testimonial-cine { padding: 24px; }
  .hero-trust { gap: 12px; }
  .hero-trust-item { font-size: 11.5px; }
}

/* ═══════════════════════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════════════════════ */
.scene-video {
  padding: 100px 20px;
  background: linear-gradient(180deg, #0a0a15 0%, #150d25 100%);
  position: relative;
  overflow: hidden;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeSlideUp .8s ease;
}

.video-frame {
  position: relative;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  border-radius: 28px;
  padding: 4px;
  box-shadow: 
    0 30px 80px rgba(79,70,229,.3),
    0 0 0 1px rgba(255,255,255,.1);
}

.video-aspect {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.video-aspect iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 600px) {
  .scene-video { padding: 70px 16px; }
  .video-frame { padding: 3px; border-radius: 20px; }
  .video-aspect { border-radius: 18px; }
}

/* ═══════════════════════════════════════════════════════
   MENUS REFRESH BUTTON
   ═══════════════════════════════════════════════════════ */
.menus-refresh {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  color: rgba(255,255,255,.7);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
}

.refresh-btn:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}

.refresh-btn.spinning svg {
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════
   AUTOPLAY OVERLAY
   ═══════════════════════════════════════════════════════ */
.autoplay-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,10,21,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .3s ease;
  transition: opacity .4s, visibility .4s;
}

.autoplay-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.autoplay-content {
  max-width: 440px;
  width: 100%;
  text-align: center;
  animation: fadeSlideUp .5s cubic-bezier(.2,.8,.2,1);
}

.autoplay-icon {
  width: 100px;
  height: 100px;
  border-radius: 30px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 
    0 25px 60px rgba(79,70,229,.6),
    inset 0 1px 0 rgba(255,255,255,.3);
  animation: audioPulse 2s ease-in-out infinite;
}

.autoplay-icon svg {
  width: 48px;
  height: 48px;
  color: #fff;
}

@keyframes audioPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

.autoplay-content h3 {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 10px;
}

.autoplay-content p {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin: 0 0 30px;
  line-height: 1.8;
}

.autoplay-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  background-size: 200% 200%;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(79,70,229,.5);
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  margin-bottom: 14px;
}

.autoplay-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 25px 60px rgba(79,70,229,.7);
  background-position: 100% 50%;
}

.autoplay-skip {
  display: block;
  margin: 0 auto;
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all .25s;
}

.autoplay-skip:hover {
  color: #fff;
  background: rgba(255,255,255,.05);
}

@media (max-width: 480px) {
  .autoplay-icon {
    width: 84px;
    height: 84px;
    border-radius: 26px;
  }
  .autoplay-icon svg { width: 40px; height: 40px; }
  .autoplay-content h3 { font-size: 18px; }
  .autoplay-content p { font-size: 13px; }
  .autoplay-btn { padding: 14px 28px; font-size: 14px; }
}
/* ═══════════════════════════════════════════════════════
   🎵 FLOATING AUDIO PLAYER
   ═══════════════════════════════════════════════════════ */

.audio-player {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.audio-player > * { pointer-events: auto; }

/* ═══ دکمه شناور ═══ */
.audio-toggle {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  background-size: 200% 200%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 15px 40px rgba(79,70,229,.5),
    0 0 0 1px rgba(255,255,255,.15) inset,
    0 1px 0 rgba(255,255,255,.25) inset;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  flex-shrink: 0;
  animation: togglePulse 3s ease-in-out infinite;
}

.audio-toggle:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow:
    0 20px 55px rgba(79,70,229,.65),
    0 0 0 1px rgba(255,255,255,.2) inset,
    0 1px 0 rgba(255,255,255,.3) inset;
  background-position: 100% 50%;
}

.audio-toggle:active { transform: scale(.95); }

.audio-toggle svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 2;
}

.audio-toggle .icon-play { margin-left: 3px; }

@keyframes togglePulse {
  0%, 100% {
    box-shadow:
      0 15px 40px rgba(79,70,229,.5),
      0 0 0 1px rgba(255,255,255,.15) inset,
      0 1px 0 rgba(255,255,255,.25) inset;
  }
  50% {
    box-shadow:
      0 15px 50px rgba(236,72,153,.6),
      0 0 0 1px rgba(255,255,255,.2) inset,
      0 1px 0 rgba(255,255,255,.25) inset;
  }
}

/* حلقه‌های موج */
.audio-ring,
.audio-ring-2 {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(79,70,229,.5);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.audio-ring {
  animation: ringPulse 2s ease-out infinite;
}

.audio-ring-2 {
  animation: ringPulse 2s ease-out infinite;
  animation-delay: 1s;
}

@keyframes ringPulse {
  0% {
    transform: scale(1);
    opacity: .7;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* وقتی در حال پخشه، حلقه‌ها قطع بشن */
.audio-player.playing .audio-ring,
.audio-player.playing .audio-ring-2 {
  animation: none;
  opacity: 0;
}

/* ═══ پنل صوتی ═══ */
.audio-panel {
  width: 0;
  max-width: 0;
  overflow: hidden;
  background: rgba(20,15,40,.9);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition: all .4s cubic-bezier(.2,.8,.2,1);
  box-shadow:
    0 25px 60px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 1px 0 rgba(255,255,255,.1) inset;
  pointer-events: none;
}

.audio-player.open .audio-panel {
  width: 300px;
  max-width: 300px;
  opacity: 1;
  transform: translateX(0);
  padding: 18px;
  pointer-events: auto;
}

/* هدر پنل */
.audio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.audio-info b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.audio-info small {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}

.audio-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: none;
  color: rgba(255,255,255,.6);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  transition: all .2s;
  flex-shrink: 0;
}

.audio-close:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* ═══ نوارهای موج صوتی ═══ */
.audio-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 40px;
  margin-bottom: 12px;
  padding: 0 4px;
}

.audio-bars span {
  width: 3px;
  min-height: 4px;
  background: linear-gradient(180deg, #4f46e5, #ec4899);
  border-radius: 3px;
  height: 20%;
  transition: height .15s ease;
}

/* موج پویا وقتی در حال پخشه */
.audio-player.playing .audio-bars span {
  animation: barsDance .8s ease-in-out infinite;
}

.audio-player.playing .audio-bars span:nth-child(1) { animation-delay: 0s; }
.audio-player.playing .audio-bars span:nth-child(2) { animation-delay: .1s; }
.audio-player.playing .audio-bars span:nth-child(3) { animation-delay: .2s; }
.audio-player.playing .audio-bars span:nth-child(4) { animation-delay: .3s; }
.audio-player.playing .audio-bars span:nth-child(5) { animation-delay: .4s; }
.audio-player.playing .audio-bars span:nth-child(6) { animation-delay: .5s; }
.audio-player.playing .audio-bars span:nth-child(7) { animation-delay: .4s; }
.audio-player.playing .audio-bars span:nth-child(8) { animation-delay: .3s; }
.audio-player.playing .audio-bars span:nth-child(9) { animation-delay: .2s; }
.audio-player.playing .audio-bars span:nth-child(10) { animation-delay: .1s; }
.audio-player.playing .audio-bars span:nth-child(11) { animation-delay: .15s; }
.audio-player.playing .audio-bars span:nth-child(12) { animation-delay: .25s; }

@keyframes barsDance {
  0%, 100% { height: 15%; }
  50%      { height: 100%; }
}

/* ═══ نوار پیشرفت ═══ */
.audio-progress {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 8px;
  transition: height .2s;
}

.audio-progress:hover { height: 6px; }

.audio-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4f46e5, #ec4899);
  border-radius: 4px;
  transition: width .1s linear;
  position: relative;
}

.audio-progress-bar::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(236,72,153,.8);
  opacity: 0;
  transition: opacity .2s;
}

.audio-progress:hover .audio-progress-bar::after {
  opacity: 1;
}

/* ═══ زمان ═══ */
.audio-time {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: rgba(255,255,255,.5);
  font-family: 'Courier New', monospace;
  font-weight: 700;
  margin-bottom: 12px;
  direction: ltr;
}

/* ═══ کنترل‌ها ═══ */
.audio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.audio-control-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,.06);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
  font-family: inherit;
}

.audio-control-btn:hover {
  background: rgba(255,255,255,.12);
  transform: scale(1.05);
}

.audio-control-btn:active { transform: scale(.95); }

.audio-control-btn svg {
  width: 16px;
  height: 16px;
}

.audio-control-btn.primary {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 8px 24px rgba(79,70,229,.5);
}

.audio-control-btn.primary:hover {
  box-shadow: 0 12px 32px rgba(79,70,229,.7);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.audio-control-btn.primary svg {
  width: 20px;
  height: 20px;
}

.audio-control-btn.primary .icon-play {
  margin-left: 2px;
}

/* ═══════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════ */

/* موبایل */
@media (max-width: 600px) {
  .audio-player {
    bottom: 16px;
    left: 16px;
    right: 16px;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 10px;
  }

  .audio-toggle {
    width: 54px;
    height: 54px;
  }

  .audio-toggle svg {
    width: 22px;
    height: 22px;
  }

  .audio-player.open .audio-panel {
    width: 100%;
    max-width: 100%;
  }

  .audio-panel {
    width: 100%;
    max-width: 100%;
    transform: translateY(10px);
  }

  .audio-player.open .audio-panel {
    transform: translateY(0);
  }
}

/* Landscape موبایل */
@media (max-height: 500px) and (orientation: landscape) {
  .audio-player {
    bottom: 10px;
    left: 10px;
  }

  .audio-toggle {
    width: 48px;
    height: 48px;
  }

  .audio-player.open .audio-panel {
    width: 260px;
    max-width: 260px;
  }
}