/* ========================================================================= */
/*                           SAFEQBIT PRODUCT PAGE                           */
/* ========================================================================= */

:root {
  --prod-bg: #f8faff;
  --prod-primary: #021061;
  --prod-accent: #4AAFFA;
  --prod-text: #334155;
  --prod-text-light: #64748b;
  --prod-border: rgba(2, 16, 97, 0.1);
  --prod-card-bg: #ffffff;
  --prod-tint: #f0f5ff;
}

/* --- Hero Section --- */
.product-hero {
  background: linear-gradient(135deg, #021061 0%, #0a1f8a 60%, #021061 100%);
  padding: 130px 0 90px;
  color: white;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.product-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 175, 250, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
}

.product-hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 175, 250, 0.08) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  pointer-events: none;
  z-index: 0;
}

.product-hero .container {
  position: relative;
  z-index: 1;
}

.product-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #fff, #4AAFFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInDown 0.8s ease both;
}

.product-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: rgba(244, 248, 255, 0.88);
  margin-bottom: 25px;
  animation: fadeInUp 0.9s ease 0.2s both;
  text-align: center;
}

/* --- Product Intro Section (Shifted from Hero) --- */
.product-intro-section {
  background-color: var(--prod-bg);
  padding: 80px 0 60px;
  position: relative;
  border-bottom: 1px solid var(--prod-border);
}

.product-kicker {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--prod-primary);
  font-weight: 800;
  margin-bottom: 16px;
  display: inline-block;
  background: rgba(2, 16, 97, 0.05);
  padding: 6px 20px;
  border-radius: 50px;
  border: 1px solid rgba(2, 16, 97, 0.1);
  box-shadow: 0 4px 15px rgba(2, 16, 97, 0.05);
}

.product-lead {
  font-size: 20px;
  max-width: 850px;
  margin: 0 auto 40px;
  color: var(--prod-text);
  line-height: 1.8;
  font-weight: 500;
  text-align: justify;
}

.product-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.product-meta__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--prod-text);
  background: white;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid var(--prod-border);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.product-meta__item:hover {
  background: white;
  transform: translateY(-3px);
  border-color: var(--prod-accent);
  box-shadow: 0 10px 20px rgba(2, 16, 97, 0.08);
}

.product-meta__item i {
  color: var(--prod-accent);
  font-size: 18px;
}

.product-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.product-cta .btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
}

/* Secondary CTA for light bg */
.product-cta-secondary {
  background: white;
  border: 1.5px solid var(--prod-primary);
  color: var(--prod-primary);
}

.product-cta-secondary:hover {
  background: var(--prod-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(2, 16, 97, 0.15);
}

.product-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  border-top: 1px solid var(--prod-border);
  padding-top: 30px;
  flex-wrap: wrap;
}

.product-nav__link {
  color: var(--prod-text-light);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 6px;
}

.product-nav__link:hover {
  color: var(--prod-primary);
}

.product-nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--prod-accent);
  transition: width 0.3s ease;
}

.product-nav__link:hover::after {
  width: 100%;
}

/* --- Main Content Area --- */
.product-page {
  background-color: var(--prod-bg);
  padding: 100px 0;
  color: var(--prod-text);
  overflow: hidden;
}

.product-section {
  scroll-margin-top: 100px;
  margin-bottom: 40px;
}

.product-h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--prod-primary);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
}

.product-h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 60px;
  height: 4px;
  background: var(--prod-accent);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(74, 175, 250, 0.4);
}

.product-h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--prod-primary);
  margin-bottom: 20px;
}

.product-p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--prod-text-light);
  margin-bottom: 28px;
  text-align: justify;
}

.product-block {
  background: white;
  padding: 60px;
  border-radius: 32px;
  box-shadow: 0 10px 40px rgba(2, 16, 97, 0.05);
  height: 100%;
  border: 1px solid rgba(2, 16, 97, 0.06);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.product-block:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(2, 16, 97, 0.12);
  border-color: rgba(74, 175, 250, 0.2);
}

.product-block--tint {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border: none;
}

.product-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.product-bullet {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--prod-primary);
  padding: 18px 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-bullet:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(74, 175, 250, 0.1);
  border-color: var(--prod-accent);
}

.product-bullet i {
  color: var(--prod-accent);
  font-size: 24px;
  flex-shrink: 0;
}

