


@keyframes typing {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.search-container input[type="text"]::placeholder {
    animation: typing 2s ease-in-out infinite;
}





@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.search-container button:hover i {
    animation: iconPulse 0.6s ease-in-out;
}


@keyframes resultFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(99,102,241,.08);
    transition: all .2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    animation: resultFadeIn 0.3s ease-out;
}

.search-result-item:nth-child(1) { animation-delay: 0.05s; }
.search-result-item:nth-child(2) { animation-delay: 0.1s; }
.search-result-item:nth-child(3) { animation-delay: 0.15s; }
.search-result-item:nth-child(4) { animation-delay: 0.2s; }
.search-result-item:nth-child(5) { animation-delay: 0.25s; }


@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.search-result-item.loading {
    background: linear-gradient(
        90deg,
        rgb(255 255 255 / 5%) 0%,
        rgb(255 255 255 / 10%) 50%,
        rgb(255 255 255 / 5%) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}


.search-result-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-result-item:hover::before {
    opacity: 1;
}


.search-result-price {
    position: relative;
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    color: #f472b6;
    flex-shrink: 0;
}

.search-result-price::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.search-result-item:hover .search-result-price::after {
    left: 100%;
}


@media (max-width: 768px) {
    .search-result-item {
        padding: 12px 15px;
    }
    
    .search-result-image {
        width: 50px;
        height: 50px;
    }
    
    .search-result-title {
        font-size: 14px;
    }
    
    .search-result-price {
        font-size: 14px;
    }
}


.search-result-item:focus {
    outline: 2px solid #6366f1;
    outline-offset: -2px;
}

.search-container input[type="text"]:focus {
    outline: none;
}


.fa-spinner.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


#searchResults {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 9999;
  background: #111827;
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 16px;
  width: 100%;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,.5);
  display: none;
}
#searchResults.show { display:block; animation:slideDown .3s ease; }
#searchResults.loading { display:block; padding:30px; text-align:center; color:var(--color-accent); }
@keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(99,102,241,.08); padding-left: 24px; }
.search-result-image { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; border: 1px solid rgba(99,102,241,.15); }
.search-result-content { flex: 1; min-width: 0; }
.search-result-title { font-size: 14px; font-weight: 600; color: #e2e8f0; margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-category { font-size: 11px; color: #818cf8; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.search-no-results, .search-error { padding: 40px 20px; text-align: center; color: #64748b; }
.search-no-results i,.search-error i { font-size:40px; color:#334155; margin-bottom:12px; display:block; }
.search-no-results p,.search-error p { margin:0; font-size:14px; }
#searchResults::-webkit-scrollbar { width:6px; }
#searchResults::-webkit-scrollbar-track { background:transparent; }
#searchResults::-webkit-scrollbar-thumb { background:rgba(99,102,241,.3); border-radius:10px; }
.search-loading { padding:30px; text-align:center; color:var(--color-accent); }
.search-loading i { font-size:24px; display:block; margin-bottom:8px; }
.search-loading p { margin:0; font-size:14px; }


.hero-stack-shine {
  position:absolute; inset:0; pointer-events:none; opacity:0; transition:opacity .6s ease;
  background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.03) 45%,rgba(255,255,255,.06) 50%,rgba(255,255,255,.03) 55%,transparent 60%);
}
.hero-stack-card.active .hero-stack-shine { opacity:1; animation:heroShineMove 3s ease-in-out infinite; }
@keyframes heroShineMove { 0% { transform:translateX(-100%); } 100% { transform:translateX(100%); } }

