﻿  /* ══════════════════════════════════════════
     PREMIUM ANIMATIONS & GLASS EFFECTS
     শুধু visual enhancement — কোনো logic নেই
  ══════════════════════════════════════════ */

  /* ── Scroll reveal animation ── */
  @keyframes revealUp {
    from { opacity:0; transform:translateY(32px); filter:blur(4px); }
    to   { opacity:1; transform:translateY(0);    filter:blur(0);   }
  }
  @keyframes revealFade {
    from { opacity:0; transform:scale(0.96); }
    to   { opacity:1; transform:scale(1);    }
  }
  @keyframes shimmerSlide {
    0%   { transform:translateX(-100%) skewX(-15deg); }
    100% { transform:translateX(250%)  skewX(-15deg); }
  }
  @keyframes glowPulse {
    0%,100% { box-shadow:0 0 0 0 rgba(59,130,246,0); }
    50%      { box-shadow:0 0 24px 4px rgba(59,130,246,0.18); }
  }
  @keyframes borderGlow {
    0%,100% { border-color:rgba(255,255,255,0.07); }
    50%      { border-color:rgba(99,102,241,0.35);  }
  }
  @keyframes floatY {
    0%,100% { transform:translateY(0); }
    50%      { transform:translateY(-6px); }
  }
  @keyframes iconBounce {
    0%,100% { transform:scale(1); }
    40%      { transform:scale(1.18) rotate(-8deg); }
    70%      { transform:scale(0.94) rotate(4deg); }
  }

  /* ── Hero badge — subtle pulse ring ── */
  .hero-badge {
    animation: glowPulse 3s ease-in-out infinite;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .hero-badge:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 0 20px rgba(59,130,246,0.3);
  }

  /* ── Primary button — shimmer sweep on hover ── */
  .btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: translateX(-100%) skewX(-15deg);
    pointer-events: none;
  }
  .btn-primary:hover::after {
    animation: shimmerSlide 0.65s ease forwards;
  }

  /* ── Secondary button — glass fill on hover ── */
  .btn-secondary {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .btn-secondary:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(139,92,246,0.4);
    box-shadow: 0 4px 20px rgba(139,92,246,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
  }

  /* ── Floating cards — enhanced glass ── */
  .float-card {
    background: rgba(12,12,22,0.88) !important;
    backdrop-filter: blur(20px) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.4) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.1) !important;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s !important;
  }
  .float-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(99,102,241,0.25), inset 0 1px 0 rgba(255,255,255,0.15) !important;
  }

  /* ── Stat cards — glow border animation ── */
  .stat-item {
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1) !important;
  }
  .stat-item:hover {
    border-color: rgba(99,102,241,0.35) !important;
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(99,102,241,0.15) !important;
    background: rgba(17,17,28,0.95) !important;
  }
  .stat-item:hover .stat-num {
    filter: drop-shadow(0 0 12px rgba(99,102,241,0.5));
    transition: filter 0.4s;
  }

  /* ── Step cards — left border accent on hover ── */
  .step-card {
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1) !important;
  }
  .step-card::after {
    content: '';
    position: absolute;
    left: 0; top: 15%; bottom: 15%;
    width: 2px;
    background: linear-gradient(180deg, transparent, #3b82f6, #8b5cf6, transparent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.35s;
  }
  .step-card:hover::after { opacity: 1; }
  .step-card:hover {
    transform: translateX(5px) translateY(-3px) !important;
    border-color: rgba(59,130,246,0.25) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3), -4px 0 20px rgba(59,130,246,0.08) !important;
  }

  /* ── Feature cards — glass glow ── */
  .feature-card {
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1) !important;
    position: relative;
    overflow: hidden;
  }
  .feature-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 0%, rgba(99,102,241,0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
  }
  .feature-card:hover::before { opacity: 1; }
  .feature-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(99,102,241,0.28) !important;
    box-shadow: 0 20px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(99,102,241,0.12) !important;
    background: rgba(14,14,22,0.98) !important;
  }
  .feature-card:hover .feature-icon {
    animation: iconBounce 0.55s ease forwards;
  }

  /* ── Pricing cards — featured card breathe ── */
  .pricing-card {
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1) !important;
  }
  .pricing-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 56px rgba(0,0,0,0.35) !important;
  }
  .pricing-card.featured {
    animation: borderGlow 4s ease-in-out infinite;
  }
  .pricing-card.featured:hover {
    box-shadow: 0 24px 56px rgba(99,102,241,0.2), 0 0 0 1px rgba(99,102,241,0.3) !important;
  }

  /* ── Plan buttons — shimmer ── */
  .plan-btn { position: relative; overflow: hidden; }
  .plan-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-15deg);
    transition: left 0.5s ease;
    pointer-events: none;
  }
  .plan-btn:hover::after { left: 130%; }

  /* ── Magic cards (how it works) — glass shimmer ── */
  .magic-card {
    backdrop-filter: blur(24px) saturate(1.3) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.3) !important;
    transition: all 0.45s cubic-bezier(0.16,1,0.3,1) !important;
  }
  .magic-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    border-color: rgba(99,102,241,0.3) !important;
    box-shadow: 0 24px 56px rgba(0,0,0,0.4), 0 0 0 1px rgba(99,102,241,0.15) !important;
  }

  /* ── Tool badges ── */
  .tool-badge {
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1) !important;
    backdrop-filter: blur(8px);
  }
  .tool-badge:hover {
    transform: translateY(-3px) scale(1.05) !important;
    border-color: rgba(99,102,241,0.35) !important;
    color: var(--tx) !important;
    background: rgba(99,102,241,0.08) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
  }

  /* ── Nav CTA — pulse glow ── */
  .nav-cta {
    animation: glowPulse 4s ease-in-out infinite;
    transition: all 0.3s !important;
  }
  .nav-cta:hover {
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 0 6px 20px rgba(59,130,246,0.35) !important;
    animation: none !important;
  }

  /* ── Scroll reveal — triggered by JS ── */
  .pm-reveal {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(3px);
    transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1),
                transform 0.65s cubic-bezier(0.16,1,0.3,1),
                filter 0.65s ease;
  }
  .pm-reveal.pm-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  .pm-reveal-delay-1 { transition-delay: 0.1s !important; }
  .pm-reveal-delay-2 { transition-delay: 0.2s !important; }
  .pm-reveal-delay-3 { transition-delay: 0.3s !important; }
  .pm-reveal-delay-4 { transition-delay: 0.4s !important; }

  /* ── CTA section — glass card ── */
  .cta-section .container > * {
    position: relative;
    z-index: 1;
  }

  /* ── FAQ items — glass card animation ── */
  @keyframes faqSlideIn {
    from { opacity:0; transform:translateX(-12px); }
    to   { opacity:1; transform:translateX(0); }
  }
  @keyframes faqGlowBorder {
    0%,100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); }
    50%      { box-shadow: 0 0 16px 2px rgba(99,102,241,0.12); }
  }
  .faq-item {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1) !important;
    position: relative !important;
    overflow: hidden !important;
  }
  .faq-item::before {
    content: '' !important;
    position: absolute !important;
    left: 0; top: 0; bottom: 0 !important;
    width: 3px !important;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6) !important;
    border-radius: 0 2px 2px 0 !important;
    opacity: 0 !important;
    transition: opacity 0.35s ease !important;
  }
  .faq-item:hover::before,
  .faq-item.open::before { opacity: 1 !important; }
  .faq-item:hover {
    border-color: rgba(99,102,241,0.28) !important;
    transform: translateX(4px) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), -4px 0 16px rgba(59,130,246,0.06) !important;
    background: rgba(14,14,24,0.98) !important;
  }
  .faq-item.open {
    border-color: rgba(59,130,246,0.3) !important;
    background: rgba(12,12,22,0.98) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3) !important;
    transform: translateX(4px) !important;
  }
  .faq-q {
    transition: color 0.25s, padding-left 0.3s !important;
  }
  .faq-q:hover { 
    color: rgba(255,255,255,0.98) !important;
    padding-left: 26px !important;
  }
  .faq-item.open .faq-q {
    color: rgba(255,255,255,0.98) !important;
    padding-left: 26px !important;
  }
  .faq-a-inner {
    animation: faqSlideIn 0.35s cubic-bezier(0.16,1,0.3,1) both !important;
  }

  /* ── Section headings — subtle entrance ── */
  .section-tag {
    transition: letter-spacing 0.4s, opacity 0.4s;
  }
