/* ==========================================================================
   PRATYIN — PRODUCT PAGE (v2)
   Scope: hero, products, security, CTA. Header/footer are untouched and
   styled by the existing template stylesheets.
   ========================================================================== */

:root {
  --pp-navy: #081a39;
  --pp-orange: #2563eb;
  --pp-orange-dark: #1d4ed8;
  --pp-bg-soft: #f8fafc;
  --pp-border: #e7eaf0;
  --pp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.pt-product-page {
  font-family: var(--font-body, "Segoe UI", sans-serif);
}

.pt-product-page h1,
.pt-product-page h2,
.pt-product-page h3,
.pt-product-page h4 {
  font-family: var(--font-display, "Segoe UI", sans-serif);
}

/*==========================
SECTION EYEBROWS
(shared "pill + dot" treatment for PRODUCTS / ENTERPRISE SECURITY /
GET STARTED TODAY, and the hero badge)
==========================*/

.section-header span,
.section-tag,
.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.section-header span::before,
.section-tag::before,
.cta-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* PRODUCTS / section-header span is centered text with no pill
   background in the reference — give it a pill so it matches the
   other two eyebrows, and keep it centered via the parent's text-align */
.section-header span {
  padding: 8px 16px;
  background: #eff6ff;
  border-radius: 50px;
}

/*==========================
HERO
==========================*/

.hero-section {
  padding: 110px 0 50px;
  background: var(--pp-bg-soft);
  overflow: hidden;
  position: relative;
}

/* soft ambient glow behind the hero content — quiet, not decorative noise */
.hero-section::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.08),
    rgba(37, 99, 235, 0) 70%
  );
  top: -260px;
  right: -160px;
  pointer-events: none;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.hero-content {
  width: 50%;
}

.hero-image {
  width: 50%;
  position: relative;
}

.hero-tag {
  display: inline-block;
  padding: 9px 18px;
  background: #fff1ea;
  color: var(--pp-orange);
  font-size: 13px;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 18px;
  letter-spacing: 0.4px;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--pp-navy);
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-content h1 span {
  display: block;
  color: var(--pp-orange);
}

.hero-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--pp-navy);
  max-width: 550px;
  margin-bottom: 38px;
}

.hero-buttons {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.hero-buttons a.btn,
.hero-buttons > a,
.hero-buttons .btn,
.hero-buttons .btn.btn-primary.solid.cd-btn,
.hero-buttons .btn-primary-custom,
.hero-buttons a.btn-primary-custom {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  min-width: 180px;
  width: auto;
  height: 56px !important;
  padding: 0 30px !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  border-radius: 14px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

.hero-buttons .btn-primary-custom,
.hero-buttons a.btn-primary-custom {
  background: var(--pp-navy) !important;
  color: #fff !important;
  border: 1px solid var(--pp-navy) !important;
  transition: 0.3s var(--pp-ease);
  box-shadow: 0 12px 28px rgba(8, 26, 57, 0.18);
}

.hero-buttons .btn.btn-primary.solid.cd-btn {
  background: var(--pp-orange) !important;
  border: 1px solid var(--pp-orange) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}

.btn-primary-custom:hover {
  background: var(--pp-orange);
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.25);
}

.btn-secondary-custom {
  background: #fff;
  border: 1px solid #d0d5dd;
  color: var(--pp-navy);
  padding: 16px 36px;
  border-radius: 14px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s var(--pp-ease);
}

.btn-secondary-custom:hover {
  border-color: var(--pp-orange);
  color: var(--pp-orange);
  text-decoration: none;
  transform: translateY(-3px);
}

.hero-image img {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(8, 26, 57, 0.16);
  display: block;
  transition: transform 0.6s var(--pp-ease);
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--pp-rx, 0deg))
    rotateY(var(--pp-ry, 0deg)) translateY(var(--pp-ty, 0px));
  will-change: transform;
}

.floating-card {
  position: absolute;
  left: -35px;
  bottom: 30px;
  background: #fff;
  padding: 18px 28px;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(8, 26, 57, 0.16);
  animation: pp-float 4.5s ease-in-out infinite;
}

.floating-card small {
  display: block;
  font-size: 13px;
  color: var(--pp-navy);
  margin-bottom: 5px;
}

.floating-card h3 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  color: var(--pp-orange);
}

@keyframes pp-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/*==========================
PRODUCT SECTION
==========================*/

.products-section {
  padding: 50px 0;
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header span {
  color: var(--pp-orange);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 600;
  color: var(--pp-navy);
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.section-header p {
  font-size: 18px;
  color: var(--pp-navy);
  max-width: 720px;
  margin: auto;
  line-height: 1.8;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: #fff;
  padding: 0 0 20px;
  border-radius: 16px;
  border: 1px solid var(--pp-border);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.35s var(--pp-ease),
    box-shadow 0.35s var(--pp-ease),
    border-color 0.35s var(--pp-ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(37, 99, 235, 0.25);
  text-decoration: none;
  color: inherit;
}

.product-card-media {
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: var(--pp-bg-soft);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--pp-ease);
}

.product-card:hover .product-card-media img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 18px 20px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 14px;
  transition: transform 0.35s var(--pp-ease);
}

.product-card:hover .product-icon {
  transform: scale(1.08) rotate(-4deg);
}

.product-icon.orange {
  background: #eff6ff;
  color: var(--pp-orange);
}

.product-icon.blue {
  background: var(--pp-navy);
  color: #fff;
}

.product-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--pp-navy);
  line-height: 1.3;
}

.product-card > .product-card-body > p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--pp-navy);
  margin-bottom: 14px;
}

