/* =====================================================================
   Homepage-only visual redesign for Daily Useful Tech
   Scope: this file is linked ONLY from templates/index.html, so nothing
   here touches shop/cart/checkout/other pages.
   Palette pulled from the logo: deep navy + mid blue + bright cyan.
   ===================================================================== */

:root{
  --dut-navy:      #0b2545;
  --dut-navy-deep: #061530;
  --dut-blue:      #155ee0;
  --dut-cyan:      #1fc7ff;
  --dut-cyan-soft: #7fe3ff;
  --dut-gradient:  linear-gradient(135deg, var(--dut-cyan) 0%, var(--dut-blue) 55%, var(--dut-navy) 100%);
  --dut-gradient-soft: linear-gradient(135deg, rgba(31,199,255,.14), rgba(21,94,224,.14));
  --dut-shadow:    0 20px 45px -15px rgba(11,37,69,.35);
}

/* ---------- Font, applied only within homepage ---------- */
body,
h1, h2, h3, h4, h5, h6,
p, a, span, li, button, input, select, .banner-content, .section-title,
.single-product, .single-feature, .about-content, #cookiePopup {
  font-family: 'Outfit', 'Poppins', 'Segoe UI', sans-serif !important;
}

h1, h2, h3, h4, .section-title h2, .banner-content h2 {
  letter-spacing: -0.02em;
}

/* ---------- Shared keyframes ---------- */
@keyframes dutFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dutFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-12px, 18px); }
}
@keyframes dutShine {
  0%   { transform: translateX(-120%) skewX(-15deg); }
  100% { transform: translateX(220%) skewX(-15deg); }
}
@keyframes dutPop {
  0%   { opacity: 0; transform: translateY(18px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* =====================================================================
   BANNER
   ===================================================================== */
.banner{
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.banner:before{
  /* background: linear-gradient(120deg, rgba(6,21,48,.88) 0%, rgba(11,37,69,.72) 45%, rgba(21,94,224,.35) 1%5); */
}

.banner:after{
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,199,255,.35), rgba(31,199,255,0) 70%);
  z-index: -1;
  animation: dutFloat 9s ease-in-out infinite;
  pointer-events: none;
}

.banner-content{
  float: none;
  width: 100%;
  max-width: 640px;
  text-align: left;
  border-left: none;
  padding: 50px 45px;
  background: rgba(11, 37, 69, .38);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--dut-shadow);
  position: relative;
  animation: dutFadeUp .9s ease both;
}

.banner-content:before{
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 4px;
  border-radius: 4px;
  background: var(--dut-gradient);
}

.banner-content h4{
  display: inline-block;
  color: var(--dut-cyan-soft) !important;
  background: rgba(255,255,255,.08);
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 3px;
  font-size: 13px !important;
  border: 1px solid rgba(127,227,255,.35);
}

.banner-content h2{
  color: #fff;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  margin: 22px 0 18px;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.banner-content p{
  width: 100%;
  color: rgba(255,255,255,.85) !important;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
}

@media (max-width: 767px){
  .banner-content{ padding: 34px 26px; }
  .banner-content h2{ font-size: 32px; }
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn-1{
  background: var(--dut-gradient) !important;
  border: none;
  border-radius: 999px;
  padding: 16px 42px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px;
  box-shadow: 0 14px 30px -10px rgba(21,94,224,.55);
  transition: transform .35s ease, box-shadow .35s ease;
  overflow: hidden;
}

.btn-1::before{
  display: none;
}

.btn-1::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-120%) skewX(-15deg);
}

.btn-1:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(21,94,224,.7);
  color: #fff !important;
}

.btn-1:hover::after{
  animation: dutShine .9s ease forwards;
}

/* =====================================================================
   ABOUT SECTION
   ===================================================================== */
.about-section .section-title span,
.section-title span{
  color: var(--dut-blue) !important;
  position: relative;
  padding-left: 26px;
}