/* --- Capabilities Grid --- */
.product-cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.product-cap {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: white;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
  border: 1px solid rgba(2, 16, 97, 0.05);
}

.product-cap:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(2, 16, 97, 0.08);
  border-color: var(--prod-accent);
}

.product-cap__icon {
  width: 60px;
  height: 60px;
  background: #f0f7ff;
  color: var(--prod-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 28px;
  transition: all 0.3s ease;
}

.product-cap:hover .product-cap__icon {
  background: var(--prod-accent);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.product-cap__title {
  font-weight: 800;
  font-size: 19px;
  color: var(--prod-primary);
  margin-top: 5px;
}

.product-cap__text {
  font-size: 15px;
  color: var(--prod-text-light);
  line-height: 1.6;
  text-align: justify;
}

/* --- Divider --- */
.product-divider {
  height: 1px;
  background: radial-gradient(circle, rgba(2, 16, 97, 0.1) 0%, transparent 80%);
  margin: 80px 0;
}

/* --- Cards --- */
.product-card {
  background: white;
  padding: 50px;
  border-radius: 28px;
  border-left: 6px solid var(--prod-accent);
  box-shadow: 0 10px 30px rgba(2, 16, 97, 0.04);
  height: 100%;
  transition: all 0.4s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(2, 16, 97, 0.08);
}

.product-mini-card {
  background: white;
  padding: 45px 35px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(2, 16, 97, 0.05);
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-mini-card i {
  font-size: 40px;
  color: var(--prod-accent);
  margin-bottom: 20px;
  display: block;
}

.product-mini-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(2, 16, 97, 0.1);
  border-color: var(--prod-accent);
}

/* --- Final CTA --- */
.product-final-cta {
  background: linear-gradient(135deg, #021061 0%, #0a1f8a 100%);
  border-radius: 40px;
  padding: 80px 60px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(2, 16, 97, 0.2);
}

.product-final-cta::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74, 175, 250, 0.1) 0%, transparent 70%);
  top: -150px;
  right: -150px;
}

.product-final-cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.product-final-cta .product-h2 {
  color: white;
  margin-bottom: 15px;
}

.product-final-cta .product-h2::after {
  background: var(--prod-accent);
}

.product-final-cta .product-p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-size: 20px;
}

.product-final-cta .btn {
  padding: 18px 45px;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

@media (max-width: 991px) {
  .product-final-cta__inner {
    flex-direction: column;
    text-align: center;
  }

  .product-final-cta .btn {
    align-self: center;
  }
}

/* --- Animations --- */

/* --- Responsive --- */
@media (max-width: 1200px) {
  .product-title {
    font-size: 48px;
  }

  .product-block {
    padding: 45px;
  }
}

@media (max-width: 992px) {
  .product-title {
    font-size: 42px;
  }

  .product-h2 {
    font-size: 34px;
  }

  .product-intro-section {
    padding: 60px 0;
  }

  .product-final-cta__inner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .product-final-cta .btn {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .product-title {
    font-size: 34px;
  }

  .product-subtitle {
    font-size: 18px;
  }

  .product-lead {
    font-size: 17px;
    margin-bottom: 30px;
  }

  .product-hero {
    padding: 110px 0 70px;
  }

  .product-meta {
    gap: 12px;
  }

  .product-meta__item {
    padding: 10px 18px;
    font-size: 14px;
  }

  .product-cta .btn {
    width: 100%;
  }

  .product-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding: 10px 0 15px;
    margin: 0 -15px;
    /* Pull to edges */
    padding-left: 15px;
    padding-right: 15px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  .product-nav::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
  }

  .product-nav__link {
    flex: 0 0 auto;
    font-size: 14px;
    padding: 0 5px 6px;
  }

  .product-page {
    padding: 60px 0;
  }

  .product-block {
    padding: 35px 25px;
    border-radius: 24px;
  }

  .product-h2 {
    font-size: 28px;
  }

  .product-h2::after {
    width: 40px;
  }

  .product-final-cta {
    padding: 50px 30px;
    border-radius: 30px;
  }

  .product-final-cta .product-p {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .product-title {
    font-size: 28px;
  }

  .product-cap {
    padding: 25px 20px;
  }

  .product-mini-card {
    padding: 35px 20px;
  }
}