.hero-stack-overlay {
  position:absolute; inset:0; border-radius:18px;
  background:linear-gradient(180deg,transparent 50%,rgba(10,14,26,.8) 100%);
  display:flex; align-items:flex-end; justify-content:center; padding-bottom:24px;
  opacity:0; transition:opacity .35s ease; pointer-events:none;
}
.hero-stack-card.active:hover .hero-stack-overlay { opacity:1; }
.hero-stack-demo-btn {
  display:inline-flex; align-items:center; gap:8px; padding:10px 24px;
  background:linear-gradient(135deg,#6366f1,#8b5cf6); color:#fff; border-radius:10px;
  font-size:12px; font-weight:600; box-shadow:0 8px 25px rgba(99,102,241,.4);
  transform:translateY(8px); transition:transform .35s cubic-bezier(0.16,1,0.3,1); pointer-events:auto;
}
.hero-stack-card.active:hover .hero-stack-demo-btn { transform:translateY(0); }

.hero-stack-glow {
  position:absolute; inset:-2px; border-radius:20px; z-index:-1;
  background:conic-gradient(from 0deg,rgba(99,102,241,.5),rgba(139,92,246,.3),rgba(244,114,182,.3),rgba(99,102,241,.5));
  opacity:0; filter:blur(8px); transition:opacity .6s ease; pointer-events:none;
}
.hero-stack-card.active .hero-stack-glow { opacity:1; animation:heroGlowRotate 4s linear infinite; }
@keyframes heroGlowRotate { to { filter:blur(8px) hue-rotate(30deg); } }

.hero-stack-card { box-shadow:0 25px 60px rgba(0,0,0,.4),0 0 0 1px rgba(99,102,241,.1); }
.hero-stack-card.active { box-shadow:0 35px 80px rgba(0,0,0,.5),0 0 60px rgba(99,102,241,.1),0 0 0 1px rgba(99,102,241,.2); }

.hero-stack-progress { width:120px; height:3px; background:rgba(99,102,241,.1); border-radius:3px; margin:12px auto 0; overflow:hidden; position:relative; z-index:5; }
.hero-stack-progress-bar { height:100%; width:0%; background:linear-gradient(90deg,#6366f1,#818cf8); border-radius:3px; transition:width .1s linear; }

.hero-theme-info { position:absolute; bottom:-20px; right:-20px; z-index:12; width:200px; }
.hero-tinfo { display:none; flex-direction:column; gap:4px; padding:14px 16px; background:rgba(10,14,26,.88); border:1px solid rgba(99,102,241,.15); border-radius:14px; backdrop-filter:blur(24px); box-shadow:0 12px 40px rgba(0,0,0,.5); }
.hero-tinfo.active { display:flex; animation:heroInfoPop .45s cubic-bezier(0.16,1,0.3,1) both; }
@keyframes heroInfoPop { from { opacity:0; transform:translateY(10px) scale(.96); } to { opacity:1; transform:translateY(0) scale(1); } }
.hero-tinfo-cat { font-size:9px; font-weight:700; color:#818cf8; text-transform:uppercase; letter-spacing:1px; }
.hero-tinfo-name { font-size:13px; font-weight:700; color:#f1f5f9; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.hero-tinfo-row { display:flex; align-items:center; justify-content:space-between; margin-top:4px; padding-top:8px; border-top:1px solid rgba(99,102,241,.1); }
.hero-tinfo-price { font-size:16px; font-weight:800; color:#f1f5f9; }
.hero-tinfo-btn { display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:600; color:#818cf8; text-decoration:none; padding:5px 12px; border-radius:8px; background:rgba(99,102,241,.1); border:1px solid rgba(99,102,241,.15); transition:all .2s ease; }
.hero-tinfo-btn:hover { background:rgba(99,102,241,.2); color:#c7d2fe; }
.hero-tinfo-btn i { font-size:9px; }

.hero-stack-nav { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:28px; position:relative; z-index:5; }
.hero-stack-prev,.hero-stack-next { width:36px; height:36px; border-radius:50%; padding:0; border:1px solid rgba(99,102,241,.2); background:rgba(15,23,42,.8); color:#94a3b8; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:12px; transition:all .25s ease; backdrop-filter:blur(12px); }
.hero-stack-prev:hover,.hero-stack-next:hover { border-color:rgba(99,102,241,.4); color:#c7d2fe; background:rgba(99,102,241,.1); transform:scale(1.08); }
.hero-stack-dots { display:flex; gap:6px; align-items:center; }
.hero-sdot { width:8px; height:8px; border-radius:50%; border:none; background:rgba(99,102,241,.2); cursor:pointer; padding:0; transition:all .35s cubic-bezier(0.16,1,0.3,1); }
.hero-sdot.active { background:#818cf8; width:28px; border-radius:4px; box-shadow:0 0 12px rgba(99,102,241,.4); }

.hero-tech-orbit { position:absolute; top:50%; right:-35px; transform:translateY(-50%); z-index:13; display:flex; flex-direction:column; gap:10px; }
.hero-tech-badge { padding:7px 16px; background:rgba(15,23,42,.92); border:1px solid rgba(99,102,241,.2); border-radius:20px; font-size:10px; font-weight:700; color:#c7d2fe; backdrop-filter:blur(16px); box-shadow:0 6px 24px rgba(0,0,0,.35); letter-spacing:.5px; white-space:nowrap; animation:heroTechFloat 5s ease-in-out infinite; }
.hero-tech-1 { animation-delay:0s; } .hero-tech-2 { animation-delay:1.2s; } .hero-tech-3 { animation-delay:2.4s; }
@keyframes heroTechFloat { 0%,100% { transform:translateY(0) translateX(0); } 50% { transform:translateY(-6px) translateX(4px); } }

.hero-bottom-bar { position:absolute; bottom:0; left:0; right:0; z-index:3; background:rgba(10,14,26,.92); border-top:1px solid rgba(99,102,241,.15); backdrop-filter:blur(20px); padding:16px 0; }
.hero-bottom-inner { max-width:1280px; margin:0 auto; padding:0 30px; display:flex; align-items:center; justify-content:center; gap:40px; flex-wrap:wrap; }
.hero-bottom-item { display:flex; align-items:center; gap:8px; font-size:12px; color:#64748b; font-weight:500; }
.hero-bottom-item svg { flex-shrink:0; }
.hero-bottom-item i { font-size:14px; color:#818cf8; }

@media (max-width:1100px) { .hero-stack-card { width:360px; } .hero-tech-orbit { right:-15px; } .hero-theme-info { right:-10px; } }
@media (max-width:768px) {
  .slider-section { flex-direction:column; align-items:stretch; }
  .hero-bottom-bar { position:relative; bottom:auto; left:auto; right:auto; width:100%; box-sizing:border-box; }
  .hero-bottom-inner { gap:16px; justify-content:center; }
  .hero-bottom-item { font-size:11px; }
}
@media (max-width:480px) {
  .hero-bottom-inner { gap:12px; padding:0 15px; }
  .hero-bottom-item { font-size:10px; }
  .hero-bottom-item i { font-size:12px; }
}

@media (prefers-reduced-motion:reduce) {
  .hero-stack-shine,.hero-stack-glow,.hero-tech-badge { animation:none; }
  .hero-stack-card { transition:none; }
  .hero-tinfo.active { animation:none; }
  .hero-gallery,.hero-cta-row { animation:none; opacity:1; transform:none; }
}



.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--sec-dark-bg, #0f172a);
  border-top: 1px solid var(--sec-dark-border, rgba(99,102,241,.2));
  padding: 12px 20px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  
  
}

.msc-price {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 12px;
}

.msc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(99,102,241,.4);
  transition: all .25s ease;
  flex-shrink: 0;
}

.msc-btn:hover,
.msc-btn:focus {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 6px 20px rgba(99,102,241,.55);
  color: #fff;
  transform: translateY(-1px);
}

.msc-btn i {
  font-size: 11px;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
  }

  
  body {
    padding-bottom: 62px;
  }
}


.mobile-sticky-cta.msc-hidden {
  transform: translateY(100%);
  transition: transform .3s ease;
}
.mobile-sticky-cta:not(.msc-hidden) {
  transform: translateY(0);
  transition: transform .3s ease;
}