.about-section .section-title span:before,
.section-title span:before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--dut-gradient);
  transform: translateY(-50%);
}

.section-title h2,
.about-content .section-title h2{
  background: var(--dut-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--dut-navy);
}

.about-section .image-hover{
  border-radius: 24px;
  box-shadow: var(--dut-shadow);
  transition: transform .5s ease, box-shadow .5s ease;
}

.about-section .image-hover:hover{
  transform: translateY(-6px);
  box-shadow: 0 30px 55px -18px rgba(11,37,69,.45);
}

.about-section .image-hover img{
  transition: transform .6s ease;
  border-radius: 24px;
}

.about-section .image-hover:hover img{
  transform: scale(1.06);
}

.about-section .shape-2{
  background: var(--dut-gradient-soft);
  border-radius: 50%;
  filter: blur(2px);
  animation: dutFloat 7s ease-in-out infinite;
}

.about-section .btn-1{
  margin-top: 6px;
}

/* =====================================================================
   PRODUCT BOXES (shop-section on homepage)
   ===================================================================== */
.shop-section .section-title{
  animation: dutFadeUp .8s ease both;
}

.shop-section .single-product{
  background-color: #ffffff !important;
  border: 1px solid #e7ecf3 !important;
  border-radius: 20px;
  box-shadow: 0 10px 26px -18px rgba(11,37,69,.25);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  animation: dutPop .6s ease both;
}

.shop-section .single-product:hover{
  border-color: var(--dut-cyan) !important;
  box-shadow: 0 26px 48px -18px rgba(21,94,224,.35);
  transform: translateY(-10px);
}

.shop-section .single-product .product-img{
  border-radius: 14px;
  background: linear-gradient(160deg, #f3f8ff, #eef4ff);
}

.shop-section .single-product .product-img a img{
  transition: transform .6s ease;
}

.shop-section .single-product:hover .product-img a img{
  transform: scale(1.08) rotate(-1deg);
}

.shop-section .single-product .product-img .product-action{
  background: var(--dut-gradient) !important;
  border-radius: 0 0 14px 14px;
}

.shop-section .single-product .product-img .product-action .product-btn:hover{
  background: transparent !important;
  color: #fff !important;
  letter-spacing: 2px;
}

.shop-section .single-product .product-content h3 a{
  color: var(--dut-navy);
  font-weight: 600;
  transition: color .3s ease;
}

.shop-section .single-product:hover .product-content h3 a{
  color: var(--dut-blue);
}

.shop-section .single-product .price .new{
  color: var(--dut-blue) !important;
  font-weight: 700;
}

.shop-section .pro-quantity select{
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  padding-left: 14px;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.shop-section .pro-quantity select:hover,
.shop-section .pro-quantity select:focus{
  border-color: var(--dut-blue);
  box-shadow: 0 0 0 3px rgba(21,94,224,.12);
}

/* =====================================================================
   FEATURE / TRUST BADGES
   ===================================================================== */
.feature-section .single-feature{
  padding: 30px 20px;
  border-radius: 18px;
  transition: transform .4s ease, box-shadow .4s ease, background .4s ease;
}

.feature-section .single-feature:hover{
  transform: translateY(-8px);
  background: #fff;
  box-shadow: var(--dut-shadow);
}

.feature-section .single-feature .icon{
  width: 68px;
  height: 68px;
  line-height: 68px;
  text-align: center;
  border-radius: 50%;
  background: var(--dut-gradient);
  margin: 0 auto 20px;
  transition: transform .4s ease;
}

.feature-section .single-feature:hover .icon{
  transform: rotate(-8deg) scale(1.08);
}

.feature-section .single-feature .icon img{
  width: 30px;
  filter: brightness(0) invert(1) !important;
  vertical-align: middle;
}

.feature-section .single-feature .content{
  text-align: center;
}

.feature-section .single-feature .content h2{
  color: var(--dut-navy);
}