.product-card ul {
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.product-card ul li {
  margin-bottom: 7px;
  font-size: 12.5px;
  color: var(--pp-navy);
}

.product-card ul li i {
  color: var(--pp-orange);
  margin-right: 8px;
  font-size: 11px;
}

.product-btn {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #d8dde6;
  font-weight: 600;
  font-size: 13px;
  color: var(--pp-navy);
  transition: 0.3s var(--pp-ease);
}

.product-card:hover .product-btn {
  background: var(--pp-navy);
  border-color: var(--pp-navy);
  color: #fff;
  gap: 12px;
}

/*==========================
SECURITY SECTION
==========================*/

.security-section {
  padding: 50px 0;
  background: var(--pp-bg-soft);
  position: relative;
  overflow: hidden;
}

.security-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.security-content {
  flex: 1;
}

.security-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.section-tag {
  padding: 8px 16px;
  background: #fff2e8;
  color: var(--pp-orange);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 50px;
  margin-bottom: 22px;
}

.security-content h2 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--pp-navy);
  margin-bottom: 22px;
  letter-spacing: -0.3px;
}

.security-content h2 span {
  display: block;
  color: var(--pp-orange);
}

.security-content > p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--pp-navy);
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--pp-navy);
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 0.4s var(--pp-ease);
}

.feature-item:hover .feature-icon {
  transform: translateY(-4px);
  background: var(--pp-orange);
}

.feature-item h4 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--pp-navy);
}

.feature-item p {
  color: var(--pp-navy);
  line-height: 1.7;
  margin: 0;
}

.integration-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 40px 0;
}

.integration-tags span {
  padding: 10px 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pp-navy);
  transition: 0.3s var(--pp-ease);
}

.integration-tags span:hover {
  border-color: var(--pp-orange);
  color: var(--pp-orange);
  transform: translateY(-2px);
}

.integration-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  background: var(--pp-navy);
  color: #fff;
  border-radius: 14px;
  font-weight: 600;
  transition: 0.3s var(--pp-ease);
  box-shadow: 0 12px 28px rgba(8, 26, 57, 0.16);
}

.integration-btn:hover {
  background: var(--pp-orange);
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.25);
}

.shield-card {
  width: 430px;
  height: 430px;
  background: #fff;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 30px 70px rgba(8, 26, 57, 0.1);
  position: relative;
  transform: perspective(1000px) rotateX(var(--pp-rx, 0deg))
    rotateY(var(--pp-ry, 0deg)) translateY(var(--pp-ty, 0px));
  transition:
    transform 0.5s var(--pp-ease),
    box-shadow 0.5s var(--pp-ease);
  will-change: transform;
}

.shield-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 30px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.35),
    rgba(8, 26, 57, 0)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.shield-circle {
  width: 150px;
  height: 150px;
  background: var(--pp-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  box-shadow: 0 0 0 14px rgba(37, 99, 235, 0.06);
}

.shield-circle i {
  font-size: 70px;
  color: var(--pp-orange);
}

.shield-card h3 {
  font-size: 30px;
  font-weight: 700;
  color: var(--pp-navy);
  margin-bottom: 15px;
  text-align: center;
  padding: 0 20px;
}

.shield-card p {
  font-size: 17px;
  color: var(--pp-navy);
  margin: 0;
  letter-spacing: 0.3px;
}

/*========================================
CTA SECTION
========================================*/

.cta-section {
  padding: 60px 0 70px;
  background: #ffffff;
}

.cta-wrapper {
  background: var(--pp-navy);
  border-radius: 14px;
  padding: 36px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(8, 26, 57, 0.28);
}

/* Decorative circles */
.cta-wrapper::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  top: -120px;
  right: -80px;
}

/* .cta-wrapper::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  bottom: -80px;
  left: -50px;
} */

.cta-left {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.cta-tag {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--pp-orange);
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 40px;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}

.cta-left h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.cta-left h2 span {
  display: block;
  color: var(--pp-orange);
}

.cta-left p {
  font-size: 18px;
  line-height: 1.8;
  color: #fff;
  margin: 0;
}

.cta-right {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.cta-primary {
  background: var(--pp-orange);
  color: #fff;
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 600;
  transition: 0.3s var(--pp-ease);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

.cta-primary:hover {
  background: var(--pp-orange-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
}

.cta-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 600;
  transition: 0.3s var(--pp-ease);
  text-decoration: none;
  display: inline-block;
}

.cta-secondary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--pp-navy);
  text-decoration: none;
  transform: translateY(-3px);
}

/*==========================
SCROLL-REVEAL BASE STATES
(paired with pp-scroll.js — additive, only affects tagged elements)
==========================*/

.pp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--pp-ease),
    transform 0.7s var(--pp-ease);
}

.pp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pp-stagger-1.is-visible {
  transition-delay: 0.05s;
}
.pp-stagger-2.is-visible {
  transition-delay: 0.15s;
}
.pp-stagger-3.is-visible {
  transition-delay: 0.25s;
}
.pp-stagger-4.is-visible {
  transition-delay: 0.35s;
}

@media (prefers-reduced-motion: reduce) {
  .pp-reveal,
  .floating-card,
  .hero-image img,
  .shield-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/*==========================
RESPONSIVE
==========================*/

@media (max-width: 991px) {
  .hero-wrapper,
  .security-wrapper {
    flex-direction: column;
    gap: 50px;
  }

  .hero-content,
  .hero-image {
    width: 100%;
  }

  .shield-card {
    width: 100%;
    max-width: 430px;
    height: 380px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .cta-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 48px 32px;
  }

  .cta-right {
    justify-content: center;
  }

  .cta-left {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .floating-card {
    left: 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-buttons a,
  .hero-buttons > a,
  .hero-buttons .btn,
  .hero-buttons .btn-primary-custom,
  .hero-buttons a.btn-primary-custom,
  .hero-buttons .btn.btn-primary.solid.cd-btn {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
  }
}
