/* ==========================================================================
   chotobill — home.css (হোম পেজের হিরো + স্পেশাল সেকশন)
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 60px;
}
.hero .grid-lines { z-index: 0; }
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 880px; margin: 0 auto; }
.hero .badge-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 20px; }
.hero .sub { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 620px; margin: 0 auto 34px; }
.hero .cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero .cta-row .btn { padding: 12px 24px; font-size: 0.95rem; }

.hero-trust {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 34px; color: var(--muted); font-size: 0.92rem;
}
.hero-trust .avas { display: flex; }
.hero-trust .avas span {
  width: 34px; height: 34px; border-radius: 50%; margin-left: -10px;
  border: 2px solid var(--bg); display: grid; place-items: center;
  font-family: var(--font-bn-head); font-weight: 700; font-size: 0.85rem; color: #fff;
}
.hero-trust .avas span:first-child { margin-left: 0; }
.hero-trust .avas span:nth-child(1) { background: linear-gradient(135deg, #8B2FF2, #6D28D9); }
.hero-trust .avas span:nth-child(2) { background: linear-gradient(135deg, #EC4899, #BE185D); }
.hero-trust .avas span:nth-child(3) { background: linear-gradient(135deg, #22C55E, #15803D); }
.hero-trust .avas span:nth-child(4) { background: linear-gradient(135deg, #F59E0B, #B45309); }
.hero-trust b { color: var(--text); }

/* ---------- ভাসমান কুপন ফ্লোটার ---------- */
.floater { position: absolute; z-index: 1; will-change: transform; }
.float-coupon {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 14px 44px rgba(139, 47, 242, 0.25);
  text-align: left;
  backdrop-filter: blur(6px);
}
.float-coupon .t { font-family: var(--font-en); font-weight: 700; font-size: 1.15rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.float-coupon .n { font-size: 0.8rem; color: var(--muted); }
.float-chip {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: 99px; padding: 10px 18px;
  font-family: var(--font-en); font-weight: 600; font-size: 0.9rem;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.float-chip .emo { font-size: 1.1rem; }

.f1 { top: 20%; left: 6%; transform: rotate(-8deg); }
.f2 { top: 24%; right: 7%; transform: rotate(7deg); }
.f3 { bottom: 26%; left: 11%; transform: rotate(5deg); }
.f4 { bottom: 30%; right: 10%; transform: rotate(-6deg); }
.f5 { top: 52%; left: 2.5%; transform: rotate(-4deg); }
.f6 { top: 55%; right: 3%; transform: rotate(4deg); }
.f2.float-coupon { border-style: dashed; border-color: rgba(236, 72, 153, 0.4); }

@media (max-width: 1100px) { .f5, .f6 { display: none; } }
@media (max-width: 860px) { .f1, .f2, .f3, .f4 { display: none; } }

/* স্পার্কল স্টার */
.sparkle { position: absolute; color: var(--lime); z-index: 1; animation: twinkle 2.4s ease-in-out infinite; }
.sparkle svg { width: 100%; height: 100%; }
.sp1 { width: 22px; top: 18%; left: 30%; }
.sp2 { width: 16px; top: 40%; right: 26%; animation-delay: 0.7s; }
.sp3 { width: 18px; bottom: 22%; left: 38%; animation-delay: 1.3s; }
.sp4 { width: 14px; bottom: 34%; right: 32%; animation-delay: 0.4s; }
@keyframes twinkle { 0%, 100% { transform: scale(0.5) rotate(0deg); opacity: 0.3; } 50% { transform: scale(1.1) rotate(25deg); opacity: 1; } }

/* ---------- Brand ticker strip ---------- */
.brand-strip {
  border-block: 1px solid var(--line-soft);
  background: rgba(18, 18, 28, 0.55);
  padding: 18px 0;
}

/* ---------- Students Only স্ট্যাম্প সেকশন ---------- */
.students-only {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(139, 47, 242, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 70% at 15% 80%, rgba(236, 72, 153, 0.1), transparent 60%);
}
.stamp {
  display: inline-block;
  font-family: var(--font-en); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lime); border: 3.5px dashed var(--lime);
  padding: 14px 30px; border-radius: 18px;
  transform: rotate(-12deg);
  text-shadow: 0 0 24px rgba(217, 249, 157, 0.4);
  box-shadow: 0 0 40px rgba(217, 249, 157, 0.12), inset 0 0 30px rgba(217, 249, 157, 0.06);
}
.students-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .students-grid { grid-template-columns: 1fr; text-align: center; } }
.students-grid .stamp-zone { display: grid; place-items: center; min-height: 220px; }
.verify-points { display: grid; gap: 14px; margin-top: 22px; }
@media (max-width: 860px) { .verify-points { justify-items: center; } }
.verify-points li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.verify-points .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(139, 47, 242, 0.16); border: 1px solid rgba(139, 47, 242, 0.4);
  color: var(--purple-light); display: grid; place-items: center; font-size: 0.8rem;
}

/* ---------- Dual CTA (জব + মার্চেন্ট টিজার) ---------- */
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 860px) { .dual-grid { grid-template-columns: 1fr; } }
.dual-card {
  position: relative; overflow: hidden;
  padding: 40px 34px;
}
.dual-card .big-emo {
  font-size: 3rem; display: inline-block; margin-bottom: 14px;
  filter: drop-shadow(0 8px 22px rgba(139, 47, 242, 0.4));
}
.dual-card::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 47, 242, 0.28), transparent 70%);
}
.dual-card.jb::before { background: radial-gradient(circle, rgba(236, 72, 153, 0.25), transparent 70%); }
.dual-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.dual-card p { color: var(--muted); margin-bottom: 22px; }

/* ---------- App download সেকশন ---------- */
.app-section { position: relative; overflow: hidden; }
.app-wrap {
  position: relative; margin-top: 48px;
  background: linear-gradient(135deg, rgba(139, 47, 242, 0.16), rgba(236, 72, 153, 0.1));
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: clamp(32px, 4.5vw, 56px) clamp(32px, 6vw, 72px);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center;
  overflow: visible;
}
.app-wrap::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(ellipse 70% 90% at 85% 10%, rgba(139, 47, 242, 0.22), transparent 55%);
  pointer-events: none;
}
@media (max-width: 860px) { .app-wrap { grid-template-columns: 1fr; text-align: center; } .store-row { justify-content: center; } .phone-zone { justify-content: center; } }
.app-copy h2 { margin: 14px 0 14px; }
.app-copy p { color: var(--muted); max-width: 440px; }
@media (max-width: 860px) { .app-copy p { margin-inline: auto; } }
.store-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #07070C; border: 1px solid var(--line-soft);
  border-radius: 16px; padding: 12px 22px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.3s;
}
.store-btn:hover { transform: translateY(-4px); border-color: var(--purple); box-shadow: var(--glow-sm); }
.store-btn svg { width: 26px; height: 26px; }
.store-btn small { display: block; font-size: 0.68rem; color: var(--muted); text-align: left; line-height: 1; font-family: var(--font-en); }
.store-btn b { font-family: var(--font-en); font-size: 1rem; line-height: 1.2; }

.phone-zone { display: flex; justify-content: flex-end; align-self: stretch; position: relative; }
/* ফোন: কার্ডের উপরে একটু বেরিয়ে থাকবে */
.phone {
  width: 282px; height: 610px; margin-top: -172px; margin-bottom: -60px; flex: none;
  border-radius: 46px; padding: 9px;
  background: linear-gradient(145deg, #2A2A3F, #11111C);
  box-shadow: 0 24px 56px rgba(139, 47, 242, 0.34), 0 0 0 1.5px rgba(255, 255, 255, 0.1), inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  position: relative; z-index: 2; text-align: left;
  transform: rotate(10deg);
  animation: phoneFloat 5s ease-in-out infinite alternate;
}
@keyframes phoneFloat { from { transform: rotate(6deg) translateY(0); } to { transform: rotate(4deg) translateY(-12px); } }
.phone-btn { position: absolute; width: 3px; background: #2A2A3F; border-radius: 2px; }
.phone-btn--power { right: -3px; top: 120px; height: 56px; }
.phone-btn--vol { left: -3px; top: 110px; height: 40px; box-shadow: 0 54px 0 #2A2A3F; }

.phone-screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 38px;
  background: #F6F4FB; color: #111; display: flex; flex-direction: column;
}
.phone .island {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 78px; height: 20px; border-radius: 99px; background: #0B0B12;
}
.ph-status {
  position: absolute; top: 10px; left: 0; right: 0; z-index: 2; padding: 0 22px;
  display: flex; justify-content: space-between; font-size: 0.64rem; font-weight: 700; color: #fff;
  font-family: var(--font-en);
}
.ph-status__r { letter-spacing: 1px; font-size: 0.55rem; }

.ph-header {
  background: linear-gradient(135deg, #6A3EC8, #5A2FB5); color: #fff;
  padding: 38px 12px 14px; border-radius: 0 0 24px 24px; flex: none;
}
.ph-top { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.ph-avatar, .ph-bell {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.2);
  display: grid; place-items: center; font-size: 0.8rem; flex: none;
}
.ph-greet { flex: 1; min-width: 0; line-height: 1.2; }
.ph-greet b { display: block; font-size: 0.78rem; font-weight: 600; }
.ph-greet small { font-size: 0.64rem; opacity: 0.85; }
.ph-search {
  height: 30px; border-radius: 15px; background: rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; gap: 6px; padding: 0 11px;
  font-size: 0.64rem; color: rgba(255, 255, 255, 0.85);
}
.ph-promo { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 0 2px; }
.ph-promo__t { font-size: 1.15rem; font-weight: 700; line-height: 1.1; font-family: var(--font-en); }
.ph-promo__c { font-size: 0.6rem; margin-top: 6px; opacity: 0.95; }
.ph-promo__gift { font-size: 2.6rem; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25)); }

.ph-body { flex: 1; min-height: 0; padding: 10px 12px 0; overflow: hidden; }
.ph-sec { font-size: 0.78rem; font-weight: 700; margin: 4px 0 7px; color: #111; }
.ph-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.ph-cats span { display: grid; justify-items: center; gap: 3px; font-size: 0.58rem; font-weight: 600; color: #333; }
.ph-cats i {
  width: 40px; height: 40px; border-radius: 14px; background: #fff; font-style: normal; font-size: 1.1rem;
  display: grid; place-items: center; box-shadow: 0 2px 8px rgba(90, 47, 181, 0.12);
}
/* অ্যাপের OfferItemCard: সাদা কার্ড, স্কয়ার ইমেজ, নিচে টাইটেল + % Off */
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-card {
  background: #fff; border-radius: 12px; padding: 4px 4px 7px; text-align: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}
.ph-card__img {
  position: relative; aspect-ratio: 1; border-radius: 10px; background: #EEEEEE;
  display: grid; place-items: center; overflow: hidden;
}
.ph-card__img em { font-style: normal; font-size: 2.3rem; line-height: 1; }
.ph-heart {
  position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; color: #111; font-size: 0.72rem; line-height: 20px; text-align: center;
}
.ph-heart--on { color: #E53935; }
.ph-card__t { margin-top: 6px; padding: 0 4px; font-size: 0.56rem; font-weight: 500; line-height: 1.25; color: #222; }
.ph-card__d { margin-top: 3px; font-size: 0.72rem; font-weight: 700; color: #111; }

.ph-nav {
  flex: none; display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px 4px 12px;
  background: #fff; border-top: 1px solid #ECE8F5;
}
.ph-nav span { display: grid; justify-items: center; gap: 2px; font-size: 0.5rem; font-weight: 600; color: #8A8499; }
.ph-nav svg { width: 15px; height: 15px; }
.ph-nav .on { color: #5A2FB5; }

@media (max-width: 860px) {
  .app-wrap { gap: 0; padding: 28px 24px 0; margin-top: 0; }
  .store-row { margin-top: 16px; }
  /* ফোন একই সাইজ; কার্ডের নিচ থেকে বেরিয়ে থাকবে, ফলে কার্ড ছোট */
  .phone { margin-top: 12px; margin-bottom: -76px; height: 610px; }
  .phone-zone { align-self: auto; justify-content: center; }
  .app-ring { right: 50%; margin-right: -160px; top: 50%; }
}
.app-ring {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  border: 1.5px dashed rgba(155, 77, 245, 0.4); right: -19px; top: calc(50% - 55px); transform: translateY(-50%);
  animation: ringSpin 24s linear infinite;
}
@keyframes ringSpin { to { transform: translateY(-50%) rotate(360deg); } }

/* ---------- ক্যাটাগরি কার্ড ---------- */
.cat-card { text-align: center; display: block; }
.cat-card .icon-blob { margin-inline: auto; font-size: 1.9rem; }
.cat-card .cat-en { font-size: 0.78rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 2px; }
.cat-card:hover { transform: translateY(-6px); }

/* ---------- টেস্টিমোনিয়াল মার্কি ---------- */
.tst-marquee .marquee-track { animation-duration: 42s; }

/* হোমে কুপন প্রিভিউ গ্রিডে hover lift */
.deals-grid .coupon:hover { transform: translateY(-6px); }